Re: [vos-d] SWIG help?

2005-09-30 Thread Peter Amstutz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Uh... I don't think so. The only large-scale change I did (which was a while ago) was to introduce empty virtual destructors in all the pure abstract interface classes, so that gcc4 wouldn't complain. But I don't see how that would confuse SWIG..

Re: [vos-d] SWIG help?

2005-09-30 Thread Reed Hedges
Thanks Hugh, that helps a lot. I was confused because it seemed to happen all of a sudden without too many changes in VOS, and the problem affects almost all of the Python classes. One additional thing I noticed is that this doesn't affect the *Ptr classes, e.g. Vobject class has the raise in __

Re: [vos-d] SWIG help?

2005-09-29 Thread Hugh Perkins
Not all objects can be constructed, for example anything pure virtual Swig attempts to detect which objects can and cant be constructed.  Sometimes it gets it wrong One way in which it gets wrong are where you instantiate a method in a derived class that was pure virtual in the base class.  If the