diag-dump, Qdiag-dump

Tells the compiler to print all enabled diagnostic messages and stop compilation.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS:  -diag-dump
Windows:  /Qdiag-dump

Arguments

None

Default

OFF The compiler issues certain diagnostic messages by default.

Description

This option tells the compiler to print all enabled diagnostic messages and stop compilation. The diagnostic messages are output to stdout.

This option prints the enabled diagnostics from all possible diagnostics that the compiler can issue, including any default diagnostics.

If -diag-enable diag-list (Linux and Mac OS) or /Qdiag-enable diag-list (Windows) is specified, the print out will include the diag-list diagnostics.

Alternate Options

None

Example

The following example adds vectorizer diagnostic messages to the printout of default diagnostics:

-diag-enable vec -diag-dump      ! Linux and Mac OS systems
/Qdiag-enable:vec /Qdiag-dump    ! Windows systems
 

See Also

diag, Qdiag compiler options