2025-05-06 23:32 ftp://ftp.de.debian.org/debian/pool/main/o/owx/owx_0~20110415.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-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: 8e656e5 (2025-05-06 23:42:00 +0200) count: 46 46 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: owx-0~20110415/src/cli.cc:10:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] owx-0~20110415/src/comm.cc:23:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] owx-0~20110415/src/comm.cc:69:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] owx-0~20110415/src/comm.cc:112:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] owx-0~20110415/src/cmds.cc:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] owx-0~20110415/src/cmds.cc:162:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] owx-0~20110415/src/file.h:22:1: style: The class 'CFileRead' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] owx-0~20110415/src/csv.cc:93:19: style:inconclusive: Technically the member function 'CCsv::Implode' can be const. [functionConst] owx-0~20110415/src/csv.h:17:14: note: Technically the member function 'CCsv::Implode' can be const. owx-0~20110415/src/csv.cc:93:19: note: Technically the member function 'CCsv::Implode' can be const. owx-0~20110415/src/file.h:28:3: style: The destructor '~CFileRead' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] owx-0~20110415/src/file.h:16:11: note: Virtual destructor in base class owx-0~20110415/src/file.h:28:3: note: Destructor in derived class owx-0~20110415/src/file.h:30:15: style: The function 'Open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] owx-0~20110415/src/file.h:18:15: note: Virtual function in base class owx-0~20110415/src/file.h:30:15: note: Function in derived class owx-0~20110415/src/file.h:38:3: style: The destructor '~CFileWrite' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] owx-0~20110415/src/file.h:16:11: note: Virtual destructor in base class owx-0~20110415/src/file.h:38:3: note: Destructor in derived class owx-0~20110415/src/file.h:40:15: style: The function 'Open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] owx-0~20110415/src/file.h:18:15: note: Virtual function in base class owx-0~20110415/src/file.h:40:15: note: Function in derived class owx-0~20110415/src/util.h:9:41: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/cmds.cc:110:3: portability: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] owx-0~20110415/src/cmds.cc:110:3: portability: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] owx-0~20110415/src/cmds.cc:161:3: portability: %X in format string (no. 2) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] owx-0~20110415/src/cmds.cc:161:3: portability: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] owx-0~20110415/src/cmds.cc:16:62: performance: Function parameter 'forbidden' should be passed by const reference. [passedByValue] owx-0~20110415/src/comm.cc:60:17: style: C-style pointer casting [cstyleCast] owx-0~20110415/src/comm.cc:92:10: style: C-style pointer casting [cstyleCast] owx-0~20110415/src/file.cc:23:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] owx-0~20110415/src/file.cc:37:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] owx-0~20110415/src/file.cc:67:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] owx-0~20110415/src/file.cc:83:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] owx-0~20110415/src/file.cc:92:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] owx-0~20110415/src/owx.cc:98:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] owx-0~20110415/src/import.cc:152:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] owx-0~20110415/src/owx.cc:44:51: performance: Function parameter 'av0' should be passed by const reference. [passedByValue] owx-0~20110415/src/export.cc:51:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] owx-0~20110415/src/export.cc:51:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] owx-0~20110415/src/export.cc:142:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] owx-0~20110415/src/export.cc:142:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] owx-0~20110415/src/export.cc:206:3: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] owx-0~20110415/src/export.cc:205:8: style: Local variable 'buf' shadows outer argument [shadowArgument] owx-0~20110415/src/export.cc:168:36: note: Shadowed declaration owx-0~20110415/src/export.cc:205:8: note: Shadow variable owx-0~20110415/src/util.cc:37:2: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] owx-0~20110415/src/util.cc:8:46: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/wouxun.cc:54:15: performance:inconclusive: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). [functionStatic] owx-0~20110415/src/wouxun.h:17:7: note: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). owx-0~20110415/src/wouxun.cc:54:15: note: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). owx-0~20110415/src/import.cc:13:63: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/import.cc:35:63: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/import.cc:54:64: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/import.cc:74:68: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/import.cc:84:62: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/import.cc:94:63: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/import.cc:104:62: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/import.cc:139:69: performance: Function parameter 's' should be passed by const reference. [passedByValue] owx-0~20110415/src/import.cc:209:66: performance: Function parameter 's' should be passed by const reference. [passedByValue] diff: head owx-0~20110415/src/csv.cc:93:19: style:inconclusive: Technically the member function 'CCsv::Implode' can be const. [functionConst] owx-0~20110415/src/csv.h:17:14: note: Technically the member function 'CCsv::Implode' can be const. owx-0~20110415/src/csv.cc:93:19: note: Technically the member function 'CCsv::Implode' can be const. 2.17.0 owx-0~20110415/src/csv.h:17:14: style:inconclusive: Technically the member function 'CCsv::Implode' can be const. [functionConst] owx-0~20110415/src/csv.cc:93:19: note: Technically the member function 'CCsv::Implode' can be const. owx-0~20110415/src/csv.h:17:14: note: Technically the member function 'CCsv::Implode' can be const. head owx-0~20110415/src/wouxun.cc:54:15: performance:inconclusive: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). [functionStatic] owx-0~20110415/src/wouxun.h:17:7: note: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). owx-0~20110415/src/wouxun.cc:54:15: note: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). 2.17.0 owx-0~20110415/src/wouxun.h:17:7: performance:inconclusive: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). [functionStatic] owx-0~20110415/src/wouxun.cc:54:15: note: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). owx-0~20110415/src/wouxun.h:17:7: note: Technically the member function 'CWouxun::PrepareAddress' can be static (but you may consider moving to unnamed namespace). DONE