mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[GH-ISSUE #300] Please don't use field name "delete". #240
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#240
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 @toge on GitHub (Aug 4, 2020).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/300
Originally assigned to: @jmcnamara on GitHub.
"delete" is C++ reserved word.
So C++ compiler can't compile 0.9.6.
@jmcnamara commented on GitHub (Aug 4, 2020):
Ouch. That shows how long it has been since I've written any C++ and also why Doxygen has colorising that word. :-(
I'll change it to
hideor similar.I should also add a C++ compilation test. I usually don't bother due to all the alloc warnings/errors.
Anyone have any suggestions on how to add a C++ compilation that will catch errors?
@jmcnamara commented on GitHub (Aug 4, 2020):
Fixed in version 0.9.7.
Let me know how you are compiling this with C++ so I can try avoid issues like this in future. Thanks.
@toge commented on GitHub (Aug 4, 2020):
Thank you for your quick response!
Now I can compile 0.9.7, and every code work fine!
I usually compile C++ code with
g++ -std=c++17 -Wall -Wextra -pedantic.g++ 10.2.0 can work fine with your library without any warning messages.
@jmcnamara commented on GitHub (Aug 4, 2020):
How exactly are you compiling. I can't get minizip to compile with those options. If I compile minizip separately I can compile everything else, but with a lot of warnings: