Patch for building Boost with GCC 4.4.0

GCC changed the way #elif's are handled (is now more std-compliant apparently) but this broke all the #elif BOOST_PP_ITERATION_DEPTH() == N lines. They need to be replaced with #elif defined(BOOST_PP_ITERATION_DEPTH) #if BOOST_PP_ITERATION_DEPTH == N ... #endif Attached is a patch that does so (against trunk). Cheers, Chris

On Wed, Jun 18, 2008 at 8:51 AM, Chris Fairles <chris.fairles@gmail.com> wrote:
GCC changed the way #elif's are handled (is now more std-compliant apparently) but this broke all the #elif BOOST_PP_ITERATION_DEPTH() == N lines. They need to be replaced with
#elif defined(BOOST_PP_ITERATION_DEPTH) #if BOOST_PP_ITERATION_DEPTH == N ... #endif
Attached is a patch that does so (against trunk).
Cheers, Chris
Guess I should actually attach the patch... Chris
participants (1)
-
Chris Fairles