
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 18 June 2008 08:52 am, Chris Fairles wrote:
On Wed, Jun 18, 2008 at 8:51 AM, Chris Fairles
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
Does it work if you do #elif defined(BOOST_PP_ITERATION_DEPTH) && BOOST_PP_ITERATION_DEPTH() == N then you could avoid adding the extra #endif -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIWSdD5vihyNWuA4URAjY+AKCS3jeAhQkkbMb03vWLe4+ntvW1oACgw0Gi Y0HYLTLQLAieVN+0zz8CJYQ= =jIsQ -----END PGP SIGNATURE-----