KDE/kdevplatform/language/duchain

Andreas Pakulat apaku at gmx.de
Wed Oct 8 22:39:38 UTC 2008


On 08.10.08 23:26:25, David Nolden wrote:
> Am Mittwoch, 8. Oktober 2008 23:01:53 schrieb Andreas Pakulat:
> > Hmm, I think its either the typedef, or the template parameter thats
> > confusing msvc. Because the template parameter has the same name as the
> > typedef in the Base class.
> >
> > So I changed it to be a c-style-cast to AbstractFunctionDeclarationData*,
> > which works. Is that ok for you?
> 
> Not sure, it's less safe because AbstractFunctionDeclarationData does not have 
> such a direct relation to the base(May be reached through multiple 
> inheritance-paths). Maybe the compiler fails to cast that correctly. Does 
> duchaintest still succeed?

I'll tell you once c++ support builds :) MSVC is sooo annoying.

> What about just renaming the template-parameter?

That didn't help unfortunately. So it migth really be the typedef, I'm
going to need to go through the inheritance chain again and draw myself a
pretty picture of how all this relates :)

Andreas
 
-- 
Your sister swims out to meet troop ships.




More information about the KDevelop-devel mailing list