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 (06Q1-13Q2)
In C89 mode, the compiler supports selected C99 features as language extensions.
This page applies to compiler releases starting with the following versions.
For information on the C99 mode supported by the latest releases of the TI compiler, see C99 Support in TI Compilers.
For information on the C99 language extensions supported in C89 mode by the latest releases of the TI compiler, see C99 Extensions Supported in C89 Mode in TI Compilers.
In older compiler releases, only a limited set of C99 features were provided (inline, ...)
Enabling C99 Language Extensions
The supported C99 features are only available depending on the language mode.
By default, the compiler is in C89 mode which is neither relaxed nor strict ("default mode"), and most of the supported C99 features are supported.
In strict ANSI mode, most C99 features 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||n||Support GCC , not C99 |
|Universal character names||y||n||n|
|Mixed declarations and code||y||y||n||--|
|Additional math functions in
|Conversion of array to pointer not limited to Lvalues||y||n||n||--|