description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Warning (level 1) C4561 |
Compiler Warning (level 1) C4561 |
11/04/2016 |
|
|
3a10c12c-601b-4b6c-9861-331fd022e021 |
'__fastcall' incompatible with the '/clr' option: converting to '__stdcall'
The __fastcall function-calling convention cannot be used with the /clr compiler option. The compiler ignores the calls to __fastcall
. To fix this warning, either remove the calls to __fastcall
or compile without /clr.
The following sample generates C4561:
// C4561.cpp
// compile with: /clr /W1 /c
// processor: x86
void __fastcall Func(void *p); // C4561, remove __fastcall to resolve