标签:gcc code 删除 环境变量 erro 编译 lag werror export
cc1: all warnings being treated as errors
在Makefile中找到 -Werror
项,删除即可。删除后重新编译。
或设置环境变量 c工程设置 export CFLAGS = "-Wno-error"
c++工程设置
export CXXFLAGS = "-Wno-error"
gcc cc1: all warnings being treated as errors
标签:gcc code 删除 环境变量 erro 编译 lag werror export
原文地址:http://www.cnblogs.com/yoyotl/p/7900782.html