From: Collin Funk Date: Mon, 2 Jun 2025 01:01:33 +0000 (-0700) Subject: Pacify Clang's -Wformat-signedness. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d2a93fc9c9f57950a1336fe24ba7a4c24724e6f2;p=emacs.git Pacify Clang's -Wformat-signedness. * configure.ac: Enable -Wno-format-signedness if Clang is being used. (cherry picked from commit 1b03a348f7e7a01961108867985006fdfcc0a8cf) --- 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])