1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

; * configure.ac (-Wbidi-chars): Disable use of these warnings.

This commit is contained in:
Eli Zaretskii 2022-05-13 10:19:56 +03:00
parent 1bf3afba23
commit 875da1dc3a

View 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