Compiler Error C2293

'identifier': illegal to have a member variable as a __based specifier

Only pointers that are non-member variables can be specified as the base of the __based modifier.

class A
{
   static int *i;
   void __based(i) *bp; // error
};