对于warning认为是error的时候,如何关闭警告?
2016-03-04 16:13
393 查看
编译tci &= htons(~VLAN_PCP_MASK);代码的时候遇到
lib/odp-execute.c:649:13: warning: large integer implicitly truncated to unsigned type [-Werror=overflow]
在AM_CFLAGS增加-Wno-error=overflow,于是错误就变为警告了
lib/odp-execute.c:649:13: warning: large integer implicitly truncated to unsigned type [-Woverflow]
基本是提示-Werror=overflow的时候在flag中增加-Wno-error=overflow
lib/odp-execute.c:649:13: warning: large integer implicitly truncated to unsigned type [-Werror=overflow]
在AM_CFLAGS增加-Wno-error=overflow,于是错误就变为警告了
lib/odp-execute.c:649:13: warning: large integer implicitly truncated to unsigned type [-Woverflow]
基本是提示-Werror=overflow的时候在flag中增加-Wno-error=overflow
相关文章推荐
- jquery中断(取消/abort)ajax请求
- Qt移植对USB鼠标键盘、触摸屏的支持
- 怎样才是理想的程序员
- MeanShift算法
- ios 版本更新功能
- js闭包
- iOS开发系列--音频播放、录音、视频播放、拍照、视频录制
- foreach循环
- iframe高度自适应内容
- Asp.Net MVC anti-forgery token的问题:nameidentifier not present
- block,inline和inline-block概念和区别
- SPRING IN ACTION 第4版笔记-第五章BUILDING SPRING WEB APPLICATIONS-004-以query parameters的形式给action传参数(@RequestParam、defaultValue)
- Page_Load 事件
- 图解Nosql(HBase)与传统数据库的区别
- 2016.03.04///Java学习记录①
- java web知识结构
- C语言中const有什么用途
- 我的“技术观”
- 嵌入式linux:字符设备驱动-----按键驱动(中断+poll机制)
- Android图片加载框架Android-Universal-Image-Loader