您的位置:首页 > 产品设计 > UI/UE

"expected function body after function declarator"问题的解决

2010-11-16 16:36 836 查看
使用了iOS4.1的用户一定遇到过“expected function body after function declarator”的问题,这是一个IOS的4.1 SDK和建设使用LLVM的iPhone模拟器已知的bug。解决办法如下:

An easier workaround is:

In Project > edit active target > Build, 增加一个编译标记在 ”Other C Flags“下:

-D__IPHONE_OS_VERSION_MIN_REQUIRED=040100
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  function iphone ios build os c
相关文章推荐