2026-01-10 08:07 ftp://ftp.de.debian.org/debian/pool/main/m/mailtextbody/mailtextbody_0.1.5.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-90-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.19.0 head-info: 574fffa (2026-01-10 01:51:39 +0100) count: 5 5 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: mailtextbody-0.1.5/mailtextbody.cpp:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARGP_ERR_UNKNOWN [valueFlowBailoutIncompleteVar] mailtextbody-0.1.5/mailtextbody.cpp:84:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] mailtextbody-0.1.5/mailtextbody.cpp:102:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] mailtextbody-0.1.5/mailtextbody.cpp:50:32: style: C-style pointer casting [cstyleCast] mailtextbody-0.1.5/mailtextbody.cpp:49:41: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'parse_opt' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mailtextbody-0.1.5/mailtextbody.cpp:63:42: note: You might need to cast the function pointer here mailtextbody-0.1.5/mailtextbody.cpp:49:41: note: Parameter 'arg' can be declared as pointer to const diff: DONE