Re: Turning off spurious C warning in XCode ?
Re: Turning off spurious C warning in XCode ?
- Subject: Re: Turning off spurious C warning in XCode ?
- From: Graeme Mathieson <email@hidden>
- Date: Sun, 23 Nov 2003 05:24:32 +0000
On 22 Nov 2003, at 22:54, Thomas Lachand-Robert wrote:
Sorry for the vague statement: -Wshadow is the correct flag, I think,
to turn the warning ON. I don't think there is a flag to turn it OFF,
but probably XCode does turn it on some other way (by -Wall or
something). Anyway, I tried, with no success :-(
If -Wshadow turns the warning no, -Wno-shadow will probably (and in a
quick test here, did) turn it off. So, if it's implicitly enabled with
-Wall (or, as the defaults were in the new project I created, -Wmost),
find where it is being specified and tacked -Wno-shadow on the end.
--
Mail, MSN Messenger & Jabber: mathie [at] endless [dot] org [dot] uk
AIM: MathieEndless, Blog: http://www.endless.org.uk/blog/
OpenPGP Fingerprint: 0F38 5000 999F 0644 76D6 968D A945 916E AD30 4A1A
_______________________________________________
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.