Re: All floating point constants 64-bit in Xcode 3?
Re: All floating point constants 64-bit in Xcode 3?
- Subject: Re: All floating point constants 64-bit in Xcode 3?
- From: "Sean McBride" <email@hidden>
- Date: Mon, 29 Oct 2007 11:21:17 -0400
- Organization: Rogue Research
On 10/27/07 2:03 PM, Rick Mann said:
>I rebuilt my project in Xcode 3, and I have many warnings where a
>floating point literal is assigned to a float: "Implicit conversion
>shortens 64-bit value into a 32-bit value".
>
>How do I tell GCC that I want my floating-point literals to be type
>float? Do I have to append f to each?
>
>Is this an artifact of a newer GCC, or newer configuration in Xcode 3?
IIRC, the -Wshorten-64-to-32 warning was improved in Xcode 3. It now
warns for more cases, and this seems to be biting you.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden