summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-07-03 23:51:03 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-07-03 23:51:32 -0700
commit0bb7dfc39cdb943eeefa6c7e5575eb997fb934ba (patch)
treea9c04759bf0430ca84bb5daec60334573059e619
parent891536aaad5a2a456656b778735513a57bb461c3 (diff)
downloademacs-0bb7dfc39cdb943eeefa6c7e5575eb997fb934ba.tar.gz
Adjust to Gnulib change with -Wswitch-default
* configure.ac: Simplify by not bothering to omit -Wswitch-default, as Gnulib no longer enables it by default.
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e33b1f1e353..6613ce1eaaf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -959,7 +959,6 @@ AS_IF([test $gl_gcc_warnings = no],
nw="$nw -Woverlength-strings" # Not a problem these days
nw="$nw -Wformat-nonliteral" # we do this a lot
nw="$nw -Wvla" # Emacs uses <vla.h>.
- nw="$nw -Wswitch-default" # Too many warnings for now
nw="$nw -Wunused-const-variable=2" # lisp.h declares const objects.
nw="$nw -Winline" # OK to ignore 'inline'
nw="$nw -Wstrict-overflow" # OK to optimize assuming that