10.82 #pragma diag_warning tag[, tag, ...]

This pragma sets the diagnostic messages that have the specified tags to Warning severity.

Diagnostic messages are messages whose message numbers are postfixed by -D, for example, #550-D.

#pragma diag_warning behaves analogously to #pragma diag_error, except that the compiler sets the diagnostic messages having the specified tags to Warning severity rather than Error severity.

Syntax

#pragma diag_warning tag[,tag,...]

Where:

tag[,tag,...]

is a comma-separated list of diagnostic message numbers specifying the messages whose severities are to be changed.

Related concepts
6.3 Controlling compiler diagnostic messages with pragmas
Related reference
10.78 #pragma diag_default tag[,tag,...]
10.79 #pragma diag_error tag[,tag,...]
10.80 #pragma diag_remark tag[,tag,...]
10.81 #pragma diag_suppress tag[,tag,...]
8.61 --diag_warning=tag[,tag,...]
Non-Confidential PDF file icon PDF version ARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.