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
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: