查看具体是那个C文件,然后到该C文件所在目录下找Makefile,找到“-Werror”字段,把“-Werror”字段进行删除即可!
例子:
arm-dis.c:2155:9: error: format not a string literal and no format arguments [-Werror=format-security]
arm-dis.c:2162:9: error: format not a string literal and no format arguments [-Werror=format-security]
解决方案: