From 3d3350646f08a0ff7d5f937d31dcadca1b7cd4ef Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 4 Jun 2022 14:19:01 +0300 Subject: [PATCH] Disable use of under MinGW (fails on GHA) --- test/detail_is_range_test2.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/detail_is_range_test2.cpp b/test/detail_is_range_test2.cpp index f4bae9b..b1cf8b2 100644 --- a/test/detail_is_range_test2.cpp +++ b/test/detail_is_range_test2.cpp @@ -14,7 +14,8 @@ #include #include #include -#if !defined(BOOST_NO_CXX17_HDR_FILESYSTEM) + +#if !defined(BOOST_NO_CXX17_HDR_FILESYSTEM) && !defined(__MINGW32__) # include #endif @@ -25,9 +26,11 @@ int main() BOOST_TEST_TRAIT_FALSE((is_range< boost::filesystem::path >)); BOOST_TEST_TRAIT_FALSE((is_range< boost::filesystem::path const >)); -#if !defined(BOOST_NO_CXX17_HDR_FILESYSTEM) +#if !defined(BOOST_NO_CXX17_HDR_FILESYSTEM) && !defined(__MINGW32__) + BOOST_TEST_TRAIT_FALSE((is_range< std::filesystem::path >)); BOOST_TEST_TRAIT_FALSE((is_range< std::filesystem::path const >)); + #endif return boost::report_errors();