You copied the Doc URL to your clipboard.


Controls diagnostics.



Where common values for name include:

Warns about any use of C11-specific features.

Turn warnings into errors.


Turn warning foo into an error.


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


Enable warning foo.


Suppress warning foo.


Enable all warnings.


Issue all the warnings demanded by 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.