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