cc1: all warnings being treated as errors

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

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

相关文章:

  • 2022-01-01
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2021-07-11
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-07-28
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案