]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
mandoc: Fix bootstrapping on macOS with Clang 16 / Apple Clang 15
authorJessica Clarke <jrtc27@FreeBSD.org>
Sat, 16 Mar 2024 01:50:20 +0000 (01:50 +0000)
committerJessica Clarke <jrtc27@FreeBSD.org>
Sat, 16 Mar 2024 01:50:20 +0000 (01:50 +0000)
commitce312ef72d91888d332f7f042298001794b66914
tree403fd00195b61bbf22d070f5a62534449ae87dfd
parent748f56c53f4286e0b140c1b779ff8ade1cf4fec9
mandoc: Fix bootstrapping on macOS with Clang 16 / Apple Clang 15

macOS, like Linux, does not include an outer const qualifier for its
fts_open callback arguments, so -Wincompatible-function-pointer-types
also picks this up and breaks the build now Clang 16 makes it an error
by default. Extend the existing Linux support to fix this.

MFC after: 1 week
contrib/mandoc/config.h