summaryrefslogtreecommitdiff
path: root/build-aux/g++-warning.spec
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-07-01 07:08:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-07-01 07:09:08 -0700
commitf24fbe9d9297f57b632fbefd87770b4f39a611ef (patch)
tree6beccc7e2bd428be883b19d476e758698c576776 /build-aux/g++-warning.spec
parente09e64c7e0d3c9d0cca82cb80713f8aea195d493 (diff)
downloadgnulib-f24fbe9d9297f57b632fbefd87770b4f39a611ef.tar.gz
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.
Diffstat (limited to 'build-aux/g++-warning.spec')
-rw-r--r--build-aux/g++-warning.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/g++-warning.spec b/build-aux/g++-warning.spec
index ae3e86676d..99ef3c8a8d 100644
--- a/build-aux/g++-warning.spec
+++ b/build-aux/g++-warning.spec
@@ -82,6 +82,7 @@
-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