# Gd

Makes __cdecl the default calling convention.

## Architecture Restrictions

Not available on IA-32 architecture.

## Syntax

Linux: | None

macOS: | 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

Xcode: None

## Alternate Options

None

Parent topic: Code Generation Options

## See Also

C C++ Calling Conventions