Tells the compiler to issue one or more diagnostic messages only once. This is a deprecated option that may be removed in a future release.
Linux and macOS: | -woLn[,Ln,...] |
Windows: | /QwoLn[,Ln,...] |
Ln |
Is the number of the diagnostic. |
OFF |
Specifies the ID number of one or more messages. If you specify more than one Ln, each Ln must be separated by a comma.
This is a deprecated option that may be removed in a future release. The replacement option is [Q]diag-once id.
Linux and macOS: -diag-once id
Windows: /Qdiag-once:id