This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] makedev(3): point people at sys/sysmacros.h
- From: "Michael Kerrisk (man-pages)" <mtk dot manpages at gmail dot com>
- To: Zack Weinberg <zackw at panix dot com>
- Cc: mtk dot manpages at gmail dot com, Mike Frysinger <vapier at gentoo dot org>, linux-mtd at lists dot infradead dot org, GNU C Library <libc-alpha at sourceware dot org>, linux-man <linux-man at vger dot kernel dot org>
- Date: Wed, 20 Apr 2016 14:38:43 +0200
- Subject: Re: [PATCH] makedev(3): point people at sys/sysmacros.h
- Authentication-results: sourceware.org; auth=none
- References: <20160418164908 dot GR5369 at vapier dot lan> <1461045163-21248-1-git-send-email-vapier at gentoo dot org> <5717687D dot 2060300 at gmail dot com> <CAKCAbMiMNtMmCP4EPZnZ5DpSNaNc=SDbbdKKZmoRybmWHyOoTg at mail dot gmail dot com>
On 04/20/2016 01:47 PM, Zack Weinberg wrote:
> On Wed, Apr 20, 2016 at 7:31 AM, Michael Kerrisk (man-pages)
> <email@example.com> wrote:
>> On 04/19/2016 06:52 AM, Mike Frysinger wrote:
>>> Defining these functions via sys/types.h violates POSIX namespace
>> What do the previous lines mean? Violate namespace requirements how?
> I think it's technically not true that they violate POSIX namespace
> requirements, since they're only defined in the non-conforming modes.
> The reason I originally proposed the change is that libstdc++
> force-enables _GNU_SOURCE, which means people writing in C++ _can't_
> avoid these nonstandard macros by using a strict conformance mode.
Thanks for the explanation, Zack. I applied Mike's patch.
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/