From cd9c7a0617b58169b5788ff30de97afdbac5e882 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 23 May 2017 21:18:35 +0200 Subject: [PATCH] Don't warn about missing brances on macOS On macOS, removing -Wmissing-braces is not enough; the warning has to be disabled explicitly. --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2