2026-02-15 16:42 ftp://ftp.de.debian.org/debian/pool/main/l/lxlauncher/lxlauncher_0.2.8.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=cairo --library=gtk --library=motif --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: a150ff4 (2026-02-15 12:51:46 +0100) count: 32 9 elapsed-time: 0.5 0.2 head-timing-info: old-timing-info: head results: lxlauncher-0.2.8/src/exo-wrap-table.c:134:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/exo-wrap-table.c:697:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable homogeneous [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/exo-wrap-table.c:160:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] lxlauncher-0.2.8/src/exo-wrap-table.c:456:17: style: Variable 'table' can be declared as pointer to const [constVariablePointer] lxlauncher-0.2.8/src/lxlauncher.c:182:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WRAP_WORD_CHAR [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/lxlauncher.c:293:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/lxlauncher.c:556:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FILTER_CONTINUE [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/lxlauncher.c:620:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MENU_CACHE_TYPE_DIR [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/lxlauncher.c:722:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MENU_CACHE_TYPE_DIR [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/lxlauncher.c:829:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/lxlauncher.c:888:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_NONE [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/lxlauncher.c:176: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] lxlauncher-0.2.8/src/lxlauncher.c:726:21: 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] lxlauncher-0.2.8/src/lxlauncher.c:728:17: 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] lxlauncher-0.2.8/src/lxlauncher.c:729:21: 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] lxlauncher-0.2.8/src/lxlauncher.c:831:5: error: Mismatching allocation and deallocation: file [mismatchAllocDealloc] lxlauncher-0.2.8/src/lxlauncher.c:828:12: note: Mismatching allocation and deallocation: file lxlauncher-0.2.8/src/lxlauncher.c:831:5: note: Mismatching allocation and deallocation: file lxlauncher-0.2.8/src/lxlauncher.c:157:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] lxlauncher-0.2.8/src/lxlauncher.c:448:19: style: Variable 'top' can be declared as pointer to const [constVariablePointer] lxlauncher-0.2.8/src/lxlauncher.c:458:23: style: Variable 'top2' can be declared as pointer to const [constVariablePointer] lxlauncher-0.2.8/src/lxlauncher.c:543:13: style: Variable 'xev' can be declared as pointer to const [constVariablePointer] lxlauncher-0.2.8/src/lxlauncher.c:559:42: style: Parameter 'window' can be declared as pointer to const. However it seems that 'window_delete' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lxlauncher-0.2.8/src/lxlauncher.c:986:5: note: You might need to cast the function pointer here lxlauncher-0.2.8/src/lxlauncher.c:559:42: note: Parameter 'window' can be declared as pointer to const lxlauncher-0.2.8/src/lxlauncher.c:559:59: style: Parameter 'data' can be declared as pointer to const. However it seems that 'window_delete' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lxlauncher-0.2.8/src/lxlauncher.c:986:5: note: You might need to cast the function pointer here lxlauncher-0.2.8/src/lxlauncher.c:559:59: note: Parameter 'data' can be declared as pointer to const lxlauncher-0.2.8/src/lxlauncher.c:872:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] lxlauncher-0.2.8/src/misc.c:313:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_SEARCH_PATH [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/misc.c:48:30: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] lxlauncher-0.2.8/src/vfs-execute.c:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/vfs-execute.c:144:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdk_error_trap_push [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/vfs-execute.c:129:13: style: Redundant initialization for 'new_env'. The initialized value is overwritten before it is read. [redundantInitialization] lxlauncher-0.2.8/src/vfs-execute.c:119:20: note: new_env is initialized lxlauncher-0.2.8/src/vfs-execute.c:129:13: note: new_env is overwritten lxlauncher-0.2.8/src/vfs-utils.c:32:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_LOOKUP_USE_BUILTIN [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/working-area.c:87:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] lxlauncher-0.2.8/src/working-area.c:145:57: style:inconclusive: Function 'get_working_area' argument 2 names different: declaration 'rect' definition 'area'. [funcArgNamesDifferent] lxlauncher-0.2.8/src/working-area.h:5:56: note: Function 'get_working_area' argument 2 names different: declaration 'rect' definition 'area'. lxlauncher-0.2.8/src/working-area.c:145:57: note: Function 'get_working_area' argument 2 names different: declaration 'rect' definition 'area'. lxlauncher-0.2.8/src/working-area.c:41:10: style: Variable 'workareas' can be declared as pointer to const [constVariablePointer] diff: 2.19.0 lxlauncher-0.2.8/src/exo-wrap-table.c:104:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] head lxlauncher-0.2.8/src/exo-wrap-table.c:134:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_INVALID [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/exo-wrap-table.c:160:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] head lxlauncher-0.2.8/src/exo-wrap-table.c:456:17: style: Variable 'table' can be declared as pointer to const [constVariablePointer] head lxlauncher-0.2.8/src/exo-wrap-table.c:697:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable homogeneous [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/lxlauncher.c:157:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] 2.19.0 lxlauncher-0.2.8/src/lxlauncher.c:167:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] head lxlauncher-0.2.8/src/lxlauncher.c:176: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] head lxlauncher-0.2.8/src/lxlauncher.c:182:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WRAP_WORD_CHAR [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/lxlauncher.c:293:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/lxlauncher.c:448:19: style: Variable 'top' can be declared as pointer to const [constVariablePointer] head lxlauncher-0.2.8/src/lxlauncher.c:458:23: style: Variable 'top2' can be declared as pointer to const [constVariablePointer] head lxlauncher-0.2.8/src/lxlauncher.c:543:13: style: Variable 'xev' can be declared as pointer to const [constVariablePointer] head lxlauncher-0.2.8/src/lxlauncher.c:556:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FILTER_CONTINUE [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/lxlauncher.c:559:42: style: Parameter 'window' can be declared as pointer to const. However it seems that 'window_delete' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lxlauncher-0.2.8/src/lxlauncher.c:986:5: note: You might need to cast the function pointer here lxlauncher-0.2.8/src/lxlauncher.c:559:42: note: Parameter 'window' can be declared as pointer to const head lxlauncher-0.2.8/src/lxlauncher.c:559:59: style: Parameter 'data' can be declared as pointer to const. However it seems that 'window_delete' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] lxlauncher-0.2.8/src/lxlauncher.c:986:5: note: You might need to cast the function pointer here lxlauncher-0.2.8/src/lxlauncher.c:559:59: note: Parameter 'data' can be declared as pointer to const head lxlauncher-0.2.8/src/lxlauncher.c:620:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MENU_CACHE_TYPE_DIR [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/lxlauncher.c:722:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MENU_CACHE_TYPE_DIR [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/lxlauncher.c:726:21: 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] head lxlauncher-0.2.8/src/lxlauncher.c:728:17: 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 lxlauncher-0.2.8/src/lxlauncher.c:729:21: 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 lxlauncher-0.2.8/src/lxlauncher.c:829:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/lxlauncher.c:831:5: error: Mismatching allocation and deallocation: file [mismatchAllocDealloc] lxlauncher-0.2.8/src/lxlauncher.c:828:12: note: Mismatching allocation and deallocation: file lxlauncher-0.2.8/src/lxlauncher.c:831:5: note: Mismatching allocation and deallocation: file head lxlauncher-0.2.8/src/lxlauncher.c:872:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] head lxlauncher-0.2.8/src/lxlauncher.c:888:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_KEY_FILE_NONE [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/vfs-execute.c:129:13: style: Redundant initialization for 'new_env'. The initialized value is overwritten before it is read. [redundantInitialization] lxlauncher-0.2.8/src/vfs-execute.c:119:20: note: new_env is initialized lxlauncher-0.2.8/src/vfs-execute.c:129:13: note: new_env is overwritten head lxlauncher-0.2.8/src/vfs-execute.c:144:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdk_error_trap_push [valueFlowBailoutIncompleteVar] head lxlauncher-0.2.8/src/vfs-execute.c:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.19.0 lxlauncher-0.2.8/src/vfs-execute.c:99:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] DONE