Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2019 20:30:27 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Conrad Meyer <cem@freebsd.org>
Cc:        Bruce Evans <brde@optusnet.com.au>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r348847 - head/sys/sys
Message-ID:  <20190610173027.GZ75280@kib.kiev.ua>
In-Reply-To: <CAG6CVpXr3pC3fv%2BKU02b-iCnsMhe47TOPWOz5XshC7jH94WVeA@mail.gmail.com>
References:  <201906100528.x5A5S4gm072561@repo.freebsd.org> <20190610110909.3e6fbc13@kalimero.tijl.coosemans.org> <CAG6CVpViTYjjcqT6v_4m9RFk%2BGCr7kRNGeq63%2Bv4L_QgM3DEjQ@mail.gmail.com> <CANCZdfoJsHRL_0Jom6bsSC9J3EZn1d-WGA41hCsvWRTBhCVzhw@mail.gmail.com> <f96e29b7fdbb0568a3f0b04878d514aa4ff436fe.camel@freebsd.org> <20190611013853.E3415@besplex.bde.org> <CAG6CVpXr3pC3fv%2BKU02b-iCnsMhe47TOPWOz5XshC7jH94WVeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190610173027.GZ75280>