• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode 3.1, g++-4.2 and Debug building
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Xcode 3.1, g++-4.2 and Debug building
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: How do you debug your Cocoa unit tests?
  • Next by Date: Re: Library not loaded - wrong path?
  • Previous by thread: Re: Library not loaded - wrong path?
  • Next by thread: Re: Xcode 3.1, g++-4.2 and Debug building
  • Index(es):
    • Date
    • Thread