Classparser bug
Jonas Nordin
jonas.nordin at cenacle.se
Tue Aug 10 07:57:18 BST 1999
> class GenConst : public GenNoChildren
> {
> public:
> GENCOPY
> GenConst();
> float eval(FPoint p);
> };
>
> where GENCOPY is a #define expression containing a method definition.
> When I click in the ClassViewer on the constructor GenConst() (which is
> implemented in genconst.cpp), KDevelop takes me to genconst.h, where it
> is defined, unable to find the implementation. My theory is that
> ClassParser thinks that GENCOPY is the type of the function GenConst, so
This is a known problem since the parser doesn't do any macro expansion at all.
The solution to this is non-trivial and has to be looked at later.
Thanks for the input!
/J
More information about the KDevelop
mailing list