Extensions for C11 compatibility
Note: IBM supports selected features of
C11, known as C1X before its ratification. IBM will continue to develop and
implement the features of this standard. The implementation of the
language level is based on IBM's interpretation of the standard. Until
IBM's implementation of all the C11 features is complete, including
the support of a new C11 standard library, the implementation may
change from release to release. IBM makes no attempt to maintain compatibility,
in source, binary, or listings and other compiler interfaces, with
earlier releases of IBM's implementation of the C11 features.
IBM® XL C++ adds support for the
following C11 language feature. This feature can
be enabled with the -qlanglvl=extended option,
which is the default language level.
| Language feature | Discussed in: |
|---|---|
| _Noreturn function specifier | The _Noreturn function specifier |
| Complex type initializations | Initialization of complex types (C11) |
| Static assertions | _Static_assert declaration |
| typedef redeclarations | typedef definitions |


