[Bug bootstrap/107795] <limits.h> recursion through <syslimits.h> breaks non-GNU implementations of the C++ stdlib
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 21 16:07:21 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107795
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libstdc++ |bootstrap
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
the limits.h here we are talking about does NOT come from libstdc++ but from
gcc/gsyslimits.h :
/* syslimits.h stands for the system's own limits.h file.
If we can use it ok unmodified, then we install this text.
If fixincludes fixes it, then the fixed version is installed
instead of this text. */
#define _GCC_NEXT_LIMITS_H /* tell gcc's limits.h to recurse */
#include_next <limits.h>
#undef _GCC_NEXT_LIMITS_H
More information about the Gcc-bugs
mailing list