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

ID 767253
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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