Namespaces
Variants
Views
Actions

Difference between revisions of "c/11"

From cppreference.com
< c
m (Feature test macros for optioal features)
m (Feature test macros for optional features)
Line 34: Line 34:
 
* {{ltt|c/preprocessor/replace|__STDC_NO_COMPLEX__}}
 
* {{ltt|c/preprocessor/replace|__STDC_NO_COMPLEX__}}
 
** Indicates complex types and the complex math functions are not supported if defined.
 
** Indicates complex types and the complex math functions are not supported if defined.
** These features were mandatory in C99.
+
*: These features were mandatory in C99.
 
* {{ltt|c/preprocessor/replace|__STDC_NO_THREADS__}}
 
* {{ltt|c/preprocessor/replace|__STDC_NO_THREADS__}}
 
** Indicates thread local storage and the thread support library are not supported if defined.
 
** Indicates thread local storage and the thread support library are not supported if defined.
 
* {{ltt|c/preprocessor/replace|__STDC_NO_VLA__}}
 
* {{ltt|c/preprocessor/replace|__STDC_NO_VLA__}}
 
** Indicates [[c/language/array#Variable-length arrays|variable length arrays and variably modified types]] are not supported if defined.
 
** Indicates [[c/language/array#Variable-length arrays|variable length arrays and variably modified types]] are not supported if defined.
** These features were mandatory in C99.
+
*: These features were mandatory in C99.
  
 
==New library features==
 
==New library features==

Revision as of 01:37, 6 August 2021

ISO/IEC 9899:2011, a.k.a. C11, is a previous revision of the C standard.

Contents

Obsolete

Removed

New language features

Feature test macros for optional features

New library features

New headers

  • <stdalign.h>
  • <stdatomic.h>
  • <stdnoreturn.h>
  • <threads.h>
  • <uchar.h>

Library features

Defect reports

Template:c/language/history/DR11

Compiler support

Template:c/compiler support/11