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

--- Comment #22 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Sam James <[email protected]>:

https://gcc.gnu.org/g:8cfff8b14b39c3f5a28e34fa81b127f42f5e2de1

commit r13-10290-g8cfff8b14b39c3f5a28e34fa81b127f42f5e2de1
Author: Collin Funk <[email protected]>
Date:   Sat May 2 22:18:40 2026 -0700

    ginclude: avoid redefining __STDC_VERSION_LIMITS_H__

    We define this macro after including the systems limits.h header which
    may define this macro.  Using glibc-2.43, for example, before this patch
    every file that included limits.h would emit a warning if
    -Wsystem-headers was in use.

        PR c/125161

    gcc/
            * glimits.h (__STDC_VERSION_LIMITS_H__): Only define the macro
            if it was not already defined.

    Signed-off-by: Collin Funk <[email protected]>
    (cherry picked from commit 85a9b3b56de7c14528b7e536d295545da15440bf)

Reply via email to