diff options
| author | Paul Eggert | 2017-05-18 20:27:11 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-05-18 20:42:34 -0700 |
| commit | af4ac3dc852647e5ea41be5ffc387be591978aee (patch) | |
| tree | c01376ba8e059bfaa8ced943ef943f9582987073 | |
| parent | 9647430ae8744bd4dee29f1269b74f65c09274d2 (diff) | |
| download | emacs-af4ac3dc852647e5ea41be5ffc387be591978aee.tar.gz 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], | |||
| 963 | 963 | ||
| 964 | if test $emacs_cv_clang = yes; then | 964 | if test $emacs_cv_clang = yes; then |
| 965 | nw="$nw -Wcast-align" | 965 | nw="$nw -Wcast-align" |
| 966 | nw="$nw -Wdouble-promotion" | ||
| 966 | fi | 967 | fi |
| 967 | 968 | ||
| 968 | # This causes too much noise in the MinGW build | 969 | # This causes too much noise in the MinGW build |