2025-11-22 14:20 ftp://ftp.de.debian.org/debian/pool/main/libx/libxmlb/libxmlb_0.3.24.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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: 31 30 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: libxmlb-0.3.24/src/xb-builder-source-ctx.c:51:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-builder-source-ctx.c:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMappedFile [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-builder-source-ctx.c:175:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEEK_SET [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-builder-source-ctx.c:207:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xb_builder_source_ctx_parent_class [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-builder-source.c:97:14: error: There is an unknown macro here somewhere. Configuration is required. If G_FILE_ATTRIBUTE_TIME_CHANGED is a macro then please configure it. [unknownMacro] libxmlb-0.3.24/src/xb-builder-fixup.c:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GString [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-builder-fixup.c:157:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xb_builder_fixup_parent_class [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-builder-fixup.c:53:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libxmlb-0.3.24/src/xb-builder-fixup.c:87:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libxmlb-0.3.24/src/xb-builder-fixup.c:97:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libxmlb-0.3.24/src/xb-builder-fixup.c:121:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libxmlb-0.3.24/src/xb-builder-source-ctx.c:39:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libxmlb-0.3.24/src/xb-builder-source-ctx.c:138:29: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] libxmlb-0.3.24/src/xb-builder-source-ctx.c:195:48: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libxmlb-0.3.24/src/xb-builder-source-ctx.c:20:9: style: struct member 'XbBuilderSourceCtxPrivate::content_type' is never used. [unusedStructMember] libxmlb-0.3.24/src/xb-opcode-private.h:61:1: error: There is an unknown macro here somewhere. Configuration is required. If G_DEPRECATED_FOR is a macro then please configure it. [unknownMacro] libxmlb-0.3.24/src/xb-common.c:70:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-lzma-decompressor.c:36:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xb_lzma_decompressor_parent_class [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-lzma-decompressor.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_STREAM_INIT [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-lzma-decompressor.c:86:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_RUN [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-lzma-decompressor.c:112:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_RUN [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-lzma-decompressor.c:40:47: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libxmlb-0.3.24/src/xb-machine.c:14:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] libxmlb-0.3.24/src/xb-common.c:18:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] libxmlb-0.3.24/src/xb-query.h:58:1: error: There is an unknown macro here somewhere. Configuration is required. If G_DEPRECATED_FOR is a macro then please configure it. [unknownMacro] libxmlb-0.3.24/src/xb-machine.h:87:1: error: There is an unknown macro here somewhere. Configuration is required. If G_DEPRECATED_FOR is a macro then please configure it. [unknownMacro] libxmlb-0.3.24/src/xb-silo-node.c:29:19: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] libxmlb-0.3.24/src/xb-string.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GChecksum [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-zstd-decompressor.c:32:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xb_zstd_decompressor_parent_class [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-zstd-decompressor.c:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CONVERTER_ERROR [valueFlowBailoutIncompleteVar] libxmlb-0.3.24/src/xb-zstd-decompressor.c:36:47: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] diff: head libxmlb-0.3.24/src/xb-machine.c:14:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError] DONE