Page MenuHomeFreeBSD

clang: Enable -Wdeprecated-non-prototype by default.
ClosedPublic

Authored by jhb on Apr 12 2023, 3:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 6, 9:59 PM
Unknown Object (File)
Oct 1 2024, 5:05 AM
Unknown Object (File)
Oct 1 2024, 4:52 AM
Unknown Object (File)
Sep 24 2024, 4:06 AM
Unknown Object (File)
Sep 24 2024, 3:41 AM
Unknown Object (File)
Sep 22 2024, 8:15 PM
Unknown Object (File)
Sep 22 2024, 8:38 AM
Unknown Object (File)
Sep 22 2024, 5:06 AM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste added a subscriber: dim.

Does it make sense to do the kernel and userland separately? I plan to make my way through all of the userland changes for review, but we can probably get the kernel done right away.

This revision is now accepted and ready to land.Apr 12 2023, 4:18 PM
In D39535#899954, @mjg wrote:

does this affect ports?

I think that most ports would not be affected but it will affect the small handful of ports that use the base system share/mk infrastructure, and it probably needs an exp-run. Perhaps another reason to separate the kernel part and commit it independently.

Hm are we now totally clean on those warnings?

In D39535#900050, @dim wrote:

Hm are we now totally clean on those warnings?

After the fixes in the attached "stack" I can now do a 'make tinderbox'.

Does it make sense to do the kernel and userland separately? I plan to make my way through all of the userland changes for review, but we can probably get the kernel done right away.

I'm not even sure I had any cases in the kernel I had to fix at all?

I'm not even sure I had any cases in the kernel I had to fix at all?

I thought maybe smbfs but it looks like that code is used only by mount_smbfs (and related things perhaps).

Re-enabling the warnings now will ensure no more of these will sneak in, so LGTM :)

exp-run only found two port breakages for misc/ctm and mail/rblcheck. These should be easy to fix.

I've opened a PR for both to fix the issues upstream (https://github.com/freebsd/ctm/pull/1 and https://github.com/logic/rblcheck/pull/2) and D39780 includes the patch from the second one. I will create a review to update the mail/ctm port once the first PR is accepted and lands. I think it's fine to merge the patch to src now though.