• 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
CGFloat and NS_BUILD_32_LIKE_64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGFloat and NS_BUILD_32_LIKE_64


  • Subject: CGFloat and NS_BUILD_32_LIKE_64
  • From: Rick Mann <email@hidden>
  • Date: Fri, 27 Feb 2015 16:14:00 -0800

I thought setting NS_BUILD_32_LIKE_64 = 1 would make CGFloat be double, but CGFloat seems to be conditionalized on __LP64__ (at least, on iOS.

I'm building iOS for both 32 and 64 bit devices. What should I do here? I'm trying to get rid of a bunch of implicit conversion warnings. Thanks.

--
Rick Mann
email@hidden



_______________________________________________

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


  • Follow-Ups:
    • Re: CGFloat and NS_BUILD_32_LIKE_64
      • From: Greg Parker <email@hidden>
    • Re: CGFloat and NS_BUILD_32_LIKE_64
      • From: Roland King <email@hidden>
  • Prev by Date: titlebar accessory? window:willPositionSheet:usingRect: not called in full-screen mode
  • Next by Date: Converting from scalar to NSNumber*
  • Previous by thread: Re: Exception on launch when clicking on an NSUserNotification
  • Next by thread: Re: CGFloat and NS_BUILD_32_LIKE_64
  • Index(es):
    • Date
    • Thread