From 7933300b6fd6098510ada49bdd81847837a5bb40 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 11 Oct 2021 03:30:50 +0300 Subject: [PATCH] Disable test on g++ 4.x because no std::io_errc --- test/std_interop_test11.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/std_interop_test11.cpp b/test/std_interop_test11.cpp index 144f1c1..8374e1a 100644 --- a/test/std_interop_test11.cpp +++ b/test/std_interop_test11.cpp @@ -6,11 +6,16 @@ #include #include #include -#include +#include #if !defined(BOOST_SYSTEM_HAS_SYSTEM_ERROR) -BOOST_PRAGMA_MESSAGE( "BOOST_SYSTEM_HAS_SYSTEM_ERROR not defined, test will be skipped" ) +BOOST_PRAGMA_MESSAGE( "Skipping test, BOOST_SYSTEM_HAS_SYSTEM_ERROR not defined" ) +int main() {} + +#elif defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 50000 + +BOOST_PRAGMA_MESSAGE( "Skipping test, BOOST_LIBSTDCXX_VERSION < 50000" ) int main() {} #else