diff options
author | thakis@chromium.org <thakis@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2012-02-16 22:44:56 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2012-02-16 22:44:56 +0000 |
commit | cb71ead526647bd4a18ea981ef35031dcb608bdd (patch) | |
tree | b7774f345ee8451dd263583c0363a49d1cda3639 /icu.gyp | |
parent | 15866059c8e14055290357fc7c39de58ba222d3f (diff) | |
download | icu-cb71ead526647bd4a18ea981ef35031dcb608bdd.tar.gz |
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
Diffstat (limited to 'icu.gyp')
-rw-r--r-- | icu.gyp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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', ], }], ], |