This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 4/4] Deprecate inclusion of <sys/sysmacros.h> by <sys/types.h>
- From: Zack Weinberg <zackw at panix dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 22 Jun 2016 07:42:32 -0400
- Subject: Re: [PATCH 4/4] Deprecate inclusion of <sys/sysmacros.h> by <sys/types.h>
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1463145139 dot git dot zackw at panix dot com> <e2c88a8207bc1aa7b49f3d58a6be2cc8db653ff3 dot 1463145139 dot git dot zackw at panix dot com>
On Fri, May 13, 2016 at 9:26 AM, Zack Weinberg <zackw@panix.com> wrote:
> The macros defined by <sys/sysmacros.h> are not part of POSIX nor XSI,
> and their names have been found frequently to collide with user code;
> see for instance glibc bug 19239 and Red Hat bug 130601. <stdlib.h>
> includes <sys/types.h> under _GNU_SOURCE, and C++ code presently cannot
> avoid being compiled under _GNU_SOURCE, exacerbating the problem.
Ping?