emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master de306d3e5d: Disable annoying Clang warnings


From: Mattias Engdegård
Subject: master de306d3e5d: Disable annoying Clang warnings
Date: Sat, 16 Apr 2022 05:33:04 -0400 (EDT)

branch: master
commit de306d3e5dfecb336d5f66312e3e14ed8a27a81c
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    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.
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 721cf16684..7c8638a471 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]