spdlog icon indicating copy to clipboard operation
spdlog copied to clipboard

error: call to non-‘constexpr’ function ‘long int sysconf(int)’

Open xinyugit opened this issue 1 year ago • 1 comments

System environment:

Linux version 6.8.0-39-generic (buildd@lcy02-amd64-112) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #39-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 21:49:14 UTC 2024

gcc version 13.2.0 (Ubuntu 13.2.0-23ubuntu4)

ERROR:

/tests/catch.hpp:9041:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’ 9041 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ; | ^~~~~~~~~~~

xinyugit avatar Aug 07 '24 14:08 xinyugit

This is Catch2 issue, please reopen in the Catch2 repository.

tt4g avatar Aug 07 '24 20:08 tt4g