Get the latest tech news
GCC 16 considering changing default to C++20
From: Marek Polacek <polacek@redhat.com> To: GCC <gcc@gcc.gnu.org>, Jonathan Wakely <jwakely@redhat.com>, Jason Merrill <jason@redhat.com> Subject: Change the default C++ dialect to gnu++20 Date: Mon, 3 Nov 2025 13:34:28 -0500 [thread overview] Message-ID: <aQj1tKzhftT9GUF4@redhat.com> (raw) I would like us to declare that C++20 is no longer experimental and change the default dialect to gnu++20. Last time we changed the default was over 5 years ago in GCC 11: <https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=0801f419440c14f6772b28f763ad7d40f7f7a580> and before that in 2015 in GCC 6.1, so this happens roughly every 5 years.
None
Or read this on Hacker News