CppJni icon indicating copy to clipboard operation
CppJni copied to clipboard

compile error for android jni

Open berli opened this issue 10 years ago • 0 comments

it throws following errors... [armeabi] Compile thumb : ne <= decompress.c cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [enabled by default] [armeabi] Compile thumb : ne <= huffman.c cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [enabled by default] [armeabi] Compile thumb : ne <= randtable.c cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [enabled by default] [armeabi] Compile thumb : ne <= unzcrash.c cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [enabled by default] [armeabi] Compile thumb : ne <= ifaddrs.c cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C [enabled by default] [armeabi] Compile++ thumb: ne <= JniHelper.cpp [armeabi] Compile++ thumb: ne <= JniJavaArray.cpp /home/u/CppJni-master/JniJavaArray.cpp: In constructor 'JNI::JavaArray::JavaArray(JNI::JavaEnv, const std::vector&)': /home/u/CppJni-master/JniJavaArray.cpp:8:77: error: type 'JNI::JavaArray' is not a direct base of 'JNI::JavaArray' /home/u/CppJni-master/JniJavaArray.cpp: In constructor 'JNI::JavaArray::JavaArray(JNI::JavaEnv, const std::vector&)': /home/u/CppJni-master/JniJavaArray.cpp:105:74: error: type 'JNI::JavaArray' is not a direct base of 'JNI::JavaArray' /home/u/CppJni-master/JniJavaArray.cpp: In constructor 'JNI::JavaArray::JavaArray(JNI::JavaEnv, const std::vector&)': /home/u/CppJni-master/JniJavaArray.cpp:202:74: error: type 'JNI::JavaArray' is not a direct base of 'JNI::JavaArray'

berli avatar Nov 16 '14 02:11 berli