[Bug 24102] A supposedly trivial d3d demo with a mingw source fails