Re: CGFloat in 10.4
Re: CGFloat in 10.4
- Subject: Re: CGFloat in 10.4
- From: "bensyverson" <email@hidden>
- Date: Tue, 18 Mar 2008 18:58:46 -0600 (CST)
Okay -- but how do I get CIColor components in 10.4?
Both float* and double* throw a warning ("assignment from incompatible pointer type," and "assignment discards qualifiers from pointer target type," respectively)
Thanks!
- ben
David Duncan wrote ..
>
> The Mac OS X 10.4 SDK doesn't have a declaration for CGFloat. If you
> need to target that SDK, then you should use the float data type
> instead (which is what CGFloat is typedef'd to when compiling for 32-
> bit anyway). If you can use the 10.5 SDK, then you will find that
> CGFloat is defined, and you can use it compatibly when running on 10.4
> or 10.5.
> --
> David Duncan
> Apple DTS Animation and Printing
> 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