2018-07-01 Paul Eggert <eggert@cs.ucla.edu>
+ 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.
+
regex: revert most trimming
Problems reported by Bruno Haible in:
https://lists.gnu.org/r/bug-gnulib/2018-07/msg00001.html
-Wstrict-prototypes c
-Wstrict-selector-match objc and objc++
-Wsurprising fortran
+-Wswitch-default https://lists.gnu.org/r/bug-gnulib/2018-05/msg00179.html
-Wswitch-enum FIXME maybe? borderline. some will want this
-Wsynth deprecated
-Wtabs fortran
-Wsubobject-linkage c++ and objc++
-Wsuggest-override c++ and objc++
-Wsurprising fortran
+-Wswitch-default https://lists.gnu.org/r/bug-gnulib/2018-05/msg00179.html
-Wswitch-enum FIXME maybe? borderline. some will want this
-Wsynth deprecated
-Wtabs fortran
-# manywarnings-c++.m4 serial 1
+# manywarnings-c++.m4 serial 2
dnl Copyright (C) 2008-2018 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
-Wsuggest-override \
-Wswitch \
-Wswitch-bool \
- -Wswitch-default \
-Wsync-nand \
-Wsystem-headers \
-Wtrampolines \
-# manywarnings.m4 serial 15
+# manywarnings.m4 serial 16
dnl Copyright (C) 2008-2018 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
-Wsuggest-final-types \
-Wswitch \
-Wswitch-bool \
- -Wswitch-default \
-Wswitch-unreachable \
-Wsync-nand \
-Wsystem-headers \