You copied the Doc URL to your clipboard.

--diag_error=tag[,tag,…]

Sets diagnostic messages that have a specific tag to Error severity.

Syntax

--diag_error=tag[,tag,…]

Where tag can be:

  • A diagnostic message number to set to error severity. This is the four-digit number, nnnn, with the tool letter prefix, but without the letter suffix indicating the severity.

  • warning, to treat all warnings as errors.

Usage

Diagnostic messages output by the assembler can be identified by a tag in the form of {prefix}number, where the prefix is A.

You can specify more than one tag with this option 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.

The following table shows the meaning of the term severity used in the option descriptions:

Table 11-2 Severity of diagnostic messages

SeverityDescription

Error

Errors indicate violations in the syntacticor semantic rules of assembly language. Assembly continues, butobject code is not generated.

Warning

Warnings indicate unusual conditionsin your code that might indicate a problem. Assembly continues,and object code is generated unless any problems with an Error severityare 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 problemswith an Error severity are detected.

Was this page helpful? Yes No