From eb026a8d1b3c0cafb987fe5ef132ff078ec79f87 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 11 Aug 2018 11:38:43 +0300 Subject: [PATCH] Don't use -Wabi compiler option * configure.ac: Add -Wabi to the list of disabled warning options. For the details, see http://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00123.html. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index c6101d63538..9542d441d74 100644 --- a/configure.ac +++ b/configure.ac @@ -961,6 +961,7 @@ AS_IF([test $gl_gcc_warnings = no], nw="$nw -Wsync-nand" # irrelevant here, and provokes ObjC warning nw="$nw -Wunsafe-loop-optimizations" # OK to suppress unsafe optimizations nw="$nw -Wbad-function-cast" # These casts are no worse than others. + nw="$nw -Wabi" # Not useful, perceived as noise # Emacs doesn't care about shadowing; see # . -- 2.39.2