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
F132705202: D42999.id131265.diff
Sun, Oct 19, 5:04 AM
Unknown Object (File)
Fri, Oct 10, 6:12 AM
Unknown Object (File)
Fri, Sep 26, 4:17 AM
Unknown Object (File)
Fri, Sep 26, 12:14 AM
Unknown Object (File)
Sep 17 2025, 3:45 PM
Unknown Object (File)
Sep 17 2025, 8:09 AM
Unknown Object (File)
Sep 13 2025, 10:10 PM
Unknown Object (File)
Aug 26 2025, 4:27 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