• 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: Don't understand this compiler warning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Don't understand this compiler warning


  • Subject: Re: Don't understand this compiler warning
  • From: "Justin C. Walker" <email@hidden>
  • Date: Thu, 30 Jun 2005 11:03:39 -0700


On Jun 30, 2005, at 10:14 , Chris Ridd wrote:

On 30/6/05 4:37, Justin C. Walker <email@hidden> wrote:



On Jun 30, 2005, at 24:54 , Markus Ruggiero wrote:

On 28.06.2005, at 15:54, Justin C. Walker wrote:

On Jun 28, 2005, at 06:39 , Markus Ruggiero wrote:

[snip]

The problem is in the use of "lcl_l_flags |= 1". If you change the macro to
just use plain |s instead of |=s, the warning goes away. You can reduce the
problem down to:


  lcl_l_flags = lcl_l_flags |= 1;

I don't think changing the |= to | alters the logic of the code at all...

D'oh! Nice catch.

Regards,

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for General Semantics
-----------
My wife 'n kids 'n dog are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------


_______________________________________________ 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: 
 >Re: Don't understand this compiler warning (From: Chris Ridd <email@hidden>)

  • Prev by Date: Re: fopen
  • Next by Date: Re: InfoPlist.strings
  • Previous by thread: Re: Don't understand this compiler warning
  • Next by thread: Can't get Subversion working with XCode 2.1
  • Index(es):
    • Date
    • Thread