2025-09-12 18:38 ftp://ftp.de.debian.org/debian/pool/main/g/gcab/gcab_1.6.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=zlib --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.43+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: 411a3a7 (2025-09-12 16:54:23 +0200) count: 35 37 elapsed-time: 1.9 1.9 head-timing-info: old-timing-info: head results: gcab-1.6/libgcab/gcab-file.h:83:1: error: There is an unknown macro here somewhere. Configuration is required. If G_DEPRECATED_FOR is a macro then please configure it. [unknownMacro] gcab-1.6/src/gcab-bzero.c:31:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab-fuzz.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab-fuzz.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab.c:134:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcab-1.6/src/gcab.c:134:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcab-1.6/tests/gcab-self-test.c:32:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TEST_DIST [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:80:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:129:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:164:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:180:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:201:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:227:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:240:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:255:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:326:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCAB_COMPRESSION_NONE [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:426:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:459:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:497:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:531:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCAB_COMPRESSION_NONE [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:615:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:62:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_year'. [assertWithSideEffect] gcab-1.6/tests/gcab-self-test.c:64:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_day_of_month'. [assertWithSideEffect] gcab-1.6/tests/gcab-self-test.c:65:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_hour'. [assertWithSideEffect] gcab-1.6/tests/gcab-self-test.c:67:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_second'. [assertWithSideEffect] gcab-1.6/tests/gcab-self-test.c:199:16: style: Variable 'cabfolders' can be declared as pointer to const [constVariablePointer] gcab-1.6/tests/gcab-self-test.c:550:26: style: struct member 'Anonymous4::checksum' is never used. [unusedStructMember] gcab-1.6/libgcab/decomp.c:298:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e [valueFlowBailoutIncompleteVar] gcab-1.6/libgcab/decomp.c:512:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] gcab-1.6/libgcab/decomp.c:100:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gcab-1.6/libgcab/decomp.c:742:14: style: Variable 'hufftbl' can be declared as pointer to const [constVariablePointer] gcab-1.6/libgcab/decomp.c:851:14: style: Variable 'runsrc' can be declared as pointer to const [constVariablePointer] gcab-1.6/libgcab/decomp.c:852:14: style: Variable 'hufftbl' can be declared as pointer to const [constVariablePointer] gcab-1.6/libgcab/decomp.c:1141:18: style: Variable 'dataend' can be declared as pointer to const [constVariablePointer] diff: head gcab-1.6/src/gcab.c:134:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcab-1.6/src/gcab.c:134:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcab-1.6/src/gcab.c:42:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 gcab-1.6/src/gcab.c:59:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] 2.18.0 gcab-1.6/src/gcab.c:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] 2.18.0 gcab-1.6/src/gcab.c:99:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] DONE