Bug 270919 - [exp-run] -Wdeprecated-non-prototype
Summary: [exp-run] -Wdeprecated-non-prototype
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: John Baldwin
URL:
Keywords:
Depends on: 271070
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-18 19:57 UTC by John Baldwin
Modified: 2023-05-23 21:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.