unrecognized command line option "-Wfatal-errors"

clpppi 2015-07-18 11:41:21
我在Dev编辑器里写了一个非常简单的项目如下图



文件路径我已经导进去了

编译时出现错误:"-Wfatal-errors"如下图
img=https://img-bbs.csdn.net/upload/201507/18/1437233560_849261.png][/img
这是哪里出了问题,请大神赐教,谢谢!!!
...全文
575 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
LubinLew 2015-07-19
  • 打赏
  • 举报
回复
-Wfatal-errors This option causes the compiler to abort compilation on the first error occurred rather than trying to keep going and printing further error messages. 看错误就知道了,你的mingw不支持gcc选项 -Wfatal-errors,把这个编译选项去掉就OK了
clpppi 2015-07-19
  • 打赏
  • 举报
回复
果然,谢谢,大神指导。
clpppi 2015-07-18
  • 打赏
  • 举报
回复

69,369

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧