Kompilatorvarning (nivå 1) C4561

"__fastcall" är inte kompatibelt med alternativet "/clr" : konvertera till "__stdcall"

Anmärkningar

Det går inte att använda __fastcall funktionsanropskonvention med kompilatoralternativet /clr . Kompilatorn ignorerar anropen till __fastcall. Åtgärda varningen genom att antingen ta bort anropen till __fastcall eller kompilera utan /clr.

Example

I följande exempel genereras C4561:

// C4561.cpp
// compile with: /clr /W1 /c
// processor: x86
void __fastcall Func(void *p);   // C4561, remove __fastcall to resolve