2026-01-17 03:11 ftp://ftp.de.debian.org/debian/pool/main/i/ibus-hangul/ibus-hangul_1.5.5.orig.tar.gz 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-90-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.19.0 head-info: a8f83c1 (2026-01-15 10:50:53 +0100) count: 10 10 elapsed-time: 0.1 0.3 head-timing-info: old-timing-info: head results: ibus-hangul-1.5.5/src/engine.c:1581:2: error: failed to evaluate #if condition, undefined function-like macro invocation: IBUS_CHECK_VERSION( ... ) [syntaxError] ibus-hangul-1.5.5/src/main.c:100:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] ibus-hangul-1.5.5/src/main.c:127:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] ibus-hangul-1.5.5/src/main.c:151:5: error: Memory leak: context [memleak] ibus-hangul-1.5.5/src/main.c:50:33: style: Parameter 'bus' can be declared as pointer to const. However it seems that 'ibus_disconnected_cb' is a callback function, if 'bus' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ibus-hangul-1.5.5/src/main.c:81:5: note: You might need to cast the function pointer here ibus-hangul-1.5.5/src/main.c:50:33: note: Parameter 'bus' can be declared as pointer to const ibus-hangul-1.5.5/src/main.c:51:33: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'ibus_disconnected_cb' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ibus-hangul-1.5.5/src/main.c:81:5: note: You might need to cast the function pointer here ibus-hangul-1.5.5/src/main.c:51:33: note: Parameter 'user_data' can be declared as pointer to const ibus-hangul-1.5.5/src/main.c:62:17: style: Variable 'config' can be declared as pointer to const [constVariablePointer] ibus-hangul-1.5.5/src/ustring.c:28:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucschar [valueFlowBailoutIncompleteVar] ibus-hangul-1.5.5/src/ustring.c:113:13: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] ibus-hangul-1.5.5/tests/ibus-hangul.c:201:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [syntaxError] diff: DONE