Developer Guide and Reference

Contents

diag-file, Qdiag-file

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

Syntax

Linux:
-diag-file
[
=
filename
]
macOS:
None
Windows:
/Qdiag-file
[
:
filename
]
Arguments
filename
Is the name of the file for output.
Default
OFF
Diagnostic messages are output to stderr.
Description
This option causes the results of diagnostic analysis to be output to a file. The file is placed in the current working directory.
You can include a file extension in
filename
. For example, if
file.txt
is specified, the name of the output file is
file.txt
. If you do not provide a file extension, the name of the file is
filename.diag
.
If
filename
is not specified, the name of the file is
name-of-the-first-source-file.diag
. This is also the name of the file if the name specified for file conflicts with a source file name provided in the command line.
If you specify the
[Q]diag-file
option and you also specify the
[Q]diag-file-append
option, the last option specified on the command line takes precedence.
Alternate Options
None
The following example shows how to cause diagnostic analysis to be output to a file named
my_diagnostics.diag
:
-diag-file=my_diagnostics ! Linux systems /Qdiag-file:my_diagnostics ! Windows systems

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804