Ios8 仅当使用设备arm_.h时,Xcode6编译错误

Ios8 仅当使用设备arm_.h时,Xcode6编译错误,ios8,xcode6,glkit,Ios8,Xcode6,Glkit,我们最近刚刚更新到Xcode6,我们在arm_neon.h中发现了很多错误,我们正在使用glkit框架构建我们的应用程序 以下是arm_.h中的错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:69:24:neon向量大小必须为64或128位 /Applications/Xcode.app/Contents/

我们最近刚刚更新到Xcode6,我们在arm_neon.h中发现了很多错误,我们正在使用glkit框架构建我们的应用程序

以下是arm_.h中的错误:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:69:24:neon向量大小必须为64或128位 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:978:47:从不同大小的向量“float16x4_t”到向量“int64x1_t”的C样式转换 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:1001:10:C样式从不同大小的标量“uint64_t”(又名“unsigned long long long”)转换为向量“float16x4_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:1020:10:C-style从向量属性转换为不同大小的向量float16x4_ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:1032:51:从不同大小的矢量“float16x4_t”到矢量“int8x8_t”的C样式转换 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:1297:10:内置的shufflevector的前两个参数必须是向量 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm\u neon.h:1389:10:内置\u shuffleevector的前两个参数必须是向量 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3120:10:C样式从不同大小的矢量“float16x4_t”转换为矢量“int8x8_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3142:10:C样式从不同大小的向量“float16x4_t”转换为向量“int16x4_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3164:10:C样式从不同大小的向量“float16x4_t”转换为向量“int32x2_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3186:10:C样式从不同大小的向量“float16x4_t”转换为向量“int64x1_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3208:10:C样式从不同大小的矢量“float16x4_t”转换为矢量“uint8x8_t” /Applications/Xcode.app/Contents/Developer/toolschains/XcodeDefault.xctoolschain/usr/lib/clang/6.0/include/arm_neon.h:3230:10:C样式从不同大小的向量“float16x4_t”转换为向量“uint16x4_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3252:10:C样式从不同大小的向量“float16x4_t”转换为向量“uint32x2_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3274:10:C样式从不同大小的向量“float16x4_t”转换为向量“uint64x1_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3282:10:C样式从不同大小的矢量“int8x8_t”转换为矢量“float16x4_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3284:10:C样式从不同大小的向量“int16x4_t”转换为向量“float16x4_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3286:10:C样式从不同大小的向量“int32x2_t”转换为向量“float16x4_t” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include/arm_neon.h:3288:10:C样式从不同大小的向量“int64x1_t”转换为向量“float16x4_t”

只有当我们尝试在设备中构建它时才会发生,它在模拟器上构建得很好


谢谢。

我对此做了临时修复,直接编辑了arm\u neon.h
\u fp16
更改为短数据类型

编辑:

最终我们发现,我们的项目将fp16定义为导致问题的其他因素