--diag_error=tag{, tag}

Diagnostic messages output by the assembler can be identified by a tag in the form of {prefix}number, where the prefix is A. The --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

SeverityDescription

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 tag to warning to treat all warnings as errors.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0489G
Non-ConfidentialID021412