You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated catch2 to 2.13.8 (latest version of v2) and the build works now.
(Just downloaded it to lib/catch2/include/catch2 as catch.v2.13.8.hpp and edited lib/catch2/include/catch2/catch3.hpp to include the new version)
Before upgrading catch2 I received 2 compile errors:
/home/reed/examples/ApprovalTestsCpp_StarterProject/lib/catch2/include/catch2/catch.v2.11.0.hpp:10717:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
10717 | static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
and
/home/reed/examples/ApprovalTestsCpp_StarterProject/lib/catch2/include/catch2/catch.v2.11.0.hpp:10776:45: error: size of array ‘altStackMem’ is not an integral constant-expression
10776 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
on Linux with g++ 11.2.0.
The text was updated successfully, but these errors were encountered:
I updated catch2 to 2.13.8 (latest version of v2) and the build works now.
(Just downloaded it to
lib/catch2/include/catch2
ascatch.v2.13.8.hpp
and editedlib/catch2/include/catch2/catch3.hpp
to include the new version)Before upgrading catch2 I received 2 compile errors:
and
on Linux with g++ 11.2.0.
The text was updated successfully, but these errors were encountered: