在 2024-01-18 20:55, Martin Storsjö 写道:
On Thu, 18 Jan 2024, JonY via Mingw-w64-public wrote:Attached patch OK?Changes unsigned int to unsigned long to match __gdtoa due to gcc becoming more strict with pointer types.The change is most probably ok, but can you quote the actual warning/error that it fixes - I don't quite see where this struct/union member type would matter for function prototypes to match. (Recent Clang versions are also quite strict with such things, but hasn't errored out on this yet.)
In C conversions between pointers (and integer) were implicit. If the code was C++, it would have caused errors long ago.
The patch looks good to me, too. Please go ahead and apply. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public