vs: silence warnings in externals

This commit is contained in:
Jakub Czekański 2019-06-20 13:58:30 +02:00
parent 7c3bc7bc1a
commit c84fbefc14
3 changed files with 20 additions and 4 deletions

View file

@ -13,10 +13,10 @@ environment:
TOOLSET: vs2017
platform: x64
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 Preview
TOOLSET: vs2019
TOOLSET: vs2017
platform: Win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 Preview
TOOLSET: vs2019
TOOLSET: vs2017
platform: x64
before_build:

View file

@ -20,4 +20,11 @@ project "chdr"
"miniz",
"lzma",
"flac",
}
}
filter "system:windows"
disablewarnings {
"4018", -- 'expression' : signed/unsigned mismatch
"4244", -- 'conversion' conversion from 'type1' to 'type2', possible loss of data
"4267", -- 'var' : conversion from 'size_t' to 'type', possible loss of data
}

View file

@ -42,4 +42,13 @@ project "flac"
"HAVE_LROUND",
"HAVE_STDINT_H",
"HAVE_STDLIB_H",
}
}
filter "system:windows"
disablewarnings {
"4018", -- 'expression' : signed/unsigned mismatch
"4244", -- 'conversion' conversion from 'type1' to 'type2', possible loss of data
"4267", -- 'var' : conversion from 'size_t' to 'type', possible loss of data
"4334", -- 'operator' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
"4996", -- The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: new_name.
}