I'm trying to figure out support for exception handling when writing NDK-based libraries. From these links: http://developer.android.com/tools/sdk/ndk/index.html and http://www.kandroid.org/ndk/docs/CPLUSPLUS-SUPPORT.html , I realized that exception handling C ++ is added for NDK> r5 versions, only for the included gnustl runtime. However, does the NDK support C ++ STL? If so, does it also support STL exception handling? Any comments on this?
Android NDK provides support for the GNU STL library and C ++ exception handling. To link to the GNU STL and enable exception handling, put these lines in your Application.mk file:
GNU STL
Application.mk
APP_STL := gnustl_static APP_CPPFLAGS += -fexceptions
Yes, the exceptions that NDK supports are STL exceptions.
Source: https://habr.com/ru/post/1493722/More articles:What is the priority for nested case, for and if loop? - cHow to remove SECONDS field from DateFormat - javaCan I access Http.Context.current () from an arbitrary asynchronous task? - javaHow to show PHP freeze progress using AJAX - jqueryaccess tr module data from c using gfortran and gcc - cSwitching between Google Android API v2 DEBUG API and RELEASE API key - javacfquery: Could not find prepared statement with x descriptor - coldfusionHTML email in 2013. How to control the spacing between elements such as paragraphs and images? - htmlPython Matplotlib Basic animation with FFMpegwriter stops after 820 frames? - pythonMongodb full-text matching precesion matching - mongodbAll Articles