Intel® C++ Compiler XE 13.1 User and Reference Guides

diag-file-append, Qdiag-file-append

Causes the results of diagnostic analysis to be appended to a file.

IDE Equivalent

None

Architectures

All

Syntax

Linux:

-diag-file-append[=filename]

OS X:

None

Windows:

/Qdiag-file-append[:filename]

Arguments

filename

Is the name of the file to be appended to. It can include a path.

Default

OFF

Diagnostic messages are output to stderr.

Description

This option causes the results of diagnostic analysis to be appended to a file. If you do not specify a path, the driver will look for filename in the current working directory.

If filename is not found, then a new file with that name is created in the current working directory. If the name specified for file conflicts with a source file name provided in the command line, the name of the file is name-of-the-first-source-file.diag.

Note

If you specify -diag-file-append (Linux OS) or /Qdiag-file-append (Windows OS) and you also specify -diag-file (Linux OS) or /Qdiag-file (Windows OS), the last option specified on the command line takes precedence.

Alternate Options

None

Example

The following example shows how to cause diagnostic analysis to be appended to a file named my_diagnostics.txt:

-diag-file-append=my_diagnostics.txt       ! Linux systems
/Qdiag-file-append:my_diagnostics.txt      ! Windows systems

See Also


Submit feedback on this help topic