https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119238
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org Summary|error: structured bindings |[15 Regression] error: |only available with |structured bindings only |‘-std=c++17’ or |available with ‘-std=c++17’ |‘-std=gnu++17’ |or ‘-std=gnu++17’ |[-Werror=c++17-extensions] |[-Werror=c++17-extensions] Status|UNCONFIRMED |NEW Target Milestone|--- |15.0 Ever confirmed|0 |1 Last reconfirmed| |2025-03-12 --- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- Oops I mistakenly believed the C++ standard for GCC code base was same as the default of GCC. I agree with the fix in comment 1.