• 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
Questions about warning flags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Questions about warning flags


  • Subject: Questions about warning flags
  • From: Army Research Lab <email@hidden>
  • Date: Tue, 08 Apr 2008 07:19:02 -0400
  • Thread-topic: Questions about warning flags

I am working on getting a project compiling that apparently was never
compiled with warning flags turned on; now I'm getting swamped with an
excessive number.  Most of my warnings are of the 'unused parameter' type,
which are not a problem right now.  I tried to turn off the unused
parameters warning, but then I also turned on pedantic warnings, and I put
the following in my Other Warning Flags line: -Wall -Wextra -pedantic
-Wno-import.  My goal is to have all warnings except the ones I don't want
(rather than having to list each warning type individually).  I thought
(remembered incorrectly?) that the last warning flag on the line was the one
that 'stuck'; that is, if a line has '-Wfoo -Wno-foo', the '-Wno-foo' was
what actually stuck.  Is this not the case?  If so, then I'll have to put
all the warnings I want on the line individually.

I'm compiling C99 and ISO C++ code on Xcode 2.5 under OS X 10.4.11.

Thanks,
Cem Karan

 _______________________________________________
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

  • Prev by Date: Re: Creating a custom "clean" target?
  • Next by Date: Re: A few beginner questions
  • Previous by thread: Xcode 3.0 text editor cursor position changed
  • Next by thread: app not starting from xcode
  • Index(es):
    • Date
    • Thread