"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
An easier workaround is:
In Project > edit active target > Build, 增加一个编译标记在 ”Other C Flags“下:
-D__IPHONE_OS_VERSION_MIN_REQUIRED=040100
相关文章推荐
- 如何解决 "This function or variable may be unsafe" 的问题
- jQuery中animate()的方法以及$("body").animate({"scrollTop":top})不被Firefox支持问题的解决
- 【转载】$("body").animate({"scrollTop":top})不被Firefox支持问题的解决
- expected function body after function declarator
- "No previous prototype for function" warning警告错误解决
- Eclipse中编译和运行时使用的JDK和JRE级别问题(关于"Bad version number in .class file"的异常解决)
- 解决 "wordpress 您的密码重设链接无效,请在下方请求新链接" 问题
- 关于"&"运算符效率低下的问题,有什么好的解决办法?
- Eclipse中编写servlet时出现"The import javax.servlet cannot be resolved" 问题解决办法
- 加密解密时遇到的"不正确的数据"以及"要解密的数据长度无效"问题解决方案
- "The MathType DLL cannot be found.Please reinstall MathType"问题解决
- LNK1120: "无法解析的外部命令" LNK2019: "无法解析的外部符号 "void __cdecl Opearate(void)"类似问题的解决方法
- 关于Android4.0 emulator-arm.exe-应用程序错误,内存不能为"read"问题解决方法
- ios开发---解决Xcode的"Could not insert new outlet connection"问题
- 解决 "OperationalError: (sqlite3.OperationalError) no such table: ..."问题
- "undefined reference to" 问题解决方法
- 【原创】Ubuntu 12.04开机弹出"检测到系统程序出现问题"的临时解决方法
- "cannot be resolved or is not a field"问题解决
- "undefined reference to" 问题解决方法
- 解决Linux出现"Device eth0 does not seem to be present"问题