wo, Qwo

Tells the compiler to issue one or more diagnostic messages only once. This is a deprecated option. The replacement option is [Q]diag-once id.

Syntax

Linux and macOS:

-woLn[,Ln,...]

Windows:

/QwoLn[,Ln,...]

Arguments

Ln

Is the number of the diagnostic.

Default

OFF

Description

Specifies the ID number of one or more messages. If you specify more than one Ln, each Ln must be separated by a comma.

IDE Equivalent

None

Alternate Options

Linux and macOS*: -diag-once id

Windows: /Qdiag-once:id