Table of Contents Previous topic Next topic
C/C++ COMPILER->Compiler command line options->Use __fastcall Calling Conventions (/Gr)
The /Gr option tells the compiler to use the __fastcall calling convention. This option is only effective when the Advanced Features of the compiler are enabled.
Any function not declared with the __cdecl or __stdcall qualifier will be compiled with the __fastcall calling convention.
Function prototyping is required when this option is used.
All standard C library functions are qualified with the __cdecl qualifier and so this option will not affect calls to the standard library.