[Bug libstdc++/124363] Mismatched __cplusplus comment in <string_view>

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 4 12:31:31 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124363

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:

https://gcc.gnu.org/g:3c11355ab9ff2bef2a103de9ac81f6cb45e17591

commit r13-10114-g3c11355ab9ff2bef2a103de9ac81f6cb45e17591
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Mar 4 11:58:37 2026 +0000

    libstdc++: Change comment on #endif to match #if condition [PR124363]

    I changed the #if in r8-3123-gc6888c62577671 but didn't make the
    corresponding change to the #endif.

    This backport also includes the fix for the #endif of the include guard,
    which was changed by r16-6038-g62c126db6b6017 to refer to the correct
    macro.

    libstdc++-v3/ChangeLog:

            PR libstdc++/124363
            * include/std/string_view: Adjust comment on #endif to match #if
            condition. Likewise for header guard.

    (cherry picked from commit 47339c8f8a477464b6fe44992200bd2b840da8f4)


More information about the Gcc-bugs mailing list