在 2025-8-3 01:41, Pali Rohár 写道:
Interesting. I did not checked this one. I saw that functions are available in lz32.def file, MS doc says to use lz32.lib import lib and lz32.dll runtime, and ms toolchain do not have them in kernel32.lib. So I sent this change to remove duplicate symbols from kernel32.def.As the libkernel32.a is automatically linked to every library and executable by gcc, I think that we should avoid duplicate symbols in libkernel32.a and other libraries. Because it does not have to be predicable from which library would be symbol imported into target application.
OK I suddenly found 'mingw-w64-crt/lib32/kernel32_onecore.def' for libonecore, so this change looks acceptable with a good reason, as it doesn't affect onecore.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
