Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 'CIColor *'
来源:互联网 发布:斯巴达刀座淘宝 编辑:程序博客网 时间:2024/05/29 07:37
这是cocos2D版本过旧导致的项目出错,
+ (id) layerWithColor:(ccColor4B)color
{
//return [[[self alloc] initWithColor:color] autorelease];
return [[(CCColorLayer*)[selfalloc]initWithColor:color]autorelease];
}
- Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 'CIColor *'
- Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 'CIColor *'错误
- [cocos2d]Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 解决办法
- Sending 'ViewController' to Parameter of Incompatible Type 'id<xxxDelegate>'
- Sending 'ViewController *const __strong' to parameter of incompatible type 'id<***Delegate>'
- Sending 'ViewController *const __strong' to parameter of incompatible type 'id<***Delegate>'
- Sending 'NSProgress *__strong *' to parameter of incompatible type 'void (^ _Nullable)(NSProgress *
- Sending 'xxx *const __strong' to parameter of incompatible type 'id<aDelegate>'
- Sending 'AppDelegate *const __strong' to parameter of incompatible type 'id<******Delegate>'
- 警告解决办法sending 'viewcontroller *' to parameter of incompatible type 'id UMSocialUIDelegate
- 报错原因:Incompatible pointer types sending 'UIImage *' to parameter of type 'NSString * _Nonnull'
- Sending 'ShareView *const _strong' to parameter of incompatible type 'id<UIAlertViewDelegate>'
- cast of Objective-C pointer type 'NSString *' to C pointer type 'CFStringRef' (aka 'const struct __C
- passing 'char[16]' to parameter of type 'const u8*' (aka 'const unsigned char*') converts between p
- 解决 sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers
- const 定义警告 Sending 'const NSString *__strong' to parameter of type 'NSString * _Nullable'...
- 错误argument of type "char *" is incompatible with parameter of type "LPCWSTR"的解决方法
- 错误argument of type "char *" is incompatible with parameter of type "LPCWSTR"的解决方法
- ./snmpGet: error while loading shared libraries: libsnmp++.so: cannot open shared object file: No su
- Oracle Expdp/Impdp 进行数据迁移的 几点注意事项
- Spring Bean定义
- 2012年通信业十大发展趋势展望
- SVN版本控制器(一)
- Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 'CIColor *'
- Android:pt 、sp、dp之间的换算
- Resource ID #0x7f050001 type #0x12 is not valid
- 快毕业了,看了大牛的总结,自我感悟
- vc利用shell删除非空目录
- PHP中的文件包含
- Azure Storage Access Tools(工欲善其事必先利其器)
- 通过std::stringstream的read和write实现对二进制流的读写
- Loan Commitment