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

Yd

Tells the compiler to add complete debugging information in all object files created from a precompiled header file when option /Zi or /Z7 is specified. This is a deprecated option that may be removed in a future release.

Syntax

Linux and macOS:

None

Windows:

/Yd

Arguments

None

Default

OFF

If /Zi or /Z7 is specified when you are compiling with a precompiled header file using /Yc or /Yu, only one .obj file contains the common debugging information.

Description

This option tells the compiler that complete debugging information should be added to all object files created from a precompiled header (PCH) file when option /Zi or /Z7 is specified. It affects precompiled header files that were created by specifying the /Yc option.

This is a deprecated option that may be removed in a future release. There is no replacement option.

Option /Yd has no effect unless option /Zi or /Z7 is specified.

When option /Zi or /Z7 is specified and option /Yd is omitted, the compiler stores common debugging information in only the first object (.obj) file created from the PCH file. This information is not inserted into any .obj files subsequently created from the PCH file, only cross-references to the information are inserted.

IDE Equivalent
None
Alternate Options

None