C18 (C Standard Revision) - HandWiki

Short description: C programming language standard, 2018 revision
C Language Revisions
K&R C • ANSI C • C99 • C11 • C18 • C2x

C18 (previously known as C17) is the informal name for ISO/IEC 9899:2018,[1] the most recent standard for the C programming language, published in June 2018. It replaced C11 (standard ISO/IEC 9899:2011).[2]

C18 will be superseded by C2x.[3]

Contents

  • 1 Changes from C11
  • 2 Compiler support
  • 3 See also
  • 4 References
  • 5 External links

Changes from C11

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

The __STDC_VERSION__ macro is increased to the value 201710L.

Compiler support

List of compilers supporting C18:

  • GCC 8.1.0[4]
  • LLVM Clang 7.0.0[5]
  • IAR EWARM v8.40.1[6]

See also

  • ANSI C, C90, C99, C11 – previous standards for the C programming language
  • C++98, C++03, C++11, C++14, C++17, C++20 – versions of the C++ programming language standard
  • Compatibility of C and C++

References

  1. "ISO/IEC 9899:2018 - Information technology -- Programming languages -- C". https://www.iso.org/standard/74528.html. 
  2. ↑ 2.0 2.1 "The Standard - C". http://www.iso-9899.info/wiki/The_Standard. 
  3. "WG 14 Document log". http://www.open-std.org/jtc1/sc22/wg14/www/wg14_document_log.htm. 
  4. "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. 
  5. http://releases.llvm.org/7.0.0/tools/clang/docs/UsersManual.html#differences-between-various-standard-modes
  6. "IAR Information Center for Arm - Release notes". https://netstorage.iar.com/SuppDB/Public/UPDINFO/013857/arm/doc/infocenter/readme.ENU.html. 

External links

  • N2176, archived final draft of the standard
  • N2244, defect report summary for C11
  • Gustedt, Jens (April 17, 2018). "C17". https://gustedt.wordpress.com/2018/04/17/c17/,  changes from C11
Preceded byC11 C language standards Succeeded byC2x
  • v
  • t
  • e
C programming language
  • ANSI C
    • C89 and C90
  • C99
  • C11
  • C18
  • C2x
  • Embedded C
  • MISRA C
Features
  • Functions
  • Header files
  • Libraries
  • Operators
  • String
  • Syntax
  • Preprocessor
  • Data types
Standard libraryfunctions
  • Char (ctype.h)
  • File I/O (stdio.h)
  • Math (math.h)
  • Dynamic memory (stdlib.h)
  • String (string.h)
  • Time (time.h)
  • Variadic (stdarg.h)
  • POSIX
Standardlibraries
  • Bionic
    • libhybris
  • dietlibc
  • EGLIBC
  • glibc
  • klibc
  • Microsoft Run-time Library
  • musl
  • Newlib
  • uClibc
  • BSD libc
Compilers
  • Comparison of compilers
  • ACK
  • Borland Turbo C
  • Clang
  • GCC
  • ICC
  • LCC
  • PCC
  • SDCC
  • TCC
  • Microsoft Visual Studio / Express / C++
  • Watcom C/C++
IDEs
  • Comparison of IDEs
  • Anjuta
  • Code
  • CodeLite
  • Eclipse
  • Geany
  • Microsoft Visual Studio
  • NetBeans
Comparison withother languages
  • Compatibility of C and C++
  • Comparison with Embedded C
  • Comparison with Pascal
  • Comparison of programming languages
Descendantlanguages
  • C++
  • C#
  • D
  • Objective-C
  • Alef
  • Limbo
  • Go
  • Vala
  • Category Category
0.00 (0 votes)

Từ khóa » C99 Vs C11 Vs C18