From 0013c5c4f055a5a8add08ce7ff639513358f99b1 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 24 Dec 2017 04:56:47 +0200 Subject: [PATCH] Skip zip_iterator_test_std_pair on g++ in C++03 mode --- test/zip_iterator_test_std_pair.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/zip_iterator_test_std_pair.cpp b/test/zip_iterator_test_std_pair.cpp index e714732..4353b6d 100644 --- a/test/zip_iterator_test_std_pair.cpp +++ b/test/zip_iterator_test_std_pair.cpp @@ -13,10 +13,12 @@ #if BOOST_WORKAROUND(BOOST_MSVC, < 1600) BOOST_PRAGMA_MESSAGE("Skipping test on msvc-9.0 and below") +int main() {} -int main() -{ -} +#elif defined(BOOST_GCC) && __cplusplus < 201100 + +BOOST_PRAGMA_MESSAGE("Skipping test on g++ in C++03 mode") +int main() {} #else @@ -28,4 +30,4 @@ int main() #include "detail/zip_iterator_test.ipp" -#endif // #if BOOST_WORKAROUND +#endif