Re: get rid of warning "suggest parenthesis around assignment used as truth value"
Re: get rid of warning "suggest parenthesis around assignment used as truth value"
- Subject: Re: get rid of warning "suggest parenthesis around assignment used as truth value"
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 20 Nov 2008 17:10:02 +0100
Le 20 nov. 08 à 16:47, Bob Sabiston a écrit :
On Nov 20, 2008, at 9:32 AM, Chris Hanson wrote:
On Nov 19, 2008, at 6:26 PM, Bob Sabiston wrote:
Is there any way to make this warning not appear? Besides turning
of all warnings? Xcode's own template class code generates these
warnings.
What project/target/class templates did you use that are generating
these warnings without explicitly enabling them?
-- Chris
What do you mean explicitly enabling them?
He mean that this warning is not enabled by default in most (if not
all) Xcode projects' templates.
To enable it you have to either add the -Wparentheses warning flag or
check the "Missing Braces and Parentheses" build setting.
_______________________________________________
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