9.15 Standard C language extensions

The compiler supports numerous extensions to the ISO C99 standard, for example, function prototypes that override old-style nonprototype definitions.

These extensions are available if:

  • The source language is C99 and you are compiling in nonstrict mode

  • the source language is C90 and you are compiling in nonstrict mode.

None of these extensions is available if:

  • The source language is C90 and the compiler is restricted to compiling strict C90 using the --strict compiler option.

  • The source language is C99 and the compiler is restricted to compiling strict Standard C using the --strict compiler option.

  • The source language is C++.

Related reference
9.16 Constant expressions
9.17 Array and pointer extensions
9.18 Block scope function declarations
9.19 Dollar signs in identifiers
9.20 Top-level declarations
9.21 Benign redeclarations
9.22 External entities
9.23 Function prototypes
Non-ConfidentialPDF file icon PDF versionARM DUI0472J
Copyright © 2010-2013 ARM. All rights reserved.