The change at https://reviews.freebsd.org/D39535 re-enables -Wdeprecated-non-prototype by default in the base system compiler. You need a world from commit 91517e3b8186d8fc161884fea27871f312ca8bea or later to build cleanly.
I missed a few items in src. You need at least commit 010795fc824c4a763d26a2137c30a61d501f8177 to build a world with the patch from the review.
There seems to be 2 new failures: https://pkg-status.freebsd.org/gohan05/data/mainamd64D39535-default/2023-04-20_20h21m56s/logs/errors/ctm-2.0_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64D39535-default/2023-04-20_20h21m56s/logs/errors/rblcheck-1.5_2.log
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7aab8fc5c5f0f26e494be3bc05c58cf38687cf69 commit 7aab8fc5c5f0f26e494be3bc05c58cf38687cf69 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-04-25 21:09:21 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-04-25 21:09:21 +0000 clang: Enable -Wdeprecated-non-prototype by default. PR: 270919 (exp-run) Reviewed by: dim, emaste Differential Revision: https://reviews.freebsd.org/D39535 share/mk/bsd.sys.mk | 1 - sys/conf/kern.mk | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-)
I have reviews open for the two ports.