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

‘terminate’ is not a member of ‘std’ #55

Open
mokafolio opened this issue May 9, 2023 · 2 comments
Open

‘terminate’ is not a member of ‘std’ #55

mokafolio opened this issue May 9, 2023 · 2 comments

Comments

@mokafolio
Copy link

mokafolio commented May 9, 2023

When compiling with exceptions disabled, I run into the following issue on gcc 12.1.0 using c++17:

error: ‘terminate’ is not a member of ‘std’
   73 |     std::terminate();
      |          ^~~~~~~~~

I need to include <exception> before span.hpp in order to fix it. Am I doing something wrong?

@kimci86
Copy link
Contributor

kimci86 commented May 10, 2023

Someone had the same issue with MSVC and suggested a patch #53

@mokafolio
Copy link
Author

cool,I don't mind including <exception> myself for now but i'd appreciate it being fixed on master eventually as I add span as a submodule.

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