From 386dbf10540a20a8b0b432ea09d693112e0934dd Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 24 Dec 2017 04:38:07 +0200 Subject: [PATCH] Skip zip_iterator_test_std_pair on msvc-9.0 and below --- test/zip_iterator_test_std_pair.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/zip_iterator_test_std_pair.cpp b/test/zip_iterator_test_std_pair.cpp index 215777a..e714732 100644 --- a/test/zip_iterator_test_std_pair.cpp +++ b/test/zip_iterator_test_std_pair.cpp @@ -6,6 +6,20 @@ // // See http://www.boost.org for most recent version including documentation. +#include +#include +#include + +#if BOOST_WORKAROUND(BOOST_MSVC, < 1600) + +BOOST_PRAGMA_MESSAGE("Skipping test on msvc-9.0 and below") + +int main() +{ +} + +#else + #include #include @@ -14,3 +28,4 @@ #include "detail/zip_iterator_test.ipp" +#endif // #if BOOST_WORKAROUND