svn commit: r348847 - head/sys/sys

Konstantin Belousov kostikbel at gmail.com
Mon Jun 10 17:30:39 UTC 2019


On Mon, Jun 10, 2019 at 09:28:24AM -0700, Conrad Meyer 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.

This is due to very important compiler, not used by FreeBSD, still only
providing c99 features, for instance.  So people who have to write portable
C might force all compilation environment to the common standard.

I personally think that c89 is not very important now, but still should
not be broken without serious cause.  While c99 must be fully supported.
Of course, the statements are limited to user-mode visible portion of
/usr/include/* and libs.


More information about the svn-src-all mailing list