mingw update compile with -std=c++11
<p>I've noticed that with a new mingw version, I can't compile anymore with -std=c++11. It will outputs a bunch of errors, which can be "fixed" by using -std=gnu++11 ( <a href="https://stackoverflow.com/questions/38436542/mingw-cxxtest-bizarre-errors">MinGW / CxxTest bizarre errors</a> ).</p>

<p>This quick hack works, but it doesn't fix the actual problem. How do I compile with c++11 flag? A lot of projects uses c++11, I don't want to change every makefiles to make it work, mingw should handle this ( in fact, It worked on my last version, before updating ).</p>

<p>Example code ( g++ Main.cpp -std=c++11 ):</p>

<pre><code>#include &lt;iostream&gt;
int main()
{
    std::cout &lt;&lt; "ok...." &lt;&lt; std::endl;
    return 0;
}
</code></pre>

<p>Errors: <a href="http://pastebin.com/Zcf8Qqhn" rel="nofollow noreferrer">http://pastebin.com/Zcf8Qqhn</a></p>