TI: set C90 and C99 compile options
Section 1.3 ANSI/ISO Standard:
The compiler supports both the 1989 and 1999 versions of the C language and the
2003 version of the C++ language. The C and C++ language features in the
compiler are implemented in conformance with the following ISO standards:
+ ISO-standard C The C compiler supports the 1989 and 1999 versions of the C
language.
– C89. Compiling with the --c89 option causes the compiler to conform to the
ISO/IEC 9899:1990 C standard, which was previously ratified as ANSI
X3.159-1989. The names "C89" and "C90" refer to the same programming language.
"C89" is used in this document.
– C99. Compiling with the --c99 option causes the compiler to conform to the
ISO/IEC 9899:1999 C standard. This standard supports several features not part
of C89, such as inline functions, new data types, and one-line comments
beginning with //.
The C language is also described in the second edition of Kernighan and
Ritchie's The C Programming Language (K&R).
Section 6.14.1 Extensions:
Most of the GCC language extensions are available in the TI compiler when
compiling in relaxed ANSI mode (--relaxed_ansi).
Fixes: #18061 (closed)