mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
Add more blacklisted outdated crts
This commit is contained in:
parent
b13d60464c
commit
d852d3b6f2
@ -66,6 +66,7 @@ namespace vcpkg
|
||||
|
||||
struct OutdatedDynamicCrt
|
||||
{
|
||||
// Old CPP
|
||||
static const OutdatedDynamicCrt MSVCP100_DLL;
|
||||
static const OutdatedDynamicCrt MSVCP100D_DLL;
|
||||
static const OutdatedDynamicCrt MSVCP110_DLL;
|
||||
@ -75,13 +76,30 @@ namespace vcpkg
|
||||
static const OutdatedDynamicCrt MSVCP60_DLL;
|
||||
static const OutdatedDynamicCrt MSVCP_WIN_DLL;
|
||||
|
||||
// Old C
|
||||
static const OutdatedDynamicCrt MSVCR100_DLL;
|
||||
static const OutdatedDynamicCrt MSVCR100D_DLL;
|
||||
static const OutdatedDynamicCrt MSVCR100_CLR0400_DLL;
|
||||
static const OutdatedDynamicCrt MSVCR110_DLL;
|
||||
static const OutdatedDynamicCrt MSVCR120_DLL;
|
||||
static const OutdatedDynamicCrt MSVCR120_CLR0400_DLL;
|
||||
static const OutdatedDynamicCrt MSVCRT_DLL;
|
||||
static const OutdatedDynamicCrt MSVCRT20_DLL;
|
||||
static const OutdatedDynamicCrt MSVCRT40_DLL;
|
||||
|
||||
static const std::vector<OutdatedDynamicCrt>& values()
|
||||
{
|
||||
static const std::vector<OutdatedDynamicCrt> v = {
|
||||
MSVCP100_DLL, MSVCP100D_DLL,
|
||||
MSVCP110_DLL,MSVCP110_WIN_DLL,
|
||||
MSVCP120_DLL, MSVCP120_CLR0400_DLL,
|
||||
MSVCP60_DLL, MSVCP_WIN_DLL
|
||||
MSVCP60_DLL,
|
||||
MSVCP_WIN_DLL,
|
||||
|
||||
MSVCR100_DLL, MSVCR100D_DLL, MSVCR100_CLR0400_DLL,
|
||||
MSVCR110_DLL,
|
||||
MSVCR120_DLL, MSVCR120_CLR0400_DLL,
|
||||
MSVCRT_DLL, MSVCRT20_DLL,MSVCRT40_DLL
|
||||
};
|
||||
return v;
|
||||
}
|
||||
|
@ -141,6 +141,16 @@ namespace vcpkg
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCP60_DLL = OutdatedDynamicCrt("msvcp60.dll", R"(msvcp60\.dll)");
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCP_WIN_DLL = OutdatedDynamicCrt("msvcp60.dll", R"(msvcp60\.dll)");;
|
||||
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCR100_DLL = OutdatedDynamicCrt("msvcr100.dll", R"(msvcr100\.dll)");
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCR100D_DLL = OutdatedDynamicCrt("msvcr100d.dll", R"(msvcr100d\.dll)");
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCR100_CLR0400_DLL = OutdatedDynamicCrt("msvcr100_clr0400.dll", R"(msvcr100_clr0400\.dll)");
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCR110_DLL = OutdatedDynamicCrt("msvcr110.dll", R"(msvcr110\.dll)");
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCR120_DLL = OutdatedDynamicCrt("msvcr120.dll", R"(msvcr120\.dll)");
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCR120_CLR0400_DLL = OutdatedDynamicCrt("msvcr120_clr0400.dll", R"(msvcr120_clr0400\.dll)");
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCRT_DLL = OutdatedDynamicCrt("msvcrt.dll", R"(msvcrt\.dll)");
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCRT20_DLL = OutdatedDynamicCrt("msvcrt20.dll", R"(msvcrt20\.dll)");;
|
||||
const OutdatedDynamicCrt OutdatedDynamicCrt::MSVCRT40_DLL = OutdatedDynamicCrt("msvcrt40.dll", R"(msvcrt40\.dll)");;
|
||||
|
||||
const std::regex& OutdatedDynamicCrt::crt_regex() const
|
||||
{
|
||||
static const std::regex r(this->m_crt_regex_as_string, std::regex_constants::icase);
|
||||
|
Loading…
x
Reference in New Issue
Block a user