打开options fot target-> C/C++ 在 Misc Controls 中添加 --c99. 转载于:https://www.cnblogs.com/svchao/p/4585034.html