RFD: C pointer conversions that differ in unsignedness

Joseph S. Myers jsm@polyomino.org.uk
Tue Oct 7 08:31:00 GMT 2003


On Mon, 6 Oct 2003, Mike Stump wrote:

> I propose to tighten this up to a warning, unconditionally.  How to 
> others feel?  -Wall?  -std=?  Over my dead body?

Make sure that this also warns for char/signed char/unsigned char
mismatches (even where the signedness is the same, they're still different
types) and that those are covered in the testcase.

-- 
Joseph S. Myers
jsm@polyomino.org.uk



More information about the Gcc mailing list