Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 7/13/2023
Public
Document Table of Contents

Zo

Enables or disables generation of enhanced debugging information for optimized code.

Syntax

Linux:

None

macOS:

None

Windows:

/Zo

/Zo-

Arguments

None

Default

OFF

The compiler does not generate enhanced debugging information for optimized code.

Description

This option enables or disables the generation of additional debugging information for local variables and inlined routines when code optimizations are enabled. It should be used with option /Zi or /Z7 to allow improved debugging of optimized code.

Option /Zo enables generation of this enhanced debugging information. Option /Zo- disables this functionality.

For more information on code optimization, see option /O.

IDE Equivalent

None

Alternate Options

None

See Also