2026-08-07 05:35 ftp://ftp.de.debian.org/debian/pool/main/c/chasen/chasen_2.4.5.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: baf5eaa (2026-08-06 14:17:46 +0200) count: 375 378 elapsed-time: 2.5 1.1 head-timing-info: old-timing-info: head results: chasen-2.4.5/chasen/chasen.c:179:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RCPATH [valueFlowBailoutIncompleteVar] chasen-2.4.5/chasen/chasen.c:205:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cha_optind [valueFlowBailoutIncompleteVar] chasen-2.4.5/chasen/chasen.c:254:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] chasen-2.4.5/chasen/chasen.c:276:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/getopt.c:59:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chasen-2.4.5/chasen/chasen.c:302:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/block.c:45:22: style:inconclusive: Function 'cha_block_new' argument 1 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:45:32: style:inconclusive: Function 'cha_block_new' argument 2 names different: declaration '' definition 'nitem'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:59:36: style:inconclusive: Function 'cha_block_delete' argument 1 names different: declaration '' definition 'block'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:66:33: style:inconclusive: Function 'cha_block_new_item' argument 1 names different: declaration '' definition 'block'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:77:33: style:inconclusive: Function 'cha_block_get_item' argument 1 names different: declaration '' definition 'block'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:77:44: style:inconclusive: Function 'cha_block_get_item' argument 2 names different: declaration '' definition 'i'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:83:28: style:inconclusive: Function 'cha_block_pop' argument 1 names different: declaration '' definition 'block'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:89:28: style:inconclusive: Function 'cha_block_num' argument 1 names different: declaration '' definition 'block'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:95:30: style:inconclusive: Function 'cha_block_clear' argument 1 names different: declaration '' definition 'block'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/block.c:77:33: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/block.c:89:28: style: Parameter 'block' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/block.c:73:26: portability: 'block->blocks' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] chasen-2.4.5/lib/block.c:79:26: portability: 'block->blocks' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] chasen-2.4.5/lib/block.c:85:26: portability: 'block->blocks' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] chasen-2.4.5/lib/mmap.c:90:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/getid.c:40:30: style:inconclusive: Function 'cha_get_nhinsi_str_id' argument 1 names different: declaration '' definition 'hinsi'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/getid.c:67:35: style:inconclusive: Function 'cha_get_nhinsi_id' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/getid.c:84:23: style:inconclusive: Function 'cha_get_type_id' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/getid.c:109:23: style:inconclusive: Function 'cha_get_form_id' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/getid.c:109:30: style:inconclusive: Function 'cha_get_form_id' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/literal.c:197:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICONV_EUCJP [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/iotool.c:110:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/iotool.c:122:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/iotool.c:159:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/iotool.c:218:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/iotool.c:294:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/iotool.c:320:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/iotool.c:393:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/iotool.c:470:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/getopt.c:43:11: style: Variable 'op' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/mmap.c:133:15: warning: Either the condition '(fd=open(filename,flag))<0' is redundant or fstat() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] chasen-2.4.5/lib/mmap.c:131:37: note: Assuming that condition '(fd=open(filename,flag))<0' is not redundant chasen-2.4.5/lib/mmap.c:133:15: note: Invalid argument chasen-2.4.5/lib/mmap.c:153:21: style:inconclusive: Function 'cha_mmap_file' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/mmap.c:159:23: style:inconclusive: Function 'cha_mmap_file_w' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/mkchadic/dumpdic.c:80:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable da_lex_t [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/mmap.c:165:29: style:inconclusive: Function 'cha_munmap_file' argument 1 names different: declaration '' definition 'mm'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/mkchadic/dumpdic.c:107:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/mmap.c:182:26: style:inconclusive: Function 'cha_mmap_map' argument 1 names different: declaration '' definition 'mm'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/mkchadic/dumpdic.c:140:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/mmap.c:188:27: style:inconclusive: Function 'cha_mmap_size' argument 1 names different: declaration '' definition 'mm'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/mmap.c:182:26: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/mmap.c:188:27: style: Parameter 'mm' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/init.c:76:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/init.c:192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/dartsdic.cpp:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:98:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:116:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:221:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:236:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:249:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:269:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:285:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:305:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:320:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:357:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:424:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:445:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cha_car [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/translate.c:76:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cha_lineno [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:541:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/translate.c:120:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MRPH_DEFAULT_WEIGHT [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/lisp.c:558:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/translate.c:165:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lexicon_t [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/translate.c:271:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_POS [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/translate.c:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/translate.c:319:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/translate.c:346:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/translate.c:356:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/katuyou.c:122:25: style:inconclusive: Function 'cha_read_katuyou' argument 1 names different: declaration '' definition 'fp_out'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/katuyou.c:122:37: style:inconclusive: Function 'cha_read_katuyou' argument 2 names different: declaration '' definition 'dir'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:72:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/chalib.c:179:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/chalib.c:446:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/chalib.c:514:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/chalib.c:598:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/literal.c:235:22: style:inconclusive: Function 'cha_set_encode' argument 1 names different: declaration '' definition 'encodestr'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/literal.c:256:26: style:inconclusive: Function 'cha_litmatch' argument 1 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/literal.c:256:38: style:inconclusive: Function 'cha_litmatch' argument 2 names different: declaration '' definition 'num'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/literal.c:235:22: style: Parameter 'encodestr' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/literal.c:266:14: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] chasen-2.4.5/mkchadic/makemat.c:59:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTYPE_FILE [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:179:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cha_form [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:209:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cha_form [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:236:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cha_hinsi [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:281:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Cha_hinsi [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:369:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cost [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:422:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:618:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:631:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:642:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:655:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:670:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:724:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TABLE_FILE [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:755:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATRIX_FILE [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/makemat.c:805:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/mkchadic/dumpdic.c:43:21: style: Parameter 'lex' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/mkchadic/dumpdic.c:75:20: style: Parameter 'lex' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/mkchadic/dumpdic.c:87:40: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/parse.c:377:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable headword_len [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/parse.c:521:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/grammar.c:59:14: warning: Either the condition 'idx>=4096' is redundant or the array 'Cha_hinsi[4096]' is accessed at index 4096, which is out of bounds. [arrayIndexOutOfBoundsCond] chasen-2.4.5/lib/grammar.c:48:13: note: Assuming that condition 'idx>=4096' is not redundant chasen-2.4.5/lib/grammar.c:59:14: note: Array index out of bounds chasen-2.4.5/lib/grammar.c:60:14: warning: Either the condition 'idx>=4096' is redundant or the array 'Cha_hinsi[4096]' is accessed at index 4096, which is out of bounds. [arrayIndexOutOfBoundsCond] chasen-2.4.5/lib/grammar.c:48:13: note: Assuming that condition 'idx>=4096' is not redundant chasen-2.4.5/lib/grammar.c:60:14: note: Array index out of bounds chasen-2.4.5/lib/grammar.c:126:23: style:inconclusive: Function 'cha_read_class' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/grammar.c:169:34: style:inconclusive: Function 'cha_match_nhinsi' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/grammar.c:169:44: style:inconclusive: Function 'cha_match_nhinsi' argument 2 names different: declaration '' definition 'hinsi'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/grammar.c:210:25: style:inconclusive: Function 'cha_read_grammar' argument 1 names different: declaration '' definition 'fp_out'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/grammar.c:210:37: style:inconclusive: Function 'cha_read_grammar' argument 2 names different: declaration '' definition 'ret'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/grammar.c:210:46: style:inconclusive: Function 'cha_read_grammar' argument 3 names different: declaration '' definition 'dir'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/grammar.c:171:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/iotool.c:298:9: style: Condition 'progpath' is always true [knownConditionTrueFalse] chasen-2.4.5/lib/iotool.c:324:9: style: Condition 'progpath' is always true [knownConditionTrueFalse] chasen-2.4.5/lib/iotool.c:71:26: style:inconclusive: Function 'cha_convert_escape' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:71:35: style:inconclusive: Function 'cha_convert_escape' argument 2 names different: declaration '' definition 'ctrl_only'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:105:24: style:inconclusive: Function 'cha_set_progpath' argument 1 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:120:22: style:inconclusive: Function 'cha_set_rcpath' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:154:17: style:inconclusive: Function 'cha_fopen' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:154:33: style:inconclusive: Function 'cha_fopen' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:154:43: style:inconclusive: Function 'cha_fopen' argument 3 names different: declaration '' definition 'ret'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:190:25: style:inconclusive: Function 'cha_fopen_grammar' argument 1 names different: declaration '' definition 'filename'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:190:41: style:inconclusive: Function 'cha_fopen_grammar' argument 2 names different: declaration '' definition 'mode'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:190:51: style:inconclusive: Function 'cha_fopen_grammar' argument 3 names different: declaration '' definition 'ret'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:190:60: style:inconclusive: Function 'cha_fopen_grammar' argument 4 names different: declaration '' definition 'dir'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:191:12: style:inconclusive: Function 'cha_fopen_grammar' argument 5 names different: declaration '' definition 'filepathp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:228:19: style:inconclusive: Function 'cha_malloc' argument 1 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:239:19: style:inconclusive: Function 'cha_realloc' argument 1 names different: declaration '' definition 'ptr'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:239:31: style:inconclusive: Function 'cha_realloc' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:266:18: style:inconclusive: Function 'cha_strdup' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:286:14: style:inconclusive: Function 'cha_exit' argument 1 names different: declaration '' definition 'status'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:286:28: style:inconclusive: Function 'cha_exit' argument 2 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:312:19: style:inconclusive: Function 'cha_exit_file' argument 1 names different: declaration '' definition 'status'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:312:33: style:inconclusive: Function 'cha_exit_file' argument 2 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:348:18: style:inconclusive: Function 'cha_perror' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:355:23: style:inconclusive: Function 'cha_exit_perror' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:500:25: style:inconclusive: Function 'cha_read_registry' argument 1 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:500:37: style:inconclusive: Function 'cha_read_registry' argument 2 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:500:49: style:inconclusive: Function 'cha_read_registry' argument 3 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/iotool.c:105:24: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/iotool.c:120:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/iotool.c:154:33: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/iotool.c:266:18: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/iotool.c:348:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/iotool.c:365:11: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/iotool.c:365:22: style: Variable 'rc_env' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/iotool.c:466:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/iotool.c:500:25: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/iotool.c:500:37: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/iotool.c:500:49: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/dartsdic.cpp:69:10: style: C-style pointer casting [cstyleCast] chasen-2.4.5/lib/dartsdic.cpp:101:18: style: C-style pointer casting [cstyleCast] chasen-2.4.5/lib/dartsdic.cpp:108:9: style: C-style pointer casting [cstyleCast] chasen-2.4.5/lib/dartsdic.cpp:109:9: style: C-style pointer casting [cstyleCast] chasen-2.4.5/lib/dartsdic.cpp:133:15: style: C-style pointer casting [cstyleCast] chasen-2.4.5/lib/dartsdic.cpp:188:15: style: C-style pointer casting [cstyleCast] chasen-2.4.5/lib/dartsdic.cpp:199:20: style: C-style pointer casting [cstyleCast] chasen-2.4.5/lib/dartsdic.cpp:103:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] chasen-2.4.5/lib/dartsdic.cpp:104:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] chasen-2.4.5/lib/dartsdic.cpp:159:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] chasen-2.4.5/lib/dartsdic.cpp:64:15: style:inconclusive: Function 'da_open' argument 1 names different: declaration '' definition 'daname'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:64:29: style:inconclusive: Function 'da_open' argument 2 names different: declaration '' definition 'lexname'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:64:44: style:inconclusive: Function 'da_open' argument 3 names different: declaration '' definition 'datname'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:80:20: style:inconclusive: Function 'da_lookup' argument 1 names different: declaration '' definition 'da'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:80:30: style:inconclusive: Function 'da_lookup' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:80:39: style:inconclusive: Function 'da_lookup' argument 3 names different: declaration '' definition 'key_len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:80:54: style:inconclusive: Function 'da_lookup' argument 4 names different: declaration '' definition 'indecies'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:80:68: style:inconclusive: Function 'da_lookup' argument 5 names different: declaration '' definition 'num'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:87:26: style:inconclusive: Function 'da_exact_lookup' argument 1 names different: declaration '' definition 'da'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:87:36: style:inconclusive: Function 'da_exact_lookup' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:87:45: style:inconclusive: Function 'da_exact_lookup' argument 3 names different: declaration '' definition 'key_len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:98:21: style:inconclusive: Function 'da_get_lex' argument 1 names different: declaration '' definition 'da'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:98:30: style:inconclusive: Function 'da_get_lex' argument 2 names different: declaration '' definition 'index'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:98:47: style:inconclusive: Function 'da_get_lex' argument 3 names different: declaration '' definition 'lex_data'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:98:62: style:inconclusive: Function 'da_get_lex' argument 4 names different: declaration '' definition 'key_len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:117:26: style:inconclusive: Function 'da_get_lex_base' argument 1 names different: declaration '' definition 'da'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:123:26: style:inconclusive: Function 'da_get_dat_base' argument 1 names different: declaration '' definition 'da'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:129:20: style:inconclusive: Function 'da_build_new' argument 1 names different: declaration '' definition 'path'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:141:26: style:inconclusive: Function 'da_build_add' argument 1 names different: declaration '' definition 'builder'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:141:41: style:inconclusive: Function 'da_build_add' argument 2 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:141:51: style:inconclusive: Function 'da_build_add' argument 3 names different: declaration '' definition 'val'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:167:27: style:inconclusive: Function 'da_build_dump' argument 1 names different: declaration '' definition 'builder'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:167:42: style:inconclusive: Function 'da_build_dump' argument 2 names different: declaration '' definition 'tmpfile'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:167:57: style:inconclusive: Function 'da_build_dump' argument 3 names different: declaration '' definition 'lexfile'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/dartsdic.cpp:147:47: style: Parameter 'indices' can be declared as reference to const [constParameterReference] chasen-2.4.5/lib/dartsdic.cpp:159:12: style: Variable 'lex' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/dartsdic.cpp:158:23: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] chasen-2.4.5/lib/dartsdic.cpp:184:20: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] chasen-2.4.5/lib/jfgets.c:50:5: warning:inconclusive: The buffer 'jfgets_delimiter' may not be null-terminated after the call to strncpy(). [terminateStrncpy] chasen-2.4.5/lib/connect.c:113:23: style:inconclusive: Function 'cha_read_table' argument 1 names different: declaration '' definition 'fp_out'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:113:35: style:inconclusive: Function 'cha_read_table' argument 2 names different: declaration '' definition 'dir'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:200:29: style:inconclusive: Function 'cha_check_table' argument 1 names different: declaration '' definition 'mrph'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:232:31: style:inconclusive: Function 'cha_check_table_for_undef' argument 1 names different: declaration '' definition 'hinsi'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:248:24: style:inconclusive: Function 'cha_read_matrix' argument 1 names different: declaration '' definition 'fp_out'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:296:25: style:inconclusive: Function 'cha_check_automaton' argument 1 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:296:36: style:inconclusive: Function 'cha_check_automaton' argument 2 names different: declaration '' definition 'con'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:296:45: style:inconclusive: Function 'cha_check_automaton' argument 3 names different: declaration '' definition 'undef_con_cost'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:296:66: style:inconclusive: Function 'cha_check_automaton' argument 4 names different: declaration '' definition 'costp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/connect.c:48:27: style: Parameter 'pair1' can be declared as pointer to const. However it seems that 'cmp_pair' is a callback function, if 'pair1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/connect.c:206:20: note: You might need to cast the function pointer here chasen-2.4.5/lib/connect.c:48:27: note: Parameter 'pair1' can be declared as pointer to const chasen-2.4.5/lib/connect.c:48:51: style: Parameter 'pair2' can be declared as pointer to const. However it seems that 'cmp_pair' is a callback function, if 'pair2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/connect.c:206:20: note: You might need to cast the function pointer here chasen-2.4.5/lib/connect.c:48:51: note: Parameter 'pair2' can be declared as pointer to const chasen-2.4.5/lib/connect.c:169:24: style: Parameter 'mrph' can be declared as pointer to const. However it seems that 'find_table' is a callback function, if 'mrph' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/connect.c:218:39: note: You might need to cast the function pointer here chasen-2.4.5/lib/connect.c:169:24: note: Parameter 'mrph' can be declared as pointer to const chasen-2.4.5/lib/connect.c:169:47: style: Parameter 'pair' can be declared as pointer to const. However it seems that 'find_table' is a callback function, if 'pair' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/connect.c:218:39: note: You might need to cast the function pointer here chasen-2.4.5/lib/connect.c:169:47: note: Parameter 'pair' can be declared as pointer to const chasen-2.4.5/lib/connect.c:202:21: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/connect.c:298:21: style: Variable 'cr' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/jfgets.c:48:32: style: Parameter 'delimiter' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/jfgets.c:125:29: style: Parameter 'target' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/jfgets.c:151:25: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/init.c:288:27: style:inconclusive: Function 'cha_read_rcfile_fp' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/init.c:69:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/init.c:144:11: style: Variable 'cell1_str' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/lisp.c:60:23: style:inconclusive: Function 'cha_set_skip_char' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:107:19: style:inconclusive: Function 'cha_s_feof' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:206:28: style:inconclusive: Function 'cha_s_free' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:216:20: style:inconclusive: Function 'cha_tmp_atom' argument 1 names different: declaration '' definition 'atom'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:231:16: style:inconclusive: Function 'cha_cons' argument 1 names different: declaration '' definition 'cha_car'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:231:31: style:inconclusive: Function 'cha_cons' argument 2 names different: declaration '' definition 'cha_cdr'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:247:25: style:inconclusive: Function 'cha_car' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:267:25: style:inconclusive: Function 'cha_cdr' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:283:28: style:inconclusive: Function 'cha_s_atom' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:299:17: style:inconclusive: Function 'cha_equal' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:299:26: style:inconclusive: Function 'cha_equal' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:316:30: style:inconclusive: Function 'cha_s_length' argument 1 names different: declaration '' definition 'list'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:454:19: style:inconclusive: Function 's_read_cdr' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:469:20: style:inconclusive: Function 's_read_main' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:485:19: style:inconclusive: Function 'cha_s_read' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:498:27: style:inconclusive: Function 'cha_assoc' argument 1 names different: declaration '' definition 'item'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:498:49: style:inconclusive: Function 'cha_assoc' argument 2 names different: declaration '' definition 'alist'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:553:30: style:inconclusive: Function 's_tostr_main' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:577:29: style:inconclusive: Function 'cha_s_tostr' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:588:20: style:inconclusive: Function 'cha_s_print' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:588:40: style:inconclusive: Function 'cha_s_print' argument 2 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/lisp.c:231:16: style: Argument 'cha_car' shadows outer function [shadowFunction] chasen-2.4.5/lib/chadic.h:216:16: note: Shadowed function chasen-2.4.5/lib/lisp.c:231:16: note: Shadow argument chasen-2.4.5/lib/lisp.c:231:31: style: Argument 'cha_cdr' shadows outer function [shadowFunction] chasen-2.4.5/lib/chadic.h:217:16: note: Shadowed function chasen-2.4.5/lib/lisp.c:231:31: note: Shadow argument chasen-2.4.5/lib/lisp.c:195:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/lisp.c:206:28: style: Parameter 'cell' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/lisp.c:512:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/mkchadic/translate.c:74:15: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/mkchadic/translate.c:90:11: style: Variable 'string' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/mkchadic/translate.c:239:15: style: Variable 'form' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/mkchadic/translate.c:353:11: style: Variable 'dic_base' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/mkchadic/translate.c:122:10: style: Variable 'weight' is assigned a value that is never used. [unreadVariable] chasen-2.4.5/mkchadic/translate.c:125:10: style: Variable 'weight' is assigned a value that is never used. [unreadVariable] chasen-2.4.5/mkchadic/translate.c:240:11: style: Variable 'form' is assigned a value that is never used. [unreadVariable] chasen-2.4.5/lib/chalib.c:608:33: warning: Either the condition 'num>=32' is redundant or the array 'dadic_filename[32][0]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] chasen-2.4.5/lib/chalib.c:606:10: note: Assuming that condition 'num>=32' is not redundant chasen-2.4.5/lib/chalib.c:608:33: note: Array index out of bounds chasen-2.4.5/lib/chalib.c:611:57: warning: Either the condition 'num>=32' is redundant or the array 'dadic_filename[32][0]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] chasen-2.4.5/lib/chalib.c:606:10: note: Assuming that condition 'num>=32' is not redundant chasen-2.4.5/lib/chalib.c:611:57: note: Array index out of bounds chasen-2.4.5/lib/chalib.c:612:59: warning: Either the condition 'num>=32' is redundant or the array 'dadic_filename[32][0]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] chasen-2.4.5/lib/chalib.c:606:10: note: Assuming that condition 'num>=32' is not redundant chasen-2.4.5/lib/chalib.c:612:59: note: Array index out of bounds chasen-2.4.5/lib/chalib.c:613:59: warning: Either the condition 'num>=32' is redundant or the array 'dadic_filename[32][0]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] chasen-2.4.5/lib/chalib.c:606:10: note: Assuming that condition 'num>=32' is not redundant chasen-2.4.5/lib/chalib.c:613:59: note: Array index out of bounds chasen-2.4.5/lib/chalib.c:614:12: warning: Either the condition 'num>=32' is redundant or the array 'Da_dicfile[32]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] chasen-2.4.5/lib/chalib.c:606:10: note: Assuming that condition 'num>=32' is not redundant chasen-2.4.5/lib/chalib.c:614:12: note: Array index out of bounds chasen-2.4.5/lib/chalib.c:546:27: style: Condition 'chasen_sparse_main(line,NULL)' is always false [knownConditionTrueFalse] chasen-2.4.5/lib/chalib.c:546:27: note: Calling function 'chasen_sparse_main' returns 0 chasen-2.4.5/lib/chalib.c:546:27: note: Condition 'chasen_sparse_main(line,NULL)' is always false chasen-2.4.5/lib/chalib.c:563:27: style: Condition 'chasen_sparse_main(euc_str,NULL)' is always false [knownConditionTrueFalse] chasen-2.4.5/lib/chalib.c:563:27: note: Calling function 'chasen_sparse_main' returns 0 chasen-2.4.5/lib/chalib.c:563:27: note: Condition 'chasen_sparse_main(euc_str,NULL)' is always false chasen-2.4.5/lib/chalib.c:65:20: style:inconclusive: Function 'cha_version' argument 1 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:80:24: style:inconclusive: Function 'cha_set_opt_form' argument 1 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:138:24: style:inconclusive: Function 'cha_set_language' argument 1 names different: declaration '' definition 'langstr'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:153:24: style:inconclusive: Function 'cha_set_cost_width' argument 1 names different: declaration '' definition 'cw'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:171:27: style:inconclusive: Function 'chasen_getopt_argv' argument 1 names different: declaration '' definition 'argv'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:171:40: style:inconclusive: Function 'chasen_getopt_argv' argument 2 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:362:22: style:inconclusive: Function 'chasen_fparse' argument 1 names different: declaration '' definition 'fp_in'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:362:36: style:inconclusive: Function 'chasen_fparse' argument 2 names different: declaration '' definition 'fp_out'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:375:21: style:inconclusive: Function 'chasen_sparse' argument 1 names different: declaration '' definition 'str_in'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:375:36: style:inconclusive: Function 'chasen_sparse' argument 2 names different: declaration '' definition 'fp_out'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:485:29: style:inconclusive: Function 'chasen_parse_segments' argument 1 names different: declaration '' definition 'input'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:485:42: style:inconclusive: Function 'chasen_parse_segments' argument 2 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:539:28: style:inconclusive: Function 'chasen_fparse_tostr' argument 1 names different: declaration '' definition 'fp_in'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:556:27: style:inconclusive: Function 'chasen_sparse_tostr' argument 1 names different: declaration '' definition 'str_in'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:572:17: style:inconclusive: Function 'cha_fgets' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:572:24: style:inconclusive: Function 'cha_fgets' argument 2 names different: declaration '' definition 'n'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:572:34: style:inconclusive: Function 'cha_fgets' argument 3 names different: declaration '' definition 'fp'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:595:32: style:inconclusive: Function 'cha_read_dadic' argument 1 names different: declaration '' definition 'cell'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/chalib.c:82:11: style: Variable 'f' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/chalib.c:138:24: style: Parameter 'langstr' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/chalib.c:581:52: style: Parameter 's' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/mkchadic/makemat.c:489:8: style: Local variable 'prev' shadows outer variable [shadowVariable] chasen-2.4.5/mkchadic/makemat.c:414:9: note: Shadowed variable chasen-2.4.5/mkchadic/makemat.c:489:8: note: Shadow local variable chasen-2.4.5/mkchadic/makemat.c:155:30: style: Parameter 'pair1' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/mkchadic/makemat.c:155:54: style: Parameter 'pair2' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/mkchadic/makemat.c:351:21: style: Variable 'curp' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/mkchadic/makemat.c:351:28: style: Variable 'cellp' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/mkchadic/makemat.c:33:11: style: struct member '_rensetu_chasen_cell_t::has_rule' is never used. [unusedStructMember] chasen-2.4.5/lib/tokenizer.c:89:17: style:inconclusive: Function 'cha_tok_new' argument 1 names different: declaration '' definition 'lang'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:89:27: style:inconclusive: Function 'cha_tok_new' argument 2 names different: declaration '' definition 'encode'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:136:30: style:inconclusive: Function 'cha_tok_delete' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:142:29: style:inconclusive: Function 'cha_tok_parse' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:142:49: style:inconclusive: Function 'cha_tok_parse' argument 2 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:142:60: style:inconclusive: Function 'cha_tok_parse' argument 3 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:142:70: style:inconclusive: Function 'cha_tok_parse' argument 4 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:143:13: style:inconclusive: Function 'cha_tok_parse' argument 5 names different: declaration '' definition 'anno_no'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:195:29: style:inconclusive: Function 'cha_tok_mblen' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:195:49: style:inconclusive: Function 'cha_tok_mblen' argument 2 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:195:58: style:inconclusive: Function 'cha_tok_mblen' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:204:38: style:inconclusive: Function 'cha_tok_set_annotation' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:204:54: style:inconclusive: Function 'cha_tok_set_annotation' argument 2 names different: declaration '' definition 'anno'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:213:26: style:inconclusive: Function 'euc_mblen' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:213:35: style:inconclusive: Function 'euc_mblen' argument 2 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:226:27: style:inconclusive: Function 'sjis_mblen' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:226:36: style:inconclusive: Function 'sjis_mblen' argument 2 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:238:30: style:inconclusive: Function 'iso8859_mblen' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:238:39: style:inconclusive: Function 'iso8859_mblen' argument 2 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:244:27: style:inconclusive: Function 'utf8_mblen' argument 1 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:244:36: style:inconclusive: Function 'utf8_mblen' argument 2 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:260:34: style:inconclusive: Function 'ja_char_type_parse' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:260:43: style:inconclusive: Function 'ja_char_type_parse' argument 2 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:260:55: style:inconclusive: Function 'ja_char_type_parse' argument 3 names different: declaration '' definition 'state0'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:260:67: style:inconclusive: Function 'ja_char_type_parse' argument 4 names different: declaration '' definition 'cursor'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:281:34: style:inconclusive: Function 'en_char_type_parse' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:281:43: style:inconclusive: Function 'en_char_type_parse' argument 2 names different: declaration '' definition 'state'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:281:55: style:inconclusive: Function 'en_char_type_parse' argument 3 names different: declaration '' definition 'state0'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:281:67: style:inconclusive: Function 'en_char_type_parse' argument 4 names different: declaration '' definition 'cursor'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:293:32: style:inconclusive: Function 'ja_euc_char_type' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:293:52: style:inconclusive: Function 'ja_euc_char_type' argument 2 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:293:61: style:inconclusive: Function 'ja_euc_char_type' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:325:33: style:inconclusive: Function 'ja_sjis_char_type' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:325:53: style:inconclusive: Function 'ja_sjis_char_type' argument 2 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:325:62: style:inconclusive: Function 'ja_sjis_char_type' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:358:33: style:inconclusive: Function 'ja_utf8_char_type' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:358:53: style:inconclusive: Function 'ja_utf8_char_type' argument 2 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:358:62: style:inconclusive: Function 'ja_utf8_char_type' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:400:28: style:inconclusive: Function 'en_char_type' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:400:48: style:inconclusive: Function 'en_char_type' argument 2 names different: declaration '' definition 'str'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:400:57: style:inconclusive: Function 'en_char_type' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:415:23: style:inconclusive: Function 'is_anno' argument 1 names different: declaration '' definition 'tok'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:415:43: style:inconclusive: Function 'is_anno' argument 2 names different: declaration '' definition 'string'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:415:55: style:inconclusive: Function 'is_anno' argument 3 names different: declaration '' definition 'len'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:444:21: style:inconclusive: Function 'is_anno2' argument 1 names different: declaration '' definition 'anno'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:444:42: style:inconclusive: Function 'is_anno2' argument 2 names different: declaration '' definition 'bos'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:444:51: style:inconclusive: Function 'is_anno2' argument 3 names different: declaration '' definition 'cursor'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/tokenizer.c:213:26: style: Parameter 'str' can be declared as pointer to const. However it seems that 'euc_mblen' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/tokenizer.c:101:19: note: You might need to cast the function pointer here chasen-2.4.5/lib/tokenizer.c:213:26: note: Parameter 'str' can be declared as pointer to const chasen-2.4.5/lib/tokenizer.c:226:27: style: Parameter 'str' can be declared as pointer to const. However it seems that 'sjis_mblen' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/tokenizer.c:105:19: note: You might need to cast the function pointer here chasen-2.4.5/lib/tokenizer.c:226:27: note: Parameter 'str' can be declared as pointer to const chasen-2.4.5/lib/tokenizer.c:238:30: style: Parameter 'str' can be declared as pointer to const. However it seems that 'iso8859_mblen' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/tokenizer.c:124:15: note: You might need to cast the function pointer here chasen-2.4.5/lib/tokenizer.c:238:30: note: Parameter 'str' can be declared as pointer to const chasen-2.4.5/lib/tokenizer.c:244:27: style: Parameter 'str' can be declared as pointer to const. However it seems that 'utf8_mblen' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/tokenizer.c:119:19: note: You might need to cast the function pointer here chasen-2.4.5/lib/tokenizer.c:244:27: note: Parameter 'str' can be declared as pointer to const chasen-2.4.5/lib/tokenizer.c:400:28: style: Parameter 'tok' can be declared as pointer to const. However it seems that 'en_char_type' is a callback function, if 'tok' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/tokenizer.c:126:41: note: You might need to cast the function pointer here chasen-2.4.5/lib/tokenizer.c:400:28: note: Parameter 'tok' can be declared as pointer to const chasen-2.4.5/lib/tokenizer.c:400:48: style: Parameter 'str' can be declared as pointer to const. However it seems that 'en_char_type' is a callback function, if 'str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/tokenizer.c:126:41: note: You might need to cast the function pointer here chasen-2.4.5/lib/tokenizer.c:400:48: note: Parameter 'str' can be declared as pointer to const chasen-2.4.5/lib/tokenizer.c:415:43: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/tokenizer.c:444:21: style: Parameter 'anno' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/parse.c:119:5: error: Returning/dereferencing 'ptr' after it is deallocated / released [deallocret] chasen-2.4.5/lib/parse.c:103:6: note: Returning/dereferencing 'ptr' after it is deallocated / released chasen-2.4.5/lib/parse.c:119:5: note: Returning/dereferencing 'ptr' after it is deallocated / released chasen-2.4.5/lib/parse.c:488:26: style:inconclusive: Function 'cha_parse_bos' argument 1 names different: declaration '' definition 'lat'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/parse.c:514:26: style:inconclusive: Function 'cha_parse_eos' argument 1 names different: declaration '' definition 'lat'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/parse.c:530:30: style:inconclusive: Function 'cha_parse_segment' argument 1 names different: declaration '' definition 'lat'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/parse.c:530:46: style:inconclusive: Function 'cha_parse_segment' argument 2 names different: declaration '' definition 'seg'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/parse.c:168:40: style: Parameter 'p_idx' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/parse.c:237:13: style: Variable 'new_mrph' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/parse.c:406:53: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/parse.c:457:37: style: Parameter 'seg' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/parse.c:580:11: style: Variable 'last_idx' is assigned a value that is never used. [unreadVariable] chasen-2.4.5/lib/print.c:193:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cha_puts [valueFlowBailoutIncompleteVar] chasen-2.4.5/lib/print.c:431:13: style: Condition '-value==value' is always false [knownConditionTrueFalse] chasen-2.4.5/lib/print.c:428:15: note: Assuming that condition 'value>=0' is not redundant chasen-2.4.5/lib/print.c:431:13: note: Condition '-value==value' is always false chasen-2.4.5/lib/print.c:130:2: error: Common realloc mistake: 'cha_output' nulled but not freed upon failure [memleakOnRealloc] chasen-2.4.5/lib/print.c:147:2: error: Common realloc mistake: 'cha_output' nulled but not freed upon failure [memleakOnRealloc] chasen-2.4.5/lib/print.c:206:2: warning: If memory allocation fails, then there is a possible null pointer dereference: cha_output [nullPointerOutOfMemory] chasen-2.4.5/lib/print.c:204:25: note: Assuming allocation function fails chasen-2.4.5/lib/print.c:204:25: note: Assignment 'cha_output=malloc((1024*16)*++cha_output_nblock)', assigned value is 0 chasen-2.4.5/lib/print.c:206:2: note: Null pointer dereference chasen-2.4.5/lib/print.c:431:13: style: Opposite expression on both sides of '=='. [oppositeExpression] chasen-2.4.5/lib/print.c:575:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] chasen-2.4.5/lib/print.c:176:23: style:inconclusive: Function 'cha_set_output' argument 1 names different: declaration '' definition 'output'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:615:28: style:inconclusive: Function 'cha_printf_mrph' argument 1 names different: declaration '' definition 'lat'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:615:37: style:inconclusive: Function 'cha_printf_mrph' argument 2 names different: declaration '' definition 'path_num'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:615:60: style:inconclusive: Function 'cha_printf_mrph' argument 3 names different: declaration '' definition 'mdata'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:615:73: style:inconclusive: Function 'cha_printf_mrph' argument 4 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:1328:27: style:inconclusive: Function 'cha_print_path' argument 1 names different: declaration '' definition 'lat'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:1328:36: style:inconclusive: Function 'cha_print_path' argument 2 names different: declaration '' definition 'opt_show'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:1328:50: style:inconclusive: Function 'cha_print_path' argument 3 names different: declaration '' definition 'opt_form'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:1328:66: style:inconclusive: Function 'cha_print_path' argument 4 names different: declaration '' definition 'format'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:1349:23: style:inconclusive: Function 'cha_print_bos_eos' argument 1 names different: declaration '' definition 'opt_form'. [funcArgNamesDifferentUnnamed] chasen-2.4.5/lib/print.c:141:17: style: Parameter 's' can be declared as pointer to const. However it seems that 'cha_sputs' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/print.c:193:24: note: You might need to cast the function pointer here chasen-2.4.5/lib/print.c:141:17: note: Parameter 's' can be declared as pointer to const chasen-2.4.5/lib/print.c:170:18: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'cha_swrite' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chasen-2.4.5/lib/print.c:195:25: note: You might need to cast the function pointer here chasen-2.4.5/lib/print.c:170:18: note: Parameter 'ptr' can be declared as pointer to const chasen-2.4.5/lib/print.c:297:25: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/print.c:331:11: style: Variable 'm0' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/print.c:332:11: style: Variable 'y0' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/print.c:482:11: style: Variable 'field' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/print.c:615:28: style: Parameter 'lat' can be declared as pointer to const [constParameterPointer] chasen-2.4.5/lib/print.c:623:13: style: Variable 'mrph' can be declared as pointer to const [constVariablePointer] chasen-2.4.5/lib/print.c:95:15: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] chasen-2.4.5/lib/print.c:98:4: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] chasen-2.4.5/lib/print.c:100:4: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] chasen-2.4.5/lib/print.c:102:4: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] chasen-2.4.5/lib/print.c:104:4: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] chasen-2.4.5/lib/print.c:1002:38: portability: 'da_get_lex_base(da)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] diff: 2.21.0 chasen-2.4.5/lib/lisp.c:158:12: error: Array 'ptr[16384]' accessed at index -1, which is out of bounds. [negativeIndex] chasen-2.4.5/lib/lisp.c:138:26: note: Assignment 'ptr_num=0', assigned value is 0 chasen-2.4.5/lib/lisp.c:152:10: note: Assuming condition is false chasen-2.4.5/lib/lisp.c:158:12: note: Negative array index 2.21.0 chasen-2.4.5/lib/lisp.c:190:12: error: Array 'ptr[512]' accessed at index -1, which is out of bounds. [negativeIndex] chasen-2.4.5/lib/lisp.c:169:26: note: Assignment 'ptr_num=0', assigned value is 0 chasen-2.4.5/lib/lisp.c:183:17: note: Assuming condition is false chasen-2.4.5/lib/lisp.c:190:12: note: Negative array index 2.21.0 chasen-2.4.5/lib/parse.c:91:19: error: Array 'buffer_ptr[512]' accessed at index -1, which is out of bounds. [negativeIndex] chasen-2.4.5/lib/parse.c:61:33: note: Assignment 'buffer_ptr_num=0', assigned value is 0 chasen-2.4.5/lib/parse.c:83:26: note: Assuming condition is false chasen-2.4.5/lib/parse.c:91:19: note: Negative array index DONE