• 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: 'pedantic warnings' and #import, how to reconcile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'pedantic warnings' and #import, how to reconcile?


  • Subject: Re: 'pedantic warnings' and #import, how to reconcile?
  • From: Greg Guerin <email@hidden>
  • Date: Thu, 15 Jun 2006 13:59:19 -0700

Sean McBride wrote:

>haha!  So I added '-Wno-import' to the 'other warning flags' but I still
>get the warnings.
>
>Is that warning simply impossible to use with Obj-C then?

Maybe GCC is being pedantic about silencing warnings about being pedantic.

More seriously, it may be related to the order in which -pedantic and
-Wno-import are expanded into the command-line.  If -Wno-import is later,
then I'd expect -Wno-import to dominate, but if -pedantic is later then I'd
expect it to dominate.

Try looking at the detailed build transcript to find out the order actually
used, and depending on who you think should dominate whom based on the
observed order, file a bug against GCC.

  -- GG


 _______________________________________________
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: 'pedantic warnings' and #import, how to reconcile?
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: Debugging problem with XCode 2.3
  • Next by Date: Re: F35
  • Previous by thread: Re: 'pedantic warnings' and #import, how to reconcile?
  • Next by thread: Re: 'pedantic warnings' and #import, how to reconcile?
  • Index(es):
    • Date
    • Thread