mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[PR #448] [CLOSED] Fix error: "C++ style comments are not allowed in ISO C90" make compilation on MSYS2 MinGW64 #495
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#495
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?
📋 Pull Request Information
Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/448
Author: @Astha47
Created: 6/17/2024
Status: ❌ Closed
Base:
main← Head:main📝 Commits (2)
c877450fix: change comment style on ioapi.h zip.h to resolve error "C++ style comments are not allowed in ISO C90" in make compilation.3fe26c9Merge pull request #1 from Astha47/fathur-comment-debug📊 Changes
2 files changed (+3 additions, -3 deletions)
View changed files
📝
include/xlsxwriter/third_party/ioapi.h(+2 -2)📝
include/xlsxwriter/third_party/zip.h(+1 -1)📄 Description
libxlsxwriter: Submitting Pull Requests
Pull Requests and Contributing to Libxlsxwriter
All patches and pull requests are welcome but in general you should start with
an issue tracker to describe what you intend to do before you do it.
Getting Started
tracker][issues]. This serves as the focal point for the design discussion.
example to demonstrate them.
make test. See the Running the Test Suite section of the docsfor instructions.
Code Style
The code style is mainly K&R style with 4 space indents.
The author uses GNU indent (
gindent) 2.2.10 with the following options:The indent configuration file is available in the repo. The code
can be indented automatically if the same version of
gindentis used withthe following make command:
Note, make sure you have backed up your files or added them to the index
before running this command.
In general follow the existing style in the code.
Writing and Running Tests
Any significant features should be accompanied by a test. See the
testdirectory and the Running the Test Suite section of the docs for
details of the test setup.
The tests can be run as follows:
Same as:
The functional tests require the Python module pytest as a test runner.
If you have
valgrindinstalled you can use the test suite to check for memory leaks:When you push your changes they will also be tested automatically using
GitHub Actions.
Documentation
The
libxlsxwriterdocumentation is written in Doxygen format in the headerfiles and in additional
.doxfiles in thedocs/srcdirectory of therepo. The documentation can be built as follows:
Example programs
If applicable add an example program to the
examplesdirectory. Examplefiles can be built using:
Copyright and License
Copyright remains with the original author. Do not include additional
copyright claims or Licensing requirements. GitHub and the
gitrepositorywill record your contribution and it will be acknowledged it in the Changes
file.
Submitting the Pull Request
If your change involves several incremental
gitcommits thenrebaseorsquashthem onto another branch so that the Pull Request is a single commitor a small number of logical commits.
Push your changes to GitHub and submit the Pull Request with a hash link to
the to the Issue tracker that was opened above.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.