diff options
author | Florent Pruvost <florent.pruvost@inria.fr> | 2025-04-11 15:42:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-04-14 17:27:29 +0200 |
commit | 0f69a4df16488aaf08a2ee1e20b9fc876364cec6 (patch) | |
tree | c3773520eafd0ba34b517b42d3ca780ca9ffa18f /gnu/packages/patches/cppcheck-disable-char-signedness-test.patch | |
parent | 2caa8cb26f5146e8218b3fa37fa8b367d0e2b821 (diff) |
gnu: cppcheck: Update to 2.17.1.
* gnu/packages/check.scm (cppcheck): Update to 2.17.1.
Replace ‘cppcheck-disable-char-signedness-test.patch’ by
‘cppcheck-fix-basedir-test.patch’.
* gnu/packages/patches/cppcheck-disable-char-signedness-test.patch: Remove.
* gnu/packages/patches/cppcheck-fix-basedir-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
Change-Id: Iebd33e2966ef30a3cd5b7b157f1051fcacbe1884
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches/cppcheck-disable-char-signedness-test.patch')
-rw-r--r-- | gnu/packages/patches/cppcheck-disable-char-signedness-test.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gnu/packages/patches/cppcheck-disable-char-signedness-test.patch b/gnu/packages/patches/cppcheck-disable-char-signedness-test.patch deleted file mode 100644 index d39d300f84..0000000000 --- a/gnu/packages/patches/cppcheck-disable-char-signedness-test.patch +++ /dev/null @@ -1,27 +0,0 @@ -https://sources.debian.org/data/main/c/cppcheck/2.10-2/debian/patches/disable-some-tests-about-char-signedness -https://trac.cppcheck.net/ticket/11537 - -Description: Disable some tests affected by char signedness. -Author: Joachim Reichel <reichel@debian.org> -Bug: https://trac.cppcheck.net/ticket/11537 - -Index: cppcheck/test/testcondition.cpp -=================================================================== ---- cppcheck.orig/test/testcondition.cpp -+++ cppcheck/test/testcondition.cpp -@@ -4939,6 +4939,7 @@ private: - "}\n"); - ASSERT_EQUALS("[test.cpp:4]: (style) Condition 'it!=vector.end()' is always true\n", errout.str()); - -+#if 0 - // #11303 - check("void f(int n) {\n" - " std::vector<char> buffer(n);\n" -@@ -4947,6 +4948,7 @@ private: - " buffer.back() == '\\0') {}\n" - "}\n"); - ASSERT_EQUALS("[test.cpp:5]: (style) Condition 'buffer.back()=='\\0'' is always false\n", errout.str()); -+#endif - - // #9353 - check("typedef struct { std::string s; } X;\n" |