2025-05-10 22:25 ftp://ftp.de.debian.org/debian/pool/main/g/gnome-menus/gnome-menus_3.36.0.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: beb3362 (2025-05-10 14:33:23 +0200) count: 6 5 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: gnome-menus-3.36.0/libmenu/menu-util.h:43:0: error: #error "Cannot disable verbose mode due to lack of varargs macros" [preprocessorErrorDirective] gnome-menus-3.36.0/libmenu/menu-util.h:43:2: error: #error "Cannot disable verbose mode due to lack of varargs macros" [preprocessorErrorDirective] gnome-menus-3.36.0/libmenu/gmenu-tree.h:22:0: error: #error "libgnome-menu should only be used if you understand that it's subject to frequent change, and is not supported as a fixed API/ABI or as part of the platform" [preprocessorErrorDirective] gnome-menus-3.36.0/libmenu/gmenu-tree.h:22:2: error: #error "libgnome-menu should only be used if you understand that it's subject to frequent change, and is not supported as a fixed API/ABI or as part of the platform" [preprocessorErrorDirective] gnome-menus-3.36.0/util/test-menu-spec.c:148:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMENU_TREE_ITEM_ENTRY [valueFlowBailoutIncompleteVar] gnome-menus-3.36.0/util/test-menu-spec.c:216:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] diff: head gnome-menus-3.36.0/libmenu/gmenu-tree.h:22:2: error: #error "libgnome-menu should only be used if you understand that it's subject to frequent change, and is not supported as a fixed API/ABI or as part of the platform" [preprocessorErrorDirective] head gnome-menus-3.36.0/libmenu/menu-util.h:43:2: error: #error "Cannot disable verbose mode due to lack of varargs macros" [preprocessorErrorDirective] 2.17.0 gnome-menus-3.36.0/util/test-menu-spec.c:62:20: warning: If memory allocation fails, then there is a possible null pointer dereference: path [nullPointerOutOfMemory] gnome-menus-3.36.0/util/test-menu-spec.c:75:23: note: Assuming allocation function fails gnome-menus-3.36.0/util/test-menu-spec.c:75:23: note: Assignment 'path=g_string_new(NULL)', assigned value is 0 gnome-menus-3.36.0/util/test-menu-spec.c:77:37: note: Calling function 'append_directory_path', 2nd argument 'path' value is 0 gnome-menus-3.36.0/util/test-menu-spec.c:54:7: note: Assuming condition is false gnome-menus-3.36.0/util/test-menu-spec.c:62:20: note: Null pointer dereference DONE