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)
Sat, Dec 6, 5:02 PM
Unknown Object (File)
Mon, Nov 24, 11:09 AM
Unknown Object (File)
Mon, Nov 24, 1:17 AM
Unknown Object (File)
Nov 22 2025, 11:03 PM
Unknown Object (File)
Nov 22 2025, 11:53 AM
Unknown Object (File)
Nov 15 2025, 1:02 AM
Unknown Object (File)
Nov 14 2025, 10:36 AM
Unknown Object (File)
Nov 8 2025, 1:47 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
Lint Not Applicable
Unit
Tests Not Applicable