2.1.36. ‑‑diag_warning=tag[,tag,...]
This option sets the diagnostic messages that have the specified tags to Warning severity.
The --diag_warning option behaves analogously to --diag_errors, 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.
‑‑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.