Od

Disables all optimizations.

IDE Equivalent

None

Architectures

IA-32, Intel® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

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 /Og (disables all optimizations except global optimizations), or /Od and /Ob1 (disables all optimizations, but enables inlining).

On IA-32 architecture, this option sets the /Oy- option.

Alternate Options

Linux and Mac OS X: -O0

Windows: None

See Also