Re: constructor cannot be overloaded?
Re: constructor cannot be overloaded?
- Subject: Re: constructor cannot be overloaded?
- From: Sean McBride <email@hidden>
- Date: Thu, 31 Mar 2011 13:17:53 -0400
- Organization: Rogue Research Inc.
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 email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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