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

Include <exception> for std::terminate #139

Open
francoisk opened this issue Jul 19, 2024 · 0 comments
Open

Include <exception> for std::terminate #139

francoisk opened this issue Jul 19, 2024 · 0 comments

Comments

@francoisk
Copy link

The header checked_result_operations.hpp calls std::terminate which is in <exception> but the latter is not included, causing compilation failures with clang 18 and libc++:

include/boost/safe_numerics/checked_result_operations.hpp:40:14: error: no member named 'terminate' in namespace 'std'; did you mean 'template'?
   40 |         std::terminate();
      |         ~~~~~^~~~~~~~~
      |              template
francoisk added a commit to build2-packaging/boost that referenced this issue Jul 19, 2024
Clang 18 with libc++ fails with `no member named 'terminate' in namespace
'std'; did you mean 'template'?` due to <exception> not being included.

Reported upstream at boostorg/safe_numerics#139.
francoisk added a commit to build2-packaging/boost that referenced this issue Jul 22, 2024
Clang 18 with libc++ fails with `no member named 'terminate' in namespace
'std'; did you mean 'template'?` due to <exception> not being included.

Reported upstream at boostorg/safe_numerics#139.
francoisk added a commit to build2-packaging/boost that referenced this issue Jul 23, 2024
Clang 18 with libc++ fails with `no member named 'terminate' in namespace
'std'; did you mean 'template'?` due to <exception> not being included.

Reported upstream at boostorg/safe_numerics#139.
francoisk added a commit to build2-packaging/boost that referenced this issue Jul 23, 2024
Clang 18 with libc++ fails with `no member named 'terminate' in namespace
'std'; did you mean 'template'?` due to <exception> not being included.

Reported upstream at boostorg/safe_numerics#139.
francoisk added a commit to build2-packaging/boost that referenced this issue Jul 23, 2024
Clang 18 with libc++ fails with `no member named 'terminate' in namespace
'std'; did you mean 'template'?` due to <exception> not being included.

Reported upstream at boostorg/safe_numerics#139.
francoisk added a commit to build2-packaging/boost that referenced this issue Jul 24, 2024
Clang 18 with libc++ fails with `no member named 'terminate' in namespace
'std'; did you mean 'template'?` due to <exception> not being included.

Reported upstream at boostorg/safe_numerics#139.
francoisk added a commit to build2-packaging/boost that referenced this issue Jul 28, 2024
Clang 18 with libc++ fails with `no member named 'terminate' in namespace
'std'; did you mean 'template'?` due to <exception> not being included.

Reported upstream at boostorg/safe_numerics#139.
francoisk added a commit to build2-packaging/boost that referenced this issue Jul 29, 2024
Clang 18 with libc++ fails with `no member named 'terminate' in namespace
'std'; did you mean 'template'?` due to <exception> not being included.

Reported upstream at boostorg/safe_numerics#139.
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