Fw: [Boost-bugs] [ boost-Support Requests-1334003 ] 100s of 'template with C linkage' errors

Forwarding for archival purposes :-) Michael Hopkins wrote:
On 21/10/05 21:44, "Peter Dimov" <pdimov@mmltd.net> wrote:
I have no access to Mac OS X, but according to this post:
http://www.pixelglow.com/lists/archive/macstl-dev/2005-February/000015.html
this might be caused by the fact that your Boost headers are in /usr/include, because GCC has some heuristic that automatically encloses system headers in extern "C" blocks.
http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.0/cpp/System... eaders.html
Thanks for this Peter. Putting Boost in /opt/local/include/ has solved the problem. I wonder if this should be mentioned somewhere in the darwin Boost docs to stop other people going around the same loop?
Michael
Web: http://www.hopkins-research.com/ Phone: +44 (O)781 3467 381
participants (1)
-
Peter Dimov