[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 2f9d547: Port --enable-gcc-warnings to clang 3.7.0
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 2f9d547: Port --enable-gcc-warnings to clang 3.7.0 |
Date: |
Tue, 7 Jun 2016 23:18:24 +0000 (UTC) |
branch: master
commit 2f9d547329e8459965692383c5a95d41b7035726
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Port --enable-gcc-warnings to clang 3.7.0
* configure.ac: Add -Wno-tautological-compare to avoid bogus
warnings about 0 <= rlim.rlim_max. Remove flags that no longer
seem to be needed, at least in Fedora 23 x86-64.
---
configure.ac | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 37a159f..73fce2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -986,10 +986,8 @@ AS_IF([test $gl_gcc_warnings = no],
# More things that clang is unduly picky about.
if test $emacs_cv_clang = yes; then
- gl_WARN_ADD([-Wno-format-extra-args])
+ gl_WARN_ADD([-Wno-tautological-compare])
gl_WARN_ADD([-Wno-tautological-constant-out-of-range-compare])
- gl_WARN_ADD([-Wno-unused-command-line-argument])
- gl_WARN_ADD([-Wno-unused-value])
fi
# This causes too much noise in the MinGW build
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 2f9d547: Port --enable-gcc-warnings to clang 3.7.0,
Paul Eggert <=