manywarnings: omit -Wswitch-default
commitf24fbe9d9297f57b632fbefd87770b4f39a611ef
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Jul 2018 14:08:32 +0000 (1 07:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 1 Jul 2018 14:09:08 +0000 (1 07:09 -0700)
tree6beccc7e2bd428be883b19d476e758698c576776
parente09e64c7e0d3c9d0cca82cb80713f8aea195d493
manywarnings: omit -Wswitch-default

This should make things more consistent, as we already ignore
-Wswitch-enum.  Problem reported by Reuben Thomas; see:
https://lists.gnu.org/r/bug-gnulib/2018-05/msg00179.html
* build-aux/g++-warning.spec, build-aux/gcc-warning.spec:
Add -Wswitch-default.
* m4/manywarnings-c++.m4 (gl_MANYWARN_ALL_GCC_CXX_IMPL):
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC):
Remove -Wswitch-default.
ChangeLog
build-aux/g++-warning.spec
build-aux/gcc-warning.spec
m4/manywarnings-c++.m4
m4/manywarnings.m4