c89,不能在 for 循环定义变量,很麻烦,所以决定用 c99。在 Makefile 里面的写法如下:

ccflags-y := -std=gnu99 -Wno-declaration-after-statement

参考:https://blog.csdn.net/yangkunhenry/article/details/94703005

发表评论