Hi,
I have a Windows Runtime Component C++/CX project and while trying to compile this piece of code:
public interface class IAaa
{
void MethodA ();
};
public interface class IBbb : IAaa
{
void MethodB ();
};
ref class Aaa : IAaa
{
public:
virtual void MethodA () { }
};
ref class Bbb : public Aaa, IBbb
{
public:
virtual void MethodB () { }
};
I get this error message:
error C3766: Bbb must provide an implementation for the interface method 'void IAaa::MethodA(void)'
The same code compiles just fine in C#. Is there something wrong with the code of could this be a compiler bug?
Thanks