Causes the results of diagnostic analysis to be appended to a file.
IA-32, Intel® 64, IA-64 architectures
Linux and Mac OS X: | -diag-file-append[=file] |
Windows: | /Qdiag-file-append[:file] |
file |
Is the name of the file to be appended to. It can include a path. |
OFF |
Diagnostic messages are output to stderr. |
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 file in the current working directory.
If file 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.
If you specify -diag-file-append (Linux and Mac OS X) or /Qdiag-file-append (Windows) and you also specify -diag-file (Linux and Mac OS X) or /Qdiag-file (Windows), the last option specified on the command line takes precedence.
None
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 and Mac OS X systems
/Qdiag-file-append:my_diagnostics.txt ! Windows systems