From 875da1dc3a7bc304e9571aad65f8cbc524aaac5b Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 13 May 2022 10:19:56 +0300 Subject: [PATCH] ; * configure.ac (-Wbidi-chars): Disable use of these warnings. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 1ba4448d1e4..3d5eb7f9c44 100644 --- a/configure.ac +++ b/configure.ac @@ -1079,6 +1079,9 @@ AS_IF([test $gl_gcc_warnings = no], # option problematic. nw="$nw -Wsuggest-attribute=pure" + # Emacs doesn't need this paranoia. + nw="$nw -Wbidi-chars=any,ucn" + if test "$emacs_cv_clang" = yes; then nw="$nw -Wdouble-promotion" fi @@ -1100,6 +1103,7 @@ AS_IF([test $gl_gcc_warnings = no], gl_WARN_ADD([-Wno-type-limits]) # Too many warnings for now gl_WARN_ADD([-Wno-unused-parameter]) # Too many warnings for now gl_WARN_ADD([-Wno-format-nonliteral]) + gl_WARN_ADD([-Wno-bidi-chars]) # clang is unduly picky about some things. if test "$emacs_cv_clang" = yes; then -- 2.39.2