Re: Heads Up: Code generation bug
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