emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master af4ac3d 1/2: Port --enable-gcc-warnings to clang 3.


From: Paul Eggert
Subject: [Emacs-diffs] master af4ac3d 1/2: Port --enable-gcc-warnings to clang 3.9.1
Date: Thu, 18 May 2017 23:43:11 -0400 (EDT)

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

    Port --enable-gcc-warnings to clang 3.9.1
    
    * configure.ac (WERROR_CFLAGS): Omit -Wdouble-promotion if clang.
    Problem reported by Philipp Stephani in:
    http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00495.html
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

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



reply via email to

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