- Go to
Toolbar -> Settings -> Compiler
- In the
Selected compiler
drop-down menu, make sureGNU GCC Compiler
is selected - Below that, select the
compiler settings
tab and then thecompiler flags
tab 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
OK
to save