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:

  • diagnostic message number to set to error severity. This is the four-digit number, nnnn, without the tool letter prefix and 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

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.

Was this page helpful? Yes No