1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Pacify Clang's -Wformat-signedness.

* configure.ac: Enable -Wno-format-signedness if Clang is being used.
This commit is contained in:
Collin Funk 2025-06-01 18:01:33 -07:00 committed by Paul Eggert
parent 8d132359d1
commit 1b03a348f7

View file

@ -1870,6 +1870,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])