declaration may not appear after executable statement in block
1、点击魔术棒,进入设置 2、点击c/c++ 检查你的C99 Mode有没有打对勾。如果没有就会提示上述错误。