integer conversion warnings?

Peter Kurpis pkurpis@keck.hawaii.edu
Wed Mar 27 14:00:00 GMT 2002


> is gcc/g++ able to warn me in these cases:
> 
> short int a;
> long int b;
> a = b;

I just tried  -Wall  which turns on almost all warnings, but
it didn't warn of the loss of precision.

My  lint  did, however. 



More information about the Gcc-help mailing list