Od

Disables all optimizations.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

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

This option also causes certain /warn options to be ignored.

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

Alternate Options

Linux: -O0
Windows: /optimize:0

See Also

O compiler option