# we, Qwe

Changes a soft diagnostic to an error. This is a deprecated option that may be removed in a future release.

## Syntax

Linux and macOS: | -we Ln[,Ln,...]

Windows: | /Qwe Ln[,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 an error.

This is a deprecated option that may be removed in a future release. The replacement option is [Q]diag-error.

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-error

Windows: /Qdiag-error

Parent topic: Compiler Diagnostic Options