https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90339
Bug ID: 90339 Summary: Change default c++ dialect to -std=gnu++17 in gcc 10 ? Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: romain.geissler at amadeus dot com Target Milestone: --- Hi, In today's release announcement https://gcc.gnu.org/ml/gcc/2019-05/msg00024.html C++17 is now marked as no longer experimental in gcc 9. Support has matured for a few years. Do you think it would make sense to change in gcc 10 the default dialect to -std=gnu++17 so that distro packages slowly adapt their code to be C++17 compatible ? For example we hit a few cases last year where some components were typedef'ing a type named "byte" which resulted in ambiguity when using -std=gnu++17 defining std::byte. Cheers, Romain