2026-05-06 05:19 ftp://ftp.de.debian.org/debian/pool/main/a/argh/argh_1.3.2+ds.orig.tar.xz 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: 6278f6b (2026-05-05 15:01:04 +0200) count: 22 22 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: argh-1.3.2/argh.h:199:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] argh-1.3.2/argh.h:273:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable failbit [valueFlowBailoutIncompleteVar] argh-1.3.2/argh.h:303:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] argh-1.3.2/argh.h:376:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_digits10 [valueFlowBailoutIncompleteVar] argh-1.3.2/argh.h:394:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_digits10 [valueFlowBailoutIncompleteVar] argh-1.3.2/argh.h:417:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_digits10 [valueFlowBailoutIncompleteVar] argh-1.3.2/argh.h:270:33: style: The member function 'argh::parser::bad_stream' can be static. [functionStatic] argh-1.3.2/argh.h:146:21: note: The member function 'argh::parser::bad_stream' can be static. argh-1.3.2/argh.h:270:33: note: The member function 'argh::parser::bad_stream' can be static. argh-1.3.2/argh.h:300:31: style: The member function 'argh::parser::trim_leading_dashes' can be static. [functionStatic] argh-1.3.2/argh.h:147:19: note: The member function 'argh::parser::trim_leading_dashes' can be static. argh-1.3.2/argh.h:300:31: note: The member function 'argh::parser::trim_leading_dashes' can be static. argh-1.3.2/argh.h:279:24: style: The member function 'argh::parser::is_number' can be static. [functionStatic] argh-1.3.2/argh.h:148:12: note: The member function 'argh::parser::is_number' can be static. argh-1.3.2/argh.h:279:24: note: The member function 'argh::parser::is_number' can be static. argh-1.3.2/argh.h:32:7: style: Class 'stringstream_proxy' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] argh-1.3.2/argh.h:86:7: style: Class 'parser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] argh-1.3.2/argh.h:183:33: error:inconclusive: Pointer addition with NULL pointer. [nullPointerArithmetic] argh-1.3.2/argh_tests.cpp:757:21: note: Calling function 'parse', 2nd argument 'nullptr' value is 0 argh-1.3.2/argh.h:183:33: note: Null pointer addition argh-1.3.2/argh_tests.cpp:52:15: performance: Range variable 'parg' should be declared as const reference. [iterateByValue] argh-1.3.2/argh_tests.cpp:738:17: performance: Range variable 'arg' should be declared as const reference. [iterateByValue] argh-1.3.2/argh_tests.cpp:741:17: performance: Range variable 'arg' should be declared as const reference. [iterateByValue] argh-1.3.2/argh_tests.cpp:353:13: style: Variable 'modes' can be declared as const array [constVariable] argh-1.3.2/example.cpp:13:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] argh-1.3.2/example.cpp:16:14: style: Variable 'pos_arg' can be declared as reference to const [constVariableReference] argh-1.3.2/example.cpp:20:16: style: Variable 'pos_arg' can be declared as reference to const [constVariableReference] argh-1.3.2/example.cpp:24:16: style: Variable 'flag' can be declared as reference to const [constVariableReference] argh-1.3.2/example.cpp:28:16: style: Variable 'param' can be declared as reference to const [constVariableReference] argh-1.3.2/test_package/test_package.cpp:8:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PREFER_PARAM_FOR_UNREG_OPTION [valueFlowBailoutIncompleteVar] diff: DONE