'identifier' : definition or redeclaration illegal in current scope
The specified identifier was redeclared or redefined at nonglobal scope.
An identifier can only be redeclared at global scope.
The following is an example of this error:
class A {};
class B
{
public:
static int i;
};
void main()
{
A B::i; // error
}