GCC 17 Lands Initial Infrastructure For C++29
Merged yesterday to the GCC Git development codebase for next year's GCC 17 release is the initial infrastructure laying out support for -std=c++29 and the like for targeting the C++29 standard not anticipated for release until around 2029.
With GCC's C++26 support continuing to come together, GNU Compiler Collection developers have begun laying out the infrastructure for experimentally supporting C++29 as they begin to land changes for supporting that follow-up revision to the C++ programming language.
Yesterday's commit introduced support for using -std=c++29 to specify C++29 or alternatively the -std=c++2d alias. Similarly, there is also the -std=gnu++29 variant for the GNU dialect of C++29.
That infrastructure work landed via this commit by Red Hat compiler engineer Jakub Jelinek.
This early C++29 work follows the recent C++ committee meeting in Brno. Among the adopted features for draft C++29 include work on catching all undefined behavior in C++, designated initializaers for base classes, and other work on memory safety. See this trip report by Herb Sutter as usual for an excellent overview of the recent C++ standards meeting.
With GCC's C++26 support continuing to come together, GNU Compiler Collection developers have begun laying out the infrastructure for experimentally supporting C++29 as they begin to land changes for supporting that follow-up revision to the C++ programming language.
Yesterday's commit introduced support for using -std=c++29 to specify C++29 or alternatively the -std=c++2d alias. Similarly, there is also the -std=gnu++29 variant for the GNU dialect of C++29.
That infrastructure work landed via this commit by Red Hat compiler engineer Jakub Jelinek.
This early C++29 work follows the recent C++ committee meeting in Brno. Among the adopted features for draft C++29 include work on catching all undefined behavior in C++, designated initializaers for base classes, and other work on memory safety. See this trip report by Herb Sutter as usual for an excellent overview of the recent C++ standards meeting.
