Re: Non human friendly error message from compiler with exceptions
Re: Non human friendly error message from compiler with exceptions
- Subject: Re: Non human friendly error message from compiler with exceptions
- From: Ken Thomases <email@hidden>
- Date: Fri, 11 Jul 2008 03:04:15 -0500
On Jul 11, 2008, at 2:48 AM, Stéphane Sudre wrote:
"Mac OS X version 10.5 or later is needed for zerocost-exception"
What is this sentence trying to say?
I'm not entirely sure. Are you trying to compile some Objective-C for
64-bit architecture but also specifying a deployment target of 10.4?
Here's some background: With Leopard, Apple revamped the Objective-C
ABI but only for 64-bit. They couldn't do so for 32-bit because it
would break binary compatibility. In the 64-bit ABI, Objective-C
exceptions were based on the same mechanisms as C++ exceptions, which
makes them zero-cost unless an exception actually happens.
That message seems to suggest you have asked the compiler to emit code
relying on that ABI, but also said you may deploy it on a target not
supporting that ABI.
Cheers,
Ken _______________________________________________
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