Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Compiler Error C2720

Visual Studio 6.0

'identifier' : 'specifier' storage-class specifier illegal on members

A storage class was illegally specified for the given identifier.

The following is an example of this error:

struct S
   static int i;
static S::i;   // error
© 2015 Microsoft