From: Eli Zaretskii Date: Fri, 13 May 2022 07:19:56 +0000 (+0300) Subject: ; * configure.ac (-Wbidi-chars): Disable use of these warnings. X-Git-Tag: emacs-29.0.90~1910^2~744 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=875da1dc3a7bc304e9571aad65f8cbc524aaac5b;p=emacs.git ; * configure.ac (-Wbidi-chars): Disable use of these warnings. --- 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