On Sun, Jan 27, 2019 at 1:02 PM Thomas König <t...@tkoenig.net> wrote:
>
> 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.

Maybe instead of -Wlevel= why not just -W0, -W1, -W2, -W3; -W would be
-W1 (because -W already exists)?  Just like -O :).

Thanks,
Andrew

>
> Regards
>
>         Thomas

Reply via email to