nginx编译下出现error: this statement may fall through [-Werror=implicit-fallthrough=]

当我们执行make时出现如下错误

原因:表示打开gcc的所有警告 -Werror,它要求gcc将所有的警告当成错误进行处理 

解决:vim objs/Makefile 

再次进行make问题解决

当修改Makefile后面还可能出现一系列问题,可以查看:http://www.mamicode.com/info-detail-3008792.html

原文地址:https://www.cnblogs.com/HByang/p/13289657.html