Your bundled catch version causes tests to not compile on systems with glibc >= 2.34, e.g. Fedora Rawhide:
[...]
In file included from /usr/x86_64-pc-linux-gnu/include/signal.h:328,
from ./catch/single_include/catch2/catch.hpp:8034,
from src/global-init.cxx:27:
./catch/single_include/catch2/catch.hpp:10822:58: error: call to non-'constexpr' function 'long int sysconf(int)'
10822 | static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| ^~~~~~~~~~~
In file included from /usr/x86_64-pc-linux-gnu/include/bits/sigstksz.h:24,
from /usr/x86_64-pc-linux-gnu/include/signal.h:328,
from ./catch/single_include/catch2/catch.hpp:8034,
from src/global-init.cxx:27:
/usr/x86_64-pc-linux-gnu/include/unistd.h:641:17: note: 'long int sysconf(int)' declared here
641 | extern long int sysconf (int __name) __THROW;
| ^~~~~~~
In file included from src/global-init.cxx:27:
./catch/single_include/catch2/catch.hpp:10881:45: error: size of array 'altStackMem' is not an integral constant-expression
10881 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
|
[...]
Upstream fix: catchorg/Catch2@c0d0a50
Also, provide the following information:
configure
script, or CMake, etc., flags and settings: ./configure --enable-unit-testsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4