This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/36453] PR36320 breaks boost
- From: "mueller at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2008 22:14:50 -0000
- Subject: [Bug preprocessor/36453] PR36320 breaks boost
- References: <bug-36453-12049@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mueller at gcc dot gnu dot org 2008-06-10 22:14 -------
so the code should be changed to
#elif defined(BOOST_PP_ITERATION_DEPTH) && BOOST_PP_ITERATION_DEPTH() == 1
?
it is confusing that #elif behaves more like "#if" and not like "#else\n#if"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36453