October 17th, 2024

GCC Preparing to Set C23 "GNU23" as Default C Language Version

GCC plans to make C23 (GNU23) the default C language version with GCC 15, requiring test case updates. Some features remain unimplemented, but a stable release is expected early next year.

Read original articleLink Icon
GCC Preparing to Set C23 "GNU23" as Default C Language Version

The GNU Compiler Collection (GCC) is preparing to set the C23 programming language standard, referred to as GNU23, as the default version for C language compilation. This decision comes as support for C23 is now considered "essentially feature-complete" with the release of GCC 15. Joseph Myers from Red Hat has initiated a patch to implement this change, which will default to the -std=gnu23 option unless another C standard is specified. The transition requires updating numerous test cases to ensure compatibility with the new language version. Jakub Jelinek from Red Hat's compiler team has also started discussions to update the compiler support documentation to reflect the latest C23 features. Although some C23 features remain unimplemented in GCC 15, efforts are ongoing to address these. The finalization of GCC 15's feature development is expected by mid-November, with a stable release anticipated early next year.

- GCC is set to make C23 (GNU23) the default C language version.

- The transition is part of the preparations for GCC 15, which is nearing completion.

- Significant updates to test cases are required to accommodate the new default.

- Some C23 features are still unimplemented, but work is in progress to resolve this.

- The stable release of GCC 15 is expected early next year.

Link Icon 2 comments
By @beretguy - 6 months
I recently started programming in. Can somebody summarize what it means? (I currently pass -std=c99 parameter).