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: "Sean McBride" <email@hidden>
- Date: Wed, 22 Dec 2010 15:57:01 -0500
- Organization: Rogue Research Inc.
On Wed, 22 Dec 2010 15:13:31 -0500, email@hidden said:
>> 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.
You sure about that? My understanding is that the STL debug mode is
just totally broken on 10.6. And since Apple's doesn't much care about
gcc anymore, it'll stay broken. clang does not have anything equivalent
at this time anyway.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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