-
Notifications
You must be signed in to change notification settings - Fork 83
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
hunter-package updates #412
Comments
Sounds dangerous. What is the problem exactly? Is the error in libc++? Do update to latest NDK helps? |
For reference, here is the main issue:
The issue stems from a missing Background: EDIT: Maybe it is preferable to include the local |
|
But... libc++ doesn't seem to be stable quite yet (from an android-ndk developer):
|
What about a patched cereal in hunter-packages (non-standard version that needs to be added explicitly by the user)? That will avoid a whole bunch of repetition across projects and should support cereal use in Android toolchains via hunter until libc++ stabilizes. |
I think it's fine. Actually this patch looks good, we just need to update CMakeLists.txt with option and public define. |
Possible:
Note: Multiple projects need stdlib patches (
to_string
) to use cereal on Android (pre libc++ (at least)). This has been added via a minimal header, and I'm starting to copy and paste this to different project. Cavet: This involves patching/adding to thestd::
namespace for those toolchains. It would be best to push this to cereal, but understandably (per older issues/discussions), cereal prefers to code to a C++11 standard without including local workarounds. Eventually the Android standard library will be complete, but for now it might make sense to include the bare minimumto_string
implementation in a single header-onlyINTERFACE
library in the interim.The text was updated successfully, but these errors were encountered: