# Gy

Separates functions into COMDATs for the linker. This is a deprecated option. There is no replacement option.

## Syntax

Linux: | None

macOS: | None

Windows: | /Gy /Gy-

## Arguments

None

## Default

ON | The compiler separates functions into COMDATs.

## Description

This option tells the compiler to separate functions into COMDATs for the linker.

## IDE Equivalent

Visual Studio: Code Generation > Enable Function-Level Linking

Eclipse: None

Xcode: None

## Alternate Options

None

Parent topic: Miscellaneous Options