‑‑diag_error
In this section:
Syntax
‑‑diag_error=tag[,tag,...]
Parameters
| The number of a diagnostic message, for example, the message number |
Description
Use this option to reclassify certain diagnostic messages as errors. An error indicates a violation of the C or C++ language rules, of such severity that object code will not be generated. The exit code will be non-zero. This option may be used more than once on the command line.
Caution
Project>Options>C/C++ Compiler>Diagnostics>Treat these as errors