mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-22522 Revert "Use the Clang -Wno-ambiguous-reversed-operator flag".
This reverts commit dc1b8ca26e
.
This commit is contained in:
parent
e48d2734c6
commit
e5f3295b91
1 changed files with 0 additions and 10 deletions
|
@ -1312,16 +1312,6 @@ fi
|
|||
# Now that we're done using CPPFLAGS etc. for tests, we can change it
|
||||
# for build.
|
||||
|
||||
AC_LANG_PUSH([C++])
|
||||
# Silence a Clang warning about ambiguous operators with C++20 rewritten
|
||||
# expressions that possibly or maybe even probably is a mistake (ICU-20973).
|
||||
AX_CHECK_COMPILE_FLAG(
|
||||
[-Wambiguous-reversed-operator],
|
||||
[CXXFLAGS+=" -Wno-ambiguous-reversed-operator"],
|
||||
[],
|
||||
[-Werror])
|
||||
AC_LANG_POP([C++])
|
||||
|
||||
if test "${CC}" = "clang"; then
|
||||
CLANGCFLAGS="-Qunused-arguments -Wno-parentheses-equality"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue