Khan's Notebook GCC/GNU/Linux Delphi/Window Java/Anywhere

路漫漫,长修远,我们不能没有钱
随笔 - 172, 文章 - 0, 评论 - 257, 引用 - 0
数据加载中……

xcode 临时忽略指定类型警告

//忽略未使用函数警告
#pragma clang diagnostic push
#pragma clang diagnostic ignored
"-Wunused-function”
static int aaa(){}
#pragma clang diagnostic pop


//忽略arc performSelector leaks 
#pragma clang diagnostic push
#pragma clang diagnostic ignored
"-Warc-performSelector-leaks"
        [ item.event_target performSelector: item.sector];
#pragma clang diagnostic pop 



强迫症适用 

posted on 2014-10-29 19:27 Khan 阅读(980) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理