]> git.eshelyaron.com Git - emacs.git/commitdiff
Disable annoying Clang warnings
authorMattias Engdegård <mattiase@acm.org>
Sat, 16 Apr 2022 09:31:58 +0000 (11:31 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 16 Apr 2022 09:32:20 +0000 (11:32 +0200)
* configure.ac (CHECK_LISP_OBJECT_TYPE): Disable
-Wimplicit-const-int-float-conversion and -Wint-in-bool-context, which
currently only have false positives.

configure.ac

index 721cf16684a0a26df2f7af3485d5843de77d2783..7c8638a4715d7fccf43d0c1f790fee3fb509aea8 100644 (file)
@@ -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