ramlife

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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

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

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

posted on 2020-07-15 14:15  ramlife  阅读(365)  评论(0编辑  收藏  举报