2025-05-07 22:11 ftp://ftp.de.debian.org/debian/pool/main/s/scim-anthy/scim-anthy_1.2.7.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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: ebc80c0 (2025-05-07 18:59:31 +0200) count: 539 536 elapsed-time: 13.8 14.7 head-timing-info: old-timing-info: head results: scim-anthy-1.2.7/intl/bindtextdom.c:226:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable domainname [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/bindtextdom.c:252:12: style: Local variable 'len' shadows outer variable [shadowVariable] scim-anthy-1.2.7/intl/bindtextdom.c:224:14: note: Shadowed declaration scim-anthy-1.2.7/intl/bindtextdom.c:252:12: note: Shadow variable scim-anthy-1.2.7/intl/bindtextdom.c:283:15: style: Local variable 'len' shadows outer variable [shadowVariable] scim-anthy-1.2.7/intl/bindtextdom.c:224:14: note: Shadowed declaration scim-anthy-1.2.7/intl/bindtextdom.c:283:15: note: Shadow variable scim-anthy-1.2.7/intl/eval-plural.h:52:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lor [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/dcigettext.c:545:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/dcigettext.c:544:10: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] scim-anthy-1.2.7/intl/dcigettext.c:583:39: style: Redundant condition: The condition 'categoryvalue[0] != '\0'' is redundant since 'categoryvalue[0] == ':'' is sufficient. [redundantCondition] scim-anthy-1.2.7/intl/dcigettext.c:427:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:207:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. scim-anthy-1.2.7/intl/dcigettext.c:427:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. scim-anthy-1.2.7/intl/dcigettext.c:427:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:208:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. scim-anthy-1.2.7/intl/dcigettext.c:427:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. scim-anthy-1.2.7/intl/dcigettext.c:427:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:208:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. scim-anthy-1.2.7/intl/dcigettext.c:427:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. scim-anthy-1.2.7/intl/dcigettext.c:428:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:209:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. scim-anthy-1.2.7/intl/dcigettext.c:428:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. scim-anthy-1.2.7/intl/dcigettext.c:428:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:209:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. scim-anthy-1.2.7/intl/dcigettext.c:428:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. scim-anthy-1.2.7/intl/dcigettext.c:428:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:210:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. scim-anthy-1.2.7/intl/dcigettext.c:428:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. scim-anthy-1.2.7/intl/dcigettext.c:533:13: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/intl/dcigettext.c:224:9: style: struct member 'known_translation_t::domainname' is never used. [unusedStructMember] scim-anthy-1.2.7/intl/dcigettext.c:227:7: style: struct member 'known_translation_t::category' is never used. [unusedStructMember] scim-anthy-1.2.7/intl/dcigettext.c:230:7: style: struct member 'known_translation_t::counter' is never used. [unusedStructMember] scim-anthy-1.2.7/intl/dcigettext.c:233:27: style: struct member 'known_translation_t::domain' is never used. [unusedStructMember] scim-anthy-1.2.7/intl/dcigettext.c:236:15: style: struct member 'known_translation_t::translation' is never used. [unusedStructMember] scim-anthy-1.2.7/intl/dcigettext.c:237:10: style: struct member 'known_translation_t::translation_length' is never used. [unusedStructMember] scim-anthy-1.2.7/intl/dcigettext.c:240:8: style: struct member 'known_translation_t::msgid' is never used. [unusedStructMember] scim-anthy-1.2.7/intl/dgettext.c:52:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/dngettext.c:53:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/finddomain.c:50:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:157:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. scim-anthy-1.2.7/intl/finddomain.c:50:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. scim-anthy-1.2.7/intl/finddomain.c:50:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:157:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. scim-anthy-1.2.7/intl/finddomain.c:50:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. scim-anthy-1.2.7/intl/finddomain.c:51:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:158:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. scim-anthy-1.2.7/intl/finddomain.c:51:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. scim-anthy-1.2.7/intl/finddomain.c:51:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:159:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. scim-anthy-1.2.7/intl/finddomain.c:51:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. scim-anthy-1.2.7/intl/gettext.c:57:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/l10nflist.c:341:12: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/intl/loadmsgcat.c:940:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/loadmsgcat.c:982:2: error: Resource leak: fd [resourceLeak] scim-anthy-1.2.7/intl/loadmsgcat.c:975:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] scim-anthy-1.2.7/intl/loadmsgcat.c:919:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. scim-anthy-1.2.7/intl/loadmsgcat.c:975:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. scim-anthy-1.2.7/intl/loadmsgcat.c:771:47: style:inconclusive: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:166:59: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. scim-anthy-1.2.7/intl/loadmsgcat.c:771:47: note: Function '_nl_init_domain_conv' argument 1 names different: declaration '__domain_file' definition 'domain_file'. scim-anthy-1.2.7/intl/loadmsgcat.c:772:31: style:inconclusive: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:167:29: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. scim-anthy-1.2.7/intl/loadmsgcat.c:772:31: note: Function '_nl_init_domain_conv' argument 2 names different: declaration '__domain' definition 'domain'. scim-anthy-1.2.7/intl/loadmsgcat.c:773:25: style:inconclusive: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:168:23: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. scim-anthy-1.2.7/intl/loadmsgcat.c:773:25: note: Function '_nl_init_domain_conv' argument 3 names different: declaration '__domainbinding' definition 'domainbinding'. scim-anthy-1.2.7/intl/loadmsgcat.c:889:45: style:inconclusive: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:170:50: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. scim-anthy-1.2.7/intl/loadmsgcat.c:889:45: note: Function '_nl_free_domain_conv' argument 1 names different: declaration '__domain' definition 'domain'. scim-anthy-1.2.7/intl/loadmsgcat.c:909:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:161:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. scim-anthy-1.2.7/intl/loadmsgcat.c:909:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. scim-anthy-1.2.7/intl/loadmsgcat.c:910:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] scim-anthy-1.2.7/intl/gettextP.h:162:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. scim-anthy-1.2.7/intl/loadmsgcat.c:910:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. scim-anthy-1.2.7/intl/localcharset.c:119:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/localcharset.c:295:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] scim-anthy-1.2.7/intl/localcharset.c:286:24: note: Assignment 'locale=NULL', assigned value is 0 scim-anthy-1.2.7/intl/localcharset.c:295:14: note: Condition 'locale==NULL' is always true scim-anthy-1.2.7/intl/localcharset.c:181:5: error: Common realloc mistake: 'res_ptr' nulled but not freed upon failure [memleakOnRealloc] scim-anthy-1.2.7/intl/localealias.c:163:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALE_ALIAS_PATH [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/localealias.c:154:21: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/intl/localealias.c:254:13: style: Variable 'alias' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/intl/localealias.c:255:13: style: Variable 'value' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/intl/localealias.c:172:41: error: Uninitialized variable: &item.value [uninitvar] scim-anthy-1.2.7/intl/ngettext.c:59:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/os2compat.c:60:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBDIR [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/os2compat.c:61:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_libdir [nullPointerOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:60:43: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:61:19: note: Null pointer dereference scim-anthy-1.2.7/intl/os2compat.c:75:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localealiaspath [nullPointerOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:74:52: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:75:19: note: Null pointer dereference scim-anthy-1.2.7/intl/os2compat.c:89:19: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:88:46: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:89:19: note: Null pointer dereference scim-anthy-1.2.7/intl/os2compat.c:96:15: warning: If memory allocation fails, then there is a possible null pointer dereference: _nlos2_localedir [nullPointerOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:88:46: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:96:15: note: Null pointer dereference scim-anthy-1.2.7/intl/os2compat.c:62:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:60:43: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:62:33: note: Null pointer addition scim-anthy-1.2.7/intl/os2compat.c:76:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:74:52: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:76:42: note: Null pointer addition scim-anthy-1.2.7/intl/os2compat.c:90:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:88:46: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:90:36: note: Null pointer addition scim-anthy-1.2.7/intl/os2compat.c:51:9: style: Variable 'root' can be declared as pointer to const [constVariablePointer] plural.y:160:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qmop [valueFlowBailoutIncompleteVar] plural.y:276:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] /usr/local/share/bison/bison.simple:517:36: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] /usr/local/share/bison/bison.simple:515:9: style: Variable 'yyss1' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/intl/xsize.h:60:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/printf-parse.c:146:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/vasnprintf.c:117:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/printf.c:116:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/intl/vasnprintf.c:744:12: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/src/scim_anthy_action.cpp:79:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_CapsLockMask [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_action.cpp:77:9: style:inconclusive: Technically the member function 'scim_anthy::Action::match_key_event' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_action.h:50:10: note: Technically the member function 'scim_anthy::Action::match_key_event' can be const. scim-anthy-1.2.7/src/scim_anthy_action.cpp:77:9: note: Technically the member function 'scim_anthy::Action::match_key_event' can be const. scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:92:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_DRAWING_AREA [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:132:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:201:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_RGB_DITHER_MAX [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:224:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_ICONDIR [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:292:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:368:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:106:20: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:110:7: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:131:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:140:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:183:30: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:210:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:292:19: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:293:19: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:329:30: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:342:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:367:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:387:38: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:405:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:437:12: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:365:49: style: Parameter 'bevent' can be declared as pointer to const. However it seems that 'scim_anthy_color_button_button_press' is a callback function, if 'bevent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:120:42: note: You might need to cast the function pointer here scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:365:49: note: Parameter 'bevent' can be declared as pointer to const scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:403:51: style: Parameter 'bevent' can be declared as pointer to const. However it seems that 'scim_anthy_color_button_button_release' is a callback function, if 'bevent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:121:42: note: You might need to cast the function pointer here scim-anthy-1.2.7/src/scim_anthy_color_button.cpp:403:51: note: Parameter 'bevent' can be declared as pointer to const scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: style: Unused private function: 'Conversion::get_prediction_string' [unusedPrivateFunction] scim-anthy-1.2.7/src/scim_anthy_conversion.h:127:19: note: Unused private function: 'Conversion::get_prediction_string' scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: note: Unused private function: 'Conversion::get_prediction_string' scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:137:10: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaTableSet::get_typing_method' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:138:10: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaTableSet::symbol_is_half' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:139:10: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaTableSet::number_is_half' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:141:10: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaTableSet::get_period_style' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:143:10: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaTableSet::get_comma_style' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:145:10: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaTableSet::get_bracket_style' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:147:10: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaTableSet::get_slash_style' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.h:63:19: style:inconclusive: Technically the member function 'scim_anthy::StyleLine::get_line' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana.h:59:16: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaConvertor::is_pseudo_ascii_mode' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_reading.h:56:24: style:inconclusive: Technically the member function 'scim_anthy::ReadingSegment::get' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_reading.h:57:24: style:inconclusive: Technically the member function 'scim_anthy::ReadingSegment::get_raw' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:56:20: style:inconclusive: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:57:18: note: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:56:20: note: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:62:20: style:inconclusive: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:58:18: note: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:62:20: note: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:248:13: style:inconclusive: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:92:19: note: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:248:13: note: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:257:13: style:inconclusive: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:93:19: note: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:257:13: note: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:400:13: style:inconclusive: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:104:19: note: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:400:13: note: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: performance:inconclusive: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). [functionStatic] scim-anthy-1.2.7/src/scim_anthy_conversion.h:127:19: note: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: note: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:92:5: style: Class 'Key2KanaTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] scim-anthy-1.2.7/src/scim_anthy_kana.h:40:16: style: Class 'KanaConvertor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] scim-anthy-1.2.7/src/scim_anthy_reading.h:69:5: style: Class 'Reading' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] scim-anthy-1.2.7/src/scim_anthy_preedit.h:52:5: style: Class 'Preedit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] scim-anthy-1.2.7/src/scim_anthy_key2kana.h:42:14: style: The destructor '~Key2KanaConvertor' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:37:14: note: Virtual destructor in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:42:14: note: Destructor in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:44:16: style: The function 'can_append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:39:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:44:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:46:16: style: The function 'append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:41:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:46:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:50:16: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:48:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:50:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:52:16: style: The function 'is_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:50:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:52:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:53:16: style: The function 'get_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:51:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:53:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:54:16: style: The function 'flush_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:52:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:54:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:55:16: style: The function 'reset_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:53:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:55:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:61:16: style: The function 'process_pseudo_ascii_mode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:58:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:61:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:62:16: style: The function 'reset_pseudo_ascii_mode' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:56:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:62:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:65:16: style: The function 'append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:45:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_key2kana.h:65:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:41:16: style: The destructor '~KanaConvertor' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:37:14: note: Virtual destructor in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:41:16: note: Destructor in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:43:16: style: The function 'can_append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:39:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:43:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:45:16: style: The function 'append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:41:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:45:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:49:16: style: The function 'append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:45:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:49:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:52:16: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:48:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:52:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:54:16: style: The function 'is_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:50:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:54:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:55:16: style: The function 'get_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:51:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:55:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:56:16: style: The function 'flush_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:52:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:56:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_kana.h:57:16: style: The function 'reset_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:53:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_kana.h:57:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:49:14: style: The destructor '~NicolaConvertor' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:37:14: note: Virtual destructor in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:49:14: note: Destructor in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:51:16: style: The function 'can_append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:39:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:51:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:53:16: style: The function 'append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:41:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:53:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:57:16: style: The function 'append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:45:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:57:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:60:16: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:48:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:60:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:62:16: style: The function 'is_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:50:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:62:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:63:16: style: The function 'get_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:51:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:63:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:64:16: style: The function 'flush_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:52:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:64:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_nicola.h:65:16: style: The function 'reset_pending' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] scim-anthy-1.2.7/src/scim_anthy_key2kana_base.h:53:24: note: Virtual function in base class scim-anthy-1.2.7/src/scim_anthy_nicola.h:65:16: note: Function in derived class scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:420:20: style: Condition 'segment_id>=0' is always true [knownConditionTrueFalse] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:410:20: note: Assuming that condition 'segment_id<0' is not redundant scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:420:20: note: Condition 'segment_id>=0' is always true scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:182:46: style: Checking if unsigned expression 'm_segments.size()' is less than zero. [unsignedLessThanZero] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:148:36: style:inconclusive: Function 'convert' argument 1 names different: declaration 'type' definition 'ctype'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_conversion.h:81:57: note: Function 'convert' argument 1 names different: declaration 'type' definition 'ctype'. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:148:36: note: Function 'convert' argument 1 names different: declaration 'type' definition 'ctype'. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:499:24: style: Variable 'segment_id' is assigned a value that is never used. [unreadVariable] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:267:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:277:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:290:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_factory.cpp:192:21: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_VERSION is a macro then please configure it. [unknownMacro] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:151:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_TRANS_CMD_USER_DEFINED [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:209:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_TRANS_CMD_USER_DEFINED [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:270:1: error: Memory leak: argv [memleak] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:270:1: error: Memory leak: ch [memleak] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:181:50: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:256:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:259:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:262:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:142:61: style:inconclusive: Function 'slot_imengine_event' argument 4 names different: declaration 'trans' definition 'recv'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_helper.cpp:42:69: note: Function 'slot_imengine_event' argument 4 names different: declaration 'trans' definition 'recv'. scim-anthy-1.2.7/src/scim_anthy_helper.cpp:142:61: note: Function 'slot_imengine_event' argument 4 names different: declaration 'trans' definition 'recv'. scim-anthy-1.2.7/src/scim_anthy_helper.cpp:251:17: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:451:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_TRANS_CMD_REQUEST [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:471:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_TRANS_CMD_REQUEST [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:716:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_ICONDIR [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:1176:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_KP_Space [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:1222:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_KP_Space [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:1238:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_KP_Space [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2015:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_TRANS_CMD_USER_DEFINED [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2075:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_TRANS_CMD_USER_DEFINED [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2092:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_TRANS_CMD_USER_DEFINED [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_TRANS_CMD_USER_DEFINED [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:971:16: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.h:115:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:971:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2343:16: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.h:236:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2343:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2353:16: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.h:237:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2353:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.h:111:18: style: Virtual function 'reload_config' is called from constructor 'AnthyInstance(AnthyFactory*factory,const String&encoding,int id=-1)' at line 109. Dynamic binding is not used. [virtualCallInConstructor] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:109:5: note: Calling reload_config scim-anthy-1.2.7/src/scim_anthy_imengine.h:111:18: note: reload_config is a virtual function scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:464:14: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:466:9: note: Found duplicate branches for 'if' and 'else'. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:464:14: note: Found duplicate branches for 'if' and 'else'. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2173:57: style:inconclusive: Function 'process_helper_event' argument 2 names different: declaration 'trans' definition 'recv'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_imengine.h:109:67: note: Function 'process_helper_event' argument 2 names different: declaration 'trans' definition 'recv'. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2173:57: note: Function 'process_helper_event' argument 2 names different: declaration 'trans' definition 'recv'. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:855:24: style: Variable 'fundamental_table' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:858:31: style: Variable 'fundamental_table' is assigned a value that is never used. [unreadVariable] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:860:31: style: Variable 'fundamental_table' is assigned a value that is never used. [unreadVariable] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:209:14: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:218:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_kana.cpp:106:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_ControlMask [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_kana.cpp:140:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_KP_Equal [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_kana.cpp:208:39: style:inconclusive: Function 'append' argument 1 names different: declaration 'raw' definition 'str'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_kana.h:49:55: note: Function 'append' argument 1 names different: declaration 'raw' definition 'str'. scim-anthy-1.2.7/src/scim_anthy_kana.cpp:208:39: note: Function 'append' argument 1 names different: declaration 'raw' definition 'str'. scim-anthy-1.2.7/src/scim_anthy_kana.cpp:33:26: style: Variable 'table' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/src/scim_anthy_kana.cpp:49:26: style: Variable 'table' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/src/scim_anthy_key2kana.cpp:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_ControlMask [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_key2kana.cpp:28:20: warning: Member variable 'Key2KanaConvertor::m_reset_pseudo_ascii_mode' is not initialized in the constructor. [uninitMemberVar] scim-anthy-1.2.7/src/scim_anthy_key2kana.cpp:177:39: style: Local variable 'j' shadows outer variable [shadowVariable] scim-anthy-1.2.7/src/scim_anthy_key2kana.cpp:167:27: note: Shadowed declaration scim-anthy-1.2.7/src/scim_anthy_key2kana.cpp:177:39: note: Shadow variable scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:147:15: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:76:12: note: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:147:15: note: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:153:15: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:77:12: note: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:153:15: note: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:420:19: style: The if condition is the same as the previous if condition [duplicateCondition] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:394:19: note: First condition scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:420:19: note: Second condition scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:446:19: style: The if condition is the same as the previous if condition [duplicateCondition] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:420:19: note: First condition scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:446:19: note: Second condition scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:466:19: style: The if condition is the same as the previous if condition [duplicateCondition] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:446:19: note: First condition scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:466:19: note: Second condition scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:349:43: style: Local variable 'it' shadows outer variable [shadowVariable] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:335:29: note: Shadowed declaration scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:349:43: note: Shadow variable scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:360:43: style: Local variable 'it' shadows outer variable [shadowVariable] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:335:29: note: Shadowed declaration scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:360:43: note: Shadow variable scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:178:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:337:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:352:18: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:363:18: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:81:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_ControlMask [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:30:18: warning: Member variable 'NicolaConvertor::m_is_repeating' is not initialized in the constructor. [uninitMemberVar] scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:514:39: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:442:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:447:7: note: Found duplicate branches for 'if' and 'else'. scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:442:12: note: Found duplicate branches for 'if' and 'else'. scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:588:41: style:inconclusive: Function 'append' argument 1 names different: declaration 'raw' definition 'str'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_nicola.h:57:61: note: Function 'append' argument 1 names different: declaration 'raw' definition 'str'. scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:588:41: note: Function 'append' argument 1 names different: declaration 'raw' definition 'str'. scim-anthy-1.2.7/src/scim_anthy_preedit.cpp:206:33: style: Checking if unsigned expression 'm_reading.get_length()' is less than zero. [unsignedLessThanZero] scim-anthy-1.2.7/src/scim_anthy_preedit.cpp:259:39: style:inconclusive: Function 'commit' argument 2 names different: declaration 'lean' definition 'learn'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_preedit.h:83:56: note: Function 'commit' argument 2 names different: declaration 'lean' definition 'learn'. scim-anthy-1.2.7/src/scim_anthy_preedit.cpp:259:39: note: Function 'commit' argument 2 names different: declaration 'lean' definition 'learn'. scim-anthy-1.2.7/src/scim_anthy_preedit.cpp:357:26: style:inconclusive: Function 'move_caret' argument 1 names different: declaration 'len' definition 'step'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_preedit.h:107:66: note: Function 'move_caret' argument 1 names different: declaration 'len' definition 'step'. scim-anthy-1.2.7/src/scim_anthy_preedit.cpp:357:26: note: Function 'move_caret' argument 1 names different: declaration 'len' definition 'step'. scim-anthy-1.2.7/src/scim_anthy_preedit.cpp:531:15: style: Variable 'period_rule' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/src/scim_anthy_preedit.cpp:532:15: style: Variable 'comma_rule' can be declared as pointer to const [constVariablePointer] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:163:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kana [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:194:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kana [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:290:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raw [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:375:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kana [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:495:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kana [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:401:28: style: Checking if unsigned expression 'm_segments.size()' is less than zero. [unsignedLessThanZero] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:477:28: style: Checking if unsigned expression 'm_segments.size()' is less than zero. [unsignedLessThanZero] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:492:23: style: Checking if unsigned expression 'm_segment_pos' is less than zero. [unsignedLessThanZero] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:545:48: style: Checking if unsigned expression 'm_segments.size()' is less than zero. [unsignedLessThanZero] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:209:39: style:inconclusive: Function 'get' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_reading.h:78:58: note: Function 'get' argument 2 names different: declaration 'length' definition 'len'. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:209:39: note: Function 'get' argument 2 names different: declaration 'length' definition 'len'. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:279:43: style:inconclusive: Function 'get_raw' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_reading.h:82:58: note: Function 'get_raw' argument 2 names different: declaration 'length' definition 'len'. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:279:43: note: Function 'get_raw' argument 2 names different: declaration 'length' definition 'len'. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:399:41: style:inconclusive: Function 'erase' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_reading.h:86:58: note: Function 'erase' argument 2 names different: declaration 'length' definition 'len'. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:399:41: note: Function 'erase' argument 2 names different: declaration 'length' definition 'len'. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:57:27: style: Local variable 'i' shadows outer variable [shadowVariable] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:54:23: note: Shadowed declaration scim-anthy-1.2.7/src/scim_anthy_reading.cpp:57:27: note: Shadow variable scim-anthy-1.2.7/src/scim_anthy_reading.cpp:238:42: style: Local variable 'len' shadows outer argument [shadowArgument] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:209:39: note: Shadowed declaration scim-anthy-1.2.7/src/scim_anthy_reading.cpp:238:42: note: Shadow variable scim-anthy-1.2.7/src/scim_anthy_reading.cpp:511:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:168:28: error: Using iterator to member container 'm_segments' that may be invalid. [invalidContainer] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:148:56: note: Iterator to container is created here. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:151:26: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:152:26: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:152:26: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:151:26: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:162:29: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:156:24: note: After calling 'insert', iterators or references to the container's data may be invalid . scim-anthy-1.2.7/src/scim_anthy_reading.cpp:168:28: note: Using iterator to member container 'm_segments' that may be invalid. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:380:28: error: Using iterator to member container 'm_segments' that may be invalid. [invalidContainer] scim-anthy-1.2.7/src/scim_anthy_reading.cpp:360:56: note: Iterator to container is created here. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:363:26: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:364:26: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:364:26: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:363:26: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:374:29: note: Assuming condition is true. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:368:24: note: After calling 'insert', iterators or references to the container's data may be invalid . scim-anthy-1.2.7/src/scim_anthy_reading.cpp:380:28: note: Using iterator to member container 'm_segments' that may be invalid. scim-anthy-1.2.7/src/scim_anthy_reading.cpp:591:59: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup.cpp:82:13: error: There is an unknown macro here somewhere. Configuration is required. If SCIM_PATH_DELIM_STRING is a macro then please configure it. [unknownMacro] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:106:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:110:23: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:125:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:151:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:165:24: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:170:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:195:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:273:23: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:345:23: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:452:28: warning: Possible null pointer dereference: (GList*)((list)?(((GList*)(list))->next):NULL) [nullPointer] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:519:28: warning: Possible null pointer dereference: (GList*)((list)?(((GList*)(list))->next):NULL) [nullPointer] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:111:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:115:31: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:116:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:121:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:126:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:127:24: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:131:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:136:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:138:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:141:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:144:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:146:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:152:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:156:31: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:157:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:162:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:166:24: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:171:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:172:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:176:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:181:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:183:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:186:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:189:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:191:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:196:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:200:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:205:39: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:206:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:208:40: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:212:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:213:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:215:40: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:219:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:265:42: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:267:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:268:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:269:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:274:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:275:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:277:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:281:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:286:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:287:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:288:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:296:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:305:30: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:306:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:309:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:312:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:315:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:318:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:330:34: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:337:42: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:339:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:340:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:341:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:346:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:347:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:349:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:353:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:358:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:359:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:360:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:368:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:377:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:378:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:381:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:384:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:387:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:390:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:414:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:417:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:431:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:432:39: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:433:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:439:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:440:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:451:58: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:452:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:454:26: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:456:24: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:466:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:467:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:481:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:484:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:498:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:499:39: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:500:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:506:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:507:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:518:58: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:519:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:521:26: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:523:24: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:533:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:534:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:541:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:543:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:573:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:575:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:653:47: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:654:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:659:22: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:713:47: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:714:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:719:22: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:792:38: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:794:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:795:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:801:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:802:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:807:34: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:823:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:824:21: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:880:40: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:882:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:883:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:889:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:890:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:895:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:911:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:912:21: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:211:12: style: Variable 'widget' is reassigned a value before the old one has been used. [redundantAssignment] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:207:12: note: widget is assigned scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:211:12: note: widget is overwritten scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:214:12: style: Variable 'widget' is assigned a value that is never used. [unreadVariable] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:424:15: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:491:15: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:555:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:587:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:691:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup_kana.cpp:751:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:83:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:106:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:119:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:188:23: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:294:28: warning: Possible null pointer dereference: (GList*)((list)?(((GList*)(list))->next):NULL) [nullPointer] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:88:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:92:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:96:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:100:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:103:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:107:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:110:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:114:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:116:42: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:120:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:121:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:125:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:130:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:132:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:135:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:138:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:140:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:180:42: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:182:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:183:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:184:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:189:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:190:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:192:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:196:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:201:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:202:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:203:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:211:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:220:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:221:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:224:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:227:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:230:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:233:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:256:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:259:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:273:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:274:39: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:275:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:281:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:282:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:293:58: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:294:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:296:26: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:298:24: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:308:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:309:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:316:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:318:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:373:47: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:374:27: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:379:22: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:436:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:444:39: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:446:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:447:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:453:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:454:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:459:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:475:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:476:21: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:266:15: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:330:49: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_setup_romaji.cpp:411:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:369:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:392:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.h:87:12: note: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:392:12: note: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:398:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.h:88:12: note: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:398:12: note: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:404:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.h:89:12: note: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:404:12: note: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:346:14: style: Condition '!in_file.eof()' is always true [knownConditionTrueFalse] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:311:25: note: Assuming that condition 'in_file.eof()' is not redundant scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:346:14: note: Condition '!in_file.eof()' is always true scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:159:10: style: The scope of the variable 'found' can be reduced. [variableScope] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:103:19: style: Unsigned expression 'epos' can't be negative so it is unnecessary to test it. [unsignedPositive] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:137:15: style: Unsigned expression 'epos' can't be negative so it is unnecessary to test it. [unsignedPositive] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:179:14: style: Unsigned expression 'spos' can't be negative so it is unnecessary to test it. [unsignedPositive] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:268:50: style: Parameter 'value' can be declared as reference to const [constParameterReference] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:169:19: style: Variable 'found' is assigned a value that is never used. [unreadVariable] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:363:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:365:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:413:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:424:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:457:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:479:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:491:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:531:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:563:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:579:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:602:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:622:55: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:636:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:660:53: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:691:61: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:85:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_DIALOG [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:132:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:210:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:135:23: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:165:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:433:27: warning: Either the condition '!seq1' is redundant or there is possible null pointer dereference: seq1. [nullPointerRedundantCheck] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:432:20: note: Assuming that condition '!seq1' is not redundant scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:433:27: note: Null pointer dereference scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:433:33: warning: Either the condition '!seq2' is redundant or there is possible null pointer dereference: seq2. [nullPointerRedundantCheck] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:432:29: note: Assuming that condition '!seq2' is not redundant scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:433:33: note: Null pointer dereference scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:433:27: error: Null pointer dereference [nullPointer] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:433:33: error: Null pointer dereference [nullPointer] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:96:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:99:20: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:103:7: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:111:7: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:126:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:130:34: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:131:30: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:136:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:137:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:143:42: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:145:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:148:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:153:24: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:157:46: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:158:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:161:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:162:42: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:167:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:176:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:183:6: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:184:3: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:190:12: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:198:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:213:30: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:214:30: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:227:37: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:231:42: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:238:33: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:239:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:243:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:246:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:248:9: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:251:13: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:255:40: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:263:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:264:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:271:25: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:272:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:284:5: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:286:23: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:296:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:326:32: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:332:22: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:334:48: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:335:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:348:29: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:375:35: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:379:28: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:447:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:469:26: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:475:33: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:479:51: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:480:33: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:487:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:494:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:501:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:508:36: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:514:31: style: C-style pointer casting [cstyleCast] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:124:53: style:inconclusive: Function 'scim_anthy_table_editor_init' argument 1 names different: declaration 'object' definition 'editor'. [funcArgNamesDifferent] scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:37:78: note: Function 'scim_anthy_table_editor_init' argument 1 names different: declaration 'object' definition 'editor'. scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:124:53: note: Function 'scim_anthy_table_editor_init' argument 1 names different: declaration 'object' definition 'editor'. scim-anthy-1.2.7/src/scim_anthy_utils.cpp:58:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_utils.cpp:177:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_ATTR_FOREGROUND [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_utils.cpp:257:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCIM_KEY_KP_0 [valueFlowBailoutIncompleteVar] scim-anthy-1.2.7/src/scim_anthy_utils.cpp:296:23: style: Checking if unsigned expression 'array.size()' is less than zero. [unsignedLessThanZero] scim-anthy-1.2.7/src/scim_anthy_utils.cpp:36:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] diff: 2.17.0 scim-anthy-1.2.7/intl/os2compat.c:62:33: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:60:43: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:62:33: note: Null pointer addition head scim-anthy-1.2.7/intl/os2compat.c:62:33: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:60:43: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:60:27: note: Assignment '_nlos2_libdir=(char*)malloc(sl+strlen(LIBDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:62:33: note: Null pointer addition 2.17.0 scim-anthy-1.2.7/intl/os2compat.c:76:42: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:74:52: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:76:42: note: Null pointer addition head scim-anthy-1.2.7/intl/os2compat.c:76:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:74:52: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:74:36: note: Assignment '_nlos2_localealiaspath=(char*)malloc(sl+strlen(LOCALE_ALIAS_PATH)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:76:42: note: Null pointer addition 2.17.0 scim-anthy-1.2.7/intl/os2compat.c:90:36: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:88:46: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:90:36: note: Null pointer addition head scim-anthy-1.2.7/intl/os2compat.c:90:36: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] scim-anthy-1.2.7/intl/os2compat.c:88:46: note: Assuming allocation function fails scim-anthy-1.2.7/intl/os2compat.c:88:30: note: Assignment '_nlos2_localedir=(char*)malloc(sl+strlen(LOCALEDIR)+1)', assigned value is 0 scim-anthy-1.2.7/intl/os2compat.c:90:36: note: Null pointer addition head scim-anthy-1.2.7/src/scim_anthy_action.cpp:77:9: style:inconclusive: Technically the member function 'scim_anthy::Action::match_key_event' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_action.h:50:10: note: Technically the member function 'scim_anthy::Action::match_key_event' can be const. scim-anthy-1.2.7/src/scim_anthy_action.cpp:77:9: note: Technically the member function 'scim_anthy::Action::match_key_event' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_action.h:50:10: style:inconclusive: Technically the member function 'scim_anthy::Action::match_key_event' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_action.cpp:77:9: note: Technically the member function 'scim_anthy::Action::match_key_event' can be const. scim-anthy-1.2.7/src/scim_anthy_action.h:50:10: note: Technically the member function 'scim_anthy::Action::match_key_event' can be const. head scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:248:13: style:inconclusive: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:92:19: note: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:248:13: note: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. head scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:257:13: style:inconclusive: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:93:19: note: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:257:13: note: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. head scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:400:13: style:inconclusive: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:104:19: note: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:400:13: note: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. head scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:56:20: style:inconclusive: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:57:18: note: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:56:20: note: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. head scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:62:20: style:inconclusive: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.h:58:18: note: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:62:20: note: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. head scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: performance:inconclusive: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). [functionStatic] scim-anthy-1.2.7/src/scim_anthy_conversion.h:127:19: note: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: note: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). head scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: style: Unused private function: 'Conversion::get_prediction_string' [unusedPrivateFunction] scim-anthy-1.2.7/src/scim_anthy_conversion.h:127:19: note: Unused private function: 'Conversion::get_prediction_string' scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: note: Unused private function: 'Conversion::get_prediction_string' 2.17.0 scim-anthy-1.2.7/src/scim_anthy_conversion.h:104:19: style:inconclusive: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:400:13: note: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.h:104:19: note: Technically the member function 'scim_anthy::Conversion::get_selected_segment' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_conversion.h:127:19: performance:inconclusive: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). [functionStatic] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:796:13: note: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). scim-anthy-1.2.7/src/scim_anthy_conversion.h:127:19: note: Technically the member function 'scim_anthy::Conversion::get_prediction_string' can be static (but you may consider moving to unnamed namespace). 2.17.0 scim-anthy-1.2.7/src/scim_anthy_conversion.h:127:19: style: Unused private function: 'Conversion::get_prediction_string' [unusedPrivateFunction] 2.17.0 scim-anthy-1.2.7/src/scim_anthy_conversion.h:57:18: style:inconclusive: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:56:20: note: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.h:57:18: note: Technically the member function 'scim_anthy::ConversionSegment::get_candidate_id' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_conversion.h:58:18: style:inconclusive: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:62:20: note: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.h:58:18: note: Technically the member function 'scim_anthy::ConversionSegment::get_reading_length' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_conversion.h:92:19: style:inconclusive: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:248:13: note: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.h:92:19: note: Technically the member function 'scim_anthy::Conversion::is_converting' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_conversion.h:93:19: style:inconclusive: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_conversion.cpp:257:13: note: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. scim-anthy-1.2.7/src/scim_anthy_conversion.h:93:19: note: Technically the member function 'scim_anthy::Conversion::is_predicting' can be const. head scim-anthy-1.2.7/src/scim_anthy_helper.cpp:251:17: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] head scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2343:16: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.h:236:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2343:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. head scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2353:16: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.h:237:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2353:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. head scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:971:16: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.h:115:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:971:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_imengine.h:115:12: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:971:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.h:115:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::action_do_nothing' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_imengine.h:236:12: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2343:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.h:236:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_single_segment' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_imengine.h:237:12: style:inconclusive: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_imengine.cpp:2353:16: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. scim-anthy-1.2.7/src/scim_anthy_imengine.h:237:12: note: Either there is a missing 'override', or the member function 'AnthyInstance::is_realtime_conversion' can be const. head scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:147:15: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:76:12: note: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:147:15: note: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. head scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:153:15: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:77:12: note: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:153:15: note: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. head scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:178:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.17.0 scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:76:12: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:147:15: note: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:76:12: note: Technically the member function 'scim_anthy::Key2KanaRule::get_sequence' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:77:12: style:inconclusive: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_key2kana_table.cpp:153:15: note: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. scim-anthy-1.2.7/src/scim_anthy_key2kana_table.h:77:12: note: Technically the member function 'scim_anthy::Key2KanaRule::get_result' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:287:9: style: Variable 'm_prev_thumb_key' is assigned an expression that holds the same value. [redundantAssignment] scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:283:20: note: Assuming that condition 'key==m_prev_thumb_key' is not redundant scim-anthy-1.2.7/src/scim_anthy_nicola.cpp:287:9: note: Variable 'm_prev_thumb_key' is assigned an expression that holds the same value. head scim-anthy-1.2.7/src/scim_anthy_reading.cpp:511:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] head scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:392:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.h:87:12: note: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:392:12: note: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. head scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:398:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.h:88:12: note: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:398:12: note: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. head scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:404:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.h:89:12: note: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:404:12: note: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_style_file.h:87:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:392:12: note: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.h:87:12: note: Technically the member function 'scim_anthy::StyleFile::get_encoding' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_style_file.h:88:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:398:12: note: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.h:88:12: note: Technically the member function 'scim_anthy::StyleFile::get_title' can be const. 2.17.0 scim-anthy-1.2.7/src/scim_anthy_style_file.h:89:12: style:inconclusive: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. [functionConst] scim-anthy-1.2.7/src/scim_anthy_style_file.cpp:404:12: note: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. scim-anthy-1.2.7/src/scim_anthy_style_file.h:89:12: note: Technically the member function 'scim_anthy::StyleFile::get_file_name' can be const. head scim-anthy-1.2.7/src/scim_anthy_table_editor.cpp:433:33: error: Null pointer dereference [nullPointer] DONE