:: horsing around with the C++ programming language

_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 :/


(required, hint)

Links can be added like [this one ->], to my homepage.
Phrases and blocks of code can be enclosed in {{{triple braces}}}.
Any HTML markup will be escaped.