7.46 --diag_warning=tag[,tag,...]

Sets diagnostic messages that have a specific tag to Warning severity.

The --diag_warning option behaves analogously to --diag_error, except that the compiler sets the diagnostic messages having the specified tags to warning severity rather than error severity.

Note

This option has the #pragma equivalent #pragma diag_warning.

Syntax

--diag_warning=tag[,tag,…]
Where tag can be:

Examples

--diag_warning=A1234,error causes message A1234 and all downgradable errors to be treated as warnings, providing changing the severity of A1234 is permitted.
Related reference
7.15 --brief_diagnostics, --no_brief_diagnostics
7.41 --diag_error=tag[,tag,...]
7.42 --diag_remark=tag[,tag,...]
7.43 --diag_style=arm|ide|gnu compiler option
7.44 --diag_suppress=tag[,tag,...]
7.45 --diag_suppress=optimizations
7.167 --wrap_diagnostics, --no_wrap_diagnostics
7.47 --diag_warning=optimizations
7.55 --errors=filename
7.162 -W
9.76 #pragma diag_error tag[,tag,...]
9.77 #pragma diag_remark tag[,tag,...]
9.78 #pragma diag_suppress tag[,tag,...]
7.133 --remarks
Compiler Diagnostic Messages
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.