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)
Fri, Apr 24, 5:15 AM
Unknown Object (File)
Thu, Apr 23, 8:16 PM
Unknown Object (File)
Sun, Apr 19, 11:39 PM
Unknown Object (File)
Sat, Apr 18, 4:28 PM
Unknown Object (File)
Fri, Apr 17, 10:22 AM
Unknown Object (File)
Fri, Apr 17, 3:22 AM
Unknown Object (File)
Tue, Apr 14, 3:56 AM
Unknown Object (File)
Mon, Apr 6, 2:39 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
Lint Not Applicable
Unit
Tests Not Applicable