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: [RFC] -Weverything


Am 27.01.19 um 21:52 schrieb Steve Kargl:

In fact, I would be in favor of removing -Wall, as it is misnamed,
in favor of -Wlevel=0,1,2,3...  -Wlevel=0 default warnings.
-Wlevel=1 is equivalent to -Wall.  -Wlevel=2 is -Wall -Wextra
(and maybe -Wsurprising).

... and -Wlevel=3 could then be -Wkitchen-sink, at least from the
Fortran-only side. :-)

I quite like that idea.  I don't think -Wall will be deprecated soon,
but -Wlevel sounds like a good thing to implement.

Regards

	Thomas


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