5.4. Changing the severity of diagnostic messages

These options enable you to change the diagnostic severity of all remarks and warnings, and a limited number of errors:

--diag_error=tag[, tag, ...]

Sets the diagnostic messages that have the specified tag(s) to Error severity.

--diag_remark=tag[, tag, ... ]

Sets the diagnostic messages that have the specified tag(s) to Remark severity.

--diag_warning=tag[, tag, ...]

Sets the diagnostic messages that have the specified tag(s) to Warning severity.

These options require a comma-separated list of the error messages that you want to change. For example, you might want to change a warning message with the number #1293 to Remark severity, because remarks are not displayed by default.

To do this, use the following command:

armcc --diag_remark=1293 ...

Note

These options also have pragma equivalents. See Pragmas for more information.

The following diagnostic messages can be changed:

Copyright © 2002-2007 ARM Limited. All rights reserved.ARM DUI 0205H
Non-Confidential