You copied the Doc URL to your clipboard.

-W

Controls diagnostics.

Syntax

-Wname

Where common values for name include:

-Wc11-extensions
Warns about any use of C11-specific features.
-Werror

Turn warnings into errors.

-Werror=foo

Turn warning foo into an error.

-Wno-error=foo

Leave warning foo as a warning even if -Werror is specified.

-Wfoo

Enable warning foo.

-Wno-foo

Suppress warning foo.

-Weverything

Enable all warnings.

-Wpedantic

Generate warnings if code violates strict ISO C and ISO C++.

See Controlling Errors and Warnings in the Clang Compiler User's Manual for full details about controlling diagnostics with armclang.

Was this page helpful? Yes No