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: Glen Low <email@hidden>
- Date: Sun, 23 Nov 2003 08:14:18 +0800
There is a checkbox about "hidden local variables" in the build
settings, but it doesn't work for this.
I think the gcc option is -Wshadow, but again I don't know how to
turn it off in XCode.
Under the Build tab in the Target info, there's an OTHER_CFLAGS line.
Put "-Wshadow" on it. (Assuming shadow is the correct compiler flag
for this. It sounds like it.)
You might try -Wno-shadow since most gcc options have a "no"
equivalent, and it should go into WARNING_CFLAGS (so that warnings can
be overridden independently of your other cflags).
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
_______________________________________________
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.