eclipse+cygwin设置c++11编译环境

来源:互联网 发布:淘宝外贸原单江苏南通 编辑:程序博客网 时间:2024/06/05 17:29

1、设置环境变量

Project->Properties->C++ General->Pahts and Symbols->Symbols(选项卡)




2、

Project->Properties->C/C++ Build > Settings > GCC C++ Compiler > Miscellaneous > other flages ,在原来的基础上添加上 -std=c++11 

对于GCC C compiler, 相似的添加-std=gnu++11 


原创粉丝点击