NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
C99 Extensions Supported in C89 Mode in TI Compilers
In C89 mode, the compiler supports selected C99 features as language extensions.
This page applies to compiler releases starting with the following versions. See Production Compiler Releases for information on release availability.
For older compilers, see C99 Extensions Supported in C89 Mode in TI Compilers (06Q1-13Q2)
Enabling C99 Language Extensions
Some C99 features are always enabled, but some are only available depending on the language mode.
By default, the compiler is in relaxed C89 mode, and all of the supported C99 extensions are enabled.
In strict ANSI mode, features which would conflict with some strictly compatible program are disabled.
This table lists the supported C99 language features and shows when they are enabled. These C99 features are linked to the language conformance mode in use.
|Flexible array member||y||n||Support GCC , not C99 |
|Universal character names||y||n|
||y||n||Warnings rather than errors in strict|
|Mixed declarations and code||y||n||--|
|Additional math functions in
|Conversion of array to pointer not limited to Lvalues||y||n||--|