keil软件的C99模式 有没有遇到过“..\APP\app.c(325): error: #268: declaration may not appear after executable statement in block”类似这样的错误。 这说明有的数据定义在了函数执行语句后面。 这是由于没有使能c99标准,导致数据定义的位置必须在最前面, 解决办法: 打开c99模式: