Turning off spurious C warning in XCode ?
Turning off spurious C warning in XCode ?
- Subject: Turning off spurious C warning in XCode ?
- From: Thomas Lachand-Robert <email@hidden>
- Date: Sat, 22 Nov 2003 18:13:12 +0100
Is there any way to turn off the warning about local declaration of
variables which hides global variables in XCode?
For a class that contains a member named "session", I do the following
in some method:
id session = [self session];
and get this spurious warning, which doesn't make sense here.
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.
Thanks,
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.