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: Steve Checkoway <email@hidden>
- Date: Sat, 27 Oct 2007 14:10:56 -0700
On Oct 27, 2007, at 2:03 PM, Rick Mann wrote:
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?
This is what I've always done.
Is this an artifact of a newer GCC, or newer configuration in Xcode 3?
I'm unaware that you could ever get gcc to just assume that it was a
float. I just glanced through the man page and nothing stuck out at me
as being able to do so.
--
Steve Checkoway
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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