mirror of
https://github.com/JaCzekanski/Avocado.git
synced 2024-06-02 19:27:41 -04:00
vs: silence warnings in externals
This commit is contained in:
parent
7c3bc7bc1a
commit
c84fbefc14
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue