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 <j...@freebsd.org>
AuthorDate: 2022-04-12 17:06:18 +0000
Commit:     John Baldwin <j...@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

Reply via email to