2024-03-26 17:47 ftp://ftp.de.debian.org/debian/pool/main/c/colortail/colortail_0.3.3.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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 61552d0 (2024-03-26 14:25:53 +0100) count: 9 9 elapsed-time: 0.0 0.0 head-timing-info: old-timing-info: head results: colortail-0.3.3/CfgFileParser.h:38:0: error: #error "You don't have regex.h or gnuregex.h" [preprocessorErrorDirective] colortail-0.3.3/Info.cc:38:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] colortail-0.3.3/Info.h:30:9: performance:inconclusive: Technically the member function 'Info::print' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.3/Info.cc:36:12: note: Technically the member function 'Info::print' can be static (but you may consider moving to unnamed namespace). colortail-0.3.3/Info.h:30:9: note: Technically the member function 'Info::print' can be static (but you may consider moving to unnamed namespace). colortail-0.3.3/Usage.cc:37:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] colortail-0.3.3/Usage.h:31:9: performance:inconclusive: Technically the member function 'Usage::print' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.3/Usage.cc:35:13: note: Technically the member function 'Usage::print' can be static (but you may consider moving to unnamed namespace). colortail-0.3.3/Usage.h:31:9: note: Technically the member function 'Usage::print' can be static (but you may consider moving to unnamed namespace). colortail-0.3.3/OptionsParser.cc:93:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] colortail-0.3.3/OptionsParser.h:88:8: performance:inconclusive: Technically the member function 'OptionsParser::check_digits' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.3/OptionsParser.cc:247:20: note: Technically the member function 'OptionsParser::check_digits' can be static (but you may consider moving to unnamed namespace). colortail-0.3.3/OptionsParser.h:88:8: note: Technically the member function 'OptionsParser::check_digits' can be static (but you may consider moving to unnamed namespace). colortail-0.3.3/OptionsParser.cc:95:8: style: The scope of the variable 'c' can be reduced. [variableScope] colortail-0.3.3/OptionsParser.cc:247:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] diff: DONE