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

This option sets diagnostic messages that have a specific tag to error severity.

Note

This option has the #pragma equivalent #pragma diag_error.

Show/hideSyntax

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

Where tag can be:

  • a diagnostic message number to set to error severity

  • warning, to treat all warnings as errors.

Show/hideUsage

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.

Show/hideSee also

Copyright © 2007-2008, 2011 ARM. All rights reserved.ARM DUI 0376C
Non-ConfidentialID061811