Skip to content

Commit 44dc320

Browse files
authored
Disable new clang warning in libicu (#23099)
Clang now has a warning -Warray-compare which triggers in this library.
1 parent d1c208f commit 44dc320

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/ports/icu.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ def build_lib(lib_output, lib_src, other_includes, build_flags):
3939
# TODO: investigate why this is needed and remove
4040
'-Wno-macro-redefined',
4141
'-Wno-deprecated-declarations',
42+
'-Wno-array-compare',
43+
'-Wno-unknown-warning-option',
4244
# usage of 'using namespace icu' is deprecated: icu v61
4345
'-DU_USING_ICU_NAMESPACE=0',
4446
# make explicit inclusion of utf header: ref utf.h

0 commit comments

Comments
 (0)