CVS compilation problem

Tobias Gläßer tobi.web at gmx.de
Wed Oct 22 17:27:04 UTC 2003


Same box (mdk-9.2), same problem.

Greetz...

Am Mi, 2003-10-22 um 11.17 schrieb Chris Thompson:
> I've checked out gideon fresh from cvs and I'm trying to compile
> it on my Mandrake 9.2 box using gcc 3.3.1.
> 
> I get lots (probably hundreds) of errors when compiling
> languages/ada/AdaParser.cpp, similar to the following:
> 
> AdaParser.cpp:41: error: invalid static_cast from type `RefAdaAST' to type 
> `antlr::RefAST'
> AdaParser.cpp:53: error: invalid static_cast from type `RefAdaAST' to type 
> `antlr::RefAST'
> 
> The lines of code that cause the problem appear to be lines like:
> 
> 	RefAdaAST compilation_unit_AST = 
> static_cast<RefAdaAST>(ANTLR_USE_NAMESPACE(antlr)nullAST);
> 
> I can make it work if I change from a C++ cast to a C cast:
> 
> 	RefAdaAST compilation_unit_AST = (RefAdaAST)
> (ANTLR_USE_NAMESPACE(antlr)nullAST);
> 
> 
> I'm reporting here instead of into bugzilla because it looks to be
> a compilation bug and those are meant to come here.
> 
> 
> _______________________________________________
> Kdevelop-devel mailing list
> Kdevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
-- 





More information about the KDevelop-devel mailing list