Linker errors in Android NDK (undefined reference to `__cxa_end_cleanup')

前端 未结 5 2222
灰色年华
灰色年华 2021-02-07 03:43

I\'m getting this output after adding in a set of code from a colleague:

./obj/local/armeabi/objs/jniWrapper/native.o: In function `_Vector_base\':
D:/opt/androi         


        
5条回答
  •  感情败类
    2021-02-07 04:12

    for me that meant adding -fno-rrti and -fno-exceptions then getting rid of "throw char*" in the code which took care of both.

提交回复
热议问题