# Gd

Makes __cdecl the default calling convention.

## Architecture Restrictions

Not available on IA-32 architecture. IA-32 architecture is only supported for C++.

## 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

Parent topic: Code Generation Options

## See Also

C C++ Calling Conventions