2026-05-03 03:12 ftp://ftp.de.debian.org/debian/pool/main/libd/libdogleg/libdogleg_0.18.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-111-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: e5c4a73 (2026-05-01 11:10:43 +0200) count: 8 8 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: libdogleg-0.18/dogleg.c:17:2: error: failed to evaluate #if condition, undefined function-like macro invocation: CHOLMOD_VER_CODE( ... ) [syntaxError] libdogleg-0.18/sample.c:60:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] libdogleg-0.18/sample.c:233:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libdogleg-0.18/sample.c:282:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libdogleg-0.18/sample.c:176:65: style: Parameter 'cookie' can be declared as pointer to const. However it seems that 'optimizerCallback_dense_products' is a callback function, if 'cookie' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdogleg-0.18/sample.c:423:47: note: You might need to cast the function pointer here libdogleg-0.18/sample.c:176:65: note: Parameter 'cookie' can be declared as pointer to const libdogleg-0.18/sample.c:206:12: style: Variable 'j' can be declared as const array [constVariable] libdogleg-0.18/sample.c:246:26: style: Parameter 'argv' can be declared as const array [constParameter] libdogleg-0.18/sample.c:251:17: style: Variable 'opts' can be declared as const array [constVariable] diff: DONE