Questions about warning flags
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