Codeblocks - Project - -std=c++11

1. Codeblocks

  1. Settings -> Compiler…

  2. GNU GCC Compiler
    Codeblocks - Project - -std=c++11

  3. Compiler settings -> Compiler Flags
    Have g++ follow the C++11 ISO C++ language standard [-std=c++11]
    Codeblocks - Project - -std=c++11

  4. OK

2. Project

  1. Project -> Build options…
    Have g++ follow the C++11 ISO C++ language standard [-std=c++11]

  2. Debug
    Codeblocks - Project - -std=c++11

  3. Release
    Codeblocks - Project - -std=c++11

相关文章: