In file included from /usr/include/signal.h:328,
|
from /tmp/mongo-cxx-driver-r3.6.6/src/third_party/catch/include/catch.hpp:8034,
|
from /tmp/mongo-cxx-driver-r3.6.6/src/third_party/catch/main.cpp:16:
|
/tmp/mongo-cxx-driver-r3.6.6/src/third_party/catch/include/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/include/x86_64-linux-gnu/bits/sigstksz.h:24,
|
from /usr/include/signal.h:328,
|
from /tmp/mongo-cxx-driver-r3.6.6/src/third_party/catch/include/catch.hpp:8034,
|
from /tmp/mongo-cxx-driver-r3.6.6/src/third_party/catch/main.cpp:16:
|
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
|
640 | extern long int sysconf (int __name) __THROW;
|
| ^~~~~~~
|
In file included from /tmp/mongo-cxx-driver-r3.6.6/src/third_party/catch/main.cpp:16:
|
/tmp/mongo-cxx-driver-r3.6.6/src/third_party/catch/include/catch.hpp:10881:45: error: size of array ‘altStackMem’ is not an integral constant-expression
|
10881 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
|
| ^~~~~~~~~~~~
|