• 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: Warning flag for 'if (x = y)'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warning flag for 'if (x = y)'


  • Subject: Re: Warning flag for 'if (x = y)'
  • From: Alastair Houghton <email@hidden>
  • Date: Fri, 16 Jan 2004 22:44:05 +0000

On 16 Jan 2004, at 20:45, Matt Gough wrote:
>
> On 16 Jan 2004, at 19:42, Prachi Gauriar wrote:
>
>> In Xcode, if I set that flag for the build style, I get no warnings,
>> but when I set it on a particular file, I do.  Is this expected
>> behavior?  I would think you could set it for the whole project, but
>> it doesn't quite work.
>>
>
> That might suggest why people's suggestions to use -Wparentheses
> hasn't worked for me.

It's probably because your target options are set to -Wmost (look in
the inspector with your target selected).  Change it to -Wall instead,
then you don't need to specify -Wparentheses separately.

Kind regards,

Alastair.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

References: 
 >Warning flag for 'if (x = y)' (From: Matt Gough <email@hidden>)
 >Re: Warning flag for 'if (x = y)' (From: Alastair Houghton <email@hidden>)
 >Re: Warning flag for 'if (x = y)' (From: Prachi Gauriar <email@hidden>)
 >Re: Warning flag for 'if (x = y)' (From: Matt Gough <email@hidden>)

  • Prev by Date: Re: Warning flag for 'if (x = y)'
  • Next by Date: Re: How to link to a carbon shlb?
  • Previous by thread: Re: Warning flag for 'if (x = y)'
  • Next by thread: Re: Warning flag for 'if (x = y)'
  • Index(es):
    • Date
    • Thread