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


Florian Weimer <fweimer@redhat.com> writes:

> On 06/11/2016 12:07 AM, Roland McGrath wrote:
>> In what way is it not a bug for cstdlib to do #include_next <stdlib.h>?
>
> They are part of the implement in the same way we are.  Why would it be a
> bug?

Because <cstdlib> and <stdlib.h> are unrelated headers belonging to
different projects.  Their place in the include order needs to be
controlled independently.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


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