On Aug 15, 2012, at 18:49 , David Duncan <david.dun...@apple.com> wrote:

> The only thing I can imagine is if you have code that expects sizeof(int) == 
> sizeof(long) == sizeof(void*) or something along those lines.

>From the "64-Bit Transition Guide for Cocoa":

> sizeof Operator and @encode Directive
> 
> Script action: Converts instances of sizeof and @encode where the argument is 
> int, unsigned int, and float (to NSInteger, NSUInteger, and CGFloat, 
> respectively). For other cases, generates warnings (with possible false 
> negatives).
> 
> Go over each warning and make sure that no conversion needs to made manually.

(Just to even up the score for transition documentation, which has been taking 
a hit recently.)


_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to