[C++-sig] Bug: Pyste and pure virtual functions.

Nicodemus nicodemus at globalite.com.br
Sat Aug 16 21:13:55 CEST 2003


Prabhu Ramachandran wrote:

>>>>>>"N" == nicodemus  <nicodemus at globalite.com.br> writes:
>>>>>>            
>>>>>>
>
>    N> Hi Prabhu!  Prabhu Ramachandran wrote:
>
>    >> I just found an obvious way to get around this -- simply call
>    >> the wrapped function (afterall this is only to satisfy the
>    >> compiler).  Attached is a patch to fix the problem with Pyste
>    >> from CVS.  This works fine for me.
>
>    N> I tried this approach too, but then it doesn't link: it
>    N> complains about the abstract function being referenced inside
>    N> the default_() method and is unable to resolve find it (I'm
>    N> using Intel 6 on Windows). 8/ Anyone got other ideas?
>
>Huh?  How is that possible?  Did you use my patch?  I specifically
>chose to use method.name and not method.FullName() since method.name
>would resolve to the wrapped function.  Here is an example:
><snip>
>

Oh, sorry about that! I thought you wanted to call the abstract method, 
so I "fixed" your patch! ;)
Your patch works perfectly, really sorry about that! 8)
Thanks once again Prabhu! It is in CVS now.

Regards,
Nicodemus.





More information about the Cplusplus-sig mailing list