]> git.eshelyaron.com Git - emacs.git/commitdiff
Adjust to Gnulib change with -Wswitch-default
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Jul 2018 06:51:03 +0000 (23:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Jul 2018 06:51:32 +0000 (23:51 -0700)
* configure.ac: Simplify by not bothering to omit
-Wswitch-default, as Gnulib no longer enables it by default.

configure.ac

index e33b1f1e35328d9495db1e596291139beabeebb3..6613ce1eaaf3f7d9801de8a65fffffdc84eaf656 100644 (file)
@@ -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