'function name':簽章中具有 Managed 類型的函式定義必須具有
__clrcall呼叫慣例
備註
編譯程式以 隱含方式取代呼叫慣例 __clrcall。 若要解決此警告,請移除 __cdecl 或 __stdcall 呼叫慣例。
C4439 一律會發出為錯誤。 您可以使用#pragma warning或/wd關閉此警告。 如需詳細資訊,請參閱 warning 或 /w、/W0、/W1、/W2、/W3、/W4、/w1、/w2、/w3、/w4、/Wall、/wd、/we、/wo、/Wv、/WX(警告層級)。
範例
下列範例會產生 C4439:
// C4439.cpp
// compile with: /clr
void __stdcall f( System::String^ arg ) {} // C4439
void __clrcall f2( System::String^ arg ) {} // OK
void f3( System::String^ arg ) {} // OK