2025-11-27 05:24 ftp://ftp.de.debian.org/debian/pool/main/i/inotify-info/inotify-info_0.0.3.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --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-88-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.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 5 6 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: inotify-info-0.0.3/inotify-info.cpp:56:0: error: #error INOTIFYINFO_VERSION must be set [preprocessorErrorDirective] inotify-info-0.0.3/lfqueue/lfqueue.c:195:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inotify-info-0.0.3/lfqueue/lfqueue.c:266:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] inotify-info-0.0.3/lfqueue/lfqueue.c:376:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] inotify-info-0.0.3/lfqueue/lfqueue.c:112:67: style: Parameter 'pl' can be declared as pointer to const. However it seems that '_lfqueue_malloc' is a callback function, if 'pl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] inotify-info-0.0.3/lfqueue/lfqueue.c:253:43: note: You might need to cast the function pointer here inotify-info-0.0.3/lfqueue/lfqueue.c:112:67: note: Parameter 'pl' can be declared as pointer to const diff: 2.18.0 inotify-info-0.0.3/inotify-info.cpp:56:2: error: #error INOTIFYINFO_VERSION must be set [preprocessorErrorDirective] DONE