# w

Disables all warning messages.

## Syntax

Linux: | -w

macOS: | -w

Windows: | /w

## Arguments

None

## Default

OFF | Default warning messages are enabled.

## Description

This option disables all warning messages.

## IDE Equivalent

Visual Studio: General > Warning Level

Eclipse: General > Warning Level

Xcode: General > Warning Level

## Alternate Options

Linux and macOS: -w0

Windows: /W0

Parent topic: Compiler Diagnostic Options