This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h


In what way is it not a bug for cstdlib to do #include_next <stdlib.h>?
The only purpose I understand for using #include_next is when a header
named foo does #include_next <foo>.  If it really is somehow proper for
cstdlib to be demanding that it get a stdlib.h from an include directory
later in the include path than is the directory containing that cstdlib,
then the proper fix is to change our C++ compilations to put the standard
C++ include directories earlier in the path than the libc source
directories that are performing the function of system C include directories.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]