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.

Introduction<br />

1.3 Language extensions and language compliance<br />

The compiler supports numerous extensions to its various source languages. It also<br />

provides several command-line options for controlling compliance with the available<br />

source languages.<br />

1.3.1 Language extensions<br />

The language extensions supported by the compiler are categorized as follows:<br />

C99 features<br />

The compiler makes some language features of C99 available:<br />

• as extensions to strict C90, for example, //-style comments<br />

• as extensions to both Standard C++ and strict C90, for<br />

example, restrict pointers.<br />

For more information see:<br />

• C99 language features available in C90 on page 3-5<br />

• C99 language features available in C++ and C90 on<br />

page 3-7.<br />

Standard C extensions<br />

The compiler supports numerous extensions to strict C99, for<br />

example, function prototypes that override old-style<br />

non-prototype definitions. See Standard C language extensions on<br />

page 3-10 for more information.<br />

These extensions to Standard C are also available in C90.<br />

Standard C++ extensions<br />

The compiler supports numerous extensions to strict C++, for<br />

example, qualified names in the declaration of class members. See<br />

Standard C++ language extensions on page 3-15 for more<br />

information.<br />

These extensions are not available in either Standard C or C90.<br />

Standard C and Standard C++ extensions<br />

The compiler supports some extensions specific to strict C++ and<br />

strict C90, for example, anonymous classes, structures, and<br />

unions. See Standard C and standard C++ language extensions<br />

on page 3-19 for more information.<br />

<strong>ARM</strong> DUI 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. 1-5<br />

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!