C17 (C standard revision)
From HandWiki
Short description: C programming language standard, 2017 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] and will be superseded by C23 (ISO/IEC 9899:2023) when it is published in 2024.[3] Since it was under development in 2017, and officially published in 2018, C17 is sometimes referred to as C18.[4]
Changes from C11
C17 fixes numerous minor 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:
- GCC 8.1.0[6]
- LLVM Clang 7.0.0[7]
- IAR EWARM v8.40.1[8]
- Microsoft Visual C++ VS 2019 (16.8)[9]
- Pelles C 9.00[10]
See also
- C++23, C++20, C++17, C++14, C++11, C++03, C++98, versions of the C++ programming language standard
- Compatibility of C and C++
References
- ↑ "ISO/IEC 9899:2018 - Information technology -- Programming languages -- C". https://www.iso.org/standard/74528.html.
- ↑ 2.0 2.1 "The Standard - C". http://www.iso-9899.info/wiki/The_Standard.
- ↑ "WG 14 Document log". http://www.open-std.org/jtc1/sc22/wg14/www/wg14_document_log.htm.
- ↑ "Using the GNU Compiler Collection (GCC): C Dialect Options". https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/C-Dialect-Options.html#index-std-1.
- ↑ "Clarification Request Summary for C11 Version 1.13". October 2017. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2244.htm.
- ↑ "Using the GNU Compiler Collection (GCC): C Dialect Options". https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/C-Dialect-Options.html#index-std-1.
- ↑ "Clang 7 documentation — Clang Compiler User's Manual". http://releases.llvm.org/7.0.0/tools/clang/docs/UsersManual.html#differences-between-various-standard-modes.
- ↑ "IAR Information Center for Arm - Release notes". https://netstorage.iar.com/SuppDB/Public/UPDINFO/013857/arm/doc/infocenter/readme.ENU.html.
- ↑ "C11 and C17 Standard Support Arriving in MSVC". 14 September 2020. https://devblogs.microsoft.com/cppblog/c11-and-c17-standard-support-arriving-in-msvc/.
- ↑ "Changelog - Added support for new C17 standard". http://www.smorgasbordet.com/pellesc/changes_800_900.htm.
External links
- C Language Working Group WG14 Documents
- N2176 - final draft of C17 standard - posted October 9, 2017
Preceded by C11 |
C language standards | Succeeded by C23 |
Original source: https://en.wikipedia.org/wiki/C17 (C standard revision).
Read more |