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

Catch2 v2.3.0 doesn't compile with gcc11 #74

Open
nazzak opened this issue Jul 25, 2022 · 0 comments · May be fixed by #75
Open

Catch2 v2.3.0 doesn't compile with gcc11 #74

nazzak opened this issue Jul 25, 2022 · 0 comments · May be fixed by #75

Comments

@nazzak
Copy link

nazzak commented Jul 25, 2022

Hi,
Catch2 doesn't compile with gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1) :

cppcodec-src/test/catch/single_include/catch2/catch.hpp:7485:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
7485 | constexpr static std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24,

This is known issue by the maintainers.
Could you please update the git submodule to point to a more recent release version of Catch ?

Thank you in advance

@nazzak nazzak changed the title Catch2 issue on V2.3.0 Catch2 v2.3.0 doesn't compile with gcc11 Jul 25, 2022
jpetso added a commit to jpetso/cppcodec that referenced this issue Aug 21, 2022
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

Successfully merging a pull request may close this issue.

1 participant