This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37518] preprocessor failure
- From: "rwgk at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2008 07:24:27 -0000
- Subject: [Bug c++/37518] preprocessor failure
- References: <bug-37518-3137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rwgk at yahoo dot com 2008-09-14 07:24 -------
> What is on that line?
#elif BOOST_PP_ITERATION_DEPTH() == 1
If you don't have /usr/include/boost, you can get the entire boost
tree from here:
svn co https://svn.boost.org/svn/boost/trunk boost
Then simply compile with -Iboost.
> I think this is invalid code
This boost code is about four years old and compiles with many
compilers incl. any other gcc >= 3.2 (at least), many EDG versions,
and Visual C++ >= 6.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37518