It may not be a GNU vs MSVC problem then, but a nightly vs stable one. Nightly is expected to have bugs. You can confirm or falsify this theory by seeing if nightly MSVC or stable GNU works (I have no idea based on just this much information).
Essentially, other than the obvious difference of compilers, gnu links to the old-and-lame msvcrt.dll, while msvc links to the hot-and-sexy ucrt.dll.
You might have some slightly worse performance or different (better or worse!) security, but generally the difference is really about what libraries you are linking to expect, and whether you are ok with the licensing requirements of the VC build tools (though there's some noise about Microsoft fixing that?)