[Uml-devel] KDE/kdesdk/umbrello/umbrello/codeimport/kdevcppparser
Oliver Kellogg
okellogg at users.sourceforge.net
Tue Mar 25 08:47:38 UTC 2008
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
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h:29: error:
declaration of #operator<# as non-function
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h:29: error:
#Position# was not declared in this scope
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h:29: error:
#Position# was not declared in this scope
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h:35: error:
declaration of #operator>=# as non-function
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h:35: error:
#Position# was not declared in this scope
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/position.h:35: error:
#Position# was not declared in this scope
In file included
from /kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:20:
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.h:219: error:
#Position# has not been declared
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.h:220: error: ISO C++
forbids declaration of #Position# with no type
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.h:220: error: expected
#;# before #const#
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.h:222: error:
#Position# has not been declared
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.h:223: error: ISO C++
forbids declaration of #Position# with no type
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.h:223: error: expected
#;# before #const#
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.h:254: error:
#Position# does not name a type
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp: In constructor
#AST::AST()#:
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:127: error: class
#AST# does not have any field named #m_startPosition#
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:127: error: class
#AST# does not have any field named #m_endPosition#
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp: At global scope:
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:142: error:
variable or field #setStartPosition# declared void
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:142: error:
#Position# was not declared in this scope
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:144: error:
expected constructor, destructor, or type conversion before #const#
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:146: error:
variable or field #setEndPosition# declared void
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:146: error:
#Position# was not declared in this scope
/kdesdk/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp:148: error:
expected constructor, destructor, or type conversion before #const#
make[2]: ***
[umbrello/umbrello/CMakeFiles/umbrello.dir/codeimport/kdevcppparser/ast.o]
Error 1
On Monday 24 March 2008 13:29, Jean Vittor wrote:
> Thiago Macieira a écrit :
> > SVN commit 789451 by thiago:
> >
> > Fix compilation: file_position is about 'char', but we're using QChar in
> > the lexer
> >
> >
> > M +2 -1 position.h
>
> Which version of boost::spirit are you using ?
> In my version (1.33.1) there is no char template parameter.
>
> > [...]
More information about the umbrello-devel
mailing list