2024-04-14 16:32 ftp://ftp.de.debian.org/debian/pool/main/b/bison++/bison++_1.21.11.orig.tar.gz 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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 01c049d (2024-04-13 21:28:19 +0200) count: 437 411 elapsed-time: 1.2 1.0 head-timing-info: old-timing-info: head results: bison++-1.21.11/Example/FlexLexer.h:74:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLEXFIX2 [valueFlowBailoutIncompleteVar] bison++-1.21.11/Example/MyCompiler.cc:18:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yylval [valueFlowBailoutIncompleteVar] bison++-1.21.11/allocate.cc:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/Example/MyCompiler.cc:22:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/allocate.cc:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/Example/FlexLexer.h:58:14: style:inconclusive: Technically the member function 'FlexLexer::YYText' can be const. [functionConst] bison++-1.21.11/Example/FlexLexer.h:59:6: style:inconclusive: Technically the member function 'FlexLexer::YYLeng' can be const. [functionConst] bison++-1.21.11/Example/FlexLexer.h:107:2: style: Class 'yyFlexLexer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bison++-1.21.11/Example/FlexLexer.h:109:11: style: The destructor '~yyFlexLexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bison++-1.21.11/Example/FlexLexer.h:56:11: note: Virtual destructor in base class bison++-1.21.11/Example/FlexLexer.h:109:11: note: Destructor in derived class bison++-1.21.11/Example/FlexLexer.h:111:7: style: The function 'yy_switch_to_buffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bison++-1.21.11/Example/FlexLexer.h:62:3: note: Virtual function in base class bison++-1.21.11/Example/FlexLexer.h:111:7: note: Function in derived class bison++-1.21.11/Example/FlexLexer.h:112:26: style: The function 'yy_create_buffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bison++-1.21.11/Example/FlexLexer.h:64:3: note: Virtual function in base class bison++-1.21.11/Example/FlexLexer.h:112:26: note: Function in derived class bison++-1.21.11/bison.cc:549:6: error: syntax error [syntaxError] bison++-1.21.11/Example/FlexLexer.h:113:7: style: The function 'yy_delete_buffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bison++-1.21.11/Example/FlexLexer.h:65:15: note: Virtual function in base class bison++-1.21.11/Example/FlexLexer.h:113:7: note: Function in derived class bison++-1.21.11/Example/FlexLexer.h:114:7: style: The function 'yyrestart' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bison++-1.21.11/Example/FlexLexer.h:66:15: note: Virtual function in base class bison++-1.21.11/Example/FlexLexer.h:114:7: note: Function in derived class bison++-1.21.11/Example/FlexLexer.h:116:14: style: The function 'yylex' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bison++-1.21.11/Example/FlexLexer.h:68:14: note: Virtual function in base class bison++-1.21.11/Example/FlexLexer.h:116:14: note: Function in derived class bison++-1.21.11/Example/FlexLexer.h:117:15: style: The function 'switch_streams' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bison++-1.21.11/Example/FlexLexer.h:79:15: note: Virtual function in base class bison++-1.21.11/Example/FlexLexer.h:117:15: note: Function in derived class bison++-1.21.11/alloca.c:106:16: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/alloca.c:140:8: style: union member 'hdr::align' is never used. [unusedStructMember] bison++-1.21.11/derives.cc:45:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/derives.cc:46:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/derives.cc:61:13: style: C-style pointer casting [cstyleCast] bison++-1.21.11/derives.cc:62:7: style: C-style pointer casting [cstyleCast] bison++-1.21.11/derives.cc:80:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/derives.cc:81:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/derives.cc:87:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/derives.cc:88:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/derives.cc:39:16: style: The scope of the variable 'lhs' can be reduced. [variableScope] bison++-1.21.11/getargs.cc:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/getargs.cc:88:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/files.cc:316:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/files.cc:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/files.cc:378:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/closure.cc:84:13: style: C-style pointer casting [cstyleCast] bison++-1.21.11/closure.cc:87:13: style: C-style pointer casting [cstyleCast] bison++-1.21.11/closure.cc:112:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/closure.cc:149:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/closure.cc:172:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/closure.cc:284:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/closure.cc:285:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/closure.cc:286:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/closure.cc:103:22: style: The scope of the variable 'vrow' can be reduced. [variableScope] bison++-1.21.11/closure.cc:105:21: style: The scope of the variable 'cword' can be reduced. [variableScope] bison++-1.21.11/closure.cc:107:16: style: The scope of the variable 'b' can be reduced. [variableScope] bison++-1.21.11/closure.cc:165:19: style: The scope of the variable 'sp' can be reduced. [variableScope] bison++-1.21.11/closure.cc:203:21: style: The scope of the variable 'word' can be reduced. [variableScope] bison++-1.21.11/closure.cc:210:7: style: The scope of the variable 'symbol' can be reduced. [variableScope] bison++-1.21.11/closure.cc:103:22: style: Variable 'vrow' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/closure.cc:106:19: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/closure.cc:165:19: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/closure.cc:204:19: style: Variable 'csp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/closure.cc:205:22: style: Variable 'dsp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/closure.cc:208:10: style: Variable 'csend' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/closure.cc:209:13: style: Variable 'rsend' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/closure.cc:259:22: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] bison++-1.21.11/closure.cc:257:18: note: Assuming that condition 'b<32' is not redundant bison++-1.21.11/closure.cc:259:22: note: Shift bison++-1.21.11/files.cc:103:13: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:161:19: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:173:16: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:198:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:203:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:215:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:220:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:277:16: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:301:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:306:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/files.cc:97:23: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/files.cc:125:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/files.cc:129:9: style: Variable 'tmp_base' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/files.cc:272:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/files.cc:328:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/files.cc:328:27: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/files.cc:132:11: style: Variable 'tmp_len' is assigned a value that is never used. [unreadVariable] bison++-1.21.11/files.cc:124:18: style: Unused variable: cp [unusedVariable] bison++-1.21.11/files.cc:272:20: style: Unused variable: cp [unusedVariable] bison++-1.21.11/conflict.cc:397:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/getopt.cc:424:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/lex.cc:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/lex.cc:403:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/lalr.cc:671:8: warning: Either the condition '(sp)!=0' is redundant or there is possible null pointer dereference: sp. [nullPointerRedundantCheck] bison++-1.21.11/lalr.cc:672:2: note: Assuming that condition '(sp)!=0' is not redundant bison++-1.21.11/lalr.cc:671:8: note: Null pointer dereference bison++-1.21.11/lalr.cc:131:17: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:143:22: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:155:17: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:167:21: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:210:16: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:211:16: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:243:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:244:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:245:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:249:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:250:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:251:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:278:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:279:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:311:16: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:312:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:330:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:383:7: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:385:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:386:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:416:24: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:434:2: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:437:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:438:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:463:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:464:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:465:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:515:27: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:526:7: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:528:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:532:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:533:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:559:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:577:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:589:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:590:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:597:9: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:604:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:616:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:631:24: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:634:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:672:2: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:676:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:677:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:687:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:688:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:702:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:703:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lalr.cc:207:20: style: The scope of the variable 'sp' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:216:20: style: The scope of the variable 'k' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:276:16: style: The scope of the variable 'state1' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:342:16: style: The scope of the variable 'middle' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:343:16: style: The scope of the variable 's' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:378:16: style: The scope of the variable 'stateno' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:452:16: style: The scope of the variable 'nedges' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:454:16: style: The scope of the variable 'state1' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:456:16: style: The scope of the variable 'symbol1' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:575:16: style: The scope of the variable 'k' can be reduced. [variableScope] bison++-1.21.11/lalr.cc:207:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lalr.cc:644:22: style: Variable 'fp2' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lalr.cc:712:22: style: Variable 'fp3' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lalr.cc:714:19: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lalr.cc:585:12: error: Memory is allocated but not initialized: nedges[*sp++] [uninitdata] bison++-1.21.11/conflict.cc:280:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] bison++-1.21.11/conflict.cc:91:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:92:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:93:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:95:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:199:17: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:278:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:279:27: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:764:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:765:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:766:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/conflict.cc:114:16: style: The scope of the variable 'symbol' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:295:16: style: The scope of the variable 'k' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:295:19: style: The scope of the variable 'i' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:501:16: style: The scope of the variable 'count' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:504:22: style: The scope of the variable 'wordp' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:546:16: style: The scope of the variable 'j' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:552:16: style: The scope of the variable 'rule' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:557:16: style: The scope of the variable 'default_LA' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:559:16: style: The scope of the variable 'cmax' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:560:16: style: The scope of the variable 'count' can be reduced. [variableScope] bison++-1.21.11/conflict.cc:112:22: style: Variable 'fp4' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/conflict.cc:313:54: style: Parameter 'resolution' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/conflict.cc:436:22: style: Variable 'fp1' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/conflict.cc:438:22: style: Variable 'fp3' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/conflict.cc:551:22: style: Variable 'fp4' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/main.cc:132:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/main.cc:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/main.cc:68:19: style: Condition 'onlyName!="yacc"' is always true [knownConditionTrueFalse] bison++-1.21.11/main.cc:62:15: note: Assuming that condition 'onlyName!="bison++"' is not redundant bison++-1.21.11/main.cc:68:19: note: Condition 'onlyName!="yacc"' is always true bison++-1.21.11/main.cc:43:23: performance: Function parameter 'FullPath' should be passed by const reference. [passedByValue] bison++-1.21.11/main.cc:119:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:130:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:150:30: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:160:30: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:160:39: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:169:30: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:169:39: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:169:48: style: Parameter 'x3' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:178:30: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:178:39: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:178:48: style: Parameter 'x3' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/main.cc:178:57: style: Parameter 'x4' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/nullable.cc:55:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:57:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:60:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:61:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:65:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:125:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:126:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:127:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:128:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:135:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/nullable.cc:38:19: style: Variable 's1' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/nullable.cc:96:11: error: Memory is allocated but not initialized: rcount[ruleno] [uninitdata] bison++-1.21.11/lr0.cc:90:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:110:17: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:111:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:121:16: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:130:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:131:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:132:17: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:139:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:140:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:141:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:142:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:143:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:144:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:145:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:378:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:404:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:418:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:475:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:548:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:562:5: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:566:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:585:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:608:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:619:9: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:637:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:653:13: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:659:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:671:13: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:687:13: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:695:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lr0.cc:205:16: style: The scope of the variable 'symbol' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:250:16: style: The scope of the variable 'j' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:290:19: style: The scope of the variable 'isp2' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:293:16: style: The scope of the variable 'found' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:452:19: style: The scope of the variable 'rp2' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:453:16: style: The scope of the variable 'item' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:457:10: style: The scope of the variable 'rend' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:511:16: style: The scope of the variable 'i' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:512:16: style: The scope of the variable 'k' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:517:20: style: The scope of the variable 'sp1' can be reduced. [variableScope] bison++-1.21.11/lr0.cc:83:19: style: Variable 'itemp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lr0.cc:203:19: style: Variable 'isp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lr0.cc:291:19: style: Variable 'iend' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lr0.cc:363:19: style: Variable 'isp1' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lr0.cc:365:19: style: Variable 'iend' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lr0.cc:414:19: style: Variable 'sp1' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lr0.cc:416:19: style: Variable 'send' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lr0.cc:457:10: style: Variable 'rend' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/lr0.cc:99:16: error: Memory is allocated but not initialized: symbol_count[symbol] [uninitdata] bison++-1.21.11/output.cc:347:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/output.cc:1394:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/output.cc:1419:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/output.cc:1457:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/lex.cc:66:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lex.cc:76:18: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lex.cc:98:39: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lex.cc:240:55: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lex.cc:274:50: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lex.cc:288:51: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lex.cc:290:77: style: C-style pointer casting [cstyleCast] bison++-1.21.11/lex.cc:72:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bison++-1.21.11/getopt.cc:379:16: style: C-style pointer casting [cstyleCast] bison++-1.21.11/getopt.cc:407:16: style: C-style pointer casting [cstyleCast] bison++-1.21.11/getopt.cc:575:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/getopt.cc:338:7: style: The scope of the variable 'option_index' can be reduced. [variableScope] bison++-1.21.11/getopt.cc:585:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/reduce.cc:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/reduce.cc:572:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:173:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:402:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:728:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:941:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:1151:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:1517:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:1861:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:1876:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bison++-1.21.11/reader.cc:1907:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bison++-1.21.11/reduce.cc:119:7: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:120:7: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:121:7: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:122:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:161:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:162:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:163:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:205:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:247:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:284:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:285:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:324:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:332:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:430:20: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reduce.cc:177:9: style: The scope of the variable 'n' can be reduced. [variableScope] bison++-1.21.11/reduce.cc:484:9: style: The scope of the variable 'r' can be reduced. [variableScope] bison++-1.21.11/reduce.cc:300:9: error: Memory is allocated but not initialized: (Pp)[(i)/32] [uninitdata] bison++-1.21.11/reduce.cc:225:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] bison++-1.21.11/reduce.cc:293:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] bison++-1.21.11/symtab.cc:72:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/symtab.cc:102:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/symtab.cc:142:4: style: C-style pointer casting [cstyleCast] bison++-1.21.11/symtab.cc:146:3: style: C-style pointer casting [cstyleCast] bison++-1.21.11/vmsgetargs.c:38:1: portability: Omitted return type of function 'getargs' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] bison++-1.21.11/vmsgetargs.c:45:16: style: Local variable 'infile' shadows outer variable [shadowVariable] bison++-1.21.11/files.h:48:14: note: Shadowed declaration bison++-1.21.11/vmsgetargs.c:45:16: note: Shadow variable bison++-1.21.11/warshall.cc:44:26: style: C-style pointer casting [cstyleCast] bison++-1.21.11/warshall.cc:59:29: style: C-style pointer casting [cstyleCast] bison++-1.21.11/warshall.cc:66:29: style: C-style pointer casting [cstyleCast] bison++-1.21.11/warshall.cc:69:25: style: C-style pointer casting [cstyleCast] bison++-1.21.11/warshall.cc:79:28: style: C-style pointer casting [cstyleCast] bison++-1.21.11/warshall.cc:98:26: style: C-style pointer casting [cstyleCast] bison++-1.21.11/warshall.cc:113:26: style: C-style pointer casting [cstyleCast] bison++-1.21.11/warshall.cc:34:22: style: The scope of the variable 'rowj' can be reduced. [variableScope] bison++-1.21.11/warshall.cc:37:22: style: The scope of the variable 'ccol' can be reduced. [variableScope] bison++-1.21.11/warshall.cc:35:22: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/warshall.cc:36:22: style: Variable 'rend' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/warshall.cc:39:13: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/warshall.cc:93:22: style: Variable 'relend' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/print.cc:100:16: style: The scope of the variable 'rule' can be reduced. [variableScope] bison++-1.21.11/print.cc:103:19: style: The scope of the variable 'sp1' can be reduced. [variableScope] bison++-1.21.11/print.cc:151:16: style: The scope of the variable 'rule' can be reduced. [variableScope] bison++-1.21.11/print.cc:103:19: style: Variable 'sp1' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/print.cc:247:14: style: Variable 'column' is assigned a value that is never used. [unreadVariable] bison++-1.21.11/output.cc:1651:14: style: Condition 'buff_size bison++-1.21.11/output.cc:1412:43: note: Uninitialized variable: *pcounter bison++-1.21.11/output.cc:1597:7: style: Unused variable: line [unusedVariable] bison++-1.21.11/reader.cc:1801:8: style: Condition 'p' is always true [knownConditionTrueFalse] bison++-1.21.11/reader.cc:402:5: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] bison++-1.21.11/reader.cc:284:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:428:59: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:430:69: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:504:23: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:513:36: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:523:38: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:567:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:597:42: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:643:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:652:44: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:656:36: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:663:39: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1052:30: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1065:30: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1261:27: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1380:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1401:52: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1450:9: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1455:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1461:9: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1472:9: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1487:8: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1569:4: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1621:15: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1643:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1662:42: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1687:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1690:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1691:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1721:28: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1738:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1739:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1740:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1750:48: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1752:46: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1773:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1774:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1775:10: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1776:11: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1777:14: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1778:12: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1851:79: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1854:19: style: C-style pointer casting [cstyleCast] bison++-1.21.11/reader.cc:1495:10: style: Variable 't' is reassigned a value before the old one has been used. [redundantAssignment] bison++-1.21.11/reader.cc:1493:10: note: t is assigned bison++-1.21.11/reader.cc:1495:10: note: t is overwritten bison++-1.21.11/reader.cc:338:16: style: The scope of the variable 'c' can be reduced. [variableScope] bison++-1.21.11/reader.cc:481:16: style: The scope of the variable 'prev' can be reduced. [variableScope] bison++-1.21.11/reader.cc:1719:20: style: Local variable 'i' shadows outer variable [shadowVariable] bison++-1.21.11/reader.cc:1682:16: note: Shadowed declaration bison++-1.21.11/reader.cc:1719:20: note: Shadow variable bison++-1.21.11/reader.cc:856:16: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/reader.cc:895:18: style: Variable 'type_name' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/reader.cc:1113:18: style: Variable 'type_name' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/reader.cc:1771:11: style: Variable 'ruleprec' can be declared as pointer to const [constVariablePointer] bison++-1.21.11/reader.cc:1682:16: style: Unused variable: i [unusedVariable] diff: head bison++-1.21.11/Example/FlexLexer.h:109:11: style: The destructor '~yyFlexLexer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bison++-1.21.11/Example/FlexLexer.h:56:11: note: Virtual destructor in base class bison++-1.21.11/Example/FlexLexer.h:109:11: note: Destructor in derived class head bison++-1.21.11/Example/MyCompiler.cc:18:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yylval [valueFlowBailoutIncompleteVar] head bison++-1.21.11/Example/MyCompiler.cc:22:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head bison++-1.21.11/allocate.cc:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head bison++-1.21.11/conflict.cc:546:16: style: The scope of the variable 'j' can be reduced. [variableScope] head bison++-1.21.11/conflict.cc:552:16: style: The scope of the variable 'rule' can be reduced. [variableScope] head bison++-1.21.11/conflict.cc:557:16: style: The scope of the variable 'default_LA' can be reduced. [variableScope] head bison++-1.21.11/conflict.cc:559:16: style: The scope of the variable 'cmax' can be reduced. [variableScope] head bison++-1.21.11/conflict.cc:560:16: style: The scope of the variable 'count' can be reduced. [variableScope] head bison++-1.21.11/files.cc:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head bison++-1.21.11/files.cc:378:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/getargs.cc:88:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/lex.cc:403:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/main.cc:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head bison++-1.21.11/output.cc:1394:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/output.cc:1419:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/output.cc:1457:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reader.cc:1151:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reader.cc:1517:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reader.cc:1861:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reader.cc:1876:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reader.cc:1907:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reader.cc:402:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reader.cc:728:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reader.cc:941:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head bison++-1.21.11/reduce.cc:572:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DONE