Conversation
Using miniz-cpp from multiple translation units caused linker error. Done: marked declarations as static for correct linking from multiple translation units.
|
@kstenschke thanks, this is helpful |
|
Greetings from the GNU Guix community. Merging this pull request would help us in packaging docxBox. Guix issue tracker reference here. Thanks for considering the merge. |
|
I think a better approach is to #define MINIZ_HEADER_FILE_ONLY everywhere so only declarations get included. Then in one file include it with that macro #undefed. This is similar to how stb libraries are used. However:
Sadly I can't use miniz-cpp in its current form. It needs to be patched. |
Using miniz-cpp from multiple translation units caused linker error.
Done: marked declarations as static for correct linking from multiple translation units.