[RFC] -Weverything
Thomas König
tk@tkoenig.net
Sun Jan 27 21:02:00 GMT 2019
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
More information about the Gcc
mailing list