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

SIGSTKSZ is no longer a constant #619

Open
nicks2036 opened this issue Mar 6, 2024 · 1 comment
Open

SIGSTKSZ is no longer a constant #619

nicks2036 opened this issue Mar 6, 2024 · 1 comment

Comments

@nicks2036
Copy link

  • Compiler Used: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  • Operating System: Ubuntu 22.04.4 LTS
  • Architecture (ARM/x86/32bit/64bit/etc): 64bit

Build process fails since SIGSTKSZ is no longer a constant. The value was used to define an array size and ir should be replaced:

/ChaiScript/unittests/catch.hpp:7441:45: error: size of array ‘altStackMem’ is not an integral constant-expression
7441 | char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};

@totalgee
Copy link
Contributor

totalgee commented Mar 6, 2024

The Catch unit testing library (header) needs to be updated to a newer version...

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

2 participants