• 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
Re: -Wall
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: -Wall
      • From: Stuart Malin <email@hidden>
References: 
 >-Wall (From: Stuart Malin <email@hidden>)

  • Prev by Date: Re: file system issues with XCode 2.5?
  • Next by Date: Re: Subversion Hosting - Off Topic
  • Previous by thread: Re: -Wall
  • Next by thread: Re: -Wall
  • Index(es):
    • Date
    • Thread