cc1: all warnings being treated as errors

在Makefile中找到 -Werror项,删除即可。删除后重新编译。

或设置环境变量 c工程设置
export CFLAGS = "-Wno-error"
c++工程设置
export CXXFLAGS = "-Wno-error"

04-24 13:54