SIP does not allow declarations like

virtual void f(const AnyType* const);

Dropping the second const works with g++, but MSVC.NET 2003 issues a warning.
Worse: the Python version of the virtual function in a Python derived
subclass gets never called.

I work around this problem by making configure.py patch the second const in
the SIP-generated code.

Gerard
 

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to