2025-11-06 16:10 ftp://ftp.de.debian.org/debian/pool/main/libw/libwnck3/libwnck3_43.3.orig.tar.xz 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.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: 2c5b872 (2025-11-06 13:42:16 +0200) count: 74 74 elapsed-time: 0.4 0.5 head-timing-info: old-timing-info: head results: libwnck-43.3/libwnck/application.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/application.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/class-group.h:24:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/class-group.h:24:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/pager.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/pager.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/screen.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/screen.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/selector.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/selector.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/test-pager.c:37:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-pager.c:91:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_CLIENT_TYPE_APPLICATION [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/tasklist.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/tasklist.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/test-selector.c:34:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_CLIENT_TYPE_APPLICATION [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-icon-cache.c:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_CARDINAL [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-icon-cache.c:143:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-icon-cache.c:205:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-icon-cache.c:229:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IconPixmapHint [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-icon-cache.c:249:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IconPixmapHint [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-icon-cache.c:319:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XUrgencyHint [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-icon-cache.c:360:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_LARGE_TOOLBAR [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-icon-cache.c:492:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WnckHandle [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-shutdown.c:43:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_CLIENT_TYPE_APPLICATION [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-tasklist.c:34:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-tasklist.c:77:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_CLIENT_TYPE_APPLICATION [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-urgent.c:75:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/util.h:24:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/util.h:24:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/test-icon-cache.c:81:20: style: Variable 'pixels' can be declared as pointer to const [constVariablePointer] libwnck-43.3/libwnck/window-action-menu.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/window-action-menu.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/window.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/window.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/test-wnck.c:86:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_CLIENT_TYPE_APPLICATION [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-wnck.c:293:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_STATE_MINIMIZED [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-wnck.c:407:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_TYPE_WINDOW [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/test-wnck.c:509:3: error: Returning/dereferencing 'window' after it is deallocated / released [deallocret] libwnck-43.3/libwnck/test-wnck.c:506:7: note: Returning/dereferencing 'window' after it is deallocated / released libwnck-43.3/libwnck/test-wnck.c:509:3: note: Returning/dereferencing 'window' after it is deallocated / released libwnck-43.3/libwnck/test-wnck.c:171:51: style: Parameter 'screen' can be declared as pointer to const. However it seems that 'active_workspace_changed_callback' is a callback function, if 'screen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:93:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:171:51: note: Parameter 'screen' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:172:51: style: Parameter 'previous_workspace' can be declared as pointer to const. However it seems that 'active_workspace_changed_callback' is a callback function, if 'previous_workspace' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:93:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:172:51: note: Parameter 'previous_workspace' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:173:51: style: Parameter 'data' can be declared as pointer to const. However it seems that 'active_workspace_changed_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:93:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:173:51: note: Parameter 'data' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:179:51: style: Parameter 'screen' can be declared as pointer to const. However it seems that 'window_stacking_changed_callback' is a callback function, if 'screen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:96:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:179:51: note: Parameter 'screen' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:180:51: style: Parameter 'data' can be declared as pointer to const. However it seems that 'window_stacking_changed_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:96:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:180:51: note: Parameter 'data' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:235:51: style: Parameter 'screen' can be declared as pointer to const. However it seems that 'workspace_created_callback' is a callback function, if 'screen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:105:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:235:51: note: Parameter 'screen' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:236:51: style: Parameter 'space' can be declared as pointer to const. However it seems that 'workspace_created_callback' is a callback function, if 'space' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:105:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:236:51: note: Parameter 'space' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:237:51: style: Parameter 'data' can be declared as pointer to const. However it seems that 'workspace_created_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:105:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:237:51: note: Parameter 'data' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:243:51: style: Parameter 'screen' can be declared as pointer to const. However it seems that 'workspace_destroyed_callback' is a callback function, if 'screen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:108:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:243:51: note: Parameter 'screen' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:244:51: style: Parameter 'space' can be declared as pointer to const. However it seems that 'workspace_destroyed_callback' is a callback function, if 'space' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:108:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:244:51: note: Parameter 'space' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:245:51: style: Parameter 'data' can be declared as pointer to const. However it seems that 'workspace_destroyed_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:108:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:245:51: note: Parameter 'data' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:251:47: style: Parameter 'screen' can be declared as pointer to const. However it seems that 'application_opened_callback' is a callback function, if 'screen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:111:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:251:47: note: Parameter 'screen' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:252:47: style: Parameter 'app' can be declared as pointer to const. However it seems that 'application_opened_callback' is a callback function, if 'app' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:111:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:252:47: note: Parameter 'app' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:259:47: style: Parameter 'screen' can be declared as pointer to const. However it seems that 'application_closed_callback' is a callback function, if 'screen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:114:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:259:47: note: Parameter 'screen' can be declared as pointer to const libwnck-43.3/libwnck/test-wnck.c:260:47: style: Parameter 'app' can be declared as pointer to const. However it seems that 'application_closed_callback' is a callback function, if 'app' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/test-wnck.c:114:3: note: You might need to cast the function pointer here libwnck-43.3/libwnck/test-wnck.c:260:47: note: Parameter 'app' can be declared as pointer to const libwnck-43.3/libwnck/workspace.h:23:0: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/workspace.h:23:2: error: #error "Only can be included directly." [preprocessorErrorDirective] libwnck-43.3/libwnck/wnck-urgency-monitor.c:129:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_STATE_DEMANDS_ATTENTION [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnck-urgency-monitor.c:214:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_CLIENT_TYPE_PAGER [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnck-urgency-monitor.c:125:18: style: Variable 'icon' can be declared as pointer to const [constVariablePointer] libwnck-43.3/libwnck/wnckprop.c:340:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropertyChangeMask [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:795:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXINT [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:995:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_ACTION_MINIMIZE [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:1293:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_MOTION_LEFT [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:1629:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_ACTION_MOVE [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:1681:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:1776:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GenericEvent [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:1828:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CROSS [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:1875:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] libwnck-43.3/libwnck/wnckprop.c:304:31: style: Parameter 'display' can be declared as pointer to const. However it seems that 'timestamp_predicate' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/wnckprop.c:347:6: note: You might need to cast the function pointer here libwnck-43.3/libwnck/wnckprop.c:304:31: note: Parameter 'display' can be declared as pointer to const libwnck-43.3/libwnck/wnckprop.c:305:17: style: Parameter 'xevent' can be declared as pointer to const. However it seems that 'timestamp_predicate' is a callback function, if 'xevent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libwnck-43.3/libwnck/wnckprop.c:347:6: note: You might need to cast the function pointer here libwnck-43.3/libwnck/wnckprop.c:305:17: note: Parameter 'xevent' can be declared as pointer to const libwnck-43.3/libwnck/wnckprop.c:308:18: style: Variable 'info' can be declared as pointer to const [constVariablePointer] libwnck-43.3/libwnck/wnckprop.c:1054:27: style: Variable 'active_space' can be declared as pointer to const [constVariablePointer] libwnck-43.3/libwnck/wnckprop.c:1345:10: style: Variable 'windows' can be declared as pointer to const [constVariablePointer] libwnck-43.3/libwnck/wnckprop.c:1376:15: style: Variable 'windows' can be declared as pointer to const [constVariablePointer] diff: DONE