From: Paul Eggert Date: Fri, 19 May 2017 03:27:11 +0000 (-0700) Subject: Port --enable-gcc-warnings to clang 3.9.1 X-Git-Tag: emacs-26.0.90~521^2~368 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=af4ac3dc852647e5ea41be5ffc387be591978aee;p=emacs.git 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 --- 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