Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore some files when running cppclean #1039

Merged
merged 2 commits into from
Aug 16, 2022
Merged

Ignore some files when running cppclean #1039

merged 2 commits into from
Aug 16, 2022

Conversation

DanRStevens
Copy link
Collaborator

The warnings about unused includes in NAS2D.h are a bit silly, since the purpose of that file is to provide an easy include everything solution, and of course it doesn't use anything it includes.

Similarly, there are some warnings about the TinyXML code that we don't intend to fix. It's external code, and it's due to be eventually replaced by TinyXML2. No need to expend effort on minor warnings in external code which is going to be removed.


Somewhat related to Issue #528

We know it doesn't need to include anything, since it doesn't use
anything. The warning misses the point. The header exists solely to
easily import everything from NAS2D, hence it's supposed to include
everything, even though it uses nothing.
We don't care about warnings in this file. It's external code, which we
don't plan to maintain. If anything, there is a plan to remove it, and
move to TinyXml2, added as an external dependency, rather than embedded
in the source code.
@DanRStevens DanRStevens merged commit 09fac58 into main Aug 16, 2022
@DanRStevens DanRStevens deleted the cppCleanIgnores branch August 16, 2022 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant