Recently used under Windows Clion, found that the default installation of the MinGW version is too low, resulting in the GCC version is 3.5, is too old, does not support c++11, so manually modified the MinGW version. First go to MinGW's official website to download the latest-mingw-get-setup.exe executable file, downloaded the time the file name is-mingw-get-setup.exe-r, remove the most back of the-R to start execution. After starting the execution, basically the default installation, but the trouble is that at the end of the installation also need to download a large number of related files, the choice of software installation package called MinGW Installer Manager, is automatically bounced out, select all packages, Then choose Package-apply, you can start to download all the files, because there are too many files, I have downloaded the Hog bar. Next on the clion, file-setting-build,execution,deployment-toolchains,using MinGW Home Specifies the MinGW folder you downloaded for yourself. Once specified, Clion will automatically recognize Make,c complie,c++ compile, but it seems to take a little time, not too fast. When the c++11 mode is turned on by default after recognition, there is no need to add a set statement on Cmakelist.txt like Clion under Linux. If your clion bursts with errors such as able to compile a test, then reinstall clion like me.
Enable Clion to support c++11 operations logging under Windows