Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
xinyugit opened this issue Aug 7, 2024 · 1 comment
Closed

Comments

@xinyugit
Copy link

xinyugit commented Aug 7, 2024

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;
| ^~~~~~~~~~~

@tt4g
Copy link
Contributor

tt4g commented Aug 7, 2024

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

@gabime gabime closed this as completed Sep 4, 2024
Repository owner deleted a comment from xinyugit Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants