共用方式為


編譯器錯誤 C2337

'attribute-name' : 找不到屬性

您的程式代碼會使用此內容不支援的屬性。 或者,這個版本的編譯程式無法使用 屬性。 若要解決此問題,請移除不支援的屬性。

下列範例會產生 C2337:

// C2337.cpp
// compile with: /c
[emitidl];
[module(name="x")];
[grasshopper]   // C2337, not a supported attribute
class a{};