https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125161
--- Comment #21 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Sam James <[email protected]>: https://gcc.gnu.org/g:d6355d3e32fb67f9a1e6866c35ad5943d16a8ba5 commit r14-12563-gd6355d3e32fb67f9a1e6866c35ad5943d16a8ba5 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)
