This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: integer conversion warnings?
- From: pkurpis at keck dot hawaii dot edu (Peter Kurpis)
- To: egon at heaven dot industries dot cz
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 27 Mar 2002 12:00:31 -1000 (HST)
- Subject: Re: integer conversion warnings?
> 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.