diff --git a/cppcheck-2.16.2.tar.gz b/cppcheck-2.16.2.tar.gz deleted file mode 100644 index aac25c8..0000000 --- a/cppcheck-2.16.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:521b996cb56b0c30f89e022abcb50aef85d7219cb7a7162fa81fe40fe6394206 -size 3846122 diff --git a/cppcheck-2.17.1.tar.gz b/cppcheck-2.17.1.tar.gz new file mode 100644 index 0000000..6f74963 --- /dev/null +++ b/cppcheck-2.17.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4792f9487aef94546606fabe45edeb9a78f4557b07ef887accc1d804287a2e9c +size 3872580 diff --git a/cppcheck.changes b/cppcheck.changes index e6f1d86..da7081f 100644 --- a/cppcheck.changes +++ b/cppcheck.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Wed Feb 26 09:39:24 UTC 2025 - Dirk Müller + +- update to 2.17.1: + * New checks: + - staticFunction: detect functions that should have internal + linkage since they are not used outside of their translation + unit (C code only). + - Check null pointer return from memory/resource allocation + functions (nullPointerOutOfMemory, + nullPointerArithmeticOutOfMemory, nullPointerOutOfResources, + ctunullpointerOutOfMemory, + ctunullpointerOutOfResources). + * Changed interface: + - Added `reduced` check level. It can be activated with + `--check-level=reduced`. You get faster analysis + but some fewer results. The motivation is to be able to make + analysis time "acceptable" for direct usage. + - Added `--report-type` option. Enables printing of guidelines + and classifications for several coding + standards in place of the regular error identifiers and + severities. + * Other: + - Removed deperecated support for builds via qmake. + - Using a handwritten rule texts file for MISRA C addon + violates license and copyright terms. See the + manual for instructions how to download a official rule + texts file from MISRA. +- switch to qt6 + ------------------------------------------------------------------- Fri Dec 20 20:45:05 UTC 2024 - Christoph G diff --git a/cppcheck.spec b/cppcheck.spec index 8166ec3..534c327 100644 --- a/cppcheck.spec +++ b/cppcheck.spec @@ -1,7 +1,7 @@ # # spec file for package cppcheck # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: cppcheck -Version: 2.16.2 +Version: 2.17.1 Release: 0 Summary: A tool for static C/C++ code analysis License: GPL-3.0-or-later @@ -27,18 +27,18 @@ BuildRequires: cmake BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: libqt5-linguist-devel BuildRequires: pkgconfig BuildRequires: python3-base +BuildRequires: qt6-linguist-devel BuildRequires: xsltproc BuildRequires: z3-devel -BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: pkgconfig(Qt5Help) -BuildRequires: pkgconfig(Qt5Network) -BuildRequires: pkgconfig(Qt5PrintSupport) -BuildRequires: pkgconfig(Qt5Test) -BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt6Core) +BuildRequires: pkgconfig(Qt6Gui) +BuildRequires: pkgconfig(Qt6Help) +BuildRequires: pkgconfig(Qt6Network) +BuildRequires: pkgconfig(Qt6PrintSupport) +BuildRequires: pkgconfig(Qt6Test) +BuildRequires: pkgconfig(Qt6Widgets) BuildRequires: pkgconfig(libpcre) ExcludeArch: %ix86 %arm Requires: python3-Pygments @@ -83,6 +83,7 @@ doesn't see. -DBUILD_GUI=ON \ -DBUILD_TESTS=ON \ -DHAVE_RULES=yes \ + -DUSE_QT6=yes \ -DUSE_Z3=yes %cmake_build