This documentation is archived and is not being maintained.

Compiler Warning (level 1) C4563

Visual Studio .NET 2003

'/Gr - __fastcall calling convention' switch incompatible with the '/clr' option: changing to '/Gz - __stdcall calling convention'

The /clr and /Gr compiler options cannot be used together. The compiler ignores the /Gr option. To resolve the warning eliminate one of the compiler options. The following sample generates C4563:

// C4563.cpp
// compile with: /clr /Gr /W1
int main() {   // C4563