I just installed a brand new copy of mingw (32 bit) downloading it from the official project page from Sourceforge. I installed everything in the package, all compilers and
If you are building gmp from source, you need to add the --enable-cxx flag to the configure command.