2026-05-28 16:26 ftp://ftp.de.debian.org/debian/pool/main/p/pdm-backend/pdm-backend_2.4.8+ds1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-117-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: f1379d6 (2026-05-28 13:47:32 +0200) count: 6 6 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension-in-src/src/my_package/hellomodule.c:6:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension-in-src/src/my_package/hellomodule.c:3:39: style: Parameter 'self' can be declared as pointer to const. However it seems that 'helloworld' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension-in-src/src/my_package/hellomodule.c:10:21: note: You might need to cast the function pointer here pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension-in-src/src/my_package/hellomodule.c:3:39: note: Parameter 'self' can be declared as pointer to const pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension-in-src/src/my_package/hellomodule.c:3:55: style: Parameter 'args' can be declared as pointer to const. However it seems that 'helloworld' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension-in-src/src/my_package/hellomodule.c:10:21: note: You might need to cast the function pointer here pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension-in-src/src/my_package/hellomodule.c:3:55: note: Parameter 'args' can be declared as pointer to const pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension/my_package/hellomodule.c:6:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension/my_package/hellomodule.c:3:39: style: Parameter 'self' can be declared as pointer to const. However it seems that 'helloworld' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension/my_package/hellomodule.c:10:21: note: You might need to cast the function pointer here pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension/my_package/hellomodule.c:3:39: note: Parameter 'self' can be declared as pointer to const pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension/my_package/hellomodule.c:3:55: style: Parameter 'args' can be declared as pointer to const. However it seems that 'helloworld' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension/my_package/hellomodule.c:10:21: note: You might need to cast the function pointer here pdm-backend-2.4.8/tests/fixtures/projects/demo-cextension/my_package/hellomodule.c:3:55: note: Parameter 'args' can be declared as pointer to const diff: DONE