svn commit: r348847 - head/sys/sys

Warner Losh imp at bsdimp.com
Mon Jun 10 22:58:39 UTC 2019


On Mon, Jun 10, 2019 at 10:51 AM Conrad Meyer <cem at freebsd.org> wrote:

> On Mon, Jun 10, 2019 at 9:17 AM Bruce Evans <brde at optusnet.com.au> wrote:
> > Only headers and libraries should support -std=c89.  <sys/cdefs.h> has
> > lots of support for compilers and POSIX versions going back to K&R C,
> > and only the K&R parts are completely broken.
>
> Is this due to specific policy, or just inertia?  (No one has bothered
> to remove the old bits?)  The older parts being totally broken
> suggests sheer inertia.
>

As far as I know, it's been policy because there are a number of ports that
compile with -std=c89, or used to be. I accidentally broke that a long time
ago and had to fix it to unbreak a few ports (but granted, this was a while
ago).

Warner


More information about the svn-src-all mailing list