emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master a5acb37: Port --enable-gcc-warnings to clang 3.9.1


From: Paul Eggert
Subject: [Emacs-diffs] master a5acb37: Port --enable-gcc-warnings to clang 3.9.1
Date: Fri, 19 May 2017 19:05:59 -0400 (EDT)

branch: master
commit a5acb3701a7b4ab8b82aede308d28a47a383ae9c
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Port --enable-gcc-warnings to clang 3.9.1
    
    * configure.ac (WERROR_CFLAGS): Omit -Wmissing-braces for Clang,
    to shut off a false alarm.  Problem reportd by Philipp Stephani in:
    http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00521.html
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 03542a6..12e44d9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -964,6 +964,7 @@ AS_IF([test $gl_gcc_warnings = no],
   if test $emacs_cv_clang = yes; then
     nw="$nw -Wcast-align"
     nw="$nw -Wdouble-promotion"
+    nw="$nw -Wmissing-braces"
   fi
 
   # This causes too much noise in the MinGW build



reply via email to

[Prev in Thread] Current Thread [Next in Thread]