svn commit: r348847 - head/sys/sys

Tijl Coosemans tijl at FreeBSD.org
Mon Jun 10 15:21:18 UTC 2019


On Mon, 10 Jun 2019 06:43:26 -0700 Conrad Meyer <cem at freebsd.org> wrote:
> On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans <tijl at freebsd.org> wrote:
>> On Mon, 10 Jun 2019 05:28:04 +0000 (UTC) Dmitry Chagin
>> <dchagin at FreeBSD.org> wrote:
>>> ...
>>> URL: https://svnweb.freebsd.org/changeset/base/348847
>>> Log:
>>>   Use C11 anonymous unions.
>>>
>>> Modified: head/sys/sys/ucred.h
>> ...
>>
>> Isn't this a userland header that should work with non-C11 compilers?
> 
> Why would one expect userland headers to work with non-C11 (gnu89)
> compilers?

I'm thinking of third party software compiled with third party
compilers.  The system headers need to work with various C and C++
standards.  struct xucred is part of a public API documented in unix(4).


More information about the svn-src-all mailing list