8.61 --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.


This option has the #pragma equivalent #pragma diag_warning.



Where tag can be:


--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
8.19 --brief_diagnostics, --no_brief_diagnostics
8.56 --diag_error=tag[,tag,...]
8.57 --diag_remark=tag[,tag,...]
8.58 --diag_style=arm|ide|gnu compiler option
8.59 --diag_suppress=tag[,tag,...]
8.60 --diag_suppress=optimizations
8.203 --wrap_diagnostics, --no_wrap_diagnostics
8.62 --diag_warning=optimizations
8.72 --errors=filename
8.196 -W
10.79 #pragma diag_error tag[,tag,...]
10.80 #pragma diag_remark tag[,tag,...]
10.81 #pragma diag_suppress tag[,tag,...]
8.160 --remarks
6 Compiler Diagnostic Messages
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.