[cfe-dev] 64 to 32 truncation warnings for ints and floats?
rjmccall at apple.com
Fri Nov 12 13:46:41 CST 2010
On Nov 12, 2010, at 10:33 AM, Sean McBride wrote:
> On Fri, 12 Nov 2010 10:25:38 -0800, John McCall said:
>> The generic "warn about any implicit conversions that might lose precision"
>> warning is -Wconversion. Clang's implementation of that is similar to
>> gcc-4.3's, i.e. substantially better than gcc-4.2's.
> Ahh, that's good news. I'm used to thinking of -Wconversion as useless,
> since it is in Apple's gcc 4.2.
Well, let us know if you have any problems with false positives.
> Am I looking in the wrong place for warning docs? I don't see -
> Wconversion here:
Right now, we don't have any good documentation for the set of
warning categories we support.
More information about the cfe-dev