• 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: Spurious warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spurious warnings


  • Subject: Re: Spurious warnings
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Tue, 22 Jul 2008 17:27:18 +0200


On Jul 22, 2008, at 5:15 PM, Sean McBride wrote:

Also, don't forget that CGFloat is sometimes float and sometimes double,
depending if you're building for 32 or 64 bit.  This can be annoying
when you want to use constants like '0.0f'.  Should one use the 'f' or
not?  If you don't, you'll get warnings in 32 bit about implicit 64 to
32 bit conversions.

Sounds like an #if-#else to me, or a macro.

Indeed.  Also, note that in gcc 4.3, -Wconversion has changed to be more
useful:
<http://gcc.gnu.org/gcc-4.3/changes.html>

Ah! That was what I expected it to mean    :-)

Jan E.

 _______________________________________________
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

References: 
 >Re: Spurious warnings (From: "Jan E. Schotsman" <email@hidden>)
 >Re: Spurious warnings (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Problems attaching debugger
  • Next by Date: Changing __MyCompanyName__ in existing Nib/Xcode project?
  • Previous by thread: Re: Spurious warnings
  • Next by thread: GuardMalloc not working
  • Index(es):
    • Date
    • Thread