2025-07-08 22:48 ftp://ftp.de.debian.org/debian/pool/main/j/jpy/jpy_1.1.0.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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 8 6 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: jpy-1.1.0/pysobug/mypy.c:17:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] jpy-1.1.0/pysobug/mypy.c:24:3: error: Resource leak: handle [resourceLeak] jpy-1.1.0/src/main/c/jpy_compat.h:42:0: error: #error JPY_VERSION_ERROR [preprocessorErrorDirective] jpy-1.1.0/src/main/c/jpy_compat.h:42:2: error: #error JPY_VERSION_ERROR [preprocessorErrorDirective] jpy-1.1.0/pysobug/mypymod.c:45:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'id' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jpy-1.1.0/pysobug/mypymod.c:9:12: note: You might need to cast the function pointer here jpy-1.1.0/pysobug/mypymod.c:45:24: note: Parameter 'self' can be declared as pointer to const jpy-1.1.0/pysobug/mypymod.c:45:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'id' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jpy-1.1.0/pysobug/mypymod.c:9:12: note: You might need to cast the function pointer here jpy-1.1.0/pysobug/mypymod.c:45:40: note: Parameter 'args' can be declared as pointer to const jpy-1.1.0/src/main/c/jni/org_jpy_PyLib.c:2471:0: error: #error JPY_VERSION_ERROR [preprocessorErrorDirective] jpy-1.1.0/src/main/c/jni/org_jpy_PyLib.c:2471:2: error: #error JPY_VERSION_ERROR [preprocessorErrorDirective] diff: head jpy-1.1.0/src/main/c/jni/org_jpy_PyLib.c:2471:2: error: #error JPY_VERSION_ERROR [preprocessorErrorDirective] head jpy-1.1.0/src/main/c/jpy_compat.h:42:2: error: #error JPY_VERSION_ERROR [preprocessorErrorDirective] DONE