Date: Tue, 12 Apr 2022 16:22:28 -0700 From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 3d6f4411e45f - main - Remove checks for <sys/cdefs.h> being included. Message-ID: <deca750b-243f-e086-631d-5e991630f3e9@FreeBSD.org> In-Reply-To: <202204121710.23CHAerg051788@gitrepo.freebsd.org> References: <202204121710.23CHAerg051788@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/12/22 10:10 AM, John Baldwin wrote: > The branch main has been updated by jhb: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3d6f4411e45f49dc0fef6d428615df5107ce2e5d > > commit 3d6f4411e45f49dc0fef6d428615df5107ce2e5d > Author: John Baldwin <jhb@FreeBSD.org> > AuthorDate: 2022-04-12 17:06:18 +0000 > Commit: John Baldwin <jhb@FreeBSD.org> > CommitDate: 2022-04-12 17:06:18 +0000 > > Remove checks for <sys/cdefs.h> being included. > > These files no longer depend on the macros required when these checks > were added. > > PR: 263102 (exp-run) > Reviewed by: brooks, imp, emaste > Differential Revision: https://reviews.freebsd.org/D34804 Note that this series of commits to remove checks for __GNUCLIKE* and __CC_SUPPORTS* have been based on the assumption that FreeBSD itself (base system and kernel) requires a modern version of GCC/clang (and that we aren't going to support ancient versions of icc or other compilers that don't support the GNU C extensions we rely on). In particular, I haven't removed anything from <sys/cdefs.h> which might have broader fallout. We probably still want to permit using a compiler like tcc to build "plain" C applications (that aren't using FreeBSD-specific APIs like <machine/atomic.h> or <machine/cpufunc.h>). -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?deca750b-243f-e086-631d-5e991630f3e9>