-
Notifications
You must be signed in to change notification settings - Fork 250
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
'rethrow_exception' is not a member of 'std' #648
Comments
Both of these are wontfix. Switch to Clang and libc++. |
The dockcross tool is creating a standalone toolchain here, https://github.com/dockcross/dockcross/blob/966365e21cffaa3f40f98a8ebd3abaa13e65b1b2/android-arm/Dockerfile#L19-L32. It should pass Your invocation of Clang looks correct. I see the same undefined reference errors when I build your test case using Debian's g++ or clang++ compiler, though, so there's something wrong with your test case. |
Thank you for your quick answer. I used I had no idea that libc++ was required for proper c++11 support. Where is this documented? |
But more importantly, our changelog documents that gnustl and stlport are deprecated and will be removed in r18. |
So on what release was C++11 support added to NDK for libc++? r13? Please consider adding that information to a more widely accessed reference, such as https://developer.android.com/ndk/guides/standalone_toolchain.html . Something like:
Would save some grief. |
https://android-review.googlesource.com/#/c/platform/ndk/+/641151 But note that |
Thanks, but it doesn't seem that the changes were published. |
Looks like it got clobbered? |
Still not fixed. |
Doc looks right to me. Just forgot to close it. |
Never mind, I was confusing the note about incomplete C++11 support with a different note. |
Fixed now. |
Thanks 👍 |
Description
Trying to compile a header that uses
rethrow_exception
throws an error.Steps to reproduce
catch.hpp
in a directory. The file can be found here in/single_include/catch.hpp
.The bug report guide says to try clang. I have little experience with clang. Did I call clang correctly?
Issue linked to catchorg/Catch2#1219
Environment Details
The text was updated successfully, but these errors were encountered: