Re: Turning off warnings?
Re: Turning off warnings?
- Subject: Re: Turning off warnings?
- From: Randy Croucher <email@hidden>
- Date: Fri, 14 Nov 2003 08:55:22 -0800
Unfortunately, I tried that, and it did not seem to work. The
description is a little vague on exactly what it does. Sounds like it
just turns it off for system headers maybe?
"Warn when a #pragma directive is encountered which is not understood
by GCC. If this command line option is used, warnings will even be
issued for unknown pragmas in system header files. This is not the
case if the warnings were only enabled by the -Wall command line
option."
Thanks though,
Randy
On Nov 14, 2003, at 3:26 AM, Dario Accornero wrote:
On 14 Nov 2003, at 2:12, Randy Croucher wrote:
Is there a way to turn off specific warnings in Xcode? In
particular, I have some code that I share with the PC that has some
MS specific pragmas in it. I get warnings like "ignoring #pragma
code_seg" and "malformed '#pragma pack' - ignored" and such... What
is a good way of getting rid of these aside from #ifdefing them all
out?
Randy, in the "GNU C/ObjC Compiler" collection, um, thingie of your
project "Styles" or target "Build", um, settings, there's an "Unknown
pragma" checkbox that seems to work.
HTH,
Dario
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.