C17 (C standard revision)

C17 is the informal name for ISO/IEC 9899:2018,[1] the most recent standard for the C programming language, prepared in 2017 and published in June 2018. It replaced C11 (standard ISO/IEC 9899:2011).[2] C17 will be superseded by C2x.[3]

Since it was under development in 2017, and officially published in 2018, C17 is also commonly referred to as C18. GCC, for example, treats the commands -std=c17 and -std=c18 as equivalent,[4] and the C-Standard page on the ISO-9899 wiki refers to ISO/IEC 9899:2018 as C18, only noting later that the standard is sometimes called C17.[2]

Changes from C11

C17 addressed defects in C11 without introducing new language features.[2]

The __STDC_VERSION__ macro is increased to the value 201710L.

For a detailed list of changes from the previous standard, see Clarification Request Summary for C11.[5]

Compiler support

List of compilers supporting C17:

See also

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.