https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125161
--- Comment #19 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Sam James <[email protected]>: https://gcc.gnu.org/g:6b0a87143a7a9d302122059e889ee00cd5597da4 commit r16-8861-g6b0a87143a7a9d302122059e889ee00cd5597da4 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)
