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

Bundled catch doesn't bulid with gcc 11 #43

Open
mattgodbolt opened this issue Oct 24, 2022 · 0 comments
Open

Bundled catch doesn't bulid with gcc 11 #43

mattgodbolt opened this issue Oct 24, 2022 · 0 comments

Comments

@mattgodbolt
Copy link
Owner

In file included from /usr/include/signal.h:328,
                 from /home/matthew/dev/zindex/tests/catch.hpp:6442,
                 from /home/matthew/dev/zindex/tests/test_main.cpp:2:
/home/matthew/dev/zindex/tests/catch.hpp:6465:33: error: size of array ‘altStackMem’ is not an integral constant-expression
 6465 |         static char altStackMem[SIGSTKSZ];
      |                                 ^~~~~~~~
/home/matthew/dev/zindex/tests/catch.hpp:6516:45: error: size of array ‘altStackMem’ is not an integral constant-expression
 6516 |     char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                             ^~~~~~~~

Going with find_package/conan might help see #40

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

1 participant