Werror-all

Causes all warnings and currently enabled remarks to be reported as errors.

Syntax

Linux:

-Werror-all

macOS:

-Werror-all

Windows:

/Werror-all

Arguments

None

Default

OFF

The compiler returns diagnostics as usual.

Description

This option causes all warnings and currently enabled remarks to be reported as errors.

To enable display of remarks, specify option -Wremarks.

IDE Equivalent

None

Alternate Options

Linux and macOS*: -diag-error warn, remark

Windows: /Qdiag-error:warn, remark

See Also