• 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: Heads Up: Code generation bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Heads Up: Code generation bug


  • Subject: Re: Heads Up: Code generation bug
  • From: m <email@hidden>
  • Date: Wed, 14 Nov 2007 08:56:28 -0800

Indeed, there are several ways to avoid triggering this particular manifestation of this bug. I have even constructed other cases where code similar to the example does *not* result in a code generation error. This raises the possibility that perfectly legitimate code (not just this construction in particular) can sometimes (but not always) generate incorrect code.

Since the bug depends on optimization level, it suggests that both the code being compiled and the code around it play a role in whether the bug will occur or not.

_murat

On Nov 14, 2007, at 6:10 AM, David Spooner wrote:

If you change the initialization of your global variable to

	const NSPoint kItemLabelsOrigin = (NSPoint){20, 8};

then it works fine.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Heads Up: Code generation bug (From: m <email@hidden>)
 >Re: Heads Up: Code generation bug (From: David Spooner <email@hidden>)

  • Prev by Date: Re: NSXXXTemplate images and NSSegmentedView
  • Next by Date: Setting Font Size (etc.) in Interface Builder 3.0
  • Previous by thread: Re: Heads Up: Code generation bug
  • Next by thread: re: CoreData Application not seeing up-to-date information after store updated
  • Index(es):
    • Date
    • Thread