2025-09-19 12:17 ftp://ftp.de.debian.org/debian/pool/main/h/hdapsd/hdapsd_20250908.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-83-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 5e54366 (2025-09-19 14:12:30 +0200) count: 5 4 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: hdapsd-20250908/src/hdapsd.c:61:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [preprocessorErrorDirective] hdapsd-20250908/src/hdapsd.c:61:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [preprocessorErrorDirective] hdapsd-20250908/src/input-helper.c:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] hdapsd-20250908/src/input-helper.c:40:30: style: Parameter 'phys' can be declared as pointer to const [constParameterPointer] hdapsd-20250908/src/input-helper.c:58:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] diff: 2.18.0 hdapsd-20250908/src/hdapsd.c:405:18: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_NAME is a macro then please configure it. [unknownMacro] head hdapsd-20250908/src/hdapsd.c:61:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [preprocessorErrorDirective] head hdapsd-20250908/src/hdapsd.c:61:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KERNEL_VERSION( ... ) [preprocessorErrorDirective] DONE