2026-05-06 02:15 ftp://ftp.de.debian.org/debian/pool/main/a/amtk/amtk_5.6.1.orig.tar.xz 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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 24 24 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: amtk-5.6.1/amtk/amtk-action-info-central-store.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-action-info-store.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-action-info.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-action-map.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-application-window.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-factory.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-gmenu.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-init.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-menu-item.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-menu-shell.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-shortcuts.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/amtk/amtk-utils.h:9:2: error: #error "Only can be included directly." [preprocessorErrorDirective] amtk-5.6.1/tests/interactive-tests/test-headerbar.c:72:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMTK_FACTORY_IGNORE_GACTION [valueFlowBailoutIncompleteVar] amtk-5.6.1/tests/interactive-tests/test-headerbar.c:186:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_FLAGS_NONE [valueFlowBailoutIncompleteVar] amtk-5.6.1/tests/interactive-tests/test-headerbar.c:43:27: style: Parameter 'g_app' can be declared as pointer to const. However it seems that 'startup_cb' is a callback function, if 'g_app' is declared with const you might also need to cast function pointer(s). [constParameterCallback] amtk-5.6.1/tests/interactive-tests/test-headerbar.c:188:2: note: You might need to cast the function pointer here amtk-5.6.1/tests/interactive-tests/test-headerbar.c:43:27: note: Parameter 'g_app' can be declared as pointer to const amtk-5.6.1/tests/interactive-tests/test-headerbar.c:44:20: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'startup_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] amtk-5.6.1/tests/interactive-tests/test-headerbar.c:188:2: note: You might need to cast the function pointer here amtk-5.6.1/tests/interactive-tests/test-headerbar.c:44:20: note: Parameter 'user_data' can be declared as pointer to const amtk-5.6.1/tests/interactive-tests/test-headerbar.c:50:35: style: Parameter 'action' can be declared as pointer to const. However it seems that 'print_activate_cb' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] amtk-5.6.1/tests/interactive-tests/test-headerbar.c:95:14: note: You might need to cast the function pointer here amtk-5.6.1/tests/interactive-tests/test-headerbar.c:50:35: note: Parameter 'action' can be declared as pointer to const amtk-5.6.1/tests/interactive-tests/test-headerbar.c:51:21: style: Parameter 'parameter' can be declared as pointer to const. However it seems that 'print_activate_cb' is a callback function, if 'parameter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] amtk-5.6.1/tests/interactive-tests/test-headerbar.c:95:14: note: You might need to cast the function pointer here amtk-5.6.1/tests/interactive-tests/test-headerbar.c:51:21: note: Parameter 'parameter' can be declared as pointer to const amtk-5.6.1/tests/interactive-tests/test-headerbar.c:52:21: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'print_activate_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] amtk-5.6.1/tests/interactive-tests/test-headerbar.c:95:14: note: You might need to cast the function pointer here amtk-5.6.1/tests/interactive-tests/test-headerbar.c:52:21: note: Parameter 'user_data' can be declared as pointer to const amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:203:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_FLAGS_NONE [valueFlowBailoutIncompleteVar] amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:60:35: style: Parameter 'action' can be declared as pointer to const. However it seems that 'about_activate_cb' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:73:14: note: You might need to cast the function pointer here amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:60:35: note: Parameter 'action' can be declared as pointer to const amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:61:21: style: Parameter 'parameter' can be declared as pointer to const. However it seems that 'about_activate_cb' is a callback function, if 'parameter' is declared with const you might also need to cast function pointer(s). [constParameterCallback] amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:73:14: note: You might need to cast the function pointer here amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:61:21: note: Parameter 'parameter' can be declared as pointer to const amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:62:21: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'about_activate_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:73:14: note: You might need to cast the function pointer here amtk-5.6.1/tests/interactive-tests/test-traditional-ui.c:62:21: note: Parameter 'user_data' can be declared as pointer to const amtk-5.6.1/tests/unit-tests/test-action-info-store.c:13:18: style: Variable 'info2' can be declared as pointer to const [constVariablePointer] diff: DONE