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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Compiler-specific Features<br />

• Controlling the output of diagnostic messages on page 6-4 in the Compiler User<br />

Guide.<br />

4.6.5 #pragma diag_error tag[,tag,...]<br />

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

Syntax<br />

#pragma 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 />

See also<br />

• --diag_error=tag[,tag,...] on page 2-44<br />

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

• #pragma diag_remark tag[,tag,...]<br />

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

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

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

Guide.<br />

4.6.6 #pragma diag_remark tag[,tag,...]<br />

This pragma sets the diagnostic messages that have the specified tags to Remark<br />

severity.<br />

#pragma diag_remark behaves analogously to #pragma 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. Use the --remarks compiler option to see remark<br />

messages.<br />

Syntax<br />

#pragma diag_remark tag[,tag,...]<br />

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

Non-Confidential,<br />

ID101213

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

Saved successfully!

Ooh no, something went wrong!