在 2022-03-13 18:35, Colin Finck 写道:
Hello mingw-w64 fellows,
I want to copy two functions ConvertStringToBSTR and ConvertBSTRToString to mingw-w64 to create a comsupp library. But there is something about license which prevents the addition. How can I copy the code without any issue?
What license would be acceptable to you? MIT? BSD? Or does it even need to be CC0?
This comsupp thing isn't going to be part of the runtime, because it isn't linked into executables unless it is referenced by user code. However the runtime license applies anyway [1].
The runtime part is licensed under the Zope License [2], so I suspect it is an option. Some source files, such as 'scardssp_i.c', have explicit notices like 'This file has no copyright assigned and is placed in the Public Domain.' so CC0 should be OK too, if Zope isn't an option for you.
[1] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/COPYING.MinGW-w... [2] https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/COPYING.MinGW-w...