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

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


  • Subject: 'pedantic warnings' and #import, how to reconcile?
  • From: "Sean McBride" <email@hidden>
  • Date: Thu, 15 Jun 2006 12:48:59 -0400
  • Organization: Rogue Research

Hi all,

I am starting a new project and looking to enable as many warnings as
possible.  I'm starting with the ones provided by Xcode's GUI.  There is
one called 'pedantic warnings' (GCC_WARN_PEDANTIC, -pedantic) but it
seems useless with Objective-C as it warns:

warning: #import is a GCC extension

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?

Thanks,

--
____________________________________________________________
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

  • Prev by Date: Re: Debugging problem with XCode 2.3
  • Next by Date: Re: codegen bug with SSE autovectorization
  • Previous by thread: Re: codegen bug with SSE autovectorization
  • Next by thread: Re: 'pedantic warnings' and #import, how to reconcile?
  • Index(es):
    • Date
    • Thread