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: Thomas Lachand-Robert <email@hidden>
- Date: Sat, 22 Nov 2003 23:54:36 +0100
Le 22 nov. 03, ` 18:47, James Mastro a icrit :
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.)
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 :-(
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
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.