Compiler Error C2390

'identifier' : incorrect storage class 'specifier'

The storage class was not legal for the specified identifier with global scope.

The default storage class for this context was used in place of the illegal class.

Correct use of storage classes includes:

The following is an example of this error:

register int i;        //error
void main ()
{
   register int j;     //OK
}