【发布时间】:2012-01-12 10:12:29
【问题描述】:
我需要在我的 iPad 应用程序中绘制一些图表,所以我遵循了这个教程:
http://recycled-parts.blogspot.com/2011/07/setting-up-coreplot-in-xcode-4.html
我不得不将我的 C/C++/Objective-C 编译器更改为 LLVM GCC 4.2。 (最初是 Apple LLVM Compiler 3.0)。
现在,我无法 _bridge 将 CFStringRef 转换为 NSString。我收到以下错误:
'_bridge' undeclared (first use in a function)
谁能帮我解决这个问题?谢谢。
【问题讨论】:
-
你试过
__bridge和2个_吗? -
我现在就试一试。谢谢 KennyTM。
-
肯尼 - 事实证明贾斯汀的回答是正确的(但是你发现错字是正确的)。感谢您的帮助。
标签: objective-c ios gcc