Skip to content

Commit c7c28f7

Browse files
committed
Disable std::variant testing under Clang 6.0
1 parent 47b7f72 commit c7c28f7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/test_variant.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
#include <boost/math/special_functions/next.hpp>
3131
#endif
3232

33+
#if !defined(BOOST_NO_CXX17_HDR_VARIANT) && BOOST_CLANG_VERSION < 70000
34+
// Clang 6.0 can't compile std::visit from libstdc++ 9
35+
# define BOOST_NO_CXX17_HDR_VARIANT
36+
#endif
37+
3338
#if defined(BOOST_NO_STDC_NAMESPACE)
3439
namespace std {
3540
using ::remove;

0 commit comments

Comments
 (0)