Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public
Document Table of Contents

Gd

Makes __cdecl the default calling convention.

Syntax

Linux:

None

Windows:

/Gd

Arguments

None

Default

ON

The default calling convention is __cdecl.

Description

This option makes __cdecl the default calling convention.

IDE Equivalent

Visual Studio: Advanced > Calling Convention

Eclipse: None

Alternate Options

None