]> git.eshelyaron.com Git - emacs.git/commitdiff
; * configure.ac (-Wbidi-chars): Disable use of these warnings.
authorEli Zaretskii <eliz@gnu.org>
Fri, 13 May 2022 07:19:56 +0000 (10:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 13 May 2022 07:19:56 +0000 (10:19 +0300)
configure.ac

index 1ba4448d1e4300dc5e7d94714454c1a43d5eff53..3d5eb7f9c44e1215015d62dc919a2f42ab9a7d5d 100644 (file)
@@ -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