29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Compiler</strong>-specific Features<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-26<br />

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

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

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

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

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

<strong>Guide</strong>.<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 />

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

<strong>ARM</strong> DUI 0348A Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. 4-53<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!