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

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

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

Syntax<br />

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

See also<br />

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

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

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

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

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

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

Guide.<br />

4.6.9 #pragma exceptions_unwind, #pragma no_exceptions_unwind<br />

These pragmas enable and disable function unwinding at runtime.<br />

Default<br />

The default is #pragma exceptions_unwind.<br />

See also<br />

• --exceptions, --no_exceptions on page 2-54<br />

• --exceptions_unwind, --no_exceptions_unwind on page 2-54<br />

• Function unwinding at runtime on page 5-18.<br />

4.6.10 #pragma hdrstop<br />

This pragma enables you to specify where the set of precompilation header files end.<br />

4-64 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!