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
This commit is contained in:
parent
9647430ae8
commit
af4ac3dc85
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue