这是一个创建于 4110 天前的主题,其中的信息可能已经有所发展或是发生改变。
Linking C shared library libobjc.so
clang: warning: argument unused during compilation: '-std=gnu99'
[ 45%] Built target objc
Scanning dependencies of target objcxx
[ 47%] Building CXX object CMakeFiles/objcxx.dir/objcxx_eh.cc.o
Linking C shared library libobjcxx.so
clang: warning: argument unused during compilation: '-std=gnu99'
[ 47%] Built target objcxx
Scanning dependencies of target AllocatePair
[ 48%] Building CXX object Test/CMakeFiles/AllocatePair.dir/AllocatePair.m.o
clang: warning: argument unused during compilation: '-fobjc-runtime=gnustep-1.7'
Linking C executable AllocatePair
clang: warning: argument unused during compilation: '-std=gnu99'
[ 48%] Built target AllocatePair
Scanning dependencies of target AllocatePair_optimised
[ 50%] Building CXX object Test/CMakeFiles/AllocatePair_optimised.dir/AllocatePair.m.o
clang: warning: argument unused during compilation: '-fobjc-runtime=gnustep-1.7'
Linking C executable AllocatePair_optimised
clang: warning: argument unused during compilation: '-std=gnu99'
[ 50%] Built target AllocatePair_optimised
Scanning dependencies of target BlockImpTest
[ 51%] Building CXX object Test/CMakeFiles/BlockImpTest.dir/BlockImpTest.m.o
clang: warning: argument unused during compilation: '-fobjc-runtime=gnustep-1.7'
Linking C executable BlockImpTest
clang: warning: argument unused during compilation: '-std=gnu99'
[ 51%] Built target BlockImpTest
Scanning dependencies of target BlockImpTest_optimised
[ 52%] Building CXX object Test/CMakeFiles/BlockImpTest_optimised.dir/BlockImpTest.m.o
clang: warning: argument unused during compilation: '-fobjc-runtime=gnustep-1.7'
Linking C executable BlockImpTest_optimised
clang: warning: argument unused during compilation: '-std=gnu99'
[ 52%] Built target BlockImpTest_optimised
Scanning dependencies of target BlockTest_arc
[ 54%] Building CXX object Test/CMakeFiles/BlockTest_arc.dir/BlockTest_arc.m.o
clang: warning: argument unused during compilation: '-fobjc-runtime=gnustep-1.7'
error: -fobjc-arc is not supported with fragile abi
make[2]: *** [Test/CMakeFiles/BlockTest_arc.dir/BlockTest_arc.m.o] 错误 1
make[1]: *** [Test/CMakeFiles/BlockTest_arc.dir/all] 错误 2
make: *** [all] 错误 2
4 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
fangzhzh 2013-08-13 14:35:59 +08:00
error: -fobjc-arc is not supported with fragile abi, 不用对这个文件使用arc的标志, 换句话说你如果是一个arc的项目, 需要对这个这个文件使用 -fobjc-noarc 标志. 另: 查一下是不是: -fobjc-noarc, 大概是的
|
|
|
2
hcw1588 2013-08-13 14:57:21 +08:00
|