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)
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)
Fri, May 3, 9:45 AM
Unknown Object (File)
Thu, May 2, 4:01 AM
Unknown Object (File)
Sun, Apr 21, 9:08 PM
Unknown Object (File)
Feb 12 2024, 4:39 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