• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: constructor cannot be overloaded?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >constructor cannot be overloaded? (From: Rick Mann <email@hidden>)
 >Re: constructor cannot be overloaded? (From: Rick Mann <email@hidden>)
 >Re: constructor cannot be overloaded? (From: David Duncan <email@hidden>)
 >Re: constructor cannot be overloaded? (From: Sean McBride <email@hidden>)
 >Re: constructor cannot be overloaded? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: constructor cannot be overloaded?
  • Next by Date: Re: Distribution via DMG fails
  • Previous by thread: Re: constructor cannot be overloaded?
  • Next by thread: Re: constructor cannot be overloaded?
  • Index(es):
    • Date
    • Thread