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: Dave Carrigan <email@hidden>
- Date: Mon, 22 Jun 2009 21:41:16 -0700
On Jun 22, 2009, at 9:01 PM, Michael Ash wrote:
-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, where -Wconversion has been renamed
-Wtraditional-conversion, and -Wconversion gives useful warnings about
variables that might have their value changed during the conversion.
This page http://developer.apple.com/documentation/Darwin/Conceptual/64bitPorting/building/building.html
does seem to suggest that -Wconversion has its place but istm that
you will have a lot of difficulty isolating the real problems from all
of the error chaff.
--
Dave Carrigan
email@hidden
Seattle, WA, USA
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
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