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 protected]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to