2
0
mirror of https://github.com/boostorg/compat.git synced 2026-01-21 16:52:23 +00:00

2 Commits

Author SHA1 Message Date
Peter Dimov
e7098ce569 Bump MSVC < 1950 workarounds to < 1960; still unfixed. Sad! 2026-01-20 18:51:03 +02:00
Peter Dimov
96ec9c1b89 Add msvc-14.5 to .drone.jsonnet 2026-01-20 18:44:56 +02:00
5 changed files with 10 additions and 4 deletions

View File

@@ -292,4 +292,10 @@ local windows_pipeline(name, image, environment, arch = "amd64") =
"cppalliance/dronevs2022:1",
{ TOOLSET: 'msvc-14.3', CXXSTD: '14,17,20,latest' },
),
windows_pipeline(
"Windows VS2026 msvc-14.5",
"cppalliance/dronevs2026:1",
{ TOOLSET: 'msvc-14.5', CXXSTD: '14,17,20,latest' },
),
]

View File

@@ -39,7 +39,7 @@ int main()
BOOST_TEST_EQ( boost::compat::bind_back( &X::m, &x )(), -1 );
}
#if !BOOST_WORKAROUND(BOOST_MSVC, >= 1920 && BOOST_MSVC < 1950)
#if !BOOST_WORKAROUND(BOOST_MSVC, >= 1920 && BOOST_MSVC < 1960)
{
BOOST_TEST_EQ( boost::compat::bind_back( &X::m, Y() )(), -1 );

View File

@@ -39,7 +39,7 @@ int main()
BOOST_TEST_EQ( boost::compat::bind_front( &X::m, &x )(), -1 );
}
#if !BOOST_WORKAROUND(BOOST_MSVC, >= 1920 && BOOST_MSVC < 1950)
#if !BOOST_WORKAROUND(BOOST_MSVC, >= 1920 && BOOST_MSVC < 1960)
{
BOOST_TEST_EQ( boost::compat::bind_front( &X::m, Y() )(), -1 );

View File

@@ -29,7 +29,7 @@ int main()
BOOST_TEST_EQ( boost::compat::invoke( &X::m, &x ), -1 );
}
#if !BOOST_WORKAROUND(BOOST_MSVC, >= 1920 && BOOST_MSVC < 1950)
#if !BOOST_WORKAROUND(BOOST_MSVC, >= 1920 && BOOST_MSVC < 1960)
{
BOOST_TEST_EQ( boost::compat::invoke( &X::m, Y() ), -1 );

View File

@@ -36,7 +36,7 @@ int main()
#endif
}
#if !BOOST_WORKAROUND(BOOST_MSVC, >= 1920 && BOOST_MSVC < 1950)
#if !BOOST_WORKAROUND(BOOST_MSVC, >= 1920 && BOOST_MSVC < 1960)
{
constexpr Y y = {};