Hasty Briefsbeta

GCC 16 Switches to Using C++20 Standard by Default

11 days ago
  • #C++20
  • #GCC
  • #Compiler
  • GCC 16 will use C++20 as the default standard instead of C++17.
  • GCC developers fixed C++20 compatibility issues in their codebase.
  • The change to C++20 default was approved during stage 3 development for GCC 16.1 stable release.
  • Build issues may arise for projects not ready for C++20 unless they specify "-std=c++17".
  • Open-source projects testing against GCC Git have a few months to adapt to C++20.
  • GCC 11 switched the default from C++14 to C++17 in 2020.