• 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: Variable evaluating improperly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variable evaluating improperly


  • Subject: Re: Variable evaluating improperly
  • From: koko <email@hidden>
  • Date: Tue, 30 Apr 2013 12:36:59 -0600


On Apr 29, 2013, at 5:54 PM, Thomas Wetmore <email@hidden> wrote:

Compilers often optimize flow of control statements in non-obvious ways (especially if the conditional _expression_ is a compile time constant as it in your case). This can lead to misleading or even impossible seeming representations in debugger windows. Insert a printf statement to see if you really get into the then clause. Of course, this might also completely change any optimization rearrangements. All very Heisenbergian.

In this case the above appears to be the case as I was running with the Release configuration.  Switching to Debug config it all looks well … but here is the kicker my Release build that is being purchased exhibits this behavior … !

-koko
 _______________________________________________
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

  • Follow-Ups:
    • Re: Variable evaluating improperly
      • From: Seth Willits <email@hidden>
References: 
 >Variable evaluating improperly (From: koko <email@hidden>)
 >Re: Variable evaluating improperly (From: Thomas Wetmore <email@hidden>)

  • Prev by Date: Re: Xcode 4.6. fails processing .iconset files after touch by Xcode 3
  • Next by Date: Re: Variable evaluating improperly
  • Previous by thread: Re: Variable evaluating improperly
  • Next by thread: Re: Variable evaluating improperly
  • Index(es):
    • Date
    • Thread