On Mon, 10 Jun 2019 06:43:26 -0700 Conrad Meyer <c...@freebsd.org> wrote: > On Mon, Jun 10, 2019 at 2:10 AM Tijl Coosemans <t...@freebsd.org> wrote: >> On Mon, 10 Jun 2019 05:28:04 +0000 (UTC) Dmitry Chagin >> <dcha...@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). _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"