diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-04-16 11:31:58 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-04-16 11:32:20 +0200 |
commit | de306d3e5dfecb336d5f66312e3e14ed8a27a81c (patch) | |
tree | 11aaa0162a2132b0db73b79d3dd8eb7b6957170f | |
parent | b3ff4905388834994ff26d9d033d6bc62b094c1c (diff) | |
download | emacs-de306d3e5dfecb336d5f66312e3e14ed8a27a81c.tar.gz emacs-de306d3e5dfecb336d5f66312e3e14ed8a27a81c.tar.bz2 emacs-de306d3e5dfecb336d5f66312e3e14ed8a27a81c.zip |
Disable annoying Clang warnings
* configure.ac (CHECK_LISP_OBJECT_TYPE): Disable
-Wimplicit-const-int-float-conversion and -Wint-in-bool-context, which
currently only have false positives.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 721cf16684a..7c8638a4715 100644 --- a/configure.ac +++ b/configure.ac @@ -1105,6 +1105,8 @@ AS_IF([test $gl_gcc_warnings = no], if test "$emacs_cv_clang" = yes; then gl_WARN_ADD([-Wno-missing-braces]) gl_WARN_ADD([-Wno-null-pointer-arithmetic]) + gl_WARN_ADD([-Wno-implicit-const-int-float-conversion]) + gl_WARN_ADD([-Wno-int-in-bool-context]) fi # This causes too much noise in the MinGW build |