Re: "-Wno-import" does not suppress "#import is a GCC extension" warnings
Re: "-Wno-import" does not suppress "#import is a GCC extension" warnings
- Subject: Re: "-Wno-import" does not suppress "#import is a GCC extension" warnings
- From: "Sean McBride" <email@hidden>
- Date: Wed, 3 Mar 2010 11:38:10 -0500
- Organization: Rogue Research Inc.
On 3/2/10 8:10 PM, Thomas Ferraro said:
>In Xcode 3.0 and 3.1.4, the "-Wno-import" flag does not suppress
>"#import is a GCC extension" compiler warnings.
>
>Is this fixed in Xcode 3.2?
>
>Sorry I do not have machine with 3.2 installed right now to check it.
Help us help you. Can you provide a little example for someone with 3.2
to try compiling? Are you talking about using -pedantic? I remember
being disappointed that -pedantic was useless with Obj-C because it
warned about #import, but I just tried now and that seems fixed.
However, pedantic still seems useless, because it warns for every Obj-C
class saying: "warning: struct has no named members".
--
____________________________________________________________
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