https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah, this is known, but I'm afraid there is nothing that can be done easily
about it.  Just don't do it.
Well, in theory, we could slow everything down by adding yet another default
include directory that would come after /usr/include in the default search
scope, and would contain some fallback stdlib.h and math.h for these cases, but
that would be too ugly.  So, IMHO just the packages that use this should either
know what they are doing and put the C++ STL system headers first, or don't use
STL, or don't mess with -isystem for the default directories.  The last one
preferred.

Reply via email to