Developer Guide and Reference

Contents

diag, Qdiag

Controls the display of diagnostic information during compilation.

Syntax

Linux and macOS:
-diag-
type
=
diag-list
Windows:
/Qdiag-
type
:
diag-list
Arguments
type
Is an action to perform on diagnostics. Possible values are:
enable
Enables a diagnostic message or a group of messages. If you specify
-diag-enable=all
(Linux* and
macOS*
) or
/Qdiag-enable:all
(Windows*), all diagnostic messages shown in
diag-list
are enabled.
disable
Disables a diagnostic message or a group of messages. If you specify
-diag-disable=all
(Linux* and
macOS*
) or
/Qdiag-disable:all
(Windows*), all diagnostic messages shown in
diag-list
are disabled.
error
Tells the compiler to change diagnostics to errors.
warning
Tells the compiler to change diagnostics to warnings.
remark
Tells the compiler to change diagnostics to remarks (comments).
diag-list
Is a diagnostic group or ID value. Possible values are:
driver