2026-05-01 23:40 ftp://ftp.de.debian.org/debian/pool/main/f/fte/fte_0.50.2b6-20110708.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 39 39 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: src/sysdep.h:25:6: error: #error Target not supported. [preprocessorErrorDirective] src/clipprog.cpp:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULLHANDLE [valueFlowBailoutIncompleteVar] src/clipprog.cpp:54:9: style: Condition 'len' is always true [knownConditionTrueFalse] src/clipprog.cpp:40:19: note: Assignment 'shmem="the text"', assigned value is "the text" src/clipprog.cpp:53:17: note: Assignment 'len=strlen(shmem)', assigned value is 8 src/clipprog.cpp:54:9: note: Condition 'len' is always true src/clipprog.cpp:45:18: style: C-style pointer casting [cstyleCast] src/clipprog.cpp:55:27: style: C-style pointer casting [cstyleCast] src/clipprog.cpp:53:9: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] src/clipprog.cpp:48:13: note: len is assigned src/clipprog.cpp:53:9: note: len is overwritten src/clipprog.cpp:35:9: style: Local variable 'hab' shadows outer variable [shadowVariable] src/clipprog.cpp:25:5: note: Shadowed declaration src/clipprog.cpp:35:9: note: Shadow variable src/clipprog.cpp:36:9: style: Local variable 'hmq' shadows outer variable [shadowVariable] src/clipprog.cpp:26:5: note: Shadowed declaration src/clipprog.cpp:36:9: note: Shadow variable src/clipprog.cpp:40:11: style: Variable 'shmem' can be declared as pointer to const [constVariablePointer] src/cliputil.cpp:25:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] src/cliputil.cpp:22:9: style: Unused variable: i [unusedVariable] src/pm_tool.cpp:13:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_CREATE [valueFlowBailoutIncompleteVar] src/pm_tool.cpp:359:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WC_MTOOLBAR [valueFlowBailoutIncompleteVar] src/pm_tool.cpp:375:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ToolBarData [valueFlowBailoutIncompleteVar] src/pm_tool.cpp:16:27: style: C-style pointer casting [cstyleCast] src/pm_tool.cpp:280:45: style: C-style pointer casting [cstyleCast] src/pm_tool.cpp:375:10: style: C-style pointer casting [cstyleCast] src/pm_tool.cpp:378:18: style: C-style pointer casting [cstyleCast] src/pm_tool.cpp:388:12: style: C-style pointer casting [cstyleCast] src/pm_tool.cpp:388:32: style: C-style pointer casting [cstyleCast] src/pm_tool.cpp:369:33: style: Parameter 'items' can be declared as pointer to const [constParameterPointer] src/port.c:474:5: error: #error "Platform not supported." [preprocessorErrorDirective] src/stl_fte.h:37:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY [valueFlowBailoutIncompleteVar] src/stl_fte.h:99:13: style: 'operator=' should return reference to 'this' instance. [operatorEqRetRefThis] src/stl_fte.h:268:10: style: The member function 'fte::vector < fte :: string >::internal_swap' can be static. [functionStatic] src/stl_fte.h:40:13: warning: Class 'aptr' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] src/stl_fte.h:40:13: warning: Class 'aptr' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] src/stl_fte.h:82:5: style: Class 'string' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/stl_fte.h:123:5: style: Class 'string' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/stl_fte.h:166:5: style: Class 'vector < fte :: string >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] src/stl_string.cpp:243:9: style: Condition 's' is always true [knownConditionTrueFalse] src/stl_fte.h:316:15: warning: Either the condition 'l' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] src/stl_fte.h:328:9: note: Assuming that condition 'l' is not redundant src/stl_fte.h:326:18: note: Assignment to 'l=m_end' src/stl_fte.h:316:15: note: Null pointer addition src/stl_fte.h:37:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] src/stl_fte.h:39:2: note: Found duplicate branches for 'if' and 'else'. src/stl_fte.h:37:2: note: Found duplicate branches for 'if' and 'else'. src/stl_string.cpp:30:21: style:inconclusive: Function 'string' argument 1 names different: declaration 's' definition 'c'. [funcArgNamesDifferent] src/stl_fte.h:123:17: note: Function 'string' argument 1 names different: declaration 's' definition 'c'. src/stl_string.cpp:30:21: note: Function 'string' argument 1 names different: declaration 's' definition 'c'. src/stl_string.cpp:39:15: style: Local variable 'slen' shadows outer function [shadowFunction] src/stl_fte.h:132:29: note: Shadowed declaration src/stl_string.cpp:39:15: note: Shadow variable src/stl_string.cpp:53:15: style: Local variable 'slen' shadows outer function [shadowFunction] src/stl_fte.h:132:29: note: Shadowed declaration src/stl_string.cpp:53:15: note: Shadow variable src/stl_string.cpp:71:15: style: Local variable 'slen' shadows outer function [shadowFunction] src/stl_fte.h:132:29: note: Shadowed declaration src/stl_string.cpp:71:15: note: Shadow variable src/stl_string.cpp:85:15: style: Local variable 'slen' shadows outer function [shadowFunction] src/stl_fte.h:132:29: note: Shadowed declaration src/stl_string.cpp:85:15: note: Shadow variable src/stl_fte.h:268:39: style: Parameter 'b' can be declared as reference to const [constParameterReference] diff: DONE