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.

Standard C Implementation Definition<br />

B.1.12<br />

Preprocessing directives<br />

The ISO standard C header files can be referred to as described in the standard, for<br />

example, #include .<br />

Quoted names for includable source files are supported. The compiler accepts host<br />

filenames or UNIX filenames. For UNIX filenames on non-UNIX hosts, the compiler<br />

tries to translate the filename to a local equivalent.<br />

The recognized #pragma directives are shown in Pragmas on page 4-49.<br />

B.1.13<br />

Library functions<br />

The ISO C library variants are listed in About the runtime libraries on page 1-2 in the<br />

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

The precise nature of each C library is unique to the particular implementation. The<br />

generic <strong>ARM</strong> C library has, or supports, the following features:<br />

• The macro NULL expands to the integer constant 0.<br />

• If a program redefines a reserved external identifier such as printf, an error might<br />

occur when the program is linked with the standard libraries. If it is not linked<br />

with standard libraries, no error is detected.<br />

• The __aeabi_assert() function prints details of the failing diagnostic on stderr<br />

and then calls the abort() function:<br />

*** assertion failed: expression, file name, line number<br />

Note<br />

The behavior of the assert macro depends on the conditions in operation at the<br />

most recent occurrence of #include . See Exiting from the program on<br />

page 2-37 in the Libraries <strong>Guide</strong> for more information.<br />

For implementation details of mathematical functions, macros, locale, signals, and<br />

input/output see Chapter 2 The C and C++ Libraries in the Libraries <strong>Guide</strong>.<br />

B-8 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!