multiple inheritance

darkskill chaster_killer@hotmail.fr
Fri May 9 20:12:00 GMT 2008


Hi,

gdb crashed when I set a breakpoint at the last line of these :

struct A
{
    virtual A * me2()
            { return this; }
};
 
struct B
{
    virtual B * me() { return this; };
};
 
 
struct C : public A, public B
{
    C * me() {return this; }
    C * me2() {return this; }
};
 
C test;

How come ?
-- 
View this message in context: http://www.nabble.com/multiple-inheritance-tp17155652p17155652.html
Sent from the Sourceware - gdb list mailing list archive at Nabble.com.



More information about the Gdb mailing list