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?


On Thursday, March 20, 2003, at 11:31 AM, David Taylor wrote:
If yes, then assuming the implementation/etc is acceptable, which of the following
would people be interested in seeing patches for?


-Wenum-mismatch / -Wno-enum-mismatch

    Warn when value assigned to a variable of an enumeral type doesn't
    correspond to an enumerator

-Wprecision-mismatch / -Wno-precision-mismatch

    Warn when the precision of the destination is smaller than
    the precision of the source.

These. They sound compelling.



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