Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemath
GitHub Repository: sagemath/sage
Path: blob/develop/build/pkgs/boost_cropped/patches/integral_wrapper.patch
4086 views
1
diff --git a/boost/mpl/aux_/integral_wrapper.hpp b/boost/mpl/aux_/integral_wrapper.hpp
2
index 6bc05f7..4f3f696 100644
3
--- a/boost/mpl/aux_/integral_wrapper.hpp
4
+++ b/boost/mpl/aux_/integral_wrapper.hpp
5
@@ -56,7 +56,7 @@ struct AUX_WRAPPER_NAME
6
// have to #ifdef here: some compilers don't like the 'N + 1' form (MSVC),
7
// while some other don't like 'value + 1' (Borland), and some don't like
8
// either
9
-#if BOOST_WORKAROUND(__EDG_VERSION__, <= 243)
10
+#if BOOST_WORKAROUND(__EDG_VERSION__, <= 243) || __clang_major__ >= 16
11
private:
12
BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, next_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N + 1)));
13
BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, prior_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N - 1)));
14
15