Re: Make "incompatible pointer type" an error, not a warning
Re: Make "incompatible pointer type" an error, not a warning
- Subject: Re: Make "incompatible pointer type" an error, not a warning
- From: "Sean McBride" <email@hidden>
- Date: Mon, 9 Feb 2009 13:32:08 -0500
- Organization: Rogue Research Inc.
On 2/9/09 10:19 AM, Chris Espinosa said:
>The answer is -Wpedantic, and there's a special switch specifically to
>turn pedantic warnings into errors: -Wpedantic-errors. Unfortunately
>it doesn't satisfy the OP's requirement of not turning other warnings
>into errors; it will flag all the pedantic warnings, which are
>numerous and, well, pedantic.
Also unfortunate is that -Wpedantic is too pedantic. It warns that
#import is an extension. :( But since the OP is doing Carbon, he may be
able to use pedantic.
Scott, you may also want to take a look at -fstrict-aliasing and -
Wstrict-aliasing.
--
____________________________________________________________
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