# wd, Qwd

Disables a soft diagnostic. This is a deprecated option. The replacement option is [Q]diag-disable.

## Syntax

Linux and macOS: | -wd n[,n]...

Windows: | /Qwd n[,n]...

## Arguments

n | Is the number of the diagnostic to disable.

## Default

OFF | The compiler returns soft diagnostics as usual.

## Description

This option disables the soft diagnostic that corresponds to the specified number.

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

## IDE Equivalent

Visual Studio: Advanced > Disable Specific Warnings

Eclipse: None

Xcode: None

## Alternate Options

Linux and macOS*: -diag-disable

Windows: /Qdiag-disable

Parent topic: Compiler Diagnostic Options