Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Wall

Enables warning and error diagnostics.

Syntax

Linux:

-Wall

macOS:

-Wall

Windows:

/Wall

Arguments

None

Default

OFF

Only default warning diagnostics are enabled.

Description

This option enables many warning and error diagnostics.

On Windows* systems, this option is equivalent to the /W4 option. It enables diagnostics for all level 3 warnings plus informational warnings and remarks.

However, on Linux* and macOS systems, this option is similar to gcc option -Wall. It displays all errors and some of the warnings that are typically reported by gcc option -Wall. If you want to display all warnings, specify the -w2 or -w3 option. If you want to display remarks and comments, specify the -Wremarks option.

The Wall, -wn, and /Wn options can override each other. The last option specified on the command line takes precedence.

IDE Equivalent
None
Alternate Options

None

See Also