Re: Warnings About Signedness
Re: Warnings About Signedness
- Subject: Re: Warnings About Signedness
- From: Markus Hitter <email@hidden>
- Date: Sat, 9 Jul 2005 01:44:48 +0200
Am 08.07.2005 um 23:23 schrieb Lance Drake:
OK - I poked around in the Build settings but saw only 'Pointer
Sign Comparison' which did nothing to abate the tide of
warnings. Hence the question: How to tell the compiler to,
please, not complain about signedness?
My current guess is, a lot of people don't see all these
checkboxes for single warnings working because they still have the
"-Wmost" flag in their "additional compiler flags". How's about -
Wmost in your project?
Markus
Hi Markus,
Thanks very much for that suggestion. After giving it a try, it
appeared to not be the root cause. An example of the compile
command line is:
...
setenv MACOSX_DEPLOYMENT_TARGET 10.4
/usr/bin/gcc-4.0 [...]
-Wno-pointer-sign is missing?. Possibly because you have the
checkmark at "Pointer Sign Comparison" in your project or target
build setting not removed.
If I pull out the gcc4 docs, there's probably be found some way to
suppress those warnings. I was thinking it might be easy. OK -
so, I'll just dig deeper.
Go to those build settings, type "sign" in the search field and you
should see _two_ related warnings check boxes. One for ordinary
signed comparison, one for pointer ones. Click on either of the check
box lines and you'll see the appropriate excerpt from the man page as
well as the shell variable and gcc flag passed to the build script.
Xcode folks have put quite some effort into getting the best out of
gcc's warning mechanism, IMHO.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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