• 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
Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Paul Johnson <email@hidden>
  • Date: Wed, 22 Dec 2010 23:40:58 -0600

I was able to solve the problem by deleting the lines in project.pbxproj in the project package.

For reasons unrelated to this issue I subsequently created the project from scratch in 10.6 and I did not have the problem at all, so I would agree that the problem has been solved for new projects created using the latest Xcode.

Thanks for the responses to my post.

On Wed, Dec 22, 2010 at 2:57 PM, Sean McBride <email@hidden> wrote:
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

References: 
 >New compiler warning messages with Xcode 3.2.5 and gdb 4.2 (From: Paul Johnson <email@hidden>)
 >Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2 (From: email@hidden)
 >Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2 (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2
  • Next by Date: Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2
  • Previous by thread: Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2
  • Next by thread: Re: New compiler warning messages with Xcode 3.2.5 and gdb 4.2
  • Index(es):
    • Date
    • Thread