Re: 'pedantic warnings' and #import, how to reconcile?
Re: 'pedantic warnings' and #import, how to reconcile?
- Subject: Re: 'pedantic warnings' and #import, how to reconcile?
- From: "Justin C. Walker" <email@hidden>
- Date: Thu, 15 Jun 2006 11:15:13 -0700
On Jun 15, 2006, at 11:06 , Matt Neuburg wrote:
On Thu, 15 Jun 2006 12:48:59 -0400, "Sean McBride" <sean@rogue-
research.com>
said:
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?
Wait - you are "looking to enable warnings", you turned on the
warnings, and
now you're complaining that you're getting the warnings? I feel I'm
missing
some piece of the puzzle here. m.
The piece of the puzzle is that "#import" is a normal part of
Objective-C, so the warning in this case is "incorrect".
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
when you don't get what you want.
--------
_______________________________________________
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