Characteristics of MSP430 C

The C compiler supports the 1989, 1999, and 2011 versions of the C language:

The C language is also described in the second edition of Kernighan and Ritchie's The C Programming Language (K&R). The compiler can also accept many of the language extensions found in the GNU C compiler (see Section 5.17).

The compiler supports some features of C99 and C11 in the default relaxed ANSI mode with C89 support. It supports all language features of C99 in C99 mode and all language features of C11 in C11 mode. See Section 5.16.

The atomic operations in C11 are supported in the relaxed ANSI mode (on by default) and in C11 mode. An atomic operation is implemented by disabling interrupts across the operation.

The ANSI/ISO standard identifies some features of the C language that may be affected by characteristics of the target processor, run-time environment, or host environment. This set of features can differ among standard compilers.

Unsupported features of the C library are: