让CodeBlock支持C99标准

GCC编译器在默认情况下不支持C99而是C94。

具体设置:

设置(Settings)-编译器和调试器设置(Compiler and Debugger Settings),在编译器设置(Compiler Settings)标签页里的其他选项(Other Opeation)的文本框里输入“-std=c99”

posted @ 2011-05-26 14:10  RyanBell  阅读(1848)  评论(0编辑  收藏  举报