# wn, Qwn

Controls the number of errors displayed before compilation stops. This is a deprecated option that may be removed in a future release.

## Syntax

Linux and macOS: | -wn n

Windows: | /Qwn n

## Arguments

n | Is the number of errors to display.

## Default

100 | The compiler displays a maximum of 100 errors before aborting compilation.

## Description

This option controls the number of errors displayed before compilation stops.

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

## IDE Equivalent

Visual Studio: Diagnostics > Error Limit

Eclipse: Compilation Diagnostics > Set Error Limit

Xcode: Diagnostics > Error Limit

## Alternate Options

Linux and macOS: -diag-error-limit

Windows: /Qdiag-error-limit

Parent topic: Compiler Diagnostic Options