gcc编译把警告都输出成错误

-Werror 把所有警告转换为错误,以在警告发生时中止编译过程

原文地址:https://www.cnblogs.com/shenlinken/p/10210772.html