From: Mattias EngdegÄrd Date: Sat, 16 Apr 2022 09:31:58 +0000 (+0200) Subject: Disable annoying Clang warnings X-Git-Tag: emacs-29.0.90~1931^2~532 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de306d3e5dfecb336d5f66312e3e14ed8a27a81c;p=emacs.git 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. --- 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