HomeFreeBSD

mandoc: fix bootstrapping on Linux with Clang 16

Description

mandoc: fix bootstrapping on Linux with Clang 16

It appears that Clang 16 errors by default for the mismatched function
pointer types that are triggered by the fts callback (since glibc has a
callback type without the second const qualifier).
Fortunately, there is already code to handle glibc inside mandoc, we
just have to edit the checked-in config.h.

Reviewed By: imp, emaste
Differential Revision: https://reviews.freebsd.org/D42999

Details

Provenance
arichardsonAuthored on Dec 12 2023, 5:08 AM
Reviewer
imp
Differential Revision
D42999: mandoc: fix bootstrapping on Linux with Clang 16
Parents
rG3fbed93203cb: cam.4: Modernize examples
Branches
Unknown
Tags
Unknown