码迷,mamicode.com
首页 > 其他好文 > 详细

将warning设为错误

时间:2014-12-17 15:59:16      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   ar   io   sp   on   div   2014   

在程序编写过程中,我们有时会因为现实情况将现在无法实现的部分功能设为warning

#prama warning ------------------

为了方便查找warning,或查看某部分的警告,可设警告为错误

 

具体操作为:

选中“项目”---》Building Settings ----》搜索warning

并将Treats Warnings as Errors设为YES
如下图所示
bubuko.com,布布扣
bubuko.com,布布扣

将warning设为错误

标签:style   blog   http   ar   io   sp   on   div   2014   

原文地址:http://www.cnblogs.com/Alling/p/4169550.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!