Xcode 3.1, g++-4.2 and Debug building
Xcode 3.1, g++-4.2 and Debug building
- Subject: Xcode 3.1, g++-4.2 and Debug building
- From: David Nugent <email@hidden>
- Date: Wed, 10 Sep 2008 09:47:54 +1000
Hello all,
I'm using the above tools and when compiling some C++ modules in Debug
configuration results the following error:
/Developer/SDKs/MacOSX10.5.sdk/usr/include/c++/4.0.0/powerpc-apple-
darwin9/bits/c++config.h:79: error: current namespace 'std' does not
enclose strongly used namespace '__gnu_debug_def'
A google search explained why the problem occurs (_GLIBCXX_DEBUG is
not yet supported by the gcc 4.2 pre-release), yet so far I've been
unable to track down exactly which build option will stop Xcode from
generating the -D_GLIBCXX_DEBUG option from the gcc command that
triggers the failure. The same modules build perfectly in Release
configuration, but setting all language and build options in the Debug
configuration to match Release does not remove the -D define. I can't
see any other build option which might cause this. Is there a solution
(other than using gcc 4.0)?
Regards,
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden