mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1486020 - eliminate warning spam about ICU RTTI with MSVC; r=chmanchester
This commit is contained in:
parent
d5ae417328
commit
c551aa18b8
5
config/external/icu/defs.mozbuild
vendored
5
config/external/icu/defs.mozbuild
vendored
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user