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

Add BOOST_NO_CXX11_HDR_EXCEPTION to Boost.Config #284

Closed
dmenendez-gruposantander opened this issue May 30, 2019 · 0 comments · Fixed by #293
Closed

Add BOOST_NO_CXX11_HDR_EXCEPTION to Boost.Config #284

dmenendez-gruposantander opened this issue May 30, 2019 · 0 comments · Fixed by #293

Comments

@dmenendez-gruposantander

BOOST_NO_CXX11_HDR_EXCEPTION => The standard library does not provide a C++11 compatible version of .

In particular, for Issue boostorg/exception#10 I would need to detect compiler support for C++11 std::exception_ptr and std::current_exception().

I'll try to come up with a PR, but I can only test on two compilers (VS2015 and VS2017) and both provide a C++11 compatible .

Is there any way I can test a PR against remote testers using other compilers?

dmenendez-gruposantander added a commit to dmenendez-gruposantander/config that referenced this issue Jun 4, 2019
Added defect macro BOOST_NO_CXX11_HDR_EXCEPTION

Should be #define'd when:
The standard library does not provide a C++11 compatible version of <exception>.

To solve Boost.Exception issue boostorg/exception#10 I need to detect
compiler support for C++11 compliant:
 - std::exception_ptr
 - std::current_exception()
 - std::rethrow_exception()
jzmaddock added a commit that referenced this issue Aug 23, 2019
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

Successfully merging a pull request may close this issue.

1 participant