Android NDK R5 and support of C++ exception

Posted by plaisthos on Stack Overflow See other posts from Stack Overflow or by plaisthos
Published on 2011-01-11T22:20:12Z Indexed on 2011/01/12 3:53 UTC
Read the original article Hit count: 254

Filed under:
|
|

Hi,

I am trying to use the NDK 5 full C++ gnustl:

sources/cxx-stl/gnu-libstdc++/README states:

This implementation fully supports C++ exceptions and RTTI.

But all attempts using exceptions fail. An alternative NDK exists on http://www.crystax.net/android/ndk-r4.php. Even the hello-jni example from that site does not work. Compliation works after creating an Application.xml with

APP_STL := gnustl_static

But it dies the same horrific death as my own experiments.

Am I am missing something or is the statement in the README just plain wrong?

© Stack Overflow or respective owner

Related posts about c++

Related posts about exception