编译器错误 C2159

指定了一个以上的存储类

注解

声明包含多个存储类。

示例:

以下示例生成 C2159:

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