]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify Clang's -Wformat-signedness.
authorCollin Funk <collin.funk1@gmail.com>
Mon, 2 Jun 2025 01:01:33 +0000 (18:01 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:59:32 +0000 (21:59 +0200)
* configure.ac: Enable -Wno-format-signedness if Clang is being used.

(cherry picked from commit 1b03a348f7e7a01961108867985006fdfcc0a8cf)

configure.ac

index afb6816f235265b81fed406ca309f3b51102e4ab..cd0b5e22d3f151690eb03850448c5463879e9b9c 100644 (file)
@@ -1869,6 +1869,7 @@ AS_IF([test $gl_gcc_warnings = no],
   # clang is unduly picky about some things.
   if test "$emacs_cv_clang" = yes; then
     gl_WARN_ADD([-Wno-bitwise-instead-of-logical])
+    gl_WARN_ADD([-Wno-format-signedness])
     gl_WARN_ADD([-Wno-missing-braces])
     gl_WARN_ADD([-Wno-null-pointer-arithmetic])
     gl_WARN_ADD([-Wno-implicit-const-int-float-conversion])