mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #69] Proposal for source tree structure regarding 3rd party components #59
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @utelle on GitHub (Jul 25, 2016).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/69
Originally assigned to: @jmcnamara on GitHub.
I'd like to propose that you cleanly separate 3rd party components from the source code of
libxlsxwriter.For example, at the moment you have 2 copies of the
miniziprelated header filesioapi.handzip.h, one instance in subdirectoryinclude/xlsxwriter/third_partyand one instance in subdirectorythird_party/minizip. The problem is, that those copies are not identical.In
include/xlsxwriter/third_party/zip.hyou specified 2 additional symbolsNOCRYPTandNOUNCRYPT, while you did not inthird_party/minizip/zip.h.In
third_party/minizip/ioapi.hyou added a check forOpenBSDin line 53, while you did not ininclude/xlsxwriter/third_party/ioapi.h. However, in the latter you added a pragma for GCC.Of the header file
tmpfileplus.hyou also have 2 copies, one ininclude/xlsxwriter/thrid_partyand one inthird_party/tmpfileplus- identical copies in this case.To avoid confusion and potential bugs, I would propose to remove those duplicate header files from
include/xlsxwriter/third_party, and instead to add compiler switches-Ithird_party/minizipand-Ithird_party/tmpfileplusto tell the compiler where to search for header files. Additionally I would add compiler switches-DNOCRYPTand-DNOUNCRYPTinstead of modifying the header filezip.h.@jmcnamara commented on GitHub (Jul 25, 2016):
Thanks, I'll look into it.
@jmcnamara commented on GitHub (Jul 11, 2021):
Closing this issue since I'm probably not going to fix this or change the duplicate header setup.