bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc/g++-warning.spec: remove -Wswitch-enum?


From: Paul Eggert
Subject: Re: gcc/g++-warning.spec: remove -Wswitch-enum?
Date: Sun, 27 May 2018 01:13:16 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

For what it's worth, Emacs configure.ac disables -Wswitch-default (too many warnings) and -Wswitch (since -Wall implies -Wswitch, and the Emacs folks want to shorten the command line). Coreutils configure.ac disables both -Wswitch-enum (unnecessary, since Gnulib also disables it) and -Wswitch-default.

With this and your comment in mind, how about if we add -Wswitch-default to build-aux/gcc-warning.spec? It doesn't seem to be of much use in practice.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]