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

This option sets the diagnostic messages that have the specified tags to Error severity.

Note

This option has the #pragma equivalent #pragma diag_error.

Syntax

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

Where:

tag[,tag,...]

is a comma-separated list of diagnostic message numbers specifying the messages whose severities are to be changed.

At least one diagnostic message number must be specified.

When specifying multiple diagnostic message numbers, do not include spaces between commas and numbers in the list.

Usage

The severity of the following types of diagnostic messages can be changed:

  • Messages with the number format #nnnn-D.

  • Warning messages with the number format CnnnnW.

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential