• 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: Warnings suggest compiler confusion between 32 and 64 bit code.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warnings suggest compiler confusion between 32 and 64 bit code.


  • Subject: Re: Warnings suggest compiler confusion between 32 and 64 bit code.
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 23 Jun 2009 17:44:43 -0400
  • Organization: Rogue Research Inc.

On 6/22/09 9:41 PM, Dave Carrigan said:

>> -Wconversion warns you every time
>> a function call has the parameter passing altered by the presence of
>> the function's prototype, which is to say that it will warn you every
>> time you call any function (or method) which takes a char, unsigned
>> char, short, unsigned short, or float. Not exactly useful.
>
>At least until Xcode gets gcc 4.3,

Which, IMNSHO, will never happen.

>where -Wconversion has been renamed
>-Wtraditional-conversion, and -Wconversion gives useful warnings about
>variables that might have their value changed during the conversion.

You can get similar warnings today with:
<http://www.karppinen.fi/analysistool/>

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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

References: 
 >Warnings suggest compiler confusion between 32 and 64 bit code. (From: Brian Bruinewoud <email@hidden>)
 >Re: Warnings suggest compiler confusion between 32 and 64 bit code. (From: Kyle Sluder <email@hidden>)
 >Re: Warnings suggest compiler confusion between 32 and 64 bit code. (From: Michael Ash <email@hidden>)
 >Re: Warnings suggest compiler confusion between 32 and 64 bit code. (From: Dave Carrigan <email@hidden>)

  • Prev by Date: Re: Opinion on managed memory and garbage collection
  • Next by Date: Re: Core Data "Uniqueing" not happening as expected
  • Previous by thread: Re: Warnings suggest compiler confusion between 32 and 64 bit code.
  • Next by thread: Re: Warnings suggest compiler confusion between 32 and 64 bit code.
  • Index(es):
    • Date
    • Thread