C18 (C语言标准)

本页使用了标题或全文手工转换
维基百科,自由的百科全书

C18(也被称为为C17)是ISO/IEC 9899:2018的非正式名称[1],是截止到2020年6月为止最新的C语言编程标准。它于2017年编写并于2018年6月发布,被用来替代C11标准(即ISO/IEC 9899:2011)。[2]

C18标准将被C23标准所取代。[3][4]

与C11的差别[编辑]

C18没有引入新的语言特性,只对C11进行了补充和修正。[2]

__STDC_VERSION__的值被改为201710L.

编译器支持[编辑]

支持C18的编译器有:

另请参见[编辑]

引用[编辑]

  1. ^ ISO/IEC 9899:2018 - Information technology -- Programming languages -- C. www.iso.org. [2020-06-08]. (原始内容存档于2018-08-10). 
  2. ^ 2.0 2.1 The Standard - C. www.iso-9899.info. [2020-06-08]. (原始内容存档于2005-02-25). 
  3. ^ WG 14 Document log. www.open-std.org. [2020-06-08]. (原始内容存档于2014-08-30). 
  4. ^ https://en.wikipedia.org/wiki/C23_(C_standard_revision)
  5. ^ Using the GNU Compiler Collection (GCC): C Dialect Options. gcc.gnu.org. [2020-06-08]. (原始内容存档于2020-06-06). 
  6. ^ 存档副本. [2020-06-08]. (原始内容存档于2019-09-10). 
  7. ^ IAR Information Center for Arm - Release notes. netstorage.iar.com. [2020-06-08]. (原始内容存档于2019-05-29). 
  8. ^ C11 and C17 Standard Support Arriving in MSVC. devblogs.microsoft.com. 14 September 2020 [2021-10-16]. (原始内容存档于2021-05-11). 

外部链接[编辑]

前任者:
C11
C语言标准 繼任者:
C2x