• 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
All floating point constants 64-bit in Xcode 3?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

All floating point constants 64-bit in Xcode 3?


  • Subject: All floating point constants 64-bit in Xcode 3?
  • From: Rick Mann <email@hidden>
  • Date: Sat, 27 Oct 2007 14:03:10 -0700

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?

--
Rick

_______________________________________________
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


  • Follow-Ups:
    • Re: All floating point constants 64-bit in Xcode 3?
      • From: "Sean McBride" <email@hidden>
    • Re: All floating point constants 64-bit in Xcode 3?
      • From: Nick Zitzmann <email@hidden>
    • Re: All floating point constants 64-bit in Xcode 3?
      • From: "Clark Cox" <email@hidden>
    • Re: All floating point constants 64-bit in Xcode 3?
      • From: Steve Checkoway <email@hidden>
  • Prev by Date: CVS issue with Xcode 3
  • Next by Date: Re: All floating point constants 64-bit in Xcode 3?
  • Previous by thread: Re: CVS issue with Xcode 3
  • Next by thread: Re: All floating point constants 64-bit in Xcode 3?
  • Index(es):
    • Date
    • Thread