Hi! PCRE is no longer maintained [1]. It is used for regular expression in the "HAVE_RULES" feature. Cppcheck should move away from using it, as more and more distributions remove its packages and it might break with every new compiler version. This would replace an external dependency by an already required C++ language standard. The idea is not new, Daniel posted the idea 8 years ago. It would be an answer to ticket #14902, too. It will be some work but will reduce the project complexity. [1] https://www.pcre.org...
[ci] Update GitHub Actions to lastest major release
For a couple of weeks cppcheck stopped working for me. Every JSON Compilation Database file I pass to cppcheck is rejected by a syntax error. It is always the last square bracket. The JSON files are created by CMake 4.2, 4.3, and Bear 3.1.6. Even if I try to create a trivial JSON file by hand, I get the error. > /home/gruenich/cppcheck/build/bin/cppcheck compile_commands.json Checking compile_commands.json ... compile_commands.json:260:1: error: syntax error [syntaxError] ] ^ I tried with 2.19, 2.20...
I know. I ended up using chrpath to work around this issue. After creating the 2.20 package, I tried to remove the work around. To my surprise, it works now. So probably a no-issue, but I still don't know what happened with 2.19.
Hello, I tried to update openSuse's cppcheck package to version 2.19. RPM lint complains that cppcheck.x86_64: E: binary-or-shlib-defines-rpath (Badness: 10000) /usr/bin/cppcheck (RUNPATH: /home/abuild/rpmbuild/BUILD/cppcheck-2.19.0-build/cppcheck-2.19.0/build/lib:) cppcheck-gui.x86_64: E: binary-or-shlib-defines-rpath (Badness: 10000) /usr/bin/cppcheck-gui (RUNPATH: /home/abuild/rpmbuild/BUILD/cppcheck-2.19.0-build/cppcheck-2.19.0/build/lib:) The binary or shared library defines RPATH' (orRUNPATH')...
Release version 0.9.0
[cleanup] Remove remaining code paths for Qt 5
Increase required CMake version to 3.22