This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Additional GCC warnings?


I would certainly like to see -Wprecision-mismatch
and -Wpointer-cast-to-signed.

Thanks,
Jonah

> -Wprecision-mismatch / -Wno-precision-mismatch
>
>     Warn when the precision of the destination is smaller than
>     the precision of the source.
>
> -Wpointer-cast-to-signed / -Wno-pointer-cast-to-signed
>
>     Warn about any casting of pointer type data to a signed entity
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]