PATCH: Wconversion-sign

Paolo Carlini pcarlini@suse.de
Sun Mar 18 22:30:00 GMT 2007


Manuel López-Ibáñez wrote:
> I can do that as well: implementation-wise it is equivalent to
> -Wconversion enables -Wconversion-sign unless -Wno-conversion-sign is
> given.
>
> I would like to know what Paolo and Gabriel prefer but, yes, the
> default can be different for C and C++ if that is what you wish.
For C++, I think the clear outcomes of the discussions in the audit 
trail and elsewhere is not having the warning by default. Frankly, for 
C++ I would rather not having it at available at all, at least until 
someone fixes the pragma.

Paolo.



More information about the Gcc-patches mailing list