https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107795
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >This recursive inclusion with a macro is hostile to implementations that want >to build on top of GCC's <limits.h> header You should not be building on top of GCC's limits.h header at all really. Rather implementations should have their own.