在 2025-5-31 20:26, Pali Rohár 写道:
Some of them are documented as PRIVATE in MS linker documentation: https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-warning-lnk4104 https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-warning-lnk4222If both llvm and binutils supports PRIVATE keyword in def files then we could mark them as PRIVATE. Otherwise put ';' at beginning of the line as a comment.
Thanks for the links. I have updated my list to include all of them.When generating an import lib, `PRIVATE` has the same effect as commenting out the symbol. It is a normal keyword when building a DLL; I don't see why it's not supported.
-- 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