emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 875da1dc3a: ; * configure.ac (-Wbidi-chars): Disable use of these


From: Eli Zaretskii
Subject: master 875da1dc3a: ; * configure.ac (-Wbidi-chars): Disable use of these warnings.
Date: Fri, 13 May 2022 03:20:21 -0400 (EDT)

branch: master
commit 875da1dc3a7bc304e9571aad65f8cbc524aaac5b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * 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 1ba4448d1e..3d5eb7f9c4 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]