cc1plus: all warnings being treated as errors
来源:互联网 发布:ace.min.js是什么 编辑:程序博客网 时间:2024/05/29 02:29
简介
linux下编译Qt源码时出现这样的提示 cc1plus: all warnings being treated as errors
,原因是编译时候gcc配置把警告按错误处理
解决方法
- 在Makefile中找到
-Werror
项,删除即可。删除后重新编译。 或设置环境变量 c工程设置
export CFLAGS = "-Wno-error"
c++工程设置
export CXXFLAGS = "-Wno-error"或自动化配置工具添加选项
./config -no-warnings-are-errors
参考
http://stackoverflow.com/questions/8132594/disable-werror-ini-configure-file
1 0
- cc1plus: all warnings being treated as errors
- JNI Error: cc1plus: all warnings being treated as errors
- cc1plus: warnings being treated as errors
- cc1plus: warnings being treated as errors
- [ns3] all warnings being treated as errors
- NS3编译错误cc1plus: all warnings being treated as errors解决方法
- cc1: all warnings being treated as errors 解决办法
- all warnings being treated as errors报错解决
- all warnings being treated as errors报错解决
- Ubuntu下解决Make的:cc1plus: warnings being treated as errors
- 编译android4.0源码报错cc1plus: warnings being treated as errors
- cc1: warnings being treated as errors
- GCC警告提示错误“cc1:all warnings being treated as errors”
- linux下编译 出现 cc1: warnings being treated as errors
- ndk-build时提示“some warnings being treated as errors”
- ns3编译出现cc1plus: warning being treated as errors的解决方法
- 解决安装交叉调试器arm-gdb时 warnings being treated as errors 错误
- 安装交叉调试器gdb,编译出错cc1: warnings being treated as errors
- java常量池细节
- Longest Palindromic Subsequence
- Webpack学习心得
- bash之字符串处理
- C++编码规则----布局
- cc1plus: all warnings being treated as errors
- Effective java笔记-第九章-异常
- HDU 2074 叠筐(基础字符串处理)
- 欢迎使用CSDN-markdown编辑器
- 页表 段表
- JAVA-练习:购物金额结算
- 文件上传之进度条与图片类型检测
- 1029: 求矩阵的两对角线上的元素之和
- Write a Servlet Application that uses a cookie to track the number of times a user visits a web site