# Gz

Makes __stdcall the default calling convention. This content is specific to C++; it does not apply to DPC++.

## Architecture Restrictions

Only available on IA-32 architecture

## Syntax

Linux: | None

Windows: | /Gz

## Arguments

None

## Default

OFF | The default calling convention is __cdecl.

## Description

This option makes __stdcall 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