Index: icu.gyp |
=================================================================== |
--- icu.gyp (revision 122096) |
+++ icu.gyp (working copy) |
@@ -333,12 +333,6 @@ |
# the header should use U_NAMESPACE_BEGIN instead. |
# http://bugs.icu-project.org/trac/ticket/9054 |
'-Wno-header-hygiene', |
- # uresdata.c has switch(RES_GET_TYPE(x)) code. The |
- # RES_GET_TYPE macro returns an UResType enum, but some switch |
- # statement contains case values that aren't part of that |
- # enum (e.g. URES_TABLE32 which is in UResInternalType). This |
- # is on purpose. |
- '-Wno-switch', |
], |
}, |
'cflags': [ |
@@ -346,7 +340,6 @@ |
'-Wno-logical-op-parentheses', |
'-Wno-tautological-compare', |
'-Wno-header-hygiene', |
- '-Wno-switch', |
], |
}], |
], |
@@ -599,12 +592,19 @@ |
'-Wno-logical-op-parentheses', |
# ICU has some `unsigned < 0` checks. |
'-Wno-tautological-compare', |
+ # uresdata.c has switch(RES_GET_TYPE(x)) code. The |
+ # RES_GET_TYPE macro returns an UResType enum, but some switch |
+ # statement contains case values that aren't part of that |
+ # enum (e.g. URES_TABLE32 which is in UResInternalType). This |
+ # is on purpose. |
+ '-Wno-switch', |
], |
}, |
'cflags': [ |
'-Wno-deprecated-declarations', |
'-Wno-logical-op-parentheses', |
'-Wno-tautological-compare', |
+ '-Wno-switch', |
], |
}], |
], |