Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 1) C4561
Collapse the table of content
Expand the table of content

Compiler Warning (level 1) C4561

'__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 resolve the warning, either remove the calls to __fastcall or compile without /clr. The following sample generates C4561:

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

int main() {
}
Show:
© 2015 Microsoft