Optimization Level
Optimization Level
- Subject: Optimization Level
- From: "Raglan T. Tiger" <email@hidden>
- Date: Mon, 17 Oct 2016 12:35:25 -0600
Moving , finally, to Xcode 7.3.1, I get a weird bug.
If I build a release configuration with the recommended optimization level (fastest, smallest) then this code
void xxxxx::Clear(apointList &list)
{
if ( ! &list )
return;
}
never returns when apointlis &list = 0x00000000 as shown in the debugger.
But if I set the optimization level (none) then the code works properly.
Of course Apple says never ship release code with optimization level none, always use faster,smallest
What am I missing ?
-rags
_______________________________________________
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