Ubuntu下解决Make的:cc1plus: warnings being treated as errors

From: http://blog.sina.com.cn/s/blog_a5cf7b9a01011kzt.html


当Make出错,提示cc1plus: warnings being treated as errors,主要原因是 Makefile 里面  gcc 的参数多了一个"-Werror",找到出错的make文件夹,看Make文件里面有没有“-Werror",如果有的话将其删除。重新编译即可。

你可能感兴趣的:(Ubuntu下解决Make的:cc1plus: warnings being treated as errors)