2026-05-20 23:45 ftp://ftp.de.debian.org/debian/pool/main/e/erlang-p1-xmpp/erlang-p1-xmpp_1.12.0.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-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: 8bc093c (2026-05-20 08:25:13 +0200) count: 6 6 elapsed-time: 1.5 1.4 head-timing-info: old-timing-info: head results: jid.rl:32:28: style: Parameter 'env' can be declared as pointer to const. However it seems that 'load' is a callback function, if 'env' is declared with const you might also need to cast function pointer(s). [constParameterCallback] jid.rl:103:30: note: You might need to cast the function pointer here jid.rl:32:28: note: Parameter 'env' can be declared as pointer to const jid.rl:83:16: style: Variable 'eof' can be declared as pointer to const [constVariablePointer] xmpp_lang.rl:13:28: style: Parameter 'env' can be declared as pointer to const. However it seems that 'load' is a callback function, if 'env' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xmpp_lang.rl:50:36: note: You might need to cast the function pointer here xmpp_lang.rl:13:28: note: Parameter 'env' can be declared as pointer to const xmpp_lang.rl:34:9: style: Variable 'eof' can be declared as pointer to const [constVariablePointer] xmpp_uri.rl:13:28: style: Parameter 'env' can be declared as pointer to const. However it seems that 'load' is a callback function, if 'env' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xmpp_uri.rl:50:35: note: You might need to cast the function pointer here xmpp_uri.rl:13:28: note: Parameter 'env' can be declared as pointer to const xmpp_uri.rl:34:9: style: Variable 'eof' can be declared as pointer to const [constVariablePointer] diff: DONE