8.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
8.16 Constant expressions
8.17 Array and pointer extensions
8.18 Block scope function declarations
8.19 Dollar signs in identifiers
8.20 Top-level declarations
8.21 Benign redeclarations
8.22 External entities
8.23 Function prototypes
Non-ConfidentialPDF file icon PDF versionARM DUI0375E
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.