KEIL (MDK) 增加对C99的支持

方法1:

配置方法:option -> c/c++ -> misc controls: --c99

KEIL (MDK) 增加对C99的支持

 

方法2:

直接勾选

KEIL (MDK) 增加对C99的支持

 

常见遇到的错误(增加对C99的支持即可)

..\xxx.c(262): error:  #268: declaration may not appear after executable statement in block