From: Paul Eggert Date: Tue, 23 May 2017 19:18:35 +0000 (+0200) Subject: Don't warn about missing brances on macOS X-Git-Tag: emacs-26.0.90~521^2~293 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cd9c7a0617b58169b5788ff30de97afdbac5e882;p=emacs.git Don't warn about missing brances on macOS On macOS, removing -Wmissing-braces is not enough; the warning has to be disabled explicitly. --- diff --git a/configure.ac b/configure.ac index 12e44d949c5..6d23b5d214e 100644 --- a/configure.ac +++ b/configure.ac @@ -986,6 +986,7 @@ AS_IF([test $gl_gcc_warnings = no], # More things that clang is unduly picky about. if test $emacs_cv_clang = yes; then + gl_WARN_ADD([-Wno-missing-braces]) gl_WARN_ADD([-Wno-tautological-compare]) gl_WARN_ADD([-Wno-tautological-constant-out-of-range-compare]) fi