在 2023-09-15 22:50, Oleg Tolmatcev 写道:
I have done it, but I don't know if it is necessary because there are
many def files in "lib32" that lack them.

Thanks. Pushed to master now.

The x86 stdcall calling convention requires a suffix; lack of a suffix will cause undefined references. Existent ones without suffixes are most likely bugs. We need to check whether they are really stdcall functions and fix them.


This has to be `GetdfDIJoystick(void);` which makes a difference when compiled 
as C.

I changed it, but was defined like this in the MS header.

In C an empty pair of parentheses indicate that the function takes unknown arguments. I suspect Windows SDK users are mostly C++ anyway, and there is no such difference in C++. It's just Microsoft aren't picky as such.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to