GCC_NO_COMMON_BLOCKS = NO
在Apple LLVM编译器3.1 – 代码生成设置下,作为“无通用块”
我想知道:这个旗是用什么来的?
非常感谢
解决方法 从Xcode的快速帮助:In C,allocate even uninitialized global variables in the data section
of the object file,rather than generating them as common blocks.
This has the effect that if the same variable is declared (without
extern ) in two different compilations,you will get an error when you
link them. The only reason this might be useful is if you wish to
verify that the program will work on other systems which always work
this way.
您可以在右窗格中的“显示快速帮助检查器”选项卡下找到快速帮助:
总结以上是内存溢出为你收集整理的objective-c – 什么是GCC_NO_COMMON_BLOCKS用于?全部内容,希望文章能够帮你解决objective-c – 什么是GCC_NO_COMMON_BLOCKS用于?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)