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

build: fix c-lint checks with bits/xxx includes #1903

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

natoscott
Copy link
Member

We never want to directly include bits/xxx include files, so remove this cppcheck workaround. Working backward from there we need to guard against a cppcheck bug in the way it expands glibs headers instead - and we can't do this in a way that requires updating for every Fedora release, its too obscure (caused wasted time for several folk). So, in the end, simplify the script a bunch and see how we go ...

We never want to directly include bits/xxx include files,
so remove this cppcheck workaround.  Working backward from
there we need to guard against a cppcheck bug in the way
it expands glibs headers instead - and we can't do this in
a way that requires updating for every Fedora release, its
too obscure (caused wasted time for several folk).  So, in
the end, simplify the script a bunch and see how we go ...
More and more workarounds have been added to cppcheck misfirings
to the point that we've decided to drop it in favour of the other
static checkers, which seem to pickup far more interesting issues
anyway (Coverity Scan, GitHub CodeQL).
@natoscott natoscott merged commit f0ec294 into performancecopilot:main Feb 29, 2024
20 checks passed
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