зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1486020 - eliminate warning spam about ICU RTTI with MSVC; r=chmanchester
This commit is contained in:
Родитель
d5ae417328
Коммит
c551aa18b8
|
@ -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()
|
||||
|
|
Загрузка…
Ссылка в новой задаче