-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Are we forced to use "-fexceptions" flag in android ndk project #640
Comments
I am not using NDK myself. What happens if you do not provide the flags? What happens if you do? |
I am not sure. I am not using "-fexceptions" flag in my ndk project. but the same code running on my ios project is ok! Log is like this: By the way, Is all exceptions throwed by methods of nlohmann::json derived from std::exception? Thank you for your answering! |
Yes, all exceptions inherit from std::exception. This won't change in 3.0.0, but then we use different exception classes. I'm afraid I have too little NDK experience to help with the other issue. |
Which NDK are you using? As I wrote in the README, this seems to work:
|
Hi, Lohmann,
and in Android.mk, we add this:
BUT this is of no effect!~~~ |
Could you also add
|
ok, i try it now! |
it is of no effect, either~~ |
You're welcome. Sorry not being able to help you, though. |
i run into same issue on Android platform。this issue |
Are we forced to use "-fexceptions" flag in android ndk project?
The text was updated successfully, but these errors were encountered: