зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1370865 - Suppress more MSVC warnings in gfx/angle. r=jgilbert
MozReview-Commit-ID: D9HLvwCLRQn --HG-- extra : rebase_source : ba334335a1f3278ae220720ede5b0f416bc2904a
This commit is contained in:
Родитель
c192a1ec23
Коммит
99bf272847
|
@ -352,6 +352,12 @@ if CONFIG['GNU_CXX']:
|
|||
'-Wno-shadow-local',
|
||||
]
|
||||
|
||||
if CONFIG['_MSC_VER'] and not CONFIG['CLANG_CL']:
|
||||
CXXFLAGS += [
|
||||
'-wd4018', # '>' : signed/unsigned mismatch
|
||||
'-wd4530', # C++ exception handler used, without /EHsc
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_DIRECTX_SDK_PATH'] and not CONFIG['MOZ_HAS_WINSDK_WITH_D3D']:
|
||||
LOCAL_INCLUDES += ['%' + '%s/include/' % CONFIG['MOZ_DIRECTX_SDK_PATH']]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче