proposed patch for constant signed/unsigned comparison warning

Leo Breebaart leo@lspace.org
Thu Sep 25 04:11:00 GMT 1997


Jim Wilson wrote:

> Or maybe we need a -Weverything option, which includes all warnings, even
> those that we don't want enabled by -Wall?

Speaking as a humble end user of gcc/g++: YES PLEASE!

I am one of those weird people who *likes* warnings, the more the better,
even if they are nitpicky ones.

I would love to be able to say "-Weverything", and get a totally paranoid
compiler, warning-wise. In the current versions, there are -Wall warnings,
-W warnings, and warnings that have to be turned on explicitly. I'm never
quite sure if I've really covered all of them, I always have to be on the
lookout for changes and additions, and they bloat my command lines. Just a
plain simple "-Weverything-and-I-do-mean-everything" would be wonderful.

-- 
Leo Breebaart  <leo@lspace.org>



More information about the Gcc mailing list