diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-05-18 20:27:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-05-18 20:42:34 -0700 |
commit | af4ac3dc852647e5ea41be5ffc387be591978aee (patch) | |
tree | c01376ba8e059bfaa8ced943ef943f9582987073 | |
parent | 9647430ae8744bd4dee29f1269b74f65c09274d2 (diff) | |
download | emacs-af4ac3dc852647e5ea41be5ffc387be591978aee.tar.gz emacs-af4ac3dc852647e5ea41be5ffc387be591978aee.tar.bz2 emacs-af4ac3dc852647e5ea41be5ffc387be591978aee.zip |
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
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 34b75a768bf..03542a6b1c3 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 |