[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 0bb7dfc 2/2: Adjust to Gnulib change with -Wswitch-
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 0bb7dfc 2/2: Adjust to Gnulib change with -Wswitch-default |
Date: |
Wed, 4 Jul 2018 02:51:54 -0400 (EDT) |
branch: master
commit 0bb7dfc39cdb943eeefa6c7e5575eb997fb934ba
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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.
---
configure.ac | 1 -
1 file changed, 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index e33b1f1..6613ce1 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