转换后,代码中的错误下降了:
C:/Jenkins/workspace/MeCode/src/CMake/openal/../../openal_android/common\math_defs.h:26:21: error: static declaration of 'log2f' follows non-static declaration
static inline float log2f(float f)
^
C:/android_sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include\math.h:38:15: note: previous declaration is here
float log2f(float);
^
1 error generated.
FAILED: C:\android_sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=armv7-none-linux-androideabi16 --gcc-toolchain=C:/android_pack/android_sdk/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64 -Dopenal_EXPORTS -
答案 0 :(得分:0)
这是开放源代码中的错误。如果在其他地方有离线声明,则无法将log2f
定义为嵌入式。