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: "D.Walsh" <email@hidden>
- Date: Thu, 24 Feb 2005 04:20:53 -0500
- Mta-interface: amavisd-new-2.2.1 (2004-12-22) at daleenterprise.com
If I recall correctly yes, I think it's either
-undefined suppress
or
-no-undefined
-- Dale
On Feb 23, 2005, at 13:46, Chris Espinosa wrote:
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
_______________________________________________
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