E2464 'virtual' can only be used with member functions (C++)
Go Up to Compiler Errors And Warnings (C++) Index
A data member has been declared with the virtual specifier.
Only member functions can be declared virtual.
For example:
class myclass
{
public:
virtual int a; //error
};