共用方式為


編譯器錯誤 C2133

'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
};