[Uml-devel] KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser
Oliver Kellogg
okellogg at users.sourceforge.net
Tue Mar 25 18:30:53 UTC 2008
Perhaps it is possible to use:
#include <boost/version.hpp>
#if BOOST_VERSION <= 103301
// put the code that works for Boost 1_33_1 here
#else
// put the code that works for newer Boost here
#endif
Oliver
On Tuesday 25 March 2008 16:19, Jean Vittor wrote:
>
> I get the same error (I'm using the same version of gcc) after last
> update. I guess it comes after last modification of this file.
>
> I would suggest to rollback this last modification.
>
> Thiago did this modification because he had a compilation error with his
> version of boost (he told me he's using 1.34.1).
>
> I'm currently using boost 1.33.1 (and it compiled before Thiago's change).
>
> I was wondering if it is better to :
> - continue to change the C++ parser (using version 1.33.1 of boost)
> - or keep the old version of the c++ parser and put my changes
> between #ifdef.
>
> Whatever is chosen, I need to be able to rollback to the version before
> the first use of boost::spirit (I wrote it in the commit message).
>
>
> Jean
>
> Oliver Kellogg a écrit :
> > Hello Jean,
> >
> > Using gcc-4.2.2 I currently get this compile error:
> >
> > [ 17%] Building CXX object
> > umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/ast.o
> > In file included from
> > kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.h:23,
> >
> > from /kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:20:
> > /kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h:27: error:
> > expected initializer before #<# token
> > [...]
>
More information about the umbrello-devel
mailing list