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
F165724510: D42999.id131270.diff
Sun, Aug 9, 12:25 PM
F165724488: D42999.id131265.diff
Sun, Aug 9, 12:25 PM
F165724375: D42999.diff
Sun, Aug 9, 12:24 PM
Unknown Object (File)
Sat, Aug 8, 2:30 AM
Unknown Object (File)
Fri, Aug 7, 7:35 PM
Unknown Object (File)
Thu, Jul 30, 1:26 PM
Unknown Object (File)
Mon, Jul 27, 9:28 AM
Unknown Object (File)
Sun, Jul 26, 3:42 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