2025-10-31 01:55 ftp://ftp.de.debian.org/debian/pool/main/libr/librsvg/librsvg_2.60.0+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --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.48+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: 98b6ff5 (2025-10-30 22:57:52 +0100) count: 38 39 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: librsvg-2.60.0/doc/load-and-render.c:26:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/gdk-pixbuf-loader/test.c:36:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_INT [valueFlowBailoutIncompleteVar] librsvg-2.60.0/gdk-pixbuf-loader/io-svg.c:217:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_PIXBUF_FORMAT_SCALABLE [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/test-utils.c:10:0: error: failed to evaluate #if condition, undefined function-like macro invocation: PANGO_VERSION_CHECK( ... ) [preprocessorErrorDirective] librsvg-2.60.0/librsvg-c/tests-c/test-utils.c:10:2: error: failed to evaluate #if condition, undefined function-like macro invocation: PANGO_VERSION_CHECK( ... ) [preprocessorErrorDirective] librsvg-2.60.0/librsvg-rebind/librsvg-rebind/sys/tests/layout.c:11:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RsvgDimensionData [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-rebind/librsvg-rebind/sys/tests/constant.c:32:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_ERROR_FAILED [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:32:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_TYPE_HANDLE [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:68:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_TYPE_HANDLE_FLAGS [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:121:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_ERROR [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:407:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_HANDLE_FLAGS_NONE [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:844:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:885:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_CONTENT_COLOR_ALPHA [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:914:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:950:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_UNIT_PX [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1025:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1066:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1140:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1181:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1232:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1315:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1341:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1373:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1392:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1423:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_TYPE_HANDLE [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1435:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_HANDLE_FLAGS_NONE [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1444:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_TYPE_HANDLE [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1464:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_TYPE_HANDLE [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1582:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBRSVG_VERSION [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1599:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rsvg_major_version [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:1721:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RSVG_HANDLE_FLAGS_NONE [valueFlowBailoutIncompleteVar] librsvg-2.60.0/librsvg-c/tests-c/api.c:401:5: warning: Assert statement calls a function which may have desired side effects: 'g_file_get_contents'. [assertWithSideEffect] librsvg-2.60.0/librsvg-c/tests-c/api.c:458:5: warning: Assert statement calls a function which may have desired side effects: 'g_file_get_contents'. [assertWithSideEffect] librsvg-2.60.0/librsvg-c/tests-c/api.c:1733:13: warning: Assert statement calls a function which may have desired side effects: 'ferror'. [assertWithSideEffect] librsvg-2.60.0/librsvg-c/tests-c/api.c:50:42: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] librsvg-2.60.0/librsvg-c/tests-c/api.c:103:40: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] librsvg-2.60.0/librsvg-c/tests-c/api.c:858:37: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] librsvg-2.60.0/librsvg-c/tests-c/api.c:858:56: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] diff: head librsvg-2.60.0/librsvg-c/tests-c/test-utils.c:10:0: error: failed to evaluate #if condition, undefined function-like macro invocation: PANGO_VERSION_CHECK( ... ) [preprocessorErrorDirective] head librsvg-2.60.0/librsvg-c/tests-c/test-utils.c:10:2: error: failed to evaluate #if condition, undefined function-like macro invocation: PANGO_VERSION_CHECK( ... ) [preprocessorErrorDirective] 2.18.0 librsvg-2.60.0/librsvg-c/tests-c/test-utils.c:233:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TEST_DIST [valueFlowBailoutIncompleteVar] 2.18.0 librsvg-2.60.0/librsvg-c/tests-c/test-utils.c:36:14: style: Variable 'row_a' can be declared as pointer to const [constVariablePointer] 2.18.0 librsvg-2.60.0/librsvg-c/tests-c/test-utils.c:36:22: style: Variable 'row_b' can be declared as pointer to const [constVariablePointer] DONE