今天遇到了如下的一个错误, Sending 'ccColor4B' (aka 'struct_ccColor4B') to parameter of incompatible type CiColor 网上搜寻解决方案如下,就是要强制设置下类型. 按如下改变: + (id) layerWithColor:(ccColor4B)color {     return [[(CCColorLayer*)[self alloc] initWithColor:color] autorelease];   …
iphone开发出现警告: Sending '__strong typeof (xxx)' (aka 'xxxx *__strong') to parameter of incompatible type 'id<xxx>' 如图: 原因是没有在头文件实现相应协议. 解决方法是在头文件(.h文件)中 @interface 一行后面加上 <协议名> 如图:…
在使用代理的时候, BViewController *BVC = [[BViewController alloc]init]; self.delegate = BVC; 出现这样的警告Assigning to 'id<XXXDelegate>' from incompatible type 'BViewController *__strong' 解决方案: #import "BViewController.h" @interface BViewController ()&l…
WARN  org.glassfish.jersey.internal.Errors - The following warnings have been detected: WARNING: Parameter 1 of type T from public void com.ListVO.setInfoDTOs(T) is not resolvable to a concrete type.WARNING: Parameter infoDTOs of type T from private…
出现 Assigning to 'id<UINavigationControllerDelegate,UIImagePickerControllerDelegate>' from incompatible type 'ManageMessageViewController' 警告 当调用UIImagePickerController时,在进行委托定义是提示Assigning to 'id<UINavigationControllerDelegate,UIImagePickerContro…
I have added a UIImagePickerController to a UIViewController. I have assigned the UIImagePickerControllerDelegate to that UIViewController. When I try to do myPicker.delegate = self; Xcode gifts me with this message: warning: assigning to id from inc…
原因: 你自己写了代理,设置了   delegate = self.但是self 没有遵守这个协议 只需要遵守这个协议就可以消除警告.…
编译报警告 可能是 自定义分类使用协议时出现与父类协议的冲突 解决方法如下:    …
该警告提示信息,是说,设置了代理对象,但是并没有继承它的代理.下图中,可以看出,警告信息提示我们没有继承“CALayerDelegate”的代理. 解决方法,很简单,(在 @interface 文件中继承它的代理即可)如下: 重新编译一下就可以了.…
当Theano报错:No suitable SharedVariable constructor could be found. Are you sure all kwargs are supported? 解决方案:在把变量变成数组类型变量 源代码: self.W = theano.shared(value = W, borrow = True) self.b = theano.shared(value = b, borrow = True) 修改为: self.W = theano.shar…
Foundation库的内容不可谓不多,就算很精简的说篇幅也受不了啊!笨猫一向反对博客文章一下子拖拖拉拉写一大坨!KISS哦!so将上一篇文章再分一篇来说,于是有了这篇,可能还会有(3)哦... 我发现NSString有这样一个类方法蛮有趣的:stringWithContentsOfURL.看名称就知道是直接将get网页的内容,放在字符串这个类而不是以网络扩充的方式添加这个方法还是很有意思哦: #import<Foundation/Foundation.h> int main(int argc…
 整理报错和警告信息,为以后自己查看方便用! [报错1] 信息:Static table views are only valid when embedded in UITableViewController instances 描述:如果 UITableView 不是在 UITableViewController 而是在 UIViewController 中的时候,是不允许将 UITableView 的 Content 属性设置为 Static Cells 的 解决办法:具体参加以下链接:ht…
http://delphi.about.com/od/adptips2006/qt/functionasparam.htm In Delphi, procedural types (method pointers) allow you to treat procedures and functions as values that can be assigned to variables or passed to other procedures and functions. Here's ho…
Oracle的推导参数(Derived Parameters)其实是初始化参数的一种.推导参数值通常来自于其它参数的运算,依赖其它参数计算得出.官方文档关于推导参数(Derived Parameters)的概念如下: Derived Parameters Some initialization parameters are derived, meaning that their values are calculated from the values of other parameters.…
在编译“MustangpeakCommonLib-master.zip”时,遇到了这个问题.网上搜了一下: 处理编译错误"0" is an invalid value for the "DebugInformation" parameter of the "DCC" [摘要:正在装置一个从XE6复造到XE4的控件时涌现编译毛病: [MSBuild Error] 0 is an invalid value for the DebugInformation parameter of the DCC…
在sqlplus中shwo parameter是显示不了隐藏参数的,需要做一个处理,如下所示:    以SYS用户登录: C:\Documents and Settings\guogang>sqlplus / as sysdba; SQL> create or replace view my_v$parameter_with_hidden (NUM,NAME , TYPE , DISPLAY_VALUE ,  ISDEFAULT , ISSES_MODIFIABLE , ISSYS_MODIF…
普通启动: SQL> show parameter pfile NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ spfile string /u01/app/oracle/product/11.2.0 /dbhome_1/dbs/spfilesingle1.or a 以pfile启动 SQL> startup nomount pfile=/home/o…
转自 http://blog.csdn.net/staricqxyz/article/details/8624549 Find internal of "show parameter" by session tracing SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Datab…
这两天看了盖国强老师的<<深入浅出>>,很佩服盖老师钻研的精神.书中常用到一个查询语句,为了获取当前会话的跟踪文件路径,sql如下: SELECT d.VALUE || '/' ))) || '_ora_' || p.spid || '.trc' trace_file_name AND s.SID = m.SID AND p.addr = s.paddr) p, ----获取当前会话的系统进程id ( OR t.thread# = TO_NUMBER (v.VALUE))) i,…
在安装一个从XE6复制到XE4的控件时出现编译错误: [MSBuild Error] "0" is an invalid value for the "DebugInformation" parameter of the "DCC" task. The "DebugInformation" parameter is of type "System.Boolean". 在XE6下编译安装好好的,delphi…
本文转自:http://www.cnblogs.com/fangwenyu/archive/2011/01/06/1926774.html 问题描述 在尝试通过show parameter来查看一个参数的时候,遇到了ora-00942: table or view does not exist的错误提示,如下, SQL> show user USER is "SCOTT" SQL> show parameter nls_sort; ORA-00942: table or v…
原文地址 由于工作原因,要使用ASP.NET WEBAPI(非mvc webapi),前几天时间一直很紧张,所以webapi一直将就用,今天下午好不容易有时间终于看了下,解决了自己一直疑惑的问题,在此特贴出,给大家分享. Here’s an overview of how WebAPI binds parameters to an action method.  I’ll describe how parameters can be read, the set of rules that det…
重启RAC时发现32004,后来才发现DG已经不存在了standby_archive_dest还在生效中,而background_dump_dest和user_dump_dest并没在pfile中出现,最后注释了standby_archive_destOK了纠结了一段时间,遇到问题多尝试一下是必要的奇怪的是alter日志中并没提示因为这个参数影响的,也没说另外2个参数 Connected to:Oracle Database 11g Enterprise Edition Release 11.2…
处理编译错误"0" is an invalid value for the "DebugInformation" parameter of the "DCC" [摘要:http://blog.csdn.net/jiaxing1208/article/details/38071301 处置惩罚编译毛病"0" is an invalid value for the "DebugInformation" parameter of the "DCC" t…
[编程语言]C# [数据库]MySQL [控件]GridView [问题描述]GridView控件中自带[删除],[编辑],[选择],三个按钮[编辑],[选择]正常使用,但是在使用删除时,却报错Parameter index is out of range 报错页面截图如下: [代码] aspx <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="icode.aspx.cs"…
本文永久地址为http://www.cnblogs.com/ChenYilong/p/4052362.html ,转载请注明出处. iOS开发关于Block代码错误 Incompatible block pointer types sending 'void (^)([ClassNameA]] *__strong)' to parameter of type '[BlockName]' (aka 'void (^)([ClassNameB]] *__strong)') 典型传参错误,[Block…
引言: 在iOS开发过程中, 我们可能会碰到一些系统方法弃用, weak.循环引用.不能执行之类的警告. 有代码洁癖的孩子们很想消除他们, 今天就让我们来一次Fuck 警告!! 首先学会基本的语句: #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" 中间这里写出现警告的代码 #pragma clang diagnostic pop 这样就消除了方法弃用的警…
Warning Message -WCFString-literal input conversion stopped due to an input byte that does not belong to the input codeset UTF-8 -WNSObject-attribute __attribute ((NSObject)) may be put on a typedef only, attribute is ignored -Wabstract-vbase-init in…
这篇博客的内容都是记的网上的.是流水账.只是记录下来以便日后之有,避免每次重新google. #pragma除了可以用来把不同功能的代码进行分隔组织外还可以用来disable一些warnings.这在引入一些第三方带有warnings的库的时候很有用. #pragma用处:http://nshipster.com/pragma/ #Clang Diagnostics: http://nshipster.com/clang-diagnostics/ Clang warning strings和fl…
Semantic Warnings Warning Message -WCFString-literal input conversion stopped due to an input byte that does not belong to the input codeset UTF-8 -WNSObject-attribute         __attribute ((NSObject)) may be put on a typedef only, attribute is ignore…