Bug 270919

Summary: [exp-run] -Wdeprecated-non-prototype
Product: Ports & Packages Reporter: John Baldwin <jhb>
Component: Ports FrameworkAssignee: John Baldwin <jhb>
Status: Closed FIXED    
Severity: Affects Only Me CC: emaste, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 271070    
Bug Blocks:    

Description John Baldwin freebsd_committer freebsd_triage 2023-04-18 19:57:00 UTC
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.
Comment 1 John Baldwin freebsd_committer freebsd_triage 2023-04-19 17:54:56 UTC
I missed a few items in src.  You need at least commit 010795fc824c4a763d26a2137c30a61d501f8177 to build a world with the patch from the review.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-04-25 21:10:15 UTC
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(-)
Comment 4 John Baldwin freebsd_committer freebsd_triage 2023-04-25 22:10:03 UTC
I have reviews open for the two ports.