Re: constructor cannot be overloaded?
Re: constructor cannot be overloaded?
- Subject: Re: constructor cannot be overloaded?
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 31 Mar 2011 11:03:34 -0600
On Mar 31, 2011, at 10:49 AM, Sean McBride wrote:
> On Wed, 30 Mar 2011 17:46:28 -0700, David Duncan 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.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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