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

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

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

<strong>Compiler</strong>-specific Features<br />

See also<br />

• --diag_remark=tag[,tag,... ] on page 2-27<br />

• --remarks on page 2-78<br />

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

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

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

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

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

<strong>Guide</strong>.<br />

4.6.7 #pragma diag_suppress tag[,tag,...]<br />

This pragma disables all diagnostic messages that have the specified tags.<br />

#pragma diag_suppress behaves analogously to #pragma diag_errors, except that the<br />

compiler suppresses the diagnostic messages having the specified tags rather than<br />

setting them to have Error severity.<br />

Syntax<br />

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

Where:<br />

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

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

specifying the messages to be suppressed.<br />

See also<br />

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

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

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

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

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

• Suppressing diagnostic messages on page 5-6 in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

4.6.8 #pragma diag_warning tag[, tag, ...]<br />

This pragma sets the diagnostic messages that have the specified tag(s) to Warning<br />

severity.<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!