Hitting assert in templatedeclaration.h:274 in cppduchain

David nolden david.nolden.kdevelop at art-master.de
Thu Jan 29 23:51:31 UTC 2009


Am Freitag 30 Januar 2009 00:40:34 schrieb Andreas Pakulat:
> Hi,
>
> so I got kdev4 to load a project, open a .ui file (that was an accident,
> but it worked) and then tried a .cpp -> Crash :(
>
> Apparently I'm hitting the assert in line 274 in templatedeclaration.h in
> cppduchain. I've loaded projectmanagerview.cpp from
> kdevplatform/plugins/projectmanagerview and I did scroll down two pages
> right after it opened...

Look it templatedeclaration.cpp:1021: There is an explicit specialization of 
that function for forward-declarations.

You have to find out why that function is not picked up by the linker or 
compiler. Maybe you have to add something like "export" in front of it? 
Although that would extremely suck, since if this does not work, there might 
be random other places with similar issues.

Maybe there's a compiler-option to fix this?

Greetings, David





More information about the KDevelop-devel mailing list