If you want really to use C++11 or C++14 on windows with gcc you should be using one of the following options:
mingw与msys的三个网站
原文:http://www.cnblogs.com/findumars/p/7086636.html