# Od

Disables all optimizations.

## Syntax

Linux: | None

Windows: | /Od

## Arguments

None

## Default

OFF | The compiler performs default optimizations.

## Description

This option disables all optimizations. It can be used for selective optimizations, such as a combination of /Od and /Ob1 (disables all optimizations, but enables inlining).

This content is specific to C++; it does not apply to DPC++. On IA-32 architecture, this option sets the /Oy- option.

## IDE Equivalent

Visual Studio: Optimization > Optimization

Eclipse: None

## Alternate Options

Linux: -O0

Windows: None

Parent topic: Optimization Options

## See Also

O compiler option (see O0)