https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107795
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Rather implementations should have their own. Or just use GCC's one without change, which is what libstdc++ does. We don't provide any <limits.h> in libstdc++, only <climits>. When you #include <limits.h> with G++ you just get GCC's own <limits.h> as-is.