bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] Update used Catch2's version to prevent failures of UNIX builds #91

Closed bnoazx005 closed 1 year ago

bnoazx005 commented 1 year ago

Bug report

In file included from /usr/include/signal.h:328, from /home/runner/work/TDEngine2/TDEngine2/tests/lib/Catch2/single_include/catch2/catch.hpp:5549, from /home/runner/work/TDEngine2/TDEngine2/tests/main.cpp:2: /home/runner/work/TDEngine2/TDEngine2/tests/lib/Catch2/single_include/catch2/catch.hpp:8164:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’ 8164 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; | ^~~ In file included from /home/runner/work/TDEngine2/TDEngine2/tests/main.cpp:2: /home/runner/work/TDEngine2/TDEngine2/tests/lib/Catch2/single_include/catch2/catch.hpp:8223:45: error: size of array ‘altStackMem’ is not an integral constant-expression 8223 | char FatalConditionHandler::altStackMem[sigStackSize] = {};