2026-02-12 16:23 ftp://ftp.de.debian.org/debian/pool/main/g/gkrelluim/gkrelluim_0.3.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-100-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.19.0 head-info: 052538e (2026-02-12 14:46:48 +0100) count: 15 3 elapsed-time: 0.3 0.1 head-timing-info: old-timing-info: head results: gkrelluim-0.3.2/src/gkrelluim.c:119:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] gkrelluim-0.3.2/src/gkrelluim.c:259:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] gkrelluim-0.3.2/src/uim-helper.c:260:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] gkrelluim-0.3.2/src/uim-helper.c:629:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] gkrelluim-0.3.2/src/uim-helper.c:665:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIM_PIXMAPSDIR [valueFlowBailoutIncompleteVar] gkrelluim-0.3.2/src/uim-helper.c:715:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uim_quit [valueFlowBailoutIncompleteVar] gkrelluim-0.3.2/src/uim-helper.c:254:14: 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] gkrelluim-0.3.2/src/uim-helper.c:168:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] gkrelluim-0.3.2/src/uim-helper.c:207:59: style: Parameter 'menu_shell' can be declared as pointer to const. However it seems that 'prop_menu_shell_deactivate' is a callback function, if 'menu_shell' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrelluim-0.3.2/src/uim-helper.c:300:3: note: You might need to cast the function pointer here gkrelluim-0.3.2/src/uim-helper.c:207:59: note: Parameter 'menu_shell' can be declared as pointer to const gkrelluim-0.3.2/src/uim-helper.c:208:54: style: Parameter 'data' can be declared as pointer to const. However it seems that 'prop_menu_shell_deactivate' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrelluim-0.3.2/src/uim-helper.c:300:3: note: You might need to cast the function pointer here gkrelluim-0.3.2/src/uim-helper.c:208:54: note: Parameter 'data' can be declared as pointer to const gkrelluim-0.3.2/src/uim-helper.c:438:35: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gkrelluim-0.3.2/src/uim-helper.c:586:72: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gkrelluim-0.3.2/src/uim-helper.c:623:54: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] gkrelluim-0.3.2/src/uim-helper.c:640:10: style: Variable 'list' can be declared as pointer to const [constVariablePointer] gkrelluim-0.3.2/src/uim-helper.c:228:18: style: Variable 'menu_item_list' is assigned a value that is never used. [unreadVariable] diff: 2.19.0 gkrelluim-0.3.2/src/uim-helper.c:104:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] head gkrelluim-0.3.2/src/uim-helper.c:168:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] head gkrelluim-0.3.2/src/uim-helper.c:207:59: style: Parameter 'menu_shell' can be declared as pointer to const. However it seems that 'prop_menu_shell_deactivate' is a callback function, if 'menu_shell' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrelluim-0.3.2/src/uim-helper.c:300:3: note: You might need to cast the function pointer here gkrelluim-0.3.2/src/uim-helper.c:207:59: note: Parameter 'menu_shell' can be declared as pointer to const head gkrelluim-0.3.2/src/uim-helper.c:208:54: style: Parameter 'data' can be declared as pointer to const. However it seems that 'prop_menu_shell_deactivate' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gkrelluim-0.3.2/src/uim-helper.c:300:3: note: You might need to cast the function pointer here gkrelluim-0.3.2/src/uim-helper.c:208:54: note: Parameter 'data' can be declared as pointer to const head gkrelluim-0.3.2/src/uim-helper.c:228:18: style: Variable 'menu_item_list' is assigned a value that is never used. [unreadVariable] head gkrelluim-0.3.2/src/uim-helper.c:254:14: 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] head gkrelluim-0.3.2/src/uim-helper.c:260:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] head gkrelluim-0.3.2/src/uim-helper.c:438:35: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] head gkrelluim-0.3.2/src/uim-helper.c:586:72: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head gkrelluim-0.3.2/src/uim-helper.c:623:54: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] head gkrelluim-0.3.2/src/uim-helper.c:629:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] head gkrelluim-0.3.2/src/uim-helper.c:640:10: style: Variable 'list' can be declared as pointer to const [constVariablePointer] head gkrelluim-0.3.2/src/uim-helper.c:665:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UIM_PIXMAPSDIR [valueFlowBailoutIncompleteVar] head gkrelluim-0.3.2/src/uim-helper.c:715:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uim_quit [valueFlowBailoutIncompleteVar] DONE