Crossware

Table of Contents        Previous topic       Next topic       

C/C++ COMPILER->Compiler command line options->Use __stdcall Calling Convention (/Gz)

The /Gz option tells the compiler to use the __stdcall calling convention.  This option is only effective when the Advanced Features of the compiler are enabled.

Any function not declared with the __cdecl or __fastcall qualifier will be compiled with the __stdcall 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.