读书人

xcdoe4.2中通过ARC来编译总会遇到

发布时间: 2012-08-22 09:50:35 作者: rapoo

xcdoe4.2中,通过ARC来编译,总会遇到一些问题,比如原先使用c语言模块

很多时候,在使用Automatic Reference Counting的是时候,会提示一些很陌生的的错误提示,特别是使用conver to arc后,

?

比如bridged cast?

给你的c代码上面加个_bridged。

?

这里面有个详细的描述,

?

A?bridged cast?is a C-style cast annotated with one of three keywords:

读书人网 >C语言

热点推荐