icu: Warning tweaks in preparation for the next clang roll.
BUG=chromium:84851,chromium:102390
Review URL: https://chromiumcodereview.appspot.com/9417025
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/icu46@122379 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
diff --git a/icu.gyp b/icu.gyp
index 53d2736..78b238b 100644
--- a/icu.gyp
+++ b/icu.gyp
@@ -333,6 +333,12 @@
# the header should use U_NAMESPACE_BEGIN instead.
# http://bugs.icu-project.org/trac/ticket/9054
'-Wno-header-hygiene',
+ # ICU does some tricky array allocation that trips over
+ # -Warray-bounds. It seems to be harmless, see
+ # http://crbug.com/84851.
+ '-Wno-array-bounds',
+ # Looks like a real issue, see http://crbug.com/114660
+ '-Wno-return-type-c-linkage',
],
},
'cflags': [
@@ -340,6 +346,8 @@
'-Wno-logical-op-parentheses',
'-Wno-tautological-compare',
'-Wno-header-hygiene',
+ '-Wno-array-bounds',
+ '-Wno-return-type-c-linkage',
],
}],
],