Table of Contents Previous topic Next topic
C/C++ COMPILER->Compiler command line options->Use __cdecl Calling Convention (/Gd)
The /Gd option tells the compiler to use the __cdecl calling convention. This option is only effective when the Advanced Features of the compiler are enabled.
Any function not declared with the __fastcall or __stdcall qualifier will be compiled with the __cdecl calling convention.
__cdecl is the default calling convention when the Advanced Features of the compiler are enabled.