Visible to Intel only — GUID: GUID-7213D408-A27B-429F-8612-64A00F7274A7
Visible to Intel only — GUID: GUID-7213D408-A27B-429F-8612-64A00F7274A7
diag, Qdiag
Controls the display of diagnostic information during compilation.
Syntax
Linux: |
-diag-type=diag-list |
Windows: |
/Qdiag-type:diag-list |
Arguments
type |
Is an action to perform on diagnostics. Possible values are:
|
||||||||||||
diag-list |
Is a diagnostic group or ID value. Possible values are:
The diagnostic messages generated can be affected by certain options, such as [Q]x, /arch (Windows) or -m (Linux). |
Default
OFF |
The compiler issues certain diagnostic messages by default. |
Description
This option controls the display of diagnostic information during compilation. Diagnostic messages are output to stderr unless the [Q]diag-file option is specified.
The [Q]diag options do not control diagnostics emitted at runtime. For more information about runtime errors and diagnostics, see Handling Runtime Errors.
IDE Equivalent
Visual Studio: Diagnostics > Disable Specific Diagnostics
Alternate Options
None
Examples
The following example shows how to disable all remarks or comments:
-diag-disable=remark ! Linux systems /Qdiag-disable:remark ! Windows systems
The following example shows how to change all diagnostic warnings and remarks to errors:
-diag-error=warn,remark ! Linux systems /Qdiag-error:warn,remark ! Windows systems
The following example shows a way to disable a debug-related informational remark:
ifx -diag-disable=10440 -g myfile.f90 ! Linux ifx /Qdiag-disable:10440 -debug myfile.f90 ! Windows