Henri Verbeet hverbeet@gmail.com writes:
No, the issue is that gcc returns the result in eax:edx, but native expects a return parameter, so the reverse of MSVCRT_div(). It's most obvious when running d2d1 tests (not submitted yet) compiled with mingw against Windows.
Mingw implements the Windows convention, so it's different from plain gcc. I'm not sure your test means what you think it means.