Boost C++ Libraries: Ticket #496: 100s of 'template with C linkage' errors https://svn.boost.org/trac10/ticket/496 <pre class="wiki"> Hi I am trying Boost 1.33 on Mac OS X 10.4.2 with XCode 2.1 and compiling the smart pointer test program. I get hundreds of "error: template with C linkage" errors within many of the gcc includes. This happens whether I am using gcc 3.3 or 4.0. More detail available if necessary - please contact me on michael.hopkins@hopkins-research.com. Many thanks Michael </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/496 Trac 1.4.3 Peter Dimov Mon, 24 Oct 2005 12:41:11 GMT <link>https://svn.boost.org/trac10/ticket/496#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/496#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=305912 Apparently caused by a tendency of Darwin's GCC to treat system headers as extern "C" based on a heuristic. Triggered by putting the Boost headers in /usr/include, as described here: http://www.pixelglow.com/lists/archive/macstl-dev/2005-February/000015.html </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Mon, 24 Oct 2005 12:41:13 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/496#comment:2 https://svn.boost.org/trac10/ticket/496#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket