4.6.8. #pragma diag_warning tag[, tag, ...]
This pragma sets the diagnostic messages that have the specified tag(s) to Warning severity.
#pragma diag_remark behaves analogously to #pragma diag_errors, except that the compiler sets the diagnostic messages having the specified tags to Remark severity rather than Error severity.
#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.
‑‑diag_warning=tag[,tag,...]
#pragma diag_default tag[,tag,...]
#pragma diag_error tag[,tag,...]
#pragma diag_remark tag[,tag,...]
#pragma diag_suppress tag[,tag,...]
Changing the severity of diagnostic messages in the Compiler User Guide.