2026-05-03 05:45 ftp://ftp.de.debian.org/debian/pool/main/libo/liborigin2/liborigin2_20110117.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 280 279 elapsed-time: 5.8 3.9 head-timing-info: old-timing-info: head results: liborigin2-20110117/OriginObj.h:703:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] liborigin2-20110117/endianfstream.hh:152:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.h:67:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginObj.h:170:3: warning: Member variable 'SpreadColumn::type' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:193:3: warning: Member variable 'SpreadSheet::maxRows' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:236:3: warning: Member variable 'Matrix::rowCount' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:236:3: warning: Member variable 'Matrix::columnCount' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:236:3: warning: Member variable 'Matrix::colorMap' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:286:3: warning: Member variable 'TextBox::color' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:286:3: warning: Member variable 'TextBox::fontSize' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:286:3: warning: Member variable 'TextBox::rotation' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:286:3: warning: Member variable 'TextBox::tab' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:286:3: warning: Member variable 'TextBox::borderType' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:286:3: warning: Member variable 'TextBox::attach' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:321:3: warning: Member variable 'PieProperties::viewAngle' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:321:3: warning: Member variable 'PieProperties::thickness' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:321:3: warning: Member variable 'PieProperties::rotation' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:321:3: warning: Member variable 'PieProperties::radius' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:321:3: warning: Member variable 'PieProperties::horizontalOffset' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:321:3: warning: Member variable 'PieProperties::displacedSectionCount' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:321:3: warning: Member variable 'PieProperties::displacement' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:321:3: warning: Member variable 'PieProperties::distance' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:350:3: warning: Member variable 'VectorProperties::color' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:350:3: warning: Member variable 'VectorProperties::width' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:350:3: warning: Member variable 'VectorProperties::arrowLenght' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:350:3: warning: Member variable 'VectorProperties::arrowAngle' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:499:3: warning: Member variable 'GraphAxisBreak::log10' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:499:3: warning: Member variable 'GraphAxisBreak::from' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:499:3: warning: Member variable 'GraphAxisBreak::to' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:499:3: warning: Member variable 'GraphAxisBreak::position' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:499:3: warning: Member variable 'GraphAxisBreak::scaleIncrementBefore' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:499:3: warning: Member variable 'GraphAxisBreak::scaleIncrementAfter' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:499:3: warning: Member variable 'GraphAxisBreak::minorTicksBefore' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:499:3: warning: Member variable 'GraphAxisBreak::minorTicksAfter' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::attach' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::color' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::style' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::width' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::fillAreaColor' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::fillAreaPattern' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::fillAreaPatternColor' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::fillAreaPatternWidth' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:575:3: warning: Member variable 'Figure::useBorderColor' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:618:3: warning: Member variable 'Bitmap::attach' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::backgroundColor' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::borderType' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::xAxis' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::yAxis' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::zAxis' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::histogramBin' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::histogramBegin' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::histogramEnd' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::percentile' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::colorScale' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::xLength' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::yLength' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::zLength' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::vLine' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:694:3: warning: Member variable 'GraphLayer::hLine' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:729:3: warning: Member variable 'Graph::width' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:729:3: warning: Member variable 'Graph::height' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/OriginObj.h:163:10: style:inconclusive: Member variable 'SpreadColumn::command' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:173:5: note: Member variable 'SpreadColumn::command' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:163:10: note: Member variable 'SpreadColumn::command' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:158:13: style:inconclusive: Member variable 'SpreadColumn::valueType' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:175:5: note: Member variable 'SpreadColumn::valueType' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:158:13: note: Member variable 'SpreadColumn::valueType' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:162:22: style:inconclusive: Member variable 'SpreadColumn::numericDisplayType' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:180:5: note: Member variable 'SpreadColumn::numericDisplayType' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:162:22: note: Member variable 'SpreadColumn::numericDisplayType' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:226:10: style:inconclusive: Member variable 'Matrix::command' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:240:5: note: Member variable 'Matrix::command' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:226:10: note: Member variable 'Matrix::command' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:222:7: style:inconclusive: Member variable 'Matrix::valueTypeSpecification' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:241:5: note: Member variable 'Matrix::valueTypeSpecification' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:222:7: note: Member variable 'Matrix::valueTypeSpecification' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:225:22: style:inconclusive: Member variable 'Matrix::numericDisplayType' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:245:5: note: Member variable 'Matrix::numericDisplayType' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:225:22: note: Member variable 'Matrix::numericDisplayType' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:256:16: style:inconclusive: Member variable 'Function::type' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:266:5: note: Member variable 'Function::type' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:256:16: note: Member variable 'Function::type' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:614:10: style:inconclusive: Member variable 'Bitmap::windowName' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:621:5: note: Member variable 'Bitmap::windowName' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:614:10: note: Member variable 'Bitmap::windowName' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:748:12: style:inconclusive: Member variable 'ProjectNode::type' is in the wrong place in the initializer list. [initializerList] liborigin2-20110117/OriginObj.h:755:5: note: Member variable 'ProjectNode::type' is in the wrong place in the initializer list. liborigin2-20110117/OriginObj.h:748:12: note: Member variable 'ProjectNode::type' is in the wrong place in the initializer list. liborigin2-20110117/Origin750Parser.h:63:16: style: The member function 'Origin750Parser::stringToDouble' can be static. [functionStatic] liborigin2-20110117/Origin750Parser.h:72:34: style: The member function 'Origin750Parser::doubleToPosixTime' can be static. [functionStatic] liborigin2-20110117/OriginObj.h:643:12: warning: Struct 'Bitmap' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] liborigin2-20110117/Origin800Parser.h:41:7: warning: The class 'Origin800Parser' defines member function with name 'readSpreadInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:48:7: note: Parent function 'Origin750Parser::readSpreadInfo' liborigin2-20110117/Origin800Parser.h:41:7: note: Derived function 'Origin800Parser::readSpreadInfo' liborigin2-20110117/Origin800Parser.h:42:7: warning: The class 'Origin800Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:50:7: note: Parent function 'Origin750Parser::readMatrixInfo' liborigin2-20110117/Origin800Parser.h:42:7: note: Derived function 'Origin800Parser::readMatrixInfo' liborigin2-20110117/Origin800Parser.h:43:7: warning: The class 'Origin800Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:51:7: note: Parent function 'Origin750Parser::readGraphInfo' liborigin2-20110117/Origin800Parser.h:43:7: note: Derived function 'Origin800Parser::readGraphInfo' liborigin2-20110117/Origin610Parser.h:41:7: warning: The class 'Origin610Parser' defines member function with name 'readSpreadInfo' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:41:7: note: Parent function 'Origin800Parser::readSpreadInfo' liborigin2-20110117/Origin610Parser.h:41:7: note: Derived function 'Origin610Parser::readSpreadInfo' liborigin2-20110117/Origin610Parser.h:42:7: warning: The class 'Origin610Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:42:7: note: Parent function 'Origin800Parser::readMatrixInfo' liborigin2-20110117/Origin610Parser.h:42:7: note: Derived function 'Origin610Parser::readMatrixInfo' liborigin2-20110117/Origin610Parser.h:43:7: warning: The class 'Origin610Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:43:7: note: Parent function 'Origin800Parser::readGraphInfo' liborigin2-20110117/Origin610Parser.h:43:7: note: Derived function 'Origin610Parser::readGraphInfo' liborigin2-20110117/Origin610Parser.h:44:7: warning: The class 'Origin610Parser' defines member function with name 'readResultsLog' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:46:7: note: Parent function 'Origin800Parser::readResultsLog' liborigin2-20110117/Origin610Parser.h:44:7: note: Derived function 'Origin610Parser::readResultsLog' liborigin2-20110117/Origin610Parser.h:41:7: warning: The class 'Origin610Parser' defines member function with name 'readSpreadInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:48:7: note: Parent function 'Origin750Parser::readSpreadInfo' liborigin2-20110117/Origin610Parser.h:41:7: note: Derived function 'Origin610Parser::readSpreadInfo' liborigin2-20110117/Origin610Parser.h:42:7: warning: The class 'Origin610Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:50:7: note: Parent function 'Origin750Parser::readMatrixInfo' liborigin2-20110117/Origin610Parser.h:42:7: note: Derived function 'Origin610Parser::readMatrixInfo' liborigin2-20110117/Origin610Parser.h:43:7: warning: The class 'Origin610Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:51:7: note: Parent function 'Origin750Parser::readGraphInfo' liborigin2-20110117/Origin610Parser.h:43:7: note: Derived function 'Origin610Parser::readGraphInfo' liborigin2-20110117/OriginObj.h:78:3: style: Struct 'Rect' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:140:3: style: Struct 'Window' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:170:3: style: Struct 'SpreadColumn' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:193:3: style: Struct 'SpreadSheet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:207:3: style: Struct 'Excel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:236:3: style: Struct 'Matrix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:263:3: style: Struct 'Function' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:286:3: style: Struct 'TextBox' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:575:3: style: Struct 'Figure' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:618:3: style: Struct 'Bitmap' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:714:3: style: Struct 'GraphLayerRange' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:729:3: style: Struct 'Graph' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:739:3: style: Struct 'Note' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginObj.h:753:3: style: Struct 'ProjectNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/endianfstream.hh:40:3: style: Class 'iendianfstream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/Origin750Parser.h:44:2: style: Class 'Origin750Parser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/Origin800Parser.h:37:2: style: Class 'Origin800Parser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/Origin610Parser.h:37:2: style: Class 'Origin610Parser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/Origin600Parser.h:37:2: style: Class 'Origin600Parser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/Origin750Parser.h:45:7: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] liborigin2-20110117/OriginParser.h:39:15: note: Virtual function in base class liborigin2-20110117/Origin750Parser.h:45:7: note: Function in derived class liborigin2-20110117/Origin800Parser.h:38:7: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] liborigin2-20110117/Origin750Parser.h:45:7: note: Virtual function in base class liborigin2-20110117/Origin800Parser.h:38:7: note: Function in derived class liborigin2-20110117/Origin610Parser.h:38:7: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] liborigin2-20110117/Origin800Parser.h:38:7: note: Virtual function in base class liborigin2-20110117/Origin610Parser.h:38:7: note: Function in derived class liborigin2-20110117/Origin610Parser.h:45:7: style: The function 'readNotes' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] liborigin2-20110117/Origin800Parser.h:47:15: note: Virtual function in base class liborigin2-20110117/Origin610Parser.h:45:7: note: Function in derived class liborigin2-20110117/endianfstream.hh:44:33: style: Condition '(*(char*)&word)!=0x21' is always true [knownConditionTrueFalse] liborigin2-20110117/endianfstream.hh:43:17: note: Assignment 'word=0x4321', assigned value is 17185 liborigin2-20110117/endianfstream.hh:44:33: note: Condition '(*(char*)&word)!=0x21' is always true liborigin2-20110117/OriginObj.h:643:5: error: Mismatching allocation and deallocation: Bitmap::data [mismatchAllocDealloc] liborigin2-20110117/endianfstream.hh:44:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] liborigin2-20110117/endianfstream.hh:123:9: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] liborigin2-20110117/endianfstream.hh:125:16: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] liborigin2-20110117/endianfstream.hh:132:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] liborigin2-20110117/endianfstream.hh:134:16: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] liborigin2-20110117/endianfstream.hh:141:9: portability:inconclusive: Casting from long double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] liborigin2-20110117/endianfstream.hh:143:16: portability:inconclusive: Casting from long double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] liborigin2-20110117/Origin610Parser.cpp:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin610Parser.cpp:466:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin610Parser.cpp:569:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin610Parser.cpp:588:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin610Parser.cpp:799:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin610Parser.cpp:930:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin610Parser.cpp:1854:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin610Parser.cpp:1667:11: style:inconclusive: Boolean expression '0x60==0x60' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] liborigin2-20110117/Origin610Parser.cpp:579:23: warning: The class 'Origin610Parser' defines member function with name 'readSpreadInfo' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:41:7: note: Parent function 'Origin800Parser::readSpreadInfo' liborigin2-20110117/Origin610Parser.cpp:579:23: note: Derived function 'Origin610Parser::readSpreadInfo' liborigin2-20110117/Origin610Parser.cpp:787:23: warning: The class 'Origin610Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:42:7: note: Parent function 'Origin800Parser::readMatrixInfo' liborigin2-20110117/Origin610Parser.cpp:787:23: note: Derived function 'Origin610Parser::readMatrixInfo' liborigin2-20110117/Origin610Parser.cpp:920:23: warning: The class 'Origin610Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:43:7: note: Parent function 'Origin800Parser::readGraphInfo' liborigin2-20110117/Origin610Parser.cpp:920:23: note: Derived function 'Origin610Parser::readGraphInfo' liborigin2-20110117/Origin610Parser.cpp:563:23: warning: The class 'Origin610Parser' defines member function with name 'readResultsLog' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:46:7: note: Parent function 'Origin800Parser::readResultsLog' liborigin2-20110117/Origin610Parser.cpp:563:23: note: Derived function 'Origin610Parser::readResultsLog' liborigin2-20110117/Origin610Parser.cpp:579:23: warning: The class 'Origin610Parser' defines member function with name 'readSpreadInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:48:7: note: Parent function 'Origin750Parser::readSpreadInfo' liborigin2-20110117/Origin610Parser.cpp:579:23: note: Derived function 'Origin610Parser::readSpreadInfo' liborigin2-20110117/Origin610Parser.cpp:787:23: warning: The class 'Origin610Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:50:7: note: Parent function 'Origin750Parser::readMatrixInfo' liborigin2-20110117/Origin610Parser.cpp:787:23: note: Derived function 'Origin610Parser::readMatrixInfo' liborigin2-20110117/Origin610Parser.cpp:920:23: warning: The class 'Origin610Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:51:7: note: Parent function 'Origin750Parser::readGraphInfo' liborigin2-20110117/Origin610Parser.cpp:920:23: note: Derived function 'Origin610Parser::readGraphInfo' liborigin2-20110117/Origin610Parser.cpp:1667:8: style: Suspicious condition (bitwise operator + comparison); Clarify expression with parentheses. [clarifyCondition] liborigin2-20110117/Origin610Parser.cpp:1667:11: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] liborigin2-20110117/Origin610Parser.cpp:1598:26: style: Comparing expression of type 'unsigned char' against value 500. Condition is always true. [compareValueOutOfTypeRangeError] liborigin2-20110117/Origin610Parser.cpp:1488:13: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] liborigin2-20110117/Origin610Parser.cpp:1491:8: note: Found duplicate branches for 'if' and 'else'. liborigin2-20110117/Origin610Parser.cpp:1488:13: note: Found duplicate branches for 'if' and 'else'. liborigin2-20110117/Origin610Parser.cpp:1667:18: style: Same expression on both sides of '=='. [duplicateExpression] liborigin2-20110117/Origin610Parser.cpp:66:32: style: The scope of the variable 'nr' can be reduced. [variableScope] liborigin2-20110117/Origin610Parser.cpp:107:16: style: The scope of the variable 'spread' can be reduced. [variableScope] liborigin2-20110117/Origin610Parser.cpp:1446:9: style: The scope of the variable 'w' can be reduced. [variableScope] liborigin2-20110117/Origin610Parser.cpp:1031:18: style: Local variable 'border' shadows outer variable [shadowVariable] liborigin2-20110117/Origin610Parser.cpp:983:17: note: Shadowed declaration liborigin2-20110117/Origin610Parser.cpp:1031:18: note: Shadow variable liborigin2-20110117/Origin700Parser.cpp:49:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin700Parser.cpp:458:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin700Parser.cpp:603:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin700Parser.cpp:1276:11: style:inconclusive: Boolean expression '0x60==0x60' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] liborigin2-20110117/Origin700Parser.cpp:448:23: warning: The class 'Origin700Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin610Parser'. [duplInheritedMember] liborigin2-20110117/Origin610Parser.h:42:7: note: Parent function 'Origin610Parser::readMatrixInfo' liborigin2-20110117/Origin700Parser.cpp:448:23: note: Derived function 'Origin700Parser::readMatrixInfo' liborigin2-20110117/Origin700Parser.cpp:594:23: warning: The class 'Origin700Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin610Parser'. [duplInheritedMember] liborigin2-20110117/Origin610Parser.h:43:7: note: Parent function 'Origin610Parser::readGraphInfo' liborigin2-20110117/Origin700Parser.cpp:594:23: note: Derived function 'Origin700Parser::readGraphInfo' liborigin2-20110117/Origin700Parser.cpp:448:23: warning: The class 'Origin700Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:42:7: note: Parent function 'Origin800Parser::readMatrixInfo' liborigin2-20110117/Origin700Parser.cpp:448:23: note: Derived function 'Origin700Parser::readMatrixInfo' liborigin2-20110117/Origin700Parser.cpp:594:23: warning: The class 'Origin700Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin800Parser'. [duplInheritedMember] liborigin2-20110117/Origin800Parser.h:43:7: note: Parent function 'Origin800Parser::readGraphInfo' liborigin2-20110117/Origin700Parser.cpp:594:23: note: Derived function 'Origin700Parser::readGraphInfo' liborigin2-20110117/Origin700Parser.cpp:448:23: warning: The class 'Origin700Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:50:7: note: Parent function 'Origin750Parser::readMatrixInfo' liborigin2-20110117/Origin700Parser.cpp:448:23: note: Derived function 'Origin700Parser::readMatrixInfo' liborigin2-20110117/Origin700Parser.cpp:594:23: warning: The class 'Origin700Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:51:7: note: Parent function 'Origin750Parser::readGraphInfo' liborigin2-20110117/Origin700Parser.cpp:594:23: note: Derived function 'Origin700Parser::readGraphInfo' liborigin2-20110117/Origin700Parser.h:37:2: style: Class 'Origin700Parser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/Origin700Parser.h:38:7: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] liborigin2-20110117/Origin610Parser.h:38:7: note: Virtual function in base class liborigin2-20110117/Origin700Parser.h:38:7: note: Function in derived class liborigin2-20110117/Origin700Parser.cpp:1276:8: style: Suspicious condition (bitwise operator + comparison); Clarify expression with parentheses. [clarifyCondition] liborigin2-20110117/Origin700Parser.cpp:1276:11: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] liborigin2-20110117/Origin700Parser.cpp:1207:26: style: Comparing expression of type 'unsigned char' against value 500. Condition is always true. [compareValueOutOfTypeRangeError] liborigin2-20110117/Origin700Parser.cpp:1097:13: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] liborigin2-20110117/Origin700Parser.cpp:1100:8: note: Found duplicate branches for 'if' and 'else'. liborigin2-20110117/Origin700Parser.cpp:1097:13: note: Found duplicate branches for 'if' and 'else'. liborigin2-20110117/Origin700Parser.cpp:1276:18: style: Same expression on both sides of '=='. [duplicateExpression] liborigin2-20110117/Origin700Parser.cpp:66:32: style: The scope of the variable 'nr' can be reduced. [variableScope] liborigin2-20110117/Origin700Parser.cpp:106:16: style: The scope of the variable 'spread' can be reduced. [variableScope] liborigin2-20110117/Origin700Parser.cpp:1056:9: style: The scope of the variable 'w' can be reduced. [variableScope] liborigin2-20110117/Origin700Parser.cpp:693:18: style: Local variable 'border' shadows outer variable [shadowVariable] liborigin2-20110117/Origin700Parser.cpp:655:17: note: Shadowed declaration liborigin2-20110117/Origin700Parser.cpp:693:18: note: Shadow variable liborigin2-20110117/Origin700Parser.cpp:901:19: style: Local variable 'h' shadows outer variable [shadowVariable] liborigin2-20110117/Origin700Parser.cpp:784:18: note: Shadowed declaration liborigin2-20110117/Origin700Parser.cpp:901:19: note: Shadow variable liborigin2-20110117/Origin700Parser.cpp:947:19: style: Local variable 'h' shadows outer variable [shadowVariable] liborigin2-20110117/Origin700Parser.cpp:784:18: note: Shadowed declaration liborigin2-20110117/Origin700Parser.cpp:947:19: note: Shadow variable liborigin2-20110117/Origin750Parser.cpp:54:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:599:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:815:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:1035:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:1195:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:2047:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:2068:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:2091:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:2134:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:2219:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:2278:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:2345:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:2414:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin750Parser.cpp:1861:11: style:inconclusive: Boolean expression '0x60==0x60' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] liborigin2-20110117/Origin750Parser.cpp:41:18: warning: Member variable 'Origin750Parser::d_file_size' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/Origin750Parser.cpp:41:18: warning: Member variable 'Origin750Parser::d_start_offset' is not initialized in the constructor. [uninitMemberVar] liborigin2-20110117/Origin750Parser.cpp:41:18: warning: Member variable 'OriginParser::fileVersion' is not initialized in the constructor. Maybe it should be initialized directly in the class OriginParser? [uninitDerivedMemberVar] liborigin2-20110117/Origin750Parser.cpp:2447:23: style:inconclusive: Technically the member function 'Origin750Parser::readGraphAxisPrefixSuffixInfo' can be const. [functionConst] liborigin2-20110117/Origin750Parser.h:57:7: note: Technically the member function 'Origin750Parser::readGraphAxisPrefixSuffixInfo' can be const. liborigin2-20110117/Origin750Parser.cpp:2447:23: note: Technically the member function 'Origin750Parser::readGraphAxisPrefixSuffixInfo' can be const. liborigin2-20110117/Origin750Parser.cpp:1861:8: style: Suspicious condition (bitwise operator + comparison); Clarify expression with parentheses. [clarifyCondition] liborigin2-20110117/Origin750Parser.cpp:1861:11: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] liborigin2-20110117/Origin750Parser.cpp:1792:26: style: Comparing expression of type 'unsigned char' against value 500. Condition is always true. [compareValueOutOfTypeRangeError] liborigin2-20110117/Origin750Parser.cpp:1683:13: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] liborigin2-20110117/Origin750Parser.cpp:1686:8: note: Found duplicate branches for 'if' and 'else'. liborigin2-20110117/Origin750Parser.cpp:1683:13: note: Found duplicate branches for 'if' and 'else'. liborigin2-20110117/Origin750Parser.cpp:1861:18: style: Same expression on both sides of '=='. [duplicateExpression] liborigin2-20110117/Origin750Parser.cpp:71:32: style: The scope of the variable 'nr' can be reduced. [variableScope] liborigin2-20110117/Origin750Parser.cpp:111:16: style: The scope of the variable 'spread' can be reduced. [variableScope] liborigin2-20110117/Origin750Parser.cpp:1642:9: style: The scope of the variable 'w' can be reduced. [variableScope] liborigin2-20110117/Origin750Parser.cpp:481:7: style: Local variable 'size' shadows outer variable [shadowVariable] liborigin2-20110117/Origin750Parser.cpp:61:15: note: Shadowed declaration liborigin2-20110117/Origin750Parser.cpp:481:7: note: Shadow variable liborigin2-20110117/Origin750Parser.cpp:770:7: style: Local variable 'size' shadows outer variable [shadowVariable] liborigin2-20110117/Origin750Parser.cpp:591:15: note: Shadowed declaration liborigin2-20110117/Origin750Parser.cpp:770:7: note: Shadow variable liborigin2-20110117/Origin750Parser.cpp:1277:18: style: Local variable 'border' shadows outer variable [shadowVariable] liborigin2-20110117/Origin750Parser.cpp:1243:17: note: Shadowed declaration liborigin2-20110117/Origin750Parser.cpp:1277:18: note: Shadow variable liborigin2-20110117/Origin750Parser.cpp:1488:19: style: Local variable 'h' shadows outer variable [shadowVariable] liborigin2-20110117/Origin750Parser.cpp:1369:18: note: Shadowed declaration liborigin2-20110117/Origin750Parser.cpp:1488:19: note: Shadow variable liborigin2-20110117/Origin750Parser.cpp:1534:19: style: Local variable 'h' shadows outer variable [shadowVariable] liborigin2-20110117/Origin750Parser.cpp:1369:18: note: Shadowed declaration liborigin2-20110117/Origin750Parser.cpp:1534:19: note: Shadow variable liborigin2-20110117/Origin750Parser.cpp:1969:9: style: Local variable 'size' shadows outer variable [shadowVariable] liborigin2-20110117/Origin750Parser.cpp:1188:15: note: Shadowed declaration liborigin2-20110117/Origin750Parser.cpp:1969:9: note: Shadow variable liborigin2-20110117/Origin800Parser.cpp:54:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:478:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:582:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:601:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:838:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:992:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:1109:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:1983:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:2021:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:2055:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin800Parser.cpp:1780:11: style:inconclusive: Boolean expression '0x60==0x60' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] liborigin2-20110117/Origin800Parser.cpp:43:2: performance: Variable 'notes_pos_mark' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] liborigin2-20110117/Origin800Parser.cpp:592:23: warning: The class 'Origin800Parser' defines member function with name 'readSpreadInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:48:7: note: Parent function 'Origin750Parser::readSpreadInfo' liborigin2-20110117/Origin800Parser.cpp:592:23: note: Derived function 'Origin800Parser::readSpreadInfo' liborigin2-20110117/Origin800Parser.cpp:980:23: warning: The class 'Origin800Parser' defines member function with name 'readMatrixInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:50:7: note: Parent function 'Origin750Parser::readMatrixInfo' liborigin2-20110117/Origin800Parser.cpp:980:23: note: Derived function 'Origin800Parser::readMatrixInfo' liborigin2-20110117/Origin800Parser.cpp:1098:23: warning: The class 'Origin800Parser' defines member function with name 'readGraphInfo' also defined in its parent class 'Origin750Parser'. [duplInheritedMember] liborigin2-20110117/Origin750Parser.h:51:7: note: Parent function 'Origin750Parser::readGraphInfo' liborigin2-20110117/Origin800Parser.cpp:1098:23: note: Derived function 'Origin800Parser::readGraphInfo' liborigin2-20110117/Origin800Parser.cpp:1780:8: style: Suspicious condition (bitwise operator + comparison); Clarify expression with parentheses. [clarifyCondition] liborigin2-20110117/Origin800Parser.cpp:1780:11: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] liborigin2-20110117/Origin800Parser.cpp:1711:26: style: Comparing expression of type 'unsigned char' against value 500. Condition is always true. [compareValueOutOfTypeRangeError] liborigin2-20110117/Origin800Parser.cpp:1601:13: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] liborigin2-20110117/Origin800Parser.cpp:1604:8: note: Found duplicate branches for 'if' and 'else'. liborigin2-20110117/Origin800Parser.cpp:1601:13: note: Found duplicate branches for 'if' and 'else'. liborigin2-20110117/Origin800Parser.cpp:1780:18: style: Same expression on both sides of '=='. [duplicateExpression] liborigin2-20110117/Origin800Parser.cpp:910:45: style: Variable 'speadSheets[spread].columns[i].valueType' is reassigned a value before the old one has been used. [redundantAssignment] liborigin2-20110117/Origin800Parser.cpp:909:45: note: speadSheets[spread].columns[i].valueType is assigned liborigin2-20110117/Origin800Parser.cpp:910:45: note: speadSheets[spread].columns[i].valueType is overwritten liborigin2-20110117/Origin800Parser.cpp:71:32: style: The scope of the variable 'nr' can be reduced. [variableScope] liborigin2-20110117/Origin800Parser.cpp:112:16: style: The scope of the variable 'spread' can be reduced. [variableScope] liborigin2-20110117/Origin800Parser.cpp:1561:9: style: The scope of the variable 'w' can be reduced. [variableScope] liborigin2-20110117/Origin800Parser.cpp:836:54: style:inconclusive: Function 'readColumnInfo' argument 2 names different: declaration '' definition 'i'. [funcArgNamesDifferentUnnamed] liborigin2-20110117/Origin800Parser.cpp:960:17: style: Local variable 'c' shadows outer variable [shadowVariable] liborigin2-20110117/Origin800Parser.cpp:853:7: note: Shadowed declaration liborigin2-20110117/Origin800Parser.cpp:960:17: note: Shadow variable liborigin2-20110117/Origin800Parser.cpp:1199:18: style: Local variable 'border' shadows outer variable [shadowVariable] liborigin2-20110117/Origin800Parser.cpp:1165:17: note: Shadowed declaration liborigin2-20110117/Origin800Parser.cpp:1199:18: note: Shadow variable liborigin2-20110117/Origin800Parser.cpp:1407:19: style: Local variable 'h' shadows outer variable [shadowVariable] liborigin2-20110117/Origin800Parser.cpp:1289:18: note: Shadowed declaration liborigin2-20110117/Origin800Parser.cpp:1407:19: note: Shadow variable liborigin2-20110117/Origin800Parser.cpp:1453:19: style: Local variable 'h' shadows outer variable [shadowVariable] liborigin2-20110117/Origin800Parser.cpp:1289:18: note: Shadowed declaration liborigin2-20110117/Origin800Parser.cpp:1453:19: note: Shadow variable liborigin2-20110117/Origin810Parser.cpp:53:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable beg [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin810Parser.cpp:122:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] liborigin2-20110117/Origin810Parser.h:37:2: style: Class 'Origin810Parser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/Origin810Parser.h:40:7: style: The function 'readProjectTreeFolder' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] liborigin2-20110117/Origin750Parser.h:59:15: note: Virtual function in base class liborigin2-20110117/Origin810Parser.h:40:7: note: Function in derived class liborigin2-20110117/Origin810Parser.h:41:7: style: The function 'readColorMap' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] liborigin2-20110117/Origin750Parser.h:61:15: note: Virtual function in base class liborigin2-20110117/Origin810Parser.h:41:7: note: Function in derived class liborigin2-20110117/OriginDefaultParser.cpp:170:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable maxRows [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginDefaultParser.cpp:367:4: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] liborigin2-20110117/OriginDefaultParser.cpp:157:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] liborigin2-20110117/OriginDefaultParser.cpp:158:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] liborigin2-20110117/OriginDefaultParser.cpp:159:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] liborigin2-20110117/OriginDefaultParser.cpp:64:22: warning: Member variable 'OriginParser::windowsCount' is not initialized in the constructor. Maybe it should be initialized directly in the class OriginParser? [uninitDerivedMemberVar] liborigin2-20110117/OriginDefaultParser.cpp:64:22: warning: Member variable 'OriginParser::fileVersion' is not initialized in the constructor. Maybe it should be initialized directly in the class OriginParser? [uninitDerivedMemberVar] liborigin2-20110117/OriginDefaultParser.h:40:2: style: Class 'OriginDefaultParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginDefaultParser.h:41:7: style: The function 'parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] liborigin2-20110117/OriginParser.h:39:15: note: Virtual function in base class liborigin2-20110117/OriginDefaultParser.h:41:7: note: Function in derived class liborigin2-20110117/OriginDefaultParser.cpp:58:23: style: Condition '(*(char*)&word)!=0x21' is always true [knownConditionTrueFalse] liborigin2-20110117/OriginDefaultParser.cpp:57:15: note: Assignment 'word=0x4321', assigned value is 17185 liborigin2-20110117/OriginDefaultParser.cpp:58:23: note: Condition '(*(char*)&word)!=0x21' is always true liborigin2-20110117/OriginDefaultParser.cpp:313:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] liborigin2-20110117/OriginDefaultParser.cpp:321:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] liborigin2-20110117/OriginDefaultParser.cpp:321:3: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] liborigin2-20110117/OriginDefaultParser.cpp:381:3: portability: %d in format string (no. 4) requires 'int' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] liborigin2-20110117/OriginDefaultParser.cpp:408:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] liborigin2-20110117/OriginDefaultParser.cpp:410:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] liborigin2-20110117/OriginDefaultParser.cpp:410:4: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] liborigin2-20110117/OriginDefaultParser.cpp:459:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] liborigin2-20110117/OriginDefaultParser.cpp:82:3: error: Resource leak: f [resourceLeak] liborigin2-20110117/OriginDefaultParser.cpp:183:24: warning: Either the condition 'cname==0' is redundant or there is possible null pointer dereference: cname. [nullPointerRedundantCheck] liborigin2-20110117/OriginDefaultParser.cpp:186:12: note: Assuming that condition 'cname==0' is not redundant liborigin2-20110117/OriginDefaultParser.cpp:183:24: note: Null pointer dereference liborigin2-20110117/OriginDefaultParser.cpp:58:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] liborigin2-20110117/OriginDefaultParser.cpp:116:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] liborigin2-20110117/OriginDefaultParser.cpp:257:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] liborigin2-20110117/OriginDefaultParser.cpp:278:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] liborigin2-20110117/OriginDefaultParser.cpp:302:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] liborigin2-20110117/OriginDefaultParser.cpp:278:24: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] liborigin2-20110117/OriginDefaultParser.cpp:377:9: style: Redundant initialization for 'spread'. The initialized value is overwritten before it is read. [redundantInitialization] liborigin2-20110117/OriginDefaultParser.cpp:363:13: note: spread is initialized liborigin2-20110117/OriginDefaultParser.cpp:377:9: note: spread is overwritten liborigin2-20110117/OriginDefaultParser.cpp:121:21: style: The scope of the variable 'nr' can be reduced. [variableScope] liborigin2-20110117/OriginDefaultParser.cpp:318:6: style: The scope of the variable 'LAYER' can be reduced. [variableScope] liborigin2-20110117/OriginDefaultParser.cpp:320:19: style: Local variable 'i' shadows outer variable [shadowVariable] liborigin2-20110117/OriginDefaultParser.cpp:73:6: note: Shadowed declaration liborigin2-20110117/OriginDefaultParser.cpp:320:19: note: Shadow variable liborigin2-20110117/OriginDefaultParser.cpp:348:8: style: Local variable 'c' shadows outer variable [shadowVariable] liborigin2-20110117/OriginDefaultParser.cpp:94:16: note: Shadowed declaration liborigin2-20110117/OriginDefaultParser.cpp:348:8: note: Shadow variable liborigin2-20110117/OriginDefaultParser.cpp:159:15: style: Variable 'tmpstr' can be declared as pointer to const [constVariablePointer] liborigin2-20110117/OriginDefaultParser.cpp:318:11: style: Variable 'LAYER' is assigned a value that is never used. [unreadVariable] liborigin2-20110117/OriginFile.cpp:42:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginFile.h:46:2: style: Class 'OriginFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] liborigin2-20110117/OriginFile.h:68:9: performance: Function 'resultsLogString()' should return member 'resultsLog' by const reference. [returnByReference] liborigin2-20110117/OriginParser.cpp:45:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginParser.cpp:56:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginParser.cpp:66:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginParser.cpp:74:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginParser.cpp:83:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginParser.cpp:94:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginParser.cpp:189:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sheets [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginParser.cpp:199:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] liborigin2-20110117/OriginParser.cpp:195:19: style:inconclusive: Technically the member function 'OriginParser::findColumnByName' can be const. [functionConst] liborigin2-20110117/OriginParser.h:54:6: note: Technically the member function 'OriginParser::findColumnByName' can be const. liborigin2-20110117/OriginParser.cpp:195:19: note: Technically the member function 'OriginParser::findColumnByName' can be const. liborigin2-20110117/OriginParser.cpp:106:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] liborigin2-20110117/OriginParser.cpp:113:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] liborigin2-20110117/OriginParser.cpp:123:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] liborigin2-20110117/OriginParser.cpp:131:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] liborigin2-20110117/OriginParser.cpp:142:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] liborigin2-20110117/OriginParser.cpp:148:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] liborigin2-20110117/OriginParser.cpp:154:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] diff: head liborigin2-20110117/Origin800Parser.cpp:836:54: style:inconclusive: Function 'readColumnInfo' argument 2 names different: declaration '' definition 'i'. [funcArgNamesDifferentUnnamed] DONE