Implicit declaration of function 'NSFileTypeForHFSTypeCode' is invalid in C99
来源:互联网 发布:淘宝找回密码系统繁忙 编辑:程序博客网 时间:2024/06/08 11:06
1. 问题
FMDatabaseAdditions.m:137:19: Implicit declaration of function 'NSFileTypeForHFSTypeCode' is invalid in C99
2. 办法
加上 红色的code....
#if TARGET_OS_MAC && !TARGET_OS_IPHONE - (NSString*)applicationIDString { NSString *s = NSFileTypeForHFSTypeCode([self applicationID]); assert([s length] == 6); s = [s substringWithRange:NSMakeRange(1, 4)]; return s; } - (void)setApplicationIDString:(NSString*)s { if ([s length] != 4) { NSLog(@"setApplicationIDString: string passed is not exactly 4 chars long. (was %ld)", [s length]); } [self setApplicationID:NSHFSTypeCodeFromFileType([NSString stringWithFormat:@"'%@'", s])]; }#endif
0 0
- Implicit declaration of function 'NSFileTypeForHFSTypeCode' is invalid in C99
- Implicit declaration of function 'NSFileTypeForHFSTypeCode' is invalid in C99
- 报错:Implicit declaration of function 'NSFileTypeForHFSTypeCode' is invalid in C99
- Implicit declaration of function 'sysctlbyname' is invalid in C99
- error : implicit declaration of function CC_MD5 is invalid in C99
- Implicit Declaration of function 'glBindVertexArrayOES' is invalid in c99
- iOS Implicit declaration of function XXX is invalid in C99”
- Implicit declaration of function '' is invalid in C99.
- Implicit declaration of function '*****' is invalid in C99
- Implicit declaration of function 'SecItemExport' is invalid in C99
- iOS Implicit declaration of function XXX is invalid in C99”
- Implicit declaration of function 'sysctl' is invalid in C99
- Implicit declaration of function 'inet_addr' is invalid in C99
- xCode中去除“Implicit declaration of function 'sysctl' is invalid in C99” 警告
- 关于"implicit declaration of function 'gettimeofday' is invalid in c99"的解决
- xcode 中出现 Implicit declaration of function 'xxxx' is invalid in C99” 警告的解决办法
- Implicit declaration of function ‘xxxx’ is invalid in C99” 警告的解决办法
- Xcode解决“Implicit declaration of function 'XXX' is invalid in C99” 警告或报错
- 大数据学习篇:hadoop深入浅出系列之HDFS(七) ——小文件解决方案
- Babel Relay Plugin #Facebook Relay文档翻译#
- Linux下core文件的生成和使用
- 运行Oracle SQL Developer出错
- 辨析String、StringBuffer和StringBuilder
- Implicit declaration of function 'NSFileTypeForHFSTypeCode' is invalid in C99
- POJ2018 最大平均值问题
- exit(0),ExitProcess和ThrminateProcess的区别的联系
- linux下mysql yum 安装 新建用户 设置权限
- Java NIO 系列教程
- 什么是嵌入式,学习嵌入的基本要求
- IOS常用第三方框架
- 钱究竟是什么东西(三)-货币供应量
- ADB not responding. You can wait more,or kill"abd.exe“。。。。。