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

Specifying version of cppcheck fails on MacOS and Linux #33

Open
lefticus opened this issue Feb 10, 2022 · 3 comments
Open

Specifying version of cppcheck fails on MacOS and Linux #33

lefticus opened this issue Feb 10, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@lefticus
Copy link
Contributor

lefticus commented Feb 10, 2022

Attempting to set cppcheck: 2.6 on MacOS or Linux fails to install a package.

However, it succeeds with no problem on Windows.

lefticus/json2cpp#7

(invalid syntax for brew?)
MacOS failure: https://github.com/lefticus/json2cpp/runs/5147554453?check_suite_focus=true#step:6:76

(ubuntu 20.04 package manager doesn't know cppcheck version 2.6)
Ubuntu Failure: https://github.com/lefticus/json2cpp/runs/5147554297?check_suite_focus=true#step:6:111

Upvote & Fund

  • I am using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.

  • Thank you in advance for helping prioritize & fund our backlog.

Fund with Polar
@aminya aminya added the bug Something isn't working label Feb 10, 2022
@aminya
Copy link
Owner

aminya commented Feb 10, 2022

We can fix this. Allowing any versions require adding a GitHub-based setup for cppcheck similar to how I do it for llvm and ninja

https://github.com/danmar/cppcheck/releases/

@aminya
Copy link
Owner

aminya commented Feb 10, 2022

Oh, they do not provide binaries for Linux and Macos on Github.

@yapolyak
Copy link

As a follow-up - currently cppcheck-2.7 is being installed for ubuntu-latest - is there still no way to provide explicit (more modern) version? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants