2025-07-07 13:54 ftp://ftp.de.debian.org/debian/pool/main/c/cycfx2prog/cycfx2prog_0.47.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-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8833e3e (2025-07-07 13:50:36 +0200) count: 29 28 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: cycfx2prog-0.47.orig/cycfx2dev.cc:28:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usb_busses [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usb_busses [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:222:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:319:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:348:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:380:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:434:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:491:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:529:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:551:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:564:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] cycfx2prog-0.47.orig/cycfx2dev.cc:423:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] cycfx2prog-0.47.orig/cycfx2dev.cc:104:45: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:107:40: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:183:46: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:186:41: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:234:12: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:333:12: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:363:12: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:512:20: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:535:3: style: C-style pointer casting [cstyleCast] cycfx2prog-0.47.orig/cycfx2dev.cc:393:16: style: Unsigned expression 'nbytes' can't be negative so it is unnecessary to test it. [unsignedPositive] cycfx2prog-0.47.orig/cycfx2dev.cc:355:17: style: Variable 'dend' can be declared as pointer to const [constVariablePointer] cycfx2prog-0.47.orig/cycfx2dev.cc:509:20: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] cycfx2prog-0.47.orig/cycfx2dev.cc:518:21: style: Variable 'fd' is assigned a value that is never used. [unreadVariable] cycfx2prog-0.47.orig/cycfx2prog.cc:28:0: error: #error CYCFX2PROG_VERSION undefined [preprocessorErrorDirective] cycfx2prog-0.47.orig/cycfx2prog.cc:28:3: error: #error CYCFX2PROG_VERSION undefined [preprocessorErrorDirective] diff: head cycfx2prog-0.47.orig/cycfx2dev.cc:512:20: style: C-style pointer casting [cstyleCast] 2.17.0 cycfx2prog-0.47.orig/cycfx2dev.cc:512:21: style: C-style pointer casting [cstyleCast] head cycfx2prog-0.47.orig/cycfx2prog.cc:28:3: error: #error CYCFX2PROG_VERSION undefined [preprocessorErrorDirective] DONE