зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1370511 - Suppress more warnings from MSVC when compiling ICU. r=ted.mielczarek
MozReview-Commit-ID: 6N48ksCMnyn --HG-- extra : rebase_source : 02130293e25495f8bed3c00e580ae50d9ae548fc
This commit is contained in:
Родитель
1fdf6c19a7
Коммит
755eb30580
|
@ -47,3 +47,14 @@ if CONFIG['CLANG_CL']:
|
|||
'-Wno-macro-redefined',
|
||||
'-Wno-microsoft-include',
|
||||
]
|
||||
|
||||
if CONFIG['_MSC_VER'] and not CONFIG['CLANG_CL']:
|
||||
CFLAGS += [
|
||||
'-wd4005', # 'WIN32_LEAN_AND_MEAN' : macro redefinition
|
||||
'-wd4996', # The compiler encountered a deprecated declaration.
|
||||
]
|
||||
CXXFLAGS += [
|
||||
'-wd4005', # 'WIN32_LEAN_AND_MEAN' : macro redefinition
|
||||
'-wd4333', # '>>' : right shift by too large amount, data loss
|
||||
'-wd4996', # The compiler encountered a deprecated declaration.
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче