From e0e9577dbc2b7a2544c57c450685f04da1e1651b Mon Sep 17 00:00:00 2001 From: David Storch Date: Thu, 9 Jun 2016 15:19:04 -0400 Subject: SERVER-24495 suppress clang/gcc compiler warnings in ICU build --- src/third_party/icu4c-57.1/source/SConscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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=[ -- cgit v1.2.1