Bug 1783798 - Disable enum-constexpr-conversion error in ICU for now. r=firefox-build-system-reviewers,ahochheiden

Differential Revision: https://phabricator.services.mozilla.com/D154052
This commit is contained in:
Mike Hommey 2022-08-09 07:45:54 +00:00
Родитель 2bd2837720
Коммит cbc9dc5ed6
1 изменённых файлов: 11 добавлений и 0 удалений

11
config/external/icu/common/moz.build поставляемый
Просмотреть файл

@ -31,3 +31,14 @@ if CONFIG["TARGET_ENDIANNESS"] == "big":
HOST_DEFINES["U_COMMON_IMPLEMENTATION"] = True
HOST_SOURCES += sources
HOST_SOURCES += other_sources
# Clang 16 added an error that can be downgraded, but won't be downgradable
# in clang 17.
# https://unicode-org.atlassian.net/browse/ICU-22113
if (
CONFIG["CC_TYPE"] in ("clang", "clang-cl")
and int(CONFIG["CC_VERSION"].split(".")[0]) == 16
):
SOURCES["/intl/icu/source/common/ubidi.cpp"].flags += [
"-Wno-error=enum-constexpr-conversion"
]