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
Unknown Object (File)
Thu, May 23, 1:11 PM
Unknown Object (File)
Mon, May 20, 3:00 AM
Unknown Object (File)
Wed, May 8, 6:13 PM
Unknown Object (File)
Wed, May 8, 6:00 PM
Unknown Object (File)
Wed, May 8, 1:22 PM
Unknown Object (File)
Wed, May 8, 1:22 PM
Unknown Object (File)
May 3 2024, 9:45 AM
Unknown Object (File)
May 2 2024, 4:01 AM
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