• 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: parsekit on snow leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parsekit on snow leopard


  • Subject: Re: parsekit on snow leopard
  • From: Greg Guerin <email@hidden>
  • Date: Sun, 30 Aug 2009 11:01:30 -0700

Martin Hewitson wrote:

I was wondering if anyone has had occasion to compile parsekit on snow leopard. If I set the active architecture to x86_64 and the SDK to 10.6, then I get a bunch of errors like:

multiple methods named '-floatValue' found
warning: using '-(float)floatValue'
warning: also found '-(CGFloat)floatValue'


IIRC, a CGFloat is 64-bits when compiling for a 64-bit target. A CGFloat is only type-identical with the C type 'float' under 32-bit compilation. So the problem you see would also occur under 10.5 SDK when compiling for 64-bit, and has nothing to do with Snow Leopard, per se, but everything to do with 64-bitness.

You could test this using sizeof(float)==sizeof(CGFloat) in a suitable conditional or assertion.

  -- GG

_______________________________________________

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


  • Prev by Date: Re: parsekit on snow leopard
  • Next by Date: Re: nsuserdefaults woes
  • Previous by thread: Re: parsekit on snow leopard
  • Next by thread: _NSAutoreleaseNoPool missing in Snow Leopard
  • Index(es):
    • Date
    • Thread