_GLIBCXX_DEBUG is broken on Apple's GCC 4.2
[11st August 2011]
Upgraded to Lion recently and hit this issue rather quickly. Just slapping it here for those Googling around the issue. The definition of
_GLIBCXX_DEBUG seems to affect the C++ standard streams particularly badly.
EDIT: specifically it appears to occur when building against the 10.6 and 10.7 SDKs
I've also had some trouble with the XCode 4's
ar and the compiler also issues lots of annoying warnings about the inability to "add line info to anonymous symbol"s.
Somewhat underwhelmed by both Lion and XCode 4's tools so far :/
All original content copyright© Edd Dawson.
Any opinions expressed by Edd are his own and are not necessarily shared by his employer. Or by anyone else, in fact.
All source code appearing on this website that was written by Edd Dawson is made available under the terms of the Boost software license version 1.0 unless otherwise stated or implied by the license associated with the work from which the code is derived.