Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Od

Disables all optimizations.

Syntax

Linux:

None

macOS:

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).

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

IDE Equivalent

Visual Studio: Optimization > Optimization

Eclipse: None

Xcode: None

Alternate Options

Linux and macOS: -O0

Windows: None

See Also