1. IDE: Project -> Properties -> C/C++ Build -> Settings -> Tool Settings ->Cross G++ Complier -> Miscellaneous
右侧:Other flags--->>添加“-std=c++11”
2.IDE: Window -> Preferences -> C/C++ -> Build -> Settings -> Discovery
右侧: CDT GCC Build-in Compiler Settings --->>添加
3.右键属性: Properties -> C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Dialect
添加 -std=c++11 到 other dialect flags 或者列表里面选择 ISO C++11
4.多线程:右键属性: Properties -> C/C++ Build -> Settings -> Tool Settings -> GCC C++ Linker-->Libraries
添加pthread
针对Enable multithreading to use std::thread: Operation not permitted错误