Export (0) Print
Expand All
Expand Minimize

Compiler Error C2159

Error Message

more than one storage class specified

A declaration contains more than one storage class.

The following sample generates C2159:

// C2159.cpp
// compile with: /c
static int i;   // OK
extern static int i;   // C2159

Community Additions

ADD
Show:
© 2014 Microsoft