Re: -Wall
Re: -Wall
- Subject: Re: -Wall
- From: "Sean McBride" <email@hidden>
- Date: Wed, 4 Jun 2008 19:19:55 -0400
- Organization: Rogue Research
On 6/4/08 10:20 AM, Stuart Malin said:
>I have decided to write my application "cleanly" -- that is, to not
>have any compiler warnings.
Great!
>What then is the effect on the
>Warnings settings of the Build (ignored? do I need to set these
>checkboxes as well for the various warnings?) Should I be setting -
>Wall as an "Other Warning Flags" of the Warnings Build Settings, or
>am I doing this properly by setting as a compiler flag?
You'll need to consult the gcc man page I'm afraid.... But -Wall does
not enable _all_ warnings. Some of the warning checkboxes Xcode
provides are redundant (but harmless) if -Wall is on. OTOH, some of
them add to what -Wall provides. I suggest checking as many as you can
and add -Wextra (instead of -Wall). If you want more, you need to scour
the gcc man page.
--
____________________________________________________________
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
References: | |
| >-Wall (From: Stuart Malin <email@hidden>) |