“identifier”:未知大小
注解
未确定大小的数组声明为类、结构、联合或枚举的成员。 /Za (ANSI C) 选项不支持未确定大小的成员数组。
示例:
以下示例生成 C2133:
// C2133.cpp
// compile with: /Za
struct X {
int a[0]; // C2133 unsized array
};
可能的解决方法:
// C2133b.cpp
// compile with: /c
struct X {
int a[0]; // no /Za
};