The first commit reproduces #261:
0/Users/runner/work/libmultiprocess/libmultiprocess/src/mp/util.cpp:84:25: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
1 84 | pthread_threadid_np(NULL, &tid);
2 | ^~~~
3 | nullptr
42 warnings generated.
5Suppressed 1 warnings (1 in non-user code).
6Use -header-filter=.* or leave it as default to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
71 warning treated as error
https://github.com/bitcoin-core/libmultiprocess/actions/runs/23348264051/job/67919536711?pr=262
Using clang-tidy in the macOS job increases the runtime from ~1 minute to 2.5 minutes, which shouldn’t be a problem.
The second commit fixes it.