2025-05-09 21:15 ftp://ftp.de.debian.org/debian/pool/main/c/colortail/colortail_0.3.4+git20191125.ad3bc53.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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 10 9 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: colortail-0.3.4+git20191125.ad3bc53/CfgFileParser.h:38:0: error: #error "You don't have regex.h or gnuregex.h" [preprocessorErrorDirective] colortail-0.3.4+git20191125.ad3bc53/CfgFileParser.h:38:4: error: #error "You don't have regex.h or gnuregex.h" [preprocessorErrorDirective] colortail-0.3.4+git20191125.ad3bc53/Info.cc:38:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] colortail-0.3.4+git20191125.ad3bc53/Info.cc:36:12: performance:inconclusive: Technically the member function 'Info::print' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/OptionsParser.cc:93:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] colortail-0.3.4+git20191125.ad3bc53/OptionsParser.cc:247:20: performance:inconclusive: Technically the member function 'OptionsParser::check_digits' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/OptionsParser.cc:95:8: style: The scope of the variable 'c' can be reduced. [variableScope] colortail-0.3.4+git20191125.ad3bc53/OptionsParser.cc:247:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] colortail-0.3.4+git20191125.ad3bc53/Usage.cc:37:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] colortail-0.3.4+git20191125.ad3bc53/Usage.cc:35:13: performance:inconclusive: Technically the member function 'Usage::print' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/Usage.cc:35:13: note: Technically the member function 'Usage::print' can be static (but you may consider moving to unnamed namespace). diff: head colortail-0.3.4+git20191125.ad3bc53/CfgFileParser.h:38:4: error: #error "You don't have regex.h or gnuregex.h" [preprocessorErrorDirective] head colortail-0.3.4+git20191125.ad3bc53/Info.cc:36:12: performance:inconclusive: Technically the member function 'Info::print' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/Info.cc:36:12: note: Technically the member function 'Info::print' can be static (but you may consider moving to unnamed namespace). 2.17.0 colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/Info.h:30:9: note: Technically the member function 'Info::print' can be static (but you may consider moving to unnamed namespace). head colortail-0.3.4+git20191125.ad3bc53/OptionsParser.cc:247:20: performance:inconclusive: Technically the member function 'OptionsParser::check_digits' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/OptionsParser.cc:247:20: note: Technically the member function 'OptionsParser::check_digits' can be static (but you may consider moving to unnamed namespace). 2.17.0 colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/OptionsParser.h:88:8: note: Technically the member function 'OptionsParser::check_digits' can be static (but you may consider moving to unnamed namespace). head colortail-0.3.4+git20191125.ad3bc53/Usage.cc:35:13: performance:inconclusive: Technically the member function 'Usage::print' can be static (but you may consider moving to unnamed namespace). [functionStatic] colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/Usage.cc:35:13: note: Technically the member function 'Usage::print' can be static (but you may consider moving to unnamed namespace). 2.17.0 colortail-0.3.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/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.4+git20191125.ad3bc53/Usage.h:31:9: note: Technically the member function 'Usage::print' can be static (but you may consider moving to unnamed namespace). DONE