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


On 06/08/2016 11:08 AM, Florian Weimer wrote:
> Otherwise, /usr/include/stdlib.h turns up as a make dependency,
> and an implicit rule will kick and make will try to install
> stdlib/stdlib.h as /usr/include/stdlib.h because the target
> is out of date.
> 
> 2016-06-08  Florian Weimer  <fweimer@redhat.com>
> 
> 	Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
> 	* stdlib/tst-quick_exit.cc: Include <stdlib.h> before <cstdlib>.
> 	* stdlib/tst-thread-quick_exit.cc: Likewise.

OK, with source code comment explaining why 'stdlib.h' is being included.

What's going to be our long-term solution to this problem?

-- 
Cheers,
Carlos.


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