• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: get rid of warning "suggest parenthesis around assignment used as truth value"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >get rid of warning "suggest parenthesis around assignment used as truth value" (From: Bob Sabiston <email@hidden>)
 >Re: get rid of warning "suggest parenthesis around assignment used as truth value" (From: Chris Hanson <email@hidden>)
 >Re: get rid of warning "suggest parenthesis around assignment used as truth value" (From: Bob Sabiston <email@hidden>)

  • Prev by Date: Re: How to use /Developer/MacOSX10.4u.sdk/usr/lib/
  • Next by Date: Wrangling 3rd party libraries with xcconfig settings?
  • Previous by thread: Re: get rid of warning "suggest parenthesis around assignment used as truth value"
  • Next by thread: Re: Console littered by Xcode 3.1.1 garbage collection messages
  • Index(es):
    • Date
    • Thread