2025-09-01 02:31 ftp://ftp.de.debian.org/debian/pool/main/l/lxhotkey/lxhotkey_0.1.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j4 platform: Linux-6.12.41+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: 2ee39fe (2025-08-30 22:07:31 +0200) count: 6 18 elapsed-time: 0.1 0.6 head-timing-info: old-timing-info: head results: lxhotkey-0.1.2/plugins/gtk/gtk.c:352:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] lxhotkey-0.1.2/plugins/gtk/gtk.c:352:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] lxhotkey-0.1.2/plugins/gtk/edit.c:36:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] lxhotkey-0.1.2/plugins/gtk/edit.c:36:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] lxhotkey-0.1.2/src/lxhotkey.c:201:1: error: There is an unknown macro here somewhere. Configuration is required. If FM_MODULE_DEFINE_TYPE is a macro then please configure it. [unknownMacro] lxhotkey-0.1.2/plugins/openbox/openbox.c:1398:1: error: There is an unknown macro here somewhere. Configuration is required. If FM_DEFINE_MODULE is a macro then please configure it. [unknownMacro] diff: 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1078:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1083:22: 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] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1110:22: 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] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1124:22: 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] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1165:22: 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] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1174: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] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1195: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] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1215: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] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:1237:20: style: Local variable 'act' shadows outer variable [shadowVariable] lxhotkey-0.1.2/plugins/gtk/edit.c:1015:21: note: Shadowed declaration lxhotkey-0.1.2/plugins/gtk/edit.c:1237:20: note: Shadow variable 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:306:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LXHotkeyAttr [valueFlowBailoutIncompleteVar] head lxhotkey-0.1.2/plugins/gtk/edit.c:36:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head lxhotkey-0.1.2/plugins/gtk/edit.c:36:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:434:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:439:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:449:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Tab [valueFlowBailoutIncompleteVar] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:597:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LXHotkeyAttr [valueFlowBailoutIncompleteVar] 2.18.0 lxhotkey-0.1.2/plugins/gtk/edit.c:934:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LXHotkeyAttr [valueFlowBailoutIncompleteVar] head lxhotkey-0.1.2/plugins/gtk/gtk.c:352:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head lxhotkey-0.1.2/plugins/gtk/gtk.c:352:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 lxhotkey-0.1.2/plugins/gtk/gtk.c:516:1: error: There is an unknown macro here somewhere. Configuration is required. If FM_DEFINE_MODULE is a macro then please configure it. [unknownMacro] DONE