Compiler Error C2641

illegal pointer to member cast across virtual inheritance path

A pointer to a member was cast to a base class that was inherited using virtual inheritance.

The following is an example of this error:

struct V {};
struct A : virtual V {};
int A::*pma;
int V::*pmv = (int V::*)pma;      // error