04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler Command-line Options<br />

Syntax<br />

--diag_error=tag[,tag,...]<br />

Where:<br />

tag[,tag,...]<br />

is a comma-separated list of diagnostic message numbers<br />

specifying the messages whose severities are to be changed.<br />

At least one diagnostic message number must be specified.<br />

When specifying multiple diagnostic message numbers, do not<br />

include spaces between commas and numbers in the list.<br />

Usage<br />

The severity of the following types of diagnostic messages can be changed:<br />

• Messages with the number format #nnnn-D.<br />

• Warning messages with the number format CnnnnW.<br />

See also<br />

• --diag_remark=tag[,tag,... ]<br />

• --diag_suppress=tag[,tag,...] on page 2-47<br />

• --diag_warning=tag[,tag,...] on page 2-48<br />

• #pragma diag_error tag[,tag,...] on page 4-62<br />

• Changing the severity of diagnostic messages on page 6-5 in the Compiler User<br />

Guide.<br />

2.1.49 --diag_remark=tag[,tag,...]<br />

This option sets the diagnostic messages that have the specified tags to Remark severity.<br />

The --diag_remark option behaves analogously to --diag_errors, except that the<br />

compiler sets the diagnostic messages having the specified tags to Remark severity<br />

rather than Error severity.<br />

Note<br />

Remarks are not displayed by default. To see remark messages, use the compiler option<br />

--remarks.<br />

Note<br />

This option has the #pragma equivalent #pragma diag_remark.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 2-45<br />

ID101213<br />

Non-Confidential,

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!