Hello! IMHO default gcc calling convention needs EBX to be saved. CRTDLL.DLL does not always save it. May be it is better to add __cdecl modifier in all mingw32 headers? Best regards! Nick -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com