[issue-24] test failure for new clang-win ci job

This commit is contained in:
James E. King III
2022-04-23 22:05:10 -04:00
committed by Jim King
parent 772c1b40c8
commit 3b2dbfea08
2 changed files with 4 additions and 3 deletions

View File

@ -65,7 +65,7 @@ environment:
B2_TOOLSET: msvc-14.1
- FLAVOR: clang-cl
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
B2_ADDRESS_MODEL: 64
B2_CXXSTD: 11,14,17
B2_TOOLSET: clang-win

View File

@ -548,9 +548,10 @@ main()
unary_predicate_archetype<PredArg> pred(dummy_cons);
bi = std::partition(bi, bi, pred);
}
#if !defined(BOOST_MSVC) && !defined(BOOST_EMBTC)
#if !defined(BOOST_MSVC) && !defined(BOOST_EMBTC) && !defined(_MSC_VER)
{
// fails on MSVC
// fails on MSVC and clang-win; stl headers come from Visual Studio and
// they attempt to reverse the iterator
typedef null_archetype<> PredArg;
typedef sgi_assignable_archetype<convertible_to_archetype<PredArg> > FT;
mutable_forward_iterator_archetype<FT> fi;