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

... body of the header file ...<br />

#endif<br />

The #pragma once is marked as optional in this example. This is because the compiler<br />

recognizes the #ifndef header guard coding and skips subsequent includes even if<br />

#pragma once is absent.<br />

4.6.16 #pragma Ospace<br />

This pragma instructs the compiler to perform optimizations to reduce image size at the<br />

expense of a possible increase in execution time.<br />

See also<br />

• #pragma Otime<br />

• -Ospace on page 2-68<br />

4.6.17 #pragma Otime<br />

This pragma instructs the compiler to perform optimizations to reduce execution time<br />

at the expense of a possible increase in image size.<br />

See also<br />

• #pragma Ospace<br />

• -Otime on page 2-69.<br />

4.6.18 #pragma pop<br />

This pragma restores the previously saved pragma state.<br />

See also<br />

• #pragma push.<br />

4.6.19 #pragma push<br />

This pragma saves the current pragma state.<br />

See also<br />

• #pragma pop.<br />

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