1.72 -W

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.


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.

Non-ConfidentialPDF file icon PDF versionDUI0774J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.