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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to