- Go to
Toolbar -> Settings -> Compiler - In the
Selected compilerdrop-down menu, make sureGNU GCC Compileris selected - Below that, select the
compiler settingstab and then thecompiler flagstab underneath - In the list below, make sure the box for “
Have g++ follow the C++11 ISO C++ language standard [-std=c++11]” is checked - Click
OKto save