[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master cd9c7a0: Don't warn about missing brances on macOS
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master cd9c7a0: Don't warn about missing brances on macOS |
Date: |
Tue, 23 May 2017 15:19:26 -0400 (EDT) |
branch: master
commit cd9c7a0617b58169b5788ff30de97afdbac5e882
Author: Paul Eggert <address@hidden>
Commit: Philipp Stephani <address@hidden>
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 12e44d9..6d23b5d 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master cd9c7a0: Don't warn about missing brances on macOS,
Philipp Stephani <=