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.

Language Extensions<br />

3.1.2 #include_next<br />

This preprocessor directive is a variant of the #include directive. It searches for the<br />

named file only in the directories on the search path that follow the directory where the<br />

current source file is found, that is, the one containing the #include_next directive.<br />

Note<br />

This preprocessor directive is a GNU compiler extension that is supported by the <strong>ARM</strong><br />

compiler.<br />

3.1.3 #unassert<br />

A predicate name can be deleted using a #unassert preprocessing directive.<br />

Syntax<br />

#unassert name<br />

#unassert name[(token-sequence)]<br />

Where:<br />

name<br />

token-sequence<br />

is a predicate name<br />

is an optional sequence of tokens.<br />

If the token sequence is omitted, all definitions of name are<br />

removed.<br />

If the token sequence is included, only the indicated definition is<br />

removed. All other definitions are left intact.<br />

See also<br />

• #assert on page 3-2.<br />

3.1.4 #warning<br />

The preprocessing directive #warning is supported. Like the #error directive, this<br />

produces a user-defined warning at compilation time. However, it does not halt<br />

compilation.<br />

Restrictions<br />

The #warning directive is not available if the --strict option is specified. If used, it<br />

produces an error.<br />

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

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!