summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2016-06-09 15:19:04 -0400
committerDavid Storch <david.storch@10gen.com>2016-06-09 17:38:33 -0400
commite0e9577dbc2b7a2544c57c450685f04da1e1651b (patch)
tree7e93ecf3c7fe655853cc2344bef122e11634dd74 /src
parentb493fcda6df3c79f497ce535a3a71dee596d0d45 (diff)
downloadmongo-e0e9577dbc2b7a2544c57c450685f04da1e1651b.tar.gz
SERVER-24495 suppress clang/gcc compiler warnings in ICU build
Diffstat (limited to 'src')
-rw-r--r--src/third_party/icu4c-57.1/source/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/icu4c-57.1/source/SConscript b/src/third_party/icu4c-57.1/source/SConscript
index 7923fa47a67..203254f72a7 100644
--- a/src/third_party/icu4c-57.1/source/SConscript
+++ b/src/third_party/icu4c-57.1/source/SConscript
@@ -40,6 +40,10 @@ def removeIfPresent(lst, item):
for to_remove in ['-Werror', '-Wall', '-W']:
removeIfPresent(env['CCFLAGS'], to_remove)
+# Suppress sign-compare warnings.
+if env.ToolchainIs('clang', 'GCC'):
+ env.Append(CCFLAGS=['-Wno-sign-compare'])
+
i18nEnv = env.Clone()
i18nEnv.Append(
CPPDEFINES=[