Changes a soft diagnostic to an remark. This is a deprecated option. The replacement option is [Q]diag-remark.

Syntax

Linux and macOS:

-wrLn[,Ln,...]

Windows:

/QwrLn[,Ln,...]

Arguments

Ln

Is the number of the diagnostic to be changed.

Default

OFF

The compiler returns soft diagnostics as usual.

Description

This option overrides the severity of the soft diagnostic that corresponds to the specified number and changes it to a remark.

Soft diagnostics are diagnostic messages that don't prevent the production of an object file; for example, warnings and remarks.

If you specify more than one Ln, each Ln must be separated by a comma.

IDE Equivalent

None

Alternate Options

Linux and macOS*: -diag-remark

Windows: /Qdiag-remark

Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.