cocos2d 3.17.1ndk移植遇到报错,请问怎么解决?

In file included from jni/…/…/cocos2d/cocos/math/MathUtil.cpp:63:0:
jni/…/…/cocos2d/cocos/math/MathUtilNeon.inl: At global scope:
jni/…/…/cocos2d/cocos/math/MathUtilNeon.inl:46:79: error: attributes are not allowed on a function-definition

我也碰到这个问题了,lz有解决了吗~

改成NDK_TOOLCHAIN_VERSION=clang解决了