You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: The file was not recognized as source code #47
The problem seems to be the -march=armv5te which is not supported by clang, and then it bails out.
I don't really know how to fix this problem. I can't simply filter out the -march because it might impact some ifdef for supported arch.
Activity
shizhx commentedon Sep 19, 2016
I tried to edit the
compile_commands.jsonand remove some compile options, content become:[ { "command": "cc -c -fpic -I/home/hsz/labs/test/cmake_android/hello-jni/jni -DANDROID -I/home/hsz/App/android-ndk-r10e/platforms/android-3/arch-arm/usr/include -o /home/hsz/labs/test/cmake_android/hello-jni/obj/local/armeabi/objs-debug/hello-jni/hello-jni.o /home/hsz/labs/test/cmake_android/hello-jni/jni/hello-jni.c", "directory": "/home/hsz/labs/test/cmake_android/hello-jni/jni", "file": "/home/hsz/labs/test/cmake_android/hello-jni/jni/hello-jni.c" } ]and that error disappeared……
Generator: Use an argument to ignore driver warnings
ogoffart commentedon Sep 28, 2016
The problem seems to be the
-march=armv5tewhich is not supported by clang, and then it bails out.I don't really know how to fix this problem. I can't simply filter out the -march because it might impact some ifdef for supported arch.
guruz commentedon Jun 14, 2019
@shizhx Any news?