2025-11-22 21:13 ftp://ftp.de.debian.org/debian/pool/main/n/naspro-bridge-it/naspro-bridge-it_0.5.1.orig.tar.bz2 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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 14 14 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: naspro-bridge-it-0.5.1/src/bridge.c:65:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable descriptor [valueFlowBailoutIncompleteVar] naspro-bridge-it-0.5.1/src/manifest.c:106:9: error: There is an unknown macro here somewhere. Configuration is required. If NACORE_LIBC_SIZE_FORMAT_LM is a macro then please configure it. [unknownMacro] naspro-bridge-it-0.5.1/src/plugin.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] naspro-bridge-it-0.5.1/src/pluglib.c:64:51: style: Parameter 'opaque' can be declared as pointer to const [constParameterPointer] naspro-bridge-it-0.5.1/src/preset.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] naspro-bridge-it-0.5.1/src/port.c:28:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] naspro-bridge-it-0.5.1/src/preset.c:13:48: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'preset_value_get_size' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] naspro-bridge-it-0.5.1/src/preset.c:26:34: note: You might need to cast the function pointer here naspro-bridge-it-0.5.1/src/preset.c:13:48: note: Parameter 'opaque' can be declared as pointer to const naspro-bridge-it-0.5.1/src/preset.c:61:50: style: Parameter 'opaque' can be declared as pointer to const [constParameterPointer] naspro-bridge-it-0.5.1/src/plugin.c:186:50: style: Parameter 'opaque' can be declared as pointer to const [constParameterPointer] naspro-bridge-it-0.5.1/src/plugin.c:192:58: style: Parameter 'opaque' can be declared as pointer to const. However it seems that '_nabrit_plugin_cmp' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] naspro-bridge-it-0.5.1/src/plugin.c:75:51: note: You might need to cast the function pointer here naspro-bridge-it-0.5.1/src/plugin.c:192:58: note: Parameter 'opaque' can be declared as pointer to const naspro-bridge-it-0.5.1/src/port.c:106:48: style: Parameter 'opaque' can be declared as pointer to const [constParameterPointer] naspro-bridge-it-0.5.1/src/util.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] naspro-bridge-it-0.5.1/src/util.c:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] naspro-bridge-it-0.5.1/src/util.c:13:55: style: Parameter 'opaque' can be declared as pointer to const [constParameterPointer] diff: DONE