[pygccxml-development] Bug in virtual function wrapping with pyplusplus
Brought to you by:
mbaas,
roman_yakovenko
From: Allen B. <al...@vr...> - 2006-05-23 19:19:17
|
I think I have found a bug in the handling of virtual methods with pyplusplus. I have attached a set of test classes and the generated bindings. The problem seems to be that when you have 3 classes derived from each other as: class Grandpa class Father : public Grandpa class Son : public Father And Grandpa declares a pure virtual method that is defined in Father but just used in Son, the wrapper for Son still thinks it is a pure virtual and doesn't know to generate code with the default implementation in Father. (See the attached code, it really makes more sense with an example) -Allen |