Re: How do I suppress the warning about 'statement with no effect'
Re: How do I suppress the warning about 'statement with no effect'
- Subject: Re: How do I suppress the warning about 'statement with no effect'
- From: Chris Espinosa <email@hidden>
- Date: Wed, 23 Feb 2005 10:46:34 -0800
On Feb 22, 2005, at 7:55 PM, Justin Walker wrote: On Feb 22, 2005, at 15:19, Kevin Hoyt wrote:
Hi all, Is there a compiler flag to suppress the warning about statements with no effect?
Don't know, but the documentation might tell you. You can find gcc doc in <file:///Developer/Documentation/DeveloperTools>
Another good way is to select your target, do Get Info, select the Build tab, set the popup in the header of the first column to "GNU C/C++ Compiler > Warnings", then enter a search string into the search bubble at the bottom of the inspector. The warnings are fairly thoroughly documented in the Details box in that tab I didn't find anything particularly appropriate for this warning. The closest thing I found was the "_expression_ evaluates with no assignment" clause of the -W flag.
Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden