This pragma sets the diagnostic messages that have the specified tags to Error severity.
#pragma diag_error tag[,tag,...]
Where:
tag[,tag,...]is a comma‑separated list of diagnostic message numbers specifying the messages whose severities are to be changed.
At least one diagnostic message number must be specified.