Compiler Error C2507

'identifier' : too many virtual modifiers on the base class

The specified class or structure was declared as virtual more than once.

Only one virtual modifier can be used for each base class in a list of base classes.

The following is an example of this error:

class A {};
class B : virtual virtual public A {}; // error
class C : virtual public A {};         // OK