Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2
Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2
- Subject: Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2
- From: email@hidden
- Date: Wed, 22 Dec 2010 15:13:31 -0500
On Dec 21, 2010, at 9:29 AM, Paul Johnson wrote:
> After upgrading to the latest Xcode I'm getting a bunch of new compiler warning messages
> (βThe option β-D_GLIBCXX_DEBUG_PEDANTIC=1β should not be passed to GCC 4.2 and has been automatically suppressed.β) I've done a search of this forum and the internet and it seems this message has been discussed. However, the help offered in the old responses don't seem to apply in my case.
>
> Can anyone point me to some more recent help on this issue?
There were issues with compiling C++ code with the gcc 4.2 versions that came with Leopard and defining -GLIBCXX-DEBUG_PEDANTIC=1 allowed it to compile correctly. With the versions of gcc 4.2 on Snow Leopard, that bug was fixed and it's no longer necessary.
You can either ignore the warning or go into your build settings and remove that define (it's probably in your CFLAGS options.
HTH,
Dave
_______________________________________________
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