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 ( MinGW / CxxTest bizarre errors ).
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 ).
Example code ( g++ Main.cpp -std=c++11 ):
#include <iostream>
int main()
{
std::cout << "ok...." << std::endl;
return 0;
}
Errors: http://pastebin.com/Zcf8Qqhn