Re: Warnings suggest compiler confusion between 32 and 64 bit code.
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