2026-03-20 11:51 ftp://ftp.de.debian.org/debian/pool/main/b/bitmeter/bitmeter_1.2.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 -j1 platform: Linux-6.8.0-106-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 4412833 (2026-03-20 08:27:05 +0100) count: 22 22 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: bitmeter-1.2/src/callbacks.c:29:58: style: Parameter 'button' can be declared as pointer to const [constParameterPointer] bitmeter-1.2/src/callbacks.c:30:58: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] bitmeter-1.2/src/callbacks.c:37:58: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] bitmeter-1.2/src/callbacks.c:38:58: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] bitmeter-1.2/src/callbacks.c:39:58: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] bitmeter-1.2/src/interface.c:126:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] bitmeter-1.2/src/interface.c:137:11: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] bitmeter-1.2/src/interface.c:286:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] bitmeter-1.2/src/interface.c:416:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] bitmeter-1.2/src/interface.c:626:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] bitmeter-1.2/src/interface.c:644:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] bitmeter-1.2/src/interface.c:664:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] bitmeter-1.2/src/jack.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitmeter-1.2/src/jack.c:197:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitmeter-1.2/src/jack.c:77:23: portability: Casting from float * to unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] bitmeter-1.2/src/jack.c:54:18: style: Local variable 'jack_handle' shadows outer variable [shadowVariable] bitmeter-1.2/src/jack.c:19:16: note: Shadowed declaration bitmeter-1.2/src/jack.c:54:18: note: Shadow variable bitmeter-1.2/src/jack.c:77:17: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] bitmeter-1.2/src/jack.c:209:17: style: Parameter 'ignore' can be declared as pointer to const [constParameterPointer] bitmeter-1.2/src/main.c:114:46: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] bitmeter-1.2/src/support.c:66:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] bitmeter-1.2/src/support.c:121:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bitmeter-1.2/src/support.c:59:10: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] diff: DONE