Re: executables for OSX 10.4 vs 10.5
Re: executables for OSX 10.4 vs 10.5
- Subject: Re: executables for OSX 10.4 vs 10.5
- From: Thomas Engelmeier <email@hidden>
- Date: Fri, 17 Oct 2008 10:21:25 +0200
Am 17.10.2008 um 01:24 schrieb Stefan Werner:
The only drawback is you get partially buggy, backward compatible
behavior on Leopard when you link against the 10.4 SDK.
Can you elaborate? I was under the naive assumption that as long as
I don't use any 10.5-only APIs the 10.4 SDK and the 10.5 SDK should
behave the same.
Simple example:
IIRC, the result of
[[NSNumber numberWithUnsignedShort:0x8000] intValue];
varies depending on the SDK linked against. 10.4 gives you a sign
extension and a negative value, 10.5 returns 0x8000.
_______________________________________________
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