Bug 1486020 - eliminate warning spam about ICU RTTI with MSVC; r=chmanchester

This commit is contained in:
Nathan Froyd 2018-08-28 09:22:39 -04:00
parent d5ae417328
commit c551aa18b8

View File

@ -30,7 +30,10 @@ if CONFIG['MOZ_DEBUG']:
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
CXXFLAGS += ['-frtti']
elif CONFIG['OS_TARGET'] == 'WINNT':
CXXFLAGS += ['-GR']
# Remove the -GR- flag so we don't get a bunch of warning spam.
COMPILE_FLAGS['OS_CXXFLAGS'] = [
f for f in COMPILE_FLAGS['OS_CXXFLAGS'] if f != '-GR-'
] + ['-GR']
DisableStlWrapping()
AllowCompilerWarnings()