Page MenuHomeFreeBSD

mandoc: fix bootstrapping on Linux with Clang 16
ClosedPublic

Authored by arichardson on Dec 11 2023, 10:56 PM.
Tags
None
Referenced Files
F102714598: D42999.diff
Sat, Nov 16, 6:20 AM
Unknown Object (File)
Fri, Nov 8, 2:58 AM
Unknown Object (File)
Mon, Oct 21, 12:47 PM
Unknown Object (File)
Oct 17 2024, 3:03 AM
Unknown Object (File)
Oct 15 2024, 11:32 AM
Unknown Object (File)
Oct 15 2024, 11:32 AM
Unknown Object (File)
Oct 13 2024, 7:54 AM
Unknown Object (File)
Oct 12 2024, 10:43 PM
Subscribers
None

Details

Summary

It appears that Clang 16 errors by default for the mismatched function
pointer types that are triggered by the fts callback.
Fortunately, there is already code to handle glibc inside mandoc, we
just have to edit the checked-in config.h.

Test Plan

builds now

Diff Detail

Repository
rG FreeBSD src repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 54898
Build 51787: arc lint + arc unit