Skip to content

compile error for android jni #4

@berli

Description

@berli

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions