[PATCH 4/4] Deprecate inclusion of <sys/sysmacros.h> by <sys/types.h>

Zack Weinberg zackw@panix.com
Wed Jun 22 11:42:00 GMT 2016


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?



More information about the Libc-alpha mailing list