constant signed/unsigned comparison warning
Horst von Brand
vonbrand@inf.utfsm.cl
Fri Sep 26 11:51:00 GMT 1997
"Matthias Urlichs" <smurf@noris.de> said:
[...]
> the comparison. You don't see a warning when you compare an integer, be it
> signed or unsigned, with the constant 100...
100 is int, sizeof() is unsigned...
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
More information about the Gcc
mailing list