[C++-sig] Pyste - wrong code generation - maybe

Roman Yakovenko romany at actimize.com
Thu Aug 28 17:32:33 CEST 2003


Hi. I use Pyste from CVS. I use VC++ 6.0, SP5

The following code produce error on my machine.
( Pyste generates code like this on generating wrappers (in my case). )

I don't know whether it ligal error from compiler or not.
I think Dave Abrahams will give the answer in a second.
If this legal error then we need to fix pyste.
Also I think I can try to fix this.


namespace ns
{

class A
{
public:
    virtual int s(){ return 1; }

};

}

class B : public ns::A
{
public:
    virtual int s()
    { return ns::A::s(); } //<-- error must be A::s 
};

Roman




More information about the Cplusplus-sig mailing list