GNU extensions to the C and C++ languages

GNU provides many extensions to the C and C++ languages and many of these extensions are supported by the ARM compiler. In GNU mode, all the GNU extensions to the relevant source language are available. Some GNU extensions are also available when you compile in a nonstrict mode.

To compile in GNU mode, use --gnu.

The following Standard C99 features are supported as GNU extensions in C90 and C++ when GNU mode is enabled:

See Which GNU language extensions are supported by the ARM Compilerhttp://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka14717.html.

The asm keyword is a Standard C++ feature that is supported as a GNU extension in C90 when GNU mode is enabled.

The following features are not part of any ISO standard but are supported as GNU extensions in either C90, C99, or C++ modes, when GNU mode is enabled:

Show/hideSee also

Copyright © 2010-2011 ARM. All rights reserved.ARM DUI 0491F
Non-ConfidentialID091611