https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107795
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Louis Dionne from comment #11) > (In reply to Andrew Pinski from comment #9) > > > > GCC version specific includes > GCC version specific fixincludes > C library > > includes > > > > That is for C. > > C++ is: > > libstdc++ library includes > ... (rest same as C). > > Okay, that's great. That's exactly what I want! I want to be able to do: > > libc++ library includes > ... (rest same as C) > > What I'm trying to say is precisely that this doesn't work as intended > today, because somewhere inside "rest same as C", a header is taking for > granted that libstdc++ does NOT implement a <limits.h> header. If it did, > then libstdc++ would get the same issue that we are having. No because libstdc++ is part of gcc and then gcc's limit.h would be modifi instead.