diag-dump, Qdiag-dump

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

IDE Equivalent

None

Architectures

IA-32, Intel® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

-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 X) 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 X systems

/Qdiag-enable:vec /Qdiag-dump    ! Windows systems

See Also