From d2a93fc9c9f57950a1336fe24ba7a4c24724e6f2 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sun, 1 Jun 2025 18:01:33 -0700 Subject: [PATCH] Pacify Clang's -Wformat-signedness. * configure.ac: Enable -Wno-format-signedness if Clang is being used. (cherry picked from commit 1b03a348f7e7a01961108867985006fdfcc0a8cf) --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index afb6816f235..cd0b5e22d3f 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- 2.39.5