| |||
| Home > Assembler command line options > Assembler command line options > --diag_error=tag{, tag} | |||
Diagnostic messages output by the assembler can be identified
by a tag in the form of {}prefix,
where the number is
A. The prefix--diag_error option sets the diagnostic
messages that have the specified tags to the error severity.
You can specify more than one tag with these options by separating
each tag using a comma.You can specify the optional assembler prefix A before
the tag number. If any prefix other than A is included, the message
number is ignored.
Table 2 shows the meaning of the term severity used in the option descriptions.
Table 2. Severity of diagnostic messages
| Severity | Description |
|---|---|
Error | Errors indicate violations in the syntactic or semantic rules of assembly language. Assembly continues, but object code is not generated. |
Warning | Warnings indicate unusual conditions in your code that might indicate a problem. Assembly continues, and object code is generated unless any problems with an Error severity are detected. |
Remark | Remarks indicate common, but not recommended, use of assembly language. These diagnostics are not issued by default. Assembly continues, and object code is generated unless any problems with an Error severity are detected. |
You can set the to tagwarning to
treat all warnings as errors.