Developer Guide and Reference

Contents

diag-once, Qdiag-once

Tells the compiler to issue one or more diagnostic messages only once.

Syntax

Linux and macOS:
-diag-once
id
[
,
id
,...
]
Windows:
/Qdiag-once
:
id
[
,
id
,...
]
Arguments
id
Is the ID number of the diagnostic message. If you specify more than one message number, they must be separated by commas. There can be no intervening white space between each
id
.
Default
OFF
The compiler issues certain diagnostic messages by default.
Description
This option tells the compiler to issue one or more diagnostic messages only once.
Alternate Options
Linux:
-wo
(this is a deprecated option)
Windows:
/Qwo
(this is a deprecated option)