On Thu, 31 Mar 2011 11:03:34 -0600, Nick Zitzmann said:

>>> You can use NS_BUILD_32_LIKE_64 then you can ensure that this happens in
>>> all of your builds (assuming you still support 32-bit with this project).
>>
>> But beware that NS_BUILD_32_LIKE_64 also changes the size of NSInteger
>> in 32bit, which may or may not cause you problems.
>
>It doesn't change the size; it just changes its definition from int to
>long. In 32-bit builds, int and long are both 32-bit integers; they're
>only different in 64-bit builds. It'll only cause problems if you're
>doing something that requires strict type checking, but otherwise, it
>should just work.

Quite right.  That's what I meant. :)

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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 arch...@mail-archive.com

Reply via email to