Skip to content

Commit 9fbdc42

Browse files
cullerjhpalmieri
authored andcommitted
Adjust patches for gcc and boost_cropped so gfortran and e-antic will build with XCode 16 on Intel.
1 parent 7726cd9 commit 9fbdc42

File tree

2 files changed

+834
-777
lines changed

2 files changed

+834
-777
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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)));

0 commit comments

Comments
 (0)