http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47260
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |WAITING --- Comment #10 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-13 18:08:27 UTC --- Should be fixed on the trunk (4.6) --both issues - using STDCALL directly and using a .def file. Please confirm that it works. (I know that it unfortunately might take a few days until a newer MinGW build becomes available, unless you build GCC yourself.)