Created attachment 625656 [details] [diff] [review] fix v1.0 mingw in mingw-w64 version has limited support for wmain entry point, which was introduced by bug 753123. It requires explicit -municode in linker options and explicit extern "C" in source. The attached patch takes care of that.
Thanks for quick review! https://hg.mozilla.org/integration/mozilla-inbound/rev/eef8337cde96