Bug 1485028 - Fix warnings that are specific to clang-cl ASAN builds. r=dmajor

--HG--
extra : source : f0b577cc8b920352dfe297e7ec9cca58b1838c5d
This commit is contained in:
Masatoshi Kimura 2018-08-22 02:02:56 +09:00
Родитель 9d4f4b2a44
Коммит 49ee57f31d
5 изменённых файлов: 0 добавлений и 15 удалений

Просмотреть файл

@ -88,6 +88,3 @@ if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):
# 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
]
DEFINES['__PRETTY_FUNCTION__'] = '__FUNCSIG__'
if CONFIG['MOZ_ASAN'] and CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1306642

Просмотреть файл

@ -64,6 +64,3 @@ if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
if CONFIG['NIGHTLY_BUILD']:
DEFINES['ENABLE_WASM_GC'] = True
if CONFIG['MOZ_ASAN'] and CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1090497

Просмотреть файл

@ -48,6 +48,3 @@ if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):
# Disable warning for decorated name length exceeded, name was truncated
CXXFLAGS += ['-wd4503']
if CONFIG['MOZ_ASAN'] and CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1306642

Просмотреть файл

@ -35,6 +35,3 @@ if CONFIG['OS_TARGET'] == 'Android':
]
FINAL_LIBRARY = 'xul'
if CONFIG['MOZ_ASAN'] and CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1306642

Просмотреть файл

@ -29,6 +29,3 @@ UNIFIED_SOURCES += [
DEFINES['TRACING'] = True
FINAL_LIBRARY = 'xul'
if CONFIG['MOZ_ASAN'] and CONFIG['CC_TYPE'] == 'clang-cl':
AllowCompilerWarnings() # workaround for bug 1306642