2025-09-01 01:35 ftp://ftp.de.debian.org/debian/pool/main/l/logstalgia/logstalgia_1.1.4.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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 270 671 elapsed-time: 0.4 1.5 head-timing-info: old-timing-info: head results: logstalgia-1.1.4/src/core/sdlapp.h:144:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] logstalgia-1.1.4/src/core/sdlapp.h:144:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] logstalgia-1.1.4/src/core/display.h:80:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] logstalgia-1.1.4/src/core/display.h:80:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] logstalgia-1.1.4/src/core/vectors.h:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/vectors.h:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/plane.cpp:38:5: performance: Variable 'normal' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/conffile.cpp:397:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/conffile.cpp:502:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/resource.h:46:9: style:inconclusive: Member variable 'Resource::refs' is in the wrong place in the initializer list. [initializerList] logstalgia-1.1.4/src/core/resource.h:50:80: note: Member variable 'Resource::refs' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/resource.h:46:9: note: Member variable 'Resource::refs' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/resource.h:57:9: style:inconclusive: Technically the member function 'Resource::refcount' can be const. [functionConst] logstalgia-1.1.4/src/core/resource.cpp:34:30: style:inconclusive: Technically the member function 'ResourceManager::getDir' can be const. [functionConst] logstalgia-1.1.4/src/core/resource.h:69:17: note: Technically the member function 'ResourceManager::getDir' can be const. logstalgia-1.1.4/src/core/resource.cpp:34:30: note: Technically the member function 'ResourceManager::getDir' can be const. logstalgia-1.1.4/src/core/resource.h:39:5: style: Class 'ResourceException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/resource.h:50:5: style: Class 'Resource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/resource.h:69:17: performance: Function 'getDir()' should return member 'resource_dir' by const reference. [returnByReference] logstalgia-1.1.4/src/core/resource.cpp:62:41: style: Parameter 'resource' can be declared as pointer to const [constParameterPointer] logstalgia-1.1.4/src/core/resource.cpp:44:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/regex.h:42:5: style: Class 'RegexCompilationException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/regex.h:56:5: style: Class 'Regex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/regex.cpp:122:13: style: The scope of the variable 'match_end' can be reduced. [variableScope] logstalgia-1.1.4/src/core/regex.cpp:201:17: style: The scope of the variable 'match_end' can be reduced. [variableScope] logstalgia-1.1.4/src/core/regex.cpp:207:29: style: Local variable 'match' shadows outer function [shadowFunction] logstalgia-1.1.4/src/core/regex.h:60:10: note: Shadowed declaration logstalgia-1.1.4/src/core/regex.cpp:207:29: note: Shadow variable logstalgia-1.1.4/src/core/regex.cpp:196:17: style: Variable 'ovector' can be declared as pointer to const [constVariablePointer] logstalgia-1.1.4/src/core/logger.cpp:93:13: style:inconclusive: Technically the member function 'Logger::getMessageCount' can be const. [functionConst] logstalgia-1.1.4/src/core/logger.h:64:9: note: Technically the member function 'Logger::getMessageCount' can be const. logstalgia-1.1.4/src/core/logger.cpp:93:13: note: Technically the member function 'Logger::getMessageCount' can be const. logstalgia-1.1.4/src/core/logger.h:98:16: warning: Class 'LoggerStringStream' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] logstalgia-1.1.4/src/core/logger.h:98:16: warning: Class 'LoggerStringStream' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] logstalgia-1.1.4/src/core/logger.h:91:5: style: Class 'LoggerStringStream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/logger.cpp:81:45: style:inconclusive: Function 'Logger' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:69:41: note: Function 'Logger' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. logstalgia-1.1.4/src/core/logger.cpp:81:45: note: Function 'Logger' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. logstalgia-1.1.4/src/core/logger.cpp:85:48: style:inconclusive: Function 'init' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:71:44: note: Function 'init' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. logstalgia-1.1.4/src/core/logger.cpp:85:48: note: Function 'init' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. logstalgia-1.1.4/src/core/logger.cpp:128:26: style:inconclusive: Function 'warnLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:76:26: note: Function 'warnLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:128:26: note: Function 'warnLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:132:27: style:inconclusive: Function 'debugLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:77:27: note: Function 'debugLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:132:27: note: Function 'debugLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:136:26: style:inconclusive: Function 'infoLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:78:26: note: Function 'infoLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:136:26: note: Function 'infoLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:140:27: style:inconclusive: Function 'errorLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:79:27: note: Function 'errorLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:140:27: note: Function 'errorLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:144:29: style:inconclusive: Function 'consoleLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:80:29: note: Function 'consoleLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:144:29: note: Function 'consoleLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:148:28: style:inconclusive: Function 'scriptLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:81:28: note: Function 'scriptLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:148:28: note: Function 'scriptLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:152:30: style:inconclusive: Function 'pedanticLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/logger.h:82:30: note: Function 'pedanticLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/logger.cpp:152:30: note: Function 'pedanticLog' argument 1 names different: declaration 'args' definition 'str'. logstalgia-1.1.4/src/core/conffile.cpp:39:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] logstalgia-1.1.4/src/core/conffile.cpp:54:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] logstalgia-1.1.4/src/core/conffile.cpp:59:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] logstalgia-1.1.4/src/core/conffile.cpp:49:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] logstalgia-1.1.4/src/core/conffile.cpp:64:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] logstalgia-1.1.4/src/core/conffile.cpp:69:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] logstalgia-1.1.4/src/core/conffile.cpp:74:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] logstalgia-1.1.4/src/core/conffile.cpp:134:16: style:inconclusive: Technically the member function 'ConfEntry::getLineNumber' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:72:9: note: Technically the member function 'ConfEntry::getLineNumber' can be const. logstalgia-1.1.4/src/core/conffile.cpp:134:16: note: Technically the member function 'ConfEntry::getLineNumber' can be const. logstalgia-1.1.4/src/core/conffile.cpp:126:24: style:inconclusive: Technically the member function 'ConfEntry::getName' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:73:17: note: Technically the member function 'ConfEntry::getName' can be const. logstalgia-1.1.4/src/core/conffile.cpp:126:24: note: Technically the member function 'ConfEntry::getName' can be const. logstalgia-1.1.4/src/core/conffile.cpp:130:24: style:inconclusive: Technically the member function 'ConfEntry::getString' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:75:17: note: Technically the member function 'ConfEntry::getString' can be const. logstalgia-1.1.4/src/core/conffile.cpp:130:24: note: Technically the member function 'ConfEntry::getString' can be const. logstalgia-1.1.4/src/core/conffile.cpp:138:16: style:inconclusive: Technically the member function 'ConfEntry::getInt' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:76:17: note: Technically the member function 'ConfEntry::getInt' can be const. logstalgia-1.1.4/src/core/conffile.cpp:138:16: note: Technically the member function 'ConfEntry::getInt' can be const. logstalgia-1.1.4/src/core/conffile.cpp:152:18: style:inconclusive: Technically the member function 'ConfEntry::getFloat' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:77:17: note: Technically the member function 'ConfEntry::getFloat' can be const. logstalgia-1.1.4/src/core/conffile.cpp:152:18: note: Technically the member function 'ConfEntry::getFloat' can be const. logstalgia-1.1.4/src/core/conffile.cpp:169:17: style:inconclusive: Technically the member function 'ConfEntry::getBool' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:78:17: note: Technically the member function 'ConfEntry::getBool' can be const. logstalgia-1.1.4/src/core/conffile.cpp:169:17: note: Technically the member function 'ConfEntry::getBool' can be const. logstalgia-1.1.4/src/core/conffile.cpp:182:17: style:inconclusive: Technically the member function 'ConfEntry::getVec2' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:79:16: note: Technically the member function 'ConfEntry::getVec2' can be const. logstalgia-1.1.4/src/core/conffile.cpp:182:17: note: Technically the member function 'ConfEntry::getVec2' can be const. logstalgia-1.1.4/src/core/conffile.cpp:198:17: style:inconclusive: Technically the member function 'ConfEntry::getVec3' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:80:16: note: Technically the member function 'ConfEntry::getVec3' can be const. logstalgia-1.1.4/src/core/conffile.cpp:198:17: note: Technically the member function 'ConfEntry::getVec3' can be const. logstalgia-1.1.4/src/core/conffile.cpp:214:17: style:inconclusive: Technically the member function 'ConfEntry::getVec4' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:81:16: note: Technically the member function 'ConfEntry::getVec4' can be const. logstalgia-1.1.4/src/core/conffile.cpp:214:17: note: Technically the member function 'ConfEntry::getVec4' can be const. logstalgia-1.1.4/src/core/conffile.cpp:142:17: style:inconclusive: Technically the member function 'ConfEntry::isFloat' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:83:10: note: Technically the member function 'ConfEntry::isFloat' can be const. logstalgia-1.1.4/src/core/conffile.cpp:142:17: note: Technically the member function 'ConfEntry::isFloat' can be const. logstalgia-1.1.4/src/core/conffile.cpp:147:17: style:inconclusive: Technically the member function 'ConfEntry::isInt' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:84:10: note: Technically the member function 'ConfEntry::isInt' can be const. logstalgia-1.1.4/src/core/conffile.cpp:147:17: note: Technically the member function 'ConfEntry::isInt' can be const. logstalgia-1.1.4/src/core/conffile.cpp:160:17: style:inconclusive: Technically the member function 'ConfEntry::isBool' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:85:10: note: Technically the member function 'ConfEntry::isBool' can be const. logstalgia-1.1.4/src/core/conffile.cpp:160:17: note: Technically the member function 'ConfEntry::isBool' can be const. logstalgia-1.1.4/src/core/conffile.cpp:177:17: style:inconclusive: Technically the member function 'ConfEntry::isVec2' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:86:10: note: Technically the member function 'ConfEntry::isVec2' can be const. logstalgia-1.1.4/src/core/conffile.cpp:177:17: note: Technically the member function 'ConfEntry::isVec2' can be const. logstalgia-1.1.4/src/core/conffile.cpp:193:17: style:inconclusive: Technically the member function 'ConfEntry::isVec3' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:87:10: note: Technically the member function 'ConfEntry::isVec3' can be const. logstalgia-1.1.4/src/core/conffile.cpp:193:17: note: Technically the member function 'ConfEntry::isVec3' can be const. logstalgia-1.1.4/src/core/conffile.cpp:209:17: style:inconclusive: Technically the member function 'ConfEntry::isVec4' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:88:10: note: Technically the member function 'ConfEntry::isVec4' can be const. logstalgia-1.1.4/src/core/conffile.cpp:209:17: note: Technically the member function 'ConfEntry::isVec4' can be const. logstalgia-1.1.4/src/core/conffile.cpp:243:26: style:inconclusive: Technically the member function 'ConfSection::getName' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:115:17: note: Technically the member function 'ConfSection::getName' can be const. logstalgia-1.1.4/src/core/conffile.cpp:243:26: note: Technically the member function 'ConfSection::getName' can be const. logstalgia-1.1.4/src/core/conffile.cpp:255:18: style:inconclusive: Technically the member function 'ConfSection::getLineNumber' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:117:9: note: Technically the member function 'ConfSection::getLineNumber' can be const. logstalgia-1.1.4/src/core/conffile.cpp:255:18: note: Technically the member function 'ConfSection::getLineNumber' can be const. logstalgia-1.1.4/src/core/conffile.cpp:448:23: style:inconclusive: Technically the member function 'ConfFile::getFilename' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:150:17: note: Technically the member function 'ConfFile::getFilename' can be const. logstalgia-1.1.4/src/core/conffile.cpp:448:23: note: Technically the member function 'ConfFile::getFilename' can be const. logstalgia-1.1.4/src/core/conffile.cpp:788:16: style:inconclusive: Technically the member function 'ConfFile::sectionException' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:189:10: note: Technically the member function 'ConfFile::sectionException' can be const. logstalgia-1.1.4/src/core/conffile.cpp:788:16: note: Technically the member function 'ConfFile::sectionException' can be const. logstalgia-1.1.4/src/core/conffile.cpp:814:16: style:inconclusive: Technically the member function 'ConfFile::entryException' can be const. [functionConst] logstalgia-1.1.4/src/core/conffile.h:190:10: note: Technically the member function 'ConfFile::entryException' can be const. logstalgia-1.1.4/src/core/conffile.cpp:814:16: note: Technically the member function 'ConfFile::entryException' can be const. logstalgia-1.1.4/src/core/conffile.h:51:5: style: Class 'ConfEntry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/conffile.h:102:5: style: Class 'ConfSection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/conffile.h:73:17: performance: Function 'getName()' should return member 'name' by const reference. [returnByReference] logstalgia-1.1.4/src/core/conffile.h:75:17: performance: Function 'getString()' should return member 'value' by const reference. [returnByReference] logstalgia-1.1.4/src/core/conffile.h:115:17: performance: Function 'getName()' should return member 'name' by const reference. [returnByReference] logstalgia-1.1.4/src/core/conffile.h:150:17: performance: Function 'getFilename()' should return member 'conffile' by const reference. [returnByReference] logstalgia-1.1.4/src/core/conffile.cpp:535:45: style: Condition 'line.size()>0' is always true [knownConditionTrueFalse] logstalgia-1.1.4/src/core/conffile.cpp:535:24: note: Assuming that condition 'line.size()==0' is not redundant logstalgia-1.1.4/src/core/conffile.cpp:535:45: note: Condition 'line.size()>0' is always true logstalgia-1.1.4/src/core/conffile.cpp:778:72: performance: Function parameter 'entryname' should be passed by const reference. [passedByValue] logstalgia-1.1.4/src/core/conffile.cpp:788:67: performance: Function parameter 'reason' should be passed by const reference. [passedByValue] logstalgia-1.1.4/src/core/conffile.cpp:814:61: performance: Function parameter 'reason' should be passed by const reference. [passedByValue] logstalgia-1.1.4/src/core/conffile.cpp:574:16: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] logstalgia-1.1.4/src/core/conffile.cpp:605:18: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] logstalgia-1.1.4/src/core/conffile.cpp:459:15: performance: Passing the result of c_str() to a function that takes std::string as argument no. 2 is slow and redundant. [stlcstrParam] logstalgia-1.1.4/src/core/conffile.cpp:468:15: performance: Passing the result of c_str() to a function that takes std::string as argument no. 2 is slow and redundant. [stlcstrParam] logstalgia-1.1.4/src/core/conffile.cpp:597:9: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] logstalgia-1.1.4/src/core/shader.cpp:111:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_STATUS [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/shader.cpp:281:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINK_STATUS [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/conffile.cpp:322:30: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/conffile.cpp:327:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/conffile.cpp:400:30: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/conffile.cpp:405:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/conffile.cpp:427:32: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/conffile.cpp:432:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/conffile.cpp:473:32: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/conffile.cpp:478:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/conffile.cpp:596:90: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/timer.cpp:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TIME_ELAPSED [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/timer.cpp:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TIME_ELAPSED [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/timer.cpp:74:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUERY_RESULT_AVAILABLE [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/timer.cpp:6:5: performance: Variable 'query_id' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:7:5: performance: Variable 'query_value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:8:5: performance: Variable 'query_start' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:9:5: performance: Variable 'query_stop' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:10:5: performance: Variable 'cpu_time' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:14:5: performance: Variable 'query_id' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:15:5: performance: Variable 'query_value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:16:5: performance: Variable 'query_start' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:17:5: performance: Variable 'query_stop' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.cpp:18:5: performance: Variable 'cpu_time' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/timer.h:17:5: style: Class 'GLTimer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/timezone.cpp:24:11: style: C-style pointer casting [cstyleCast] logstalgia-1.1.4/src/core/timezone.cpp:30:16: style: C-style pointer casting [cstyleCast] logstalgia-1.1.4/src/core/shader_common.h:81:9: style:inconclusive: Technically the member function 'ShaderUniform::getType' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:394:9: style:inconclusive: Technically the member function 'AbstractShaderPass::getType' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:49:5: style: Class 'ShaderException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/shader.h:60:5: style: Class 'Shader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/shader_common.h:105:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:105:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:117:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:117:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:129:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:129:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:141:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:141:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:143:10: style: The function 'setBaked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:96:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:143:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:155:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:155:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:157:10: style: The function 'setBaked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:96:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:157:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:169:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:169:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:171:10: style: The function 'setBaked' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:96:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:171:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:183:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:183:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:195:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:195:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:207:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:207:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:219:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:219:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:231:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:231:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:245:6: style: The destructor '~IntegerArrayShaderUniform' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:75:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/shader_common.h:245:6: note: Destructor in derived class logstalgia-1.1.4/src/core/shader_common.h:247:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:247:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:263:6: style: The destructor '~FloatArrayShaderUniform' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:75:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/shader_common.h:263:6: note: Destructor in derived class logstalgia-1.1.4/src/core/shader_common.h:265:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:265:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:282:6: style: The destructor '~Vec2ArrayShaderUniform' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:75:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/shader_common.h:282:6: note: Destructor in derived class logstalgia-1.1.4/src/core/shader_common.h:284:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:284:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:302:6: style: The destructor '~Vec3ArrayShaderUniform' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:75:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/shader_common.h:302:6: note: Destructor in derived class logstalgia-1.1.4/src/core/shader_common.h:304:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:304:10: note: Function in derived class logstalgia-1.1.4/src/core/shader_common.h:322:6: style: The destructor '~Vec4ArrayShaderUniform' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:75:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/shader_common.h:322:6: note: Destructor in derived class logstalgia-1.1.4/src/core/shader_common.h:324:10: style: The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:83:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader_common.h:324:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:47:6: style: The destructor '~ShaderPass' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:392:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/shader.h:47:6: note: Destructor in derived class logstalgia-1.1.4/src/core/shader.h:49:10: style: The function 'attachTo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:409:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:49:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:50:10: style: The function 'unload' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:410:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:50:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:51:10: style: The function 'compile' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:411:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:51:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:52:10: style: The function 'checkError' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:412:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:52:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:57:10: style: The function 'checkProgramError' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:429:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:57:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:61:6: style: The destructor '~Shader' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/resource.h:51:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/shader.h:61:6: note: Destructor in derived class logstalgia-1.1.4/src/core/shader.h:63:10: style: The function 'applyUniform' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:496:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:63:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:65:9: style: The function 'getUniformLocation' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:498:17: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:65:9: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:67:10: style: The function 'loadPrefix' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:428:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:67:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:69:10: style: The function 'compile' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:500:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:69:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:70:10: style: The function 'link' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:501:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:70:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:72:10: style: The function 'load' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:503:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:72:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:73:10: style: The function 'unload' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:504:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:73:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:75:10: style: The function 'bind' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:506:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:75:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:76:10: style: The function 'unbind' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:507:18: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:76:10: note: Function in derived class logstalgia-1.1.4/src/core/shader.h:78:25: style: The function 'grabShaderPass' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/shader_common.h:494:33: note: Virtual function in base class logstalgia-1.1.4/src/core/shader.h:78:25: note: Function in derived class logstalgia-1.1.4/src/core/vbo.cpp:136:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/vbo.cpp:144:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_ARRAY [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/shader.cpp:77:10: style: C-style pointer casting [cstyleCast] logstalgia-1.1.4/src/core/shader.cpp:83:10: style: C-style pointer casting [cstyleCast] logstalgia-1.1.4/src/core/shader.cpp:57:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:173:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:330:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:333:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:336:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:339:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:342:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:345:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:348:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:351:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:354:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:357:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:360:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:363:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:363:85: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:366:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:366:83: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:369:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:369:95: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:372:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:372:95: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:375:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:375:95: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader.cpp:76:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader.cpp:82:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader.cpp:198:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/vbo.h:105:5: warning:inconclusive: Member variable 'quadbuf_tex::start_index' is not initialized in the constructor. [uninitMemberVar] logstalgia-1.1.4/src/core/vbo.h:48:9: performance: Variable 'id' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/core/vbo.cpp:68:17: style:inconclusive: Technically the member function 'quadbuf::vertices' can be const. [functionConst] logstalgia-1.1.4/src/core/vbo.h:130:12: note: Technically the member function 'quadbuf::vertices' can be const. logstalgia-1.1.4/src/core/vbo.cpp:68:17: note: Technically the member function 'quadbuf::vertices' can be const. logstalgia-1.1.4/src/core/vbo.cpp:72:17: style:inconclusive: Technically the member function 'quadbuf::capacity' can be const. [functionConst] logstalgia-1.1.4/src/core/vbo.h:131:12: note: Technically the member function 'quadbuf::capacity' can be const. logstalgia-1.1.4/src/core/vbo.cpp:72:17: note: Technically the member function 'quadbuf::capacity' can be const. logstalgia-1.1.4/src/core/vbo.cpp:76:17: style:inconclusive: Technically the member function 'quadbuf::texture_changes' can be const. [functionConst] logstalgia-1.1.4/src/core/vbo.h:132:12: note: Technically the member function 'quadbuf::texture_changes' can be const. logstalgia-1.1.4/src/core/vbo.cpp:76:17: note: Technically the member function 'quadbuf::texture_changes' can be const. logstalgia-1.1.4/src/core/vbo.h:46:5: style: Class 'VBO' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/vbo.h:124:5: style: Class 'quadbuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] logstalgia-1.1.4/src/core/vbo.cpp:149:60: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] logstalgia-1.1.4/src/core/vbo.cpp:150:60: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] logstalgia-1.1.4/src/core/vbo.cpp:32:22: style:inconclusive: Function 'quadbuf' argument 1 names different: declaration 'data_size' definition 'vertex_capacity'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/vbo.h:124:17: note: Function 'quadbuf' argument 1 names different: declaration 'data_size' definition 'vertex_capacity'. logstalgia-1.1.4/src/core/vbo.cpp:32:22: note: Function 'quadbuf' argument 1 names different: declaration 'data_size' definition 'vertex_capacity'. logstalgia-1.1.4/src/core/vbo.cpp:164:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:85:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/shader_common.cpp:713:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/shader_common.cpp:801:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/shader_common.cpp:888:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/core/shader_common.cpp:1278:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/custom.h:27:10: style: The function 'parseLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/logentry.h:78:18: note: Virtual function in base class logstalgia-1.1.4/src/custom.h:27:10: note: Function in derived class logstalgia-1.1.4/src/settings.h:50:10: style: The function 'commandLineOption' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/settings.h:35:18: note: Virtual function in base class logstalgia-1.1.4/src/settings.h:50:10: note: Function in derived class logstalgia-1.1.4/src/custom.cpp:59:12: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] logstalgia-1.1.4/src/custom.cpp:59:12: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] logstalgia-1.1.4/src/custom.cpp:59:12: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] logstalgia-1.1.4/src/logentry.cpp:52:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] logstalgia-1.1.4/src/logentry.cpp:256:31: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] logstalgia-1.1.4/src/logentry.cpp:37:5: performance: Variable 'timestamp' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/logentry.cpp:40:5: performance: Variable 'response_colour' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] logstalgia-1.1.4/src/logentry.cpp:131:17: style: Condition 'code>=200' is always true [knownConditionTrueFalse] logstalgia-1.1.4/src/logentry.cpp:128:12: note: Assuming that condition 'code<200' is not redundant logstalgia-1.1.4/src/logentry.cpp:131:17: note: Condition 'code>=200' is always true logstalgia-1.1.4/src/logentry.cpp:54:16: style: The scope of the variable 'c' can be reduced. [variableScope] logstalgia-1.1.4/src/logentry.cpp:58:16: style: The scope of the variable 'padding' can be reduced. [variableScope] logstalgia-1.1.4/src/logentry.cpp:256:20: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] logstalgia-1.1.4/src/ncsa.h:27:10: style: The function 'parseLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/logentry.h:78:18: note: Virtual function in base class logstalgia-1.1.4/src/ncsa.h:27:10: note: Function in derived class logstalgia-1.1.4/src/ncsa.cpp:161:14: style: Variable 'code' is assigned a value that is never used. [unreadVariable] logstalgia-1.1.4/src/ncsa.cpp:161:9: style: Variable 'code' is assigned a value that is never used. [unreadVariable] logstalgia-1.1.4/src/core/shader_common.h:63:17: style:inconclusive: Member variable 'ShaderUniform::name' is in the wrong place in the initializer list. [initializerList] logstalgia-1.1.4/src/core/shader_common.cpp:190:23: note: Member variable 'ShaderUniform::name' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/shader_common.h:63:17: note: Member variable 'ShaderUniform::name' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/shader_common.h:69:10: style:inconclusive: Member variable 'ShaderUniform::modified' is in the wrong place in the initializer list. [initializerList] logstalgia-1.1.4/src/core/shader_common.cpp:190:69: note: Member variable 'ShaderUniform::modified' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/shader_common.h:69:10: note: Member variable 'ShaderUniform::modified' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/shader_common.h:67:9: style:inconclusive: Member variable 'ShaderUniform::uniform_type' is in the wrong place in the initializer list. [initializerList] logstalgia-1.1.4/src/core/shader_common.cpp:190:100: note: Member variable 'ShaderUniform::uniform_type' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/shader_common.h:67:9: note: Member variable 'ShaderUniform::uniform_type' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/shader_common.h:372:18: style:inconclusive: Member variable 'AbstractShaderPass::shader_object_type' is in the wrong place in the initializer list. [initializerList] logstalgia-1.1.4/src/core/shader_common.cpp:903:23: note: Member variable 'AbstractShaderPass::shader_object_type' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/shader_common.h:372:18: note: Member variable 'AbstractShaderPass::shader_object_type' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/shader_common.cpp:530:52: style:inconclusive: Technically the member function 'IntegerArrayShaderUniform::getValue' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:251:29: note: Technically the member function 'IntegerArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:530:52: note: Technically the member function 'IntegerArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:588:52: style:inconclusive: Technically the member function 'FloatArrayShaderUniform::getValue' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:269:31: note: Technically the member function 'FloatArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:588:52: note: Technically the member function 'FloatArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:647:50: style:inconclusive: Technically the member function 'Vec2ArrayShaderUniform::getValue' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:289:30: note: Technically the member function 'Vec2ArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:647:50: note: Technically the member function 'Vec2ArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:735:50: style:inconclusive: Technically the member function 'Vec3ArrayShaderUniform::getValue' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:309:30: note: Technically the member function 'Vec3ArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:735:50: note: Technically the member function 'Vec3ArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:823:50: style:inconclusive: Technically the member function 'Vec4ArrayShaderUniform::getValue' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:329:30: note: Technically the member function 'Vec4ArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:823:50: note: Technically the member function 'Vec4ArrayShaderUniform::getValue' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:80:18: performance:inconclusive: Technically the member function 'ShaderPart::applySubstitution' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/shader_common.h:347:10: note: Technically the member function 'ShaderPart::applySubstitution' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/shader_common.cpp:80:18: note: Technically the member function 'ShaderPart::applySubstitution' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/shader_common.cpp:968:26: style:inconclusive: Technically the member function 'AbstractShaderPass::isEmpty' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:396:10: note: Technically the member function 'AbstractShaderPass::isEmpty' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:968:26: note: Technically the member function 'AbstractShaderPass::isEmpty' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:964:40: style:inconclusive: Technically the member function 'AbstractShaderPass::getObjectSource' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:399:24: note: Technically the member function 'AbstractShaderPass::getObjectSource' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:964:40: note: Technically the member function 'AbstractShaderPass::getObjectSource' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:1211:30: style:inconclusive: Technically the member function 'AbstractShader::getProgram' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:439:18: note: Technically the member function 'AbstractShader::getProgram' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:1211:30: note: Technically the member function 'AbstractShader::getProgram' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:1459:50: style:inconclusive: Technically the member function 'AbstractShader::getUniforms' can be const. [functionConst] logstalgia-1.1.4/src/core/shader_common.h:463:38: note: Technically the member function 'AbstractShader::getUniforms' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:1459:50: note: Technically the member function 'AbstractShader::getUniforms' can be const. logstalgia-1.1.4/src/core/shader_common.cpp:1297:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1305:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1313:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1321:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1329:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1337:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1345:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1353:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1361:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1369:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1377:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1385:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1393:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1401:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1409:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1417:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1425:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1433:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1441:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] logstalgia-1.1.4/src/core/shader_common.cpp:1111:59: style:inconclusive: Function 'includeSource' argument 1 names different: declaration 'source' definition 'string'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/shader_common.h:404:43: note: Function 'includeSource' argument 1 names different: declaration 'source' definition 'string'. logstalgia-1.1.4/src/core/shader_common.cpp:1111:59: note: Function 'includeSource' argument 1 names different: declaration 'source' definition 'string'. logstalgia-1.1.4/src/core/shader_common.cpp:1356:81: style: Parameter 'value' can be declared as reference to const [constParameterReference] logstalgia-1.1.4/src/core/shader_common.cpp:1364:82: style: Parameter 'value' can be declared as reference to const [constParameterReference] logstalgia-1.1.4/src/core/shader_common.cpp:1380:80: style: Parameter 'value' can be declared as reference to const [constParameterReference] logstalgia-1.1.4/src/core/shader_common.cpp:1396:80: style: Parameter 'value' can be declared as reference to const [constParameterReference] logstalgia-1.1.4/src/core/shader_common.cpp:1412:80: style: Parameter 'value' can be declared as reference to const [constParameterReference] logstalgia-1.1.4/src/core/shader_common.cpp:956:24: style: Variable 'u' can be declared as pointer to const [constVariablePointer] logstalgia-1.1.4/src/core/shader_common.cpp:1372:67: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] logstalgia-1.1.4/src/core/shader_common.cpp:1388:67: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] logstalgia-1.1.4/src/core/shader_common.cpp:1404:67: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] logstalgia-1.1.4/src/core/shader_common.cpp:1473:24: style: Variable 'u' can be declared as pointer to const [constVariablePointer] logstalgia-1.1.4/src/core/shader_common.cpp:201:24: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] logstalgia-1.1.4/src/core/shader_common.cpp:104:25: style: Variable 'string_size' is assigned a value that is never used. [unreadVariable] logstalgia-1.1.4/src/core/shader_common.cpp:145:25: style: Variable 'string_size' is assigned a value that is never used. [unreadVariable] logstalgia-1.1.4/src/core/shader_common.cpp:168:30: style: Unused variable: matches [unusedVariable] logstalgia-1.1.4/src/core/shader_common.cpp:1264:25: style: Variable 'string_size' is assigned a value that is never used. [unreadVariable] logstalgia-1.1.4/src/core/shader_common.cpp:117:109: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:124:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:952:103: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:1151:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:1193:102: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:1287:109: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:1453:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:1464:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] logstalgia-1.1.4/src/core/shader_common.cpp:1472:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] diff: 2.18.0 logstalgia-1.1.4/src/core/bounds.h:128:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STRIP [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/bounds.h:160:11: style:inconclusive: Technically the member function 'Bounds3D::width' can be const. [functionConst] 2.18.0 logstalgia-1.1.4/src/core/bounds.h:164:11: style:inconclusive: Technically the member function 'Bounds3D::height' can be const. [functionConst] 2.18.0 logstalgia-1.1.4/src/core/bounds.h:168:11: style:inconclusive: Technically the member function 'Bounds3D::depth' can be const. [functionConst] 2.18.0 logstalgia-1.1.4/src/core/bounds.h:176:10: style:inconclusive: Technically the member function 'Bounds3D::centre' can be const. [functionConst] 2.18.0 logstalgia-1.1.4/src/core/bounds.h:196:10: style:inconclusive: Technically the member function 'Bounds3D::contains' can be const. [functionConst] 2.18.0 logstalgia-1.1.4/src/core/bounds.h:196:25: style: Parameter 'point' can be declared as reference to const [constParameterReference] 2.18.0 logstalgia-1.1.4/src/core/bounds.h:207:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINES [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:130:37: style:inconclusive: Function 'multiSample' argument 1 names different: declaration 'sample' definition 'samples'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/display.h:125:28: note: Function 'multiSample' argument 1 names different: declaration 'sample' definition 'samples'. logstalgia-1.1.4/src/core/display.cpp:130:37: note: Function 'multiSample' argument 1 names different: declaration 'sample' definition 'samples'. 2.18.0 logstalgia-1.1.4/src/core/display.cpp:134:21: style:inconclusive: Technically the member function 'SDLAppDisplay::setupExtensions' can be const. [functionConst] logstalgia-1.1.4/src/core/display.h:72:10: note: Technically the member function 'SDLAppDisplay::setupExtensions' can be const. logstalgia-1.1.4/src/core/display.cpp:134:21: note: Technically the member function 'SDLAppDisplay::setupExtensions' can be const. 2.18.0 logstalgia-1.1.4/src/core/display.cpp:136:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glewExperimental [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:154:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::multiSamplingEnabled' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:106:12: note: Technically the member function 'SDLAppDisplay::multiSamplingEnabled' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:154:21: note: Technically the member function 'SDLAppDisplay::multiSamplingEnabled' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_MULTISAMPLEBUFFERS [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:175:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sdl_window [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:269:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_SWAP_CONTROL [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:353:9: style: Local variable 'width' shadows outer variable [shadowVariable] logstalgia-1.1.4/src/core/display.h:75:9: note: Shadowed declaration logstalgia-1.1.4/src/core/display.cpp:353:9: note: Shadow variable 2.18.0 logstalgia-1.1.4/src/core/display.cpp:354:9: style: Local variable 'height' shadows outer variable [shadowVariable] logstalgia-1.1.4/src/core/display.h:75:16: note: Shadowed declaration logstalgia-1.1.4/src/core/display.cpp:354:9: note: Shadow variable 2.18.0 logstalgia-1.1.4/src/core/display.cpp:398:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::toggleFrameless' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:96:12: note: Technically the member function 'SDLAppDisplay::toggleFrameless' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:398:21: note: Technically the member function 'SDLAppDisplay::toggleFrameless' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:39:16: warning: Member variable 'SDLAppDisplay::fullscreen' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:40:5: performance: Variable 'clear_colour' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:584:38: performance: Function parameter 'window_title' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:586:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_TIMER [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:658:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::quit' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:108:12: note: Technically the member function 'SDLAppDisplay::quit' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:658:21: note: Technically the member function 'SDLAppDisplay::quit' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:671:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::update' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:110:12: note: Technically the member function 'SDLAppDisplay::update' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:671:21: note: Technically the member function 'SDLAppDisplay::update' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:681:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:685:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:693:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:700:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::push2D' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:130:12: note: Technically the member function 'SDLAppDisplay::push2D' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:700:21: note: Technically the member function 'SDLAppDisplay::push2D' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:701:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:711:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::pop2D' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:131:12: note: Technically the member function 'SDLAppDisplay::pop2D' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:711:21: note: Technically the member function 'SDLAppDisplay::pop2D' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:712:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:718:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::currentColour' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:133:11: note: Technically the member function 'SDLAppDisplay::currentColour' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:718:21: note: Technically the member function 'SDLAppDisplay::currentColour' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:724:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::project' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:135:10: note: Technically the member function 'SDLAppDisplay::project' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:724:21: note: Technically the member function 'SDLAppDisplay::project' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:730:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MODELVIEW_MATRIX [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:741:21: performance:inconclusive: Technically the member function 'SDLAppDisplay::unproject' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/display.h:136:10: note: Technically the member function 'SDLAppDisplay::unproject' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/display.cpp:741:21: note: Technically the member function 'SDLAppDisplay::unproject' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/display.cpp:748:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MODELVIEW_MATRIX [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.cpp:81:23: style:inconclusive: Technically the member function 'SDLAppDisplay::SDLWindowFlags' can be const. [functionConst] logstalgia-1.1.4/src/core/display.h:70:12: note: Technically the member function 'SDLAppDisplay::SDLWindowFlags' can be const. logstalgia-1.1.4/src/core/display.cpp:81:23: note: Technically the member function 'SDLAppDisplay::SDLWindowFlags' can be const. 2.18.0 logstalgia-1.1.4/src/core/display.cpp:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_OPENGL [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/display.h:51:5: style: Class 'SDLInitException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head logstalgia-1.1.4/src/core/display.h:80:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] head logstalgia-1.1.4/src/core/display.h:80:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:143:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::far_distance' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::far_half_height' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::far_half_width' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::fov' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::near_distance' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::near_half_height' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::near_half_width' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::view_ratio' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/frustum.cpp:36:10: warning: Member variable 'Frustum::fov' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/ftgl/FTUnicode.h:51:5: style: Class 'FTUnicodeStringItr < unsigned char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/ftgl/FTUnicode.h:51:5: style: Class 'FTUnicodeStringItr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/ftgl/FTUnicode.h:51:5: warning: Member variable 'FTUnicodeStringItr < unsigned char >::curChar' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/ftgl/FTUnicode.h:51:5: warning: Member variable 'FTUnicodeStringItr::curChar' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/ftgl/FTUnicode.h:65:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:112:54: style:inconclusive: Function 'drawToVBO' argument 2 names different: declaration 'offset' definition 'pos'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/fxfont.h:129:49: note: Function 'drawToVBO' argument 2 names different: declaration 'offset' definition 'pos'. logstalgia-1.1.4/src/core/fxfont.cpp:112:54: note: Function 'drawToVBO' argument 2 names different: declaration 'offset' definition 'pos'. 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:133:5: warning: Class 'FXGlyphPage' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:133:5: warning: Class 'FXGlyphPage' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:224:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:254:55: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:256:18: style: The scope of the variable 'chr' can be reduced. [variableScope] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:268:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:294:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MAX_TEXTURE_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:334:52: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:337:18: style: The scope of the variable 'chr' can be reduced. [variableScope] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:342:18: style: Variable 'glyph' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:343:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:350:52: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:352:18: style: The scope of the variable 'chr' can be reduced. [variableScope] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:357:18: style: Variable 'glyph' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:365:52: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:369:18: style: The scope of the variable 'chr' can be reduced. [variableScope] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:373:27: style: Local variable 'glyphs' shadows outer variable [shadowVariable] logstalgia-1.1.4/src/core/fxfont.h:147:38: note: Shadowed declaration logstalgia-1.1.4/src/core/fxfont.cpp:373:27: note: Shadow variable 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:383:23: style: Variable 'glyph' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:396:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:412:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:416:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::align_right' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::align_top' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::round' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::shadow' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::shadow_strength' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:463:30: style:inconclusive: Function 'alignRight' argument 1 names different: declaration 'right' definition 'align_right'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/fxfont.h:211:26: note: Function 'alignRight' argument 1 names different: declaration 'right' definition 'align_right'. logstalgia-1.1.4/src/core/fxfont.cpp:463:30: note: Function 'alignRight' argument 1 names different: declaration 'right' definition 'align_right'. 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:467:28: style:inconclusive: Function 'alignTop' argument 1 names different: declaration 'top' definition 'align_top'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/fxfont.h:210:24: note: Function 'alignTop' argument 1 names different: declaration 'top' definition 'align_top'. logstalgia-1.1.4/src/core/fxfont.cpp:467:28: note: Function 'alignTop' argument 1 names different: declaration 'top' definition 'align_top'. 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:587:16: warning: Member variable 'FXFontManager::use_vbo' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:588:5: performance: Variable 'library' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:601:21: performance:inconclusive: Technically the member function 'FXFontManager::reload' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/fxfont.h:252:10: note: Technically the member function 'FXFontManager::reload' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/fxfont.cpp:601:21: note: Technically the member function 'FXFontManager::reload' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:622:40: performance: Function parameter 'font_dir' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:628:90: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:631:86: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:660:24: performance: Passing the result of c_str() to a function that takes std::string as argument no. 2 is slow and redundant. [stlcstrParam] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:78:23: style: Variable 'metrics' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/core/fxfont.cpp:81:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_RENDER_MODE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/fxfont.h:197:5: style: Class 'FXFont' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/fxfont.h:75:5: style: Class 'FXFontException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head logstalgia-1.1.4/src/core/logger.h:98:16: warning: Class 'LoggerStringStream' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head logstalgia-1.1.4/src/core/logger.h:98:16: warning: Class 'LoggerStringStream' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:117:19: performance:inconclusive: Technically the member function 'MouseCursor::leftButtonPressed' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/mousecursor.h:69:10: note: Technically the member function 'MouseCursor::leftButtonPressed' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/mousecursor.cpp:117:19: note: Technically the member function 'MouseCursor::leftButtonPressed' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:122:19: performance:inconclusive: Technically the member function 'MouseCursor::rightButtonPressed' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/mousecursor.h:70:10: note: Technically the member function 'MouseCursor::rightButtonPressed' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/mousecursor.cpp:122:19: note: Technically the member function 'MouseCursor::rightButtonPressed' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:124:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:127:19: performance:inconclusive: Technically the member function 'MouseCursor::bothPressed' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/mousecursor.h:71:10: note: Technically the member function 'MouseCursor::bothPressed' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/mousecursor.cpp:127:19: note: Technically the member function 'MouseCursor::bothPressed' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:129:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:132:19: performance:inconclusive: Technically the member function 'MouseCursor::buttonPressed' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/mousecursor.h:72:10: note: Technically the member function 'MouseCursor::buttonPressed' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/mousecursor.cpp:132:19: note: Technically the member function 'MouseCursor::buttonPressed' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:134:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:153:19: performance:inconclusive: Technically the member function 'MouseCursor::hasFocus' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/mousecursor.h:79:10: note: Technically the member function 'MouseCursor::hasFocus' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/mousecursor.cpp:153:19: note: Technically the member function 'MouseCursor::hasFocus' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:157:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_APPMOUSEFOCUS [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/mousecursor.cpp:191:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:138:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:181:29: style: Condition 'thread_state==PNG_EXPORTER_WAIT' is always true [knownConditionTrueFalse] logstalgia-1.1.4/src/core/png_writer.cpp:179:24: note: Assignment 'thread_state=PNG_EXPORTER_WAIT', assigned value is 0 logstalgia-1.1.4/src/core/png_writer.cpp:181:29: note: Condition 'thread_state==PNG_EXPORTER_WAIT' is always true 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:185:26: style: Condition 'thread_state!=PNG_EXPORTER_WRITE' is always true [knownConditionTrueFalse] logstalgia-1.1.4/src/core/png_writer.cpp:179:24: note: Assignment 'thread_state=PNG_EXPORTER_WAIT', assigned value is 0 logstalgia-1.1.4/src/core/png_writer.cpp:185:26: note: Condition 'thread_state!=PNG_EXPORTER_WRITE' is always true 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:43:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:55:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:75:17: style:inconclusive: Technically the member function 'PNGWriter::capture' can be const. [functionConst] logstalgia-1.1.4/src/core/png_writer.h:51:10: note: Technically the member function 'PNGWriter::capture' can be const. logstalgia-1.1.4/src/core/png_writer.cpp:75:17: note: Technically the member function 'PNGWriter::capture' can be const. 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:76:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGB [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:82:25: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:83:21: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:87:25: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:91:45: style: Parameter 'buffer' can be declared as reference to const [constParameterReference] 2.18.0 logstalgia-1.1.4/src/core/png_writer.cpp:93:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/png_writer.h:43:5: style: Class 'PNGWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/png_writer.h:76:5: style: Class 'PNGExporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/png_writer.h:89:5: style: Class 'PNGExporterException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:100:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:129:36: style: Condition 'dumper_thread_state==FRAME_EXPORTER_WAIT' is always true [knownConditionTrueFalse] logstalgia-1.1.4/src/core/ppm.cpp:127:31: note: Assignment 'dumper_thread_state=FRAME_EXPORTER_WAIT', assigned value is 0 logstalgia-1.1.4/src/core/ppm.cpp:129:36: note: Condition 'dumper_thread_state==FRAME_EXPORTER_WAIT' is always true 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:133:33: style: Condition 'dumper_thread_state==FRAME_EXPORTER_EXIT' is always false [knownConditionTrueFalse] logstalgia-1.1.4/src/core/ppm.cpp:127:31: note: Assignment 'dumper_thread_state=FRAME_EXPORTER_WAIT', assigned value is 0 logstalgia-1.1.4/src/core/ppm.cpp:133:33: note: Condition 'dumper_thread_state==FRAME_EXPORTER_EXIT' is always false 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:166:9: warning: Class 'PPMExporter' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:166:9: warning: Class 'PPMExporter' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:182:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:47:5: warning: Class 'FrameExporter' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 logstalgia-1.1.4/src/core/ppm.cpp:47:5: warning: Class 'FrameExporter' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 logstalgia-1.1.4/src/core/ppm.h:66:5: style: Class 'PPMExporterException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/ppm.h:79:5: style: Class 'PPMExporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/ppm.h:80:14: style: The destructor '~PPMExporter' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/ppm.h:55:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/ppm.h:80:14: note: Destructor in derived class 2.18.0 logstalgia-1.1.4/src/core/ppm.h:81:18: style: The function 'dumpImpl' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/ppm.h:59:18: note: Virtual function in base class logstalgia-1.1.4/src/core/ppm.h:81:18: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:131:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:149:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:162:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:178:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:192:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:233:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:252:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:270:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:282:16: style:inconclusive: Technically the member function 'QuadNode::empty' can be const. [functionConst] logstalgia-1.1.4/src/core/quadtree.h:90:10: note: Technically the member function 'QuadNode::empty' can be const. logstalgia-1.1.4/src/core/quadtree.cpp:282:16: note: Technically the member function 'QuadNode::empty' can be const. 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:292:47: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:302:63: style:inconclusive: Function 'QuadNode' argument 3 names different: declaration 'itembounds' definition 'bounds'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/quadtree.h:75:57: note: Function 'QuadNode' argument 3 names different: declaration 'itembounds' definition 'bounds'. logstalgia-1.1.4/src/core/quadtree.cpp:302:63: note: Function 'QuadNode' argument 3 names different: declaration 'itembounds' definition 'bounds'. 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:309:5: performance: Variable 'listid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:338:39: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:375:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:377:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:38:16: style:inconclusive: Technically the member function 'QuadNode::allowMoreItems' can be const. [functionConst] logstalgia-1.1.4/src/core/quadtree.h:72:10: note: Technically the member function 'QuadNode::allowMoreItems' can be const. logstalgia-1.1.4/src/core/quadtree.cpp:38:16: note: Technically the member function 'QuadNode::allowMoreItems' can be const. 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:397:16: style:inconclusive: Technically the member function 'QuadNode::outline' can be const. [functionConst] logstalgia-1.1.4/src/core/quadtree.h:93:10: note: Technically the member function 'QuadNode::outline' can be const. logstalgia-1.1.4/src/core/quadtree.cpp:397:16: note: Technically the member function 'QuadNode::outline' can be const. 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:421:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:446:5: warning: Class 'QuadTree' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:446:5: warning: Class 'QuadTree' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 logstalgia-1.1.4/src/core/quadtree.cpp:83:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:117:29: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:135:29: performance: Function parameter 'error' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:155:44: style: Parameter 'text' can be declared as reference to const [constParameterReference] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:178:29: performance: Function parameter 'apptitle' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:178:51: performance: Function parameter 'execname' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:178:73: performance: Function parameter 'exepath' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:279:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:313:9: warning: Member variable 'SDLApp::fps_updater' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:313:9: warning: Member variable 'SDLApp::frame_count' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:330:14: style:inconclusive: Technically the member function 'SDLApp::isFinished' can be const. [functionConst] logstalgia-1.1.4/src/core/sdlapp.h:152:10: note: Technically the member function 'SDLApp::isFinished' can be const. logstalgia-1.1.4/src/core/sdlapp.cpp:330:14: note: Technically the member function 'SDLApp::isFinished' can be const. 2.18.0 logstalgia-1.1.4/src/core/sdlapp.cpp:334:13: style:inconclusive: Technically the member function 'SDLApp::returnCode' can be const. [functionConst] logstalgia-1.1.4/src/core/sdlapp.h:151:9: note: Technically the member function 'SDLApp::returnCode' can be const. logstalgia-1.1.4/src/core/sdlapp.cpp:334:13: note: Technically the member function 'SDLApp::returnCode' can be const. head logstalgia-1.1.4/src/core/sdlapp.h:144:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] head logstalgia-1.1.4/src/core/sdlapp.h:144:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.h:66:17: style:inconclusive: Member variable 'SDLAppException::message' is in the wrong place in the initializer list. [initializerList] logstalgia-1.1.4/src/core/sdlapp.h:82:61: note: Member variable 'SDLAppException::message' is in the wrong place in the initializer list. logstalgia-1.1.4/src/core/sdlapp.h:66:17: note: Member variable 'SDLAppException::message' is in the wrong place in the initializer list. 2.18.0 logstalgia-1.1.4/src/core/sdlapp.h:82:33: performance: Function parameter 'message' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/core/sdlapp.h:82:5: style: Class 'SDLAppException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/seeklog.cpp:100:10: warning: Member variable 'SeekLog::current_percent' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/seeklog.cpp:114:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/seeklog.cpp:157:16: style:inconclusive: Technically the member function 'SeekLog::getPercent' can be const. [functionConst] logstalgia-1.1.4/src/core/seeklog.h:91:11: note: Technically the member function 'SeekLog::getPercent' can be const. logstalgia-1.1.4/src/core/seeklog.cpp:157:16: note: Technically the member function 'SeekLog::getPercent' can be const. 2.18.0 logstalgia-1.1.4/src/core/seeklog.cpp:40:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/seeklog.h:57:6: style: The destructor '~StreamLog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/seeklog.h:44:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/seeklog.h:57:6: note: Destructor in derived class 2.18.0 logstalgia-1.1.4/src/core/seeklog.h:59:10: style: The function 'getNextLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/seeklog.h:45:18: note: Virtual function in base class logstalgia-1.1.4/src/core/seeklog.h:59:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/core/seeklog.h:60:10: style: The function 'isFinished' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/seeklog.h:46:18: note: Virtual function in base class logstalgia-1.1.4/src/core/seeklog.h:60:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/core/seeklog.h:67:5: style: Class 'SeekLogException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/seeklog.h:82:5: style: Class 'SeekLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/seeklog.h:83:6: style: The destructor '~SeekLog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/seeklog.h:44:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/seeklog.h:83:6: note: Destructor in derived class 2.18.0 logstalgia-1.1.4/src/core/seeklog.h:89:10: style: The function 'getNextLine' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/seeklog.h:45:18: note: Virtual function in base class logstalgia-1.1.4/src/core/seeklog.h:89:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/core/seeklog.h:93:10: style: The function 'isFinished' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/seeklog.h:46:18: note: Virtual function in base class logstalgia-1.1.4/src/core/seeklog.h:93:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/core/settings.cpp:134:22: performance:inconclusive: Technically the member function 'SDLAppSettings::parseRectangle' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/settings.h:37:10: note: Technically the member function 'SDLAppSettings::parseRectangle' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/settings.cpp:134:22: note: Technically the member function 'SDLAppSettings::parseRectangle' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/settings.cpp:149:22: performance:inconclusive: Technically the member function 'SDLAppSettings::parseViewport' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/core/settings.h:38:10: note: Technically the member function 'SDLAppSettings::parseViewport' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/core/settings.cpp:149:22: note: Technically the member function 'SDLAppSettings::parseViewport' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/core/settings.cpp:178:64: style:inconclusive: Function 'parseArgs' argument 1 names different: declaration 'args' definition 'arguments'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/settings.h:62:52: note: Function 'parseArgs' argument 1 names different: declaration 'args' definition 'arguments'. logstalgia-1.1.4/src/core/settings.cpp:178:64: note: Function 'parseArgs' argument 1 names different: declaration 'args' definition 'arguments'. 2.18.0 logstalgia-1.1.4/src/core/settings.cpp:208:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/settings.cpp:271:86: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/settings.cpp:365:54: style:inconclusive: Function 'importDisplaySettings' argument 1 names different: declaration 'conf' definition 'conffile'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/settings.h:65:42: note: Function 'importDisplaySettings' argument 1 names different: declaration 'conf' definition 'conffile'. logstalgia-1.1.4/src/core/settings.cpp:365:54: note: Function 'importDisplaySettings' argument 1 names different: declaration 'conf' definition 'conffile'. 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:103:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:104:10: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:109:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:110:10: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:117:5: performance: Variable 'textureid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:120:5: performance: Variable 'format' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:122:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CLAMP_TO_EDGE [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:122:5: performance: Variable 'wrap' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:123:5: performance: Variable 'target' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:129:18: warning: Member variable 'TextureResource::h' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:129:18: warning: Member variable 'TextureResource::w' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:135:5: performance: Variable 'format' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:136:5: performance: Variable 'textureid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:137:5: performance: Variable 'target' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:156:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:158:5: performance: Variable 'textureid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:172:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINEAR_MIPMAP_LINEAR [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:191:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_MIN_FILTER [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:199:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_WRAP_S [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:221:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:268:16: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:284:9: style: Local variable 'format' shadows outer variable [shadowVariable] logstalgia-1.1.4/src/core/texture.h:54:12: note: Shadowed declaration logstalgia-1.1.4/src/core/texture.cpp:284:9: note: Shadow variable 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:288:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:44:99: style:inconclusive: Function 'grab' argument 4 names different: declaration 'external_file' definition 'external'. [funcArgNamesDifferent] logstalgia-1.1.4/src/core/texture.h:90:117: note: Function 'grab' argument 4 names different: declaration 'external_file' definition 'external'. logstalgia-1.1.4/src/core/texture.cpp:44:99: note: Function 'grab' argument 4 names different: declaration 'external_file' definition 'external'. 2.18.0 logstalgia-1.1.4/src/core/texture.cpp:49:13: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 logstalgia-1.1.4/src/core/texture.h:40:5: style: Class 'TextureException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/texture.h:77:6: style: The destructor '~TextureResource' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/resource.h:51:14: note: Virtual destructor in base class logstalgia-1.1.4/src/core/texture.h:77:6: note: Destructor in derived class 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:125:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:126:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:131:17: style:inconclusive: Technically the member function 'TGAWriter::capture' can be const. [functionConst] logstalgia-1.1.4/src/core/tga.h:66:10: note: Technically the member function 'TGAWriter::capture' can be const. logstalgia-1.1.4/src/core/tga.cpp:131:17: note: Technically the member function 'TGAWriter::capture' can be const. 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:132:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BGR [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:152:19: style: Variable 'last_pixel' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:226:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:269:29: style: Condition 'thread_state==TGA_EXPORTER_WAIT' is always true [knownConditionTrueFalse] logstalgia-1.1.4/src/core/tga.cpp:267:24: note: Assignment 'thread_state=TGA_EXPORTER_WAIT', assigned value is 0 logstalgia-1.1.4/src/core/tga.cpp:269:29: note: Condition 'thread_state==TGA_EXPORTER_WAIT' is always true 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:273:26: style: Condition 'thread_state!=TGA_EXPORTER_WRITE' is always true [knownConditionTrueFalse] logstalgia-1.1.4/src/core/tga.cpp:267:24: note: Assignment 'thread_state=TGA_EXPORTER_WAIT', assigned value is 0 logstalgia-1.1.4/src/core/tga.cpp:273:26: note: Condition 'thread_state!=TGA_EXPORTER_WRITE' is always true 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:50:20: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:57:45: style: Parameter 'buffer' can be declared as reference to const [constParameterReference] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:68:20: style: C-style pointer casting [cstyleCast] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:81:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/core/tga.cpp:93:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 logstalgia-1.1.4/src/core/tga.h:104:5: style: Class 'TGAExporterException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/tga.h:58:5: style: Class 'TGAWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/core/tga.h:91:5: style: Class 'TGAExporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1065:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LOAD_NO_HINTING [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1189:18: performance:inconclusive: Technically the member function 'Logstalgia::toggleWindowFrame' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/logstalgia.h:200:10: note: Technically the member function 'Logstalgia::toggleWindowFrame' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/logstalgia.cpp:1189:18: note: Technically the member function 'Logstalgia::toggleWindowFrame' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1268:19: style: Variable 'le' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1275:14: style: Condition 'le->successful' is always true [knownConditionTrueFalse] logstalgia-1.1.4/src/logstalgia.cpp:1271:12: note: Assuming that condition '!le->successful' is not redundant logstalgia-1.1.4/src/logstalgia.cpp:1275:14: note: Condition 'le->successful' is always true 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:128:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SYSTEM_CURSOR_SIZEWE [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1357:59: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1367:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1378:23: style: Variable 'le' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:139:15: style: Variable 'it' can be declared as reference to const [constVariableReference] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1454:24: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1454:35: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1488:30: style: Variable 'ball' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:148:15: style: Variable 'it' can be declared as reference to const [constVariableReference] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1490:27: style: Variable 'le' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1667:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FOG [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1683:22: style: Variable 'ball' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1708:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1709:22: style: Variable 'r' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:1754:86: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:175:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:305:19: style: Variable 'it' can be declared as reference to const [constVariableReference] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:38:32: performance: Function parameter 'profile' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:432:18: performance:inconclusive: Technically the member function 'Logstalgia::loadConfig' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/logstalgia.h:172:10: note: Technically the member function 'Logstalgia::loadConfig' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/logstalgia.cpp:432:18: note: Technically the member function 'Logstalgia::loadConfig' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:519:18: style:inconclusive: Technically the member function 'Logstalgia::changeSummarizerMaxDepth' can be const. [functionConst] logstalgia-1.1.4/src/logstalgia.h:157:10: note: Technically the member function 'Logstalgia::changeSummarizerMaxDepth' can be const. logstalgia-1.1.4/src/logstalgia.cpp:519:18: note: Technically the member function 'Logstalgia::changeSummarizerMaxDepth' can be const. 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:51:34: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:532:18: style:inconclusive: Technically the member function 'Logstalgia::changeSummarizerAbbreviationDepth' can be const. [functionConst] logstalgia-1.1.4/src/logstalgia.h:158:10: note: Technically the member function 'Logstalgia::changeSummarizerAbbreviationDepth' can be const. logstalgia-1.1.4/src/logstalgia.cpp:532:18: note: Technically the member function 'Logstalgia::changeSummarizerAbbreviationDepth' can be const. 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:55:34: performance: Function parameter 'error' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:59:13: warning: Member variable 'Logstalgia::currtime' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:59:13: warning: Member variable 'Logstalgia::elapsed_time' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:59:13: warning: Member variable 'Logstalgia::end_reached' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:59:13: warning: Member variable 'Logstalgia::lasttime' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:59:13: warning: Member variable 'Logstalgia::paddle_x' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:59:13: warning: Member variable 'Logstalgia::starttime' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:605:18: style:inconclusive: Technically the member function 'Logstalgia::hasProgressBar' can be const. [functionConst] logstalgia-1.1.4/src/logstalgia.h:130:10: note: Technically the member function 'Logstalgia::hasProgressBar' can be const. logstalgia-1.1.4/src/logstalgia.cpp:605:18: note: Technically the member function 'Logstalgia::hasProgressBar' can be const. 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:614:8: style: The statement 'if (paused) paused=false' is logically equivalent to 'paused=false'. [duplicateConditionalAssign] logstalgia-1.1.4/src/logstalgia.cpp:614:23: note: Assignment 'paused=false' logstalgia-1.1.4/src/logstalgia.cpp:614:8: note: Condition 'paused' is redundant 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:625:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEBUTTONDOWN [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:646:55: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:721:24: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:721:35: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:730:18: style:inconclusive: Technically the member function 'Logstalgia::mouseOverSummarizerWidthAdjuster' can be const. [functionConst] logstalgia-1.1.4/src/logstalgia.h:166:10: note: Technically the member function 'Logstalgia::mouseOverSummarizerWidthAdjuster' can be const. logstalgia-1.1.4/src/logstalgia.cpp:730:18: note: Technically the member function 'Logstalgia::mouseOverSummarizerWidthAdjuster' can be const. 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:778:25: style: Variable 's' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:779:34: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:77:5: performance: Variable 'mintime' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:799:25: performance:inconclusive: Technically the member function 'Logstalgia::filterURLHostname' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/logstalgia.h:132:17: note: Technically the member function 'Logstalgia::filterURLHostname' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/logstalgia.cpp:799:25: note: Technically the member function 'Logstalgia::filterURLHostname' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:810:54: style: Parameter 'le' can be declared as pointer to const [constParameterPointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:812:10: style: Variable 'host_match_summarizers' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:813:10: style: Variable 'code_match_summarizers' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:814:10: style: Variable 'uri_match_summarizers' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:820:50: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:829:55: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:838:46: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:879:17: style: Variable 'groupSummarizer' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:90:13: warning: Class 'Logstalgia' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:90:13: warning: Class 'Logstalgia' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:935:18: performance:inconclusive: Technically the member function 'Logstalgia::filterLogLine' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/logstalgia.h:137:10: note: Technically the member function 'Logstalgia::filterLogLine' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/logstalgia.cpp:935:18: note: Technically the member function 'Logstalgia::filterLogLine' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:937:24: style: Consider using std::replace_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:963:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/logstalgia.cpp:966:27: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] 2.18.0 logstalgia-1.1.4/src/logstalgia.h:191:10: style: The function 'logic' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:135:18: note: Virtual function in base class logstalgia-1.1.4/src/logstalgia.h:191:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/logstalgia.h:192:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:136:18: note: Virtual function in base class logstalgia-1.1.4/src/logstalgia.h:192:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/logstalgia.h:194:5: style: Class 'Logstalgia' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/logstalgia.h:195:6: style: The destructor '~Logstalgia' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:109:14: note: Virtual destructor in base class logstalgia-1.1.4/src/logstalgia.h:195:6: note: Destructor in derived class 2.18.0 logstalgia-1.1.4/src/logstalgia.h:199:10: style: The function 'resize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:130:18: note: Virtual function in base class logstalgia-1.1.4/src/logstalgia.h:199:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/logstalgia.h:203:10: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:133:18: note: Virtual function in base class logstalgia-1.1.4/src/logstalgia.h:203:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/logstalgia.h:204:10: style: The function 'update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:132:18: note: Virtual function in base class logstalgia-1.1.4/src/logstalgia.h:204:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/logstalgia.h:205:7: style: The function 'keyPress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:142:18: note: Virtual function in base class logstalgia-1.1.4/src/logstalgia.h:205:7: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/logstalgia.h:206:7: style: The function 'mouseMove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:140:18: note: Virtual function in base class logstalgia-1.1.4/src/logstalgia.h:206:7: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/logstalgia.h:207:10: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] logstalgia-1.1.4/src/core/sdlapp.h:141:18: note: Virtual function in base class logstalgia-1.1.4/src/logstalgia.h:207:10: note: Function in derived class 2.18.0 logstalgia-1.1.4/src/main.cpp:187:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLEW_VERSION_2_0 [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/main.cpp:98:102: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/paddle.cpp:100:50: style: Parameter 'mouse' can be declared as reference to const [constParameterReference] 2.18.0 logstalgia-1.1.4/src/paddle.cpp:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/paddle.cpp:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/paddle.cpp:24:51: performance: Function parameter 'token' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/paddle.cpp:24:9: warning: Member variable 'Paddle::dest_elapsed' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/paddle.cpp:24:9: warning: Member variable 'Paddle::dest_eta' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/paddle.cpp:24:9: warning: Member variable 'Paddle::start_y' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/paddle.cpp:61:14: style:inconclusive: Technically the member function 'Paddle::visible' can be const. [functionConst] logstalgia-1.1.4/src/paddle.h:55:10: note: Technically the member function 'Paddle::visible' can be const. logstalgia-1.1.4/src/paddle.cpp:61:14: note: Technically the member function 'Paddle::visible' can be const. 2.18.0 logstalgia-1.1.4/src/paddle.cpp:65:14: style:inconclusive: Technically the member function 'Paddle::moving' can be const. [functionConst] logstalgia-1.1.4/src/paddle.h:54:10: note: Technically the member function 'Paddle::moving' can be const. logstalgia-1.1.4/src/paddle.cpp:65:14: note: Technically the member function 'Paddle::moving' can be const. 2.18.0 logstalgia-1.1.4/src/paddle.cpp:69:15: style:inconclusive: Technically the member function 'Paddle::getY' can be const. [functionConst] logstalgia-1.1.4/src/paddle.h:71:11: note: Technically the member function 'Paddle::getY' can be const. logstalgia-1.1.4/src/paddle.cpp:69:15: note: Technically the member function 'Paddle::getY' can be const. 2.18.0 logstalgia-1.1.4/src/paddle.cpp:73:15: style:inconclusive: Technically the member function 'Paddle::getX' can be const. [functionConst] logstalgia-1.1.4/src/paddle.h:70:11: note: Technically the member function 'Paddle::getX' can be const. logstalgia-1.1.4/src/paddle.cpp:73:15: note: Technically the member function 'Paddle::getX' can be const. 2.18.0 logstalgia-1.1.4/src/requestball.cpp:153:20: style:inconclusive: Technically the member function 'RequestBall::arrivalTime' can be const. [functionConst] logstalgia-1.1.4/src/requestball.h:69:11: note: Technically the member function 'RequestBall::arrivalTime' can be const. logstalgia-1.1.4/src/requestball.cpp:153:20: note: Technically the member function 'RequestBall::arrivalTime' can be const. 2.18.0 logstalgia-1.1.4/src/requestball.cpp:186:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/requestball.cpp:220:55: style: Parameter 'mouse' can be declared as reference to const [constParameterReference] 2.18.0 logstalgia-1.1.4/src/requestball.cpp:227:34: style: Unused variable: content [unusedVariable] 2.18.0 logstalgia-1.1.4/src/requestball.cpp:26:5: performance: Variable 'dir' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/requestball.cpp:305:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/requestball.cpp:329:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/settings.cpp:321:61: style:inconclusive: Function 'importLogstalgiaSettings' argument 1 names different: declaration 'conf' definition 'conffile'. [funcArgNamesDifferent] logstalgia-1.1.4/src/settings.h:119:45: note: Function 'importLogstalgiaSettings' argument 1 names different: declaration 'conf' definition 'conffile'. logstalgia-1.1.4/src/settings.cpp:321:61: note: Function 'importLogstalgiaSettings' argument 1 names different: declaration 'conf' definition 'conffile'. 2.18.0 logstalgia-1.1.4/src/settings.cpp:32:26: performance:inconclusive: Technically the member function 'LogstalgiaSettings::help' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/settings.h:122:10: note: Technically the member function 'LogstalgiaSettings::help' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/settings.cpp:32:26: note: Technically the member function 'LogstalgiaSettings::help' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/settings.cpp:453:42: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 logstalgia-1.1.4/src/settings.cpp:453:42: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 logstalgia-1.1.4/src/settings.cpp:453:42: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 logstalgia-1.1.4/src/settings.cpp:503:24: style: Variable 'group_entries' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/settings.cpp:505:24: style: Local variable 'entry' shadows outer variable [shadowVariable] logstalgia-1.1.4/src/settings.cpp:331:16: note: Shadowed declaration logstalgia-1.1.4/src/settings.cpp:505:24: note: Shadow variable 2.18.0 logstalgia-1.1.4/src/settings.cpp:643:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/settings.cpp:716:18: style: Local variable 'settings' shadows outer variable [shadowVariable] logstalgia-1.1.4/src/settings.h:125:27: note: Shadowed declaration logstalgia-1.1.4/src/settings.cpp:716:18: note: Shadow variable 2.18.0 logstalgia-1.1.4/src/settings.cpp:768:20: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/settings.cpp:768:31: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 logstalgia-1.1.4/src/settings.cpp:775:20: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/settings.cpp:775:31: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 logstalgia-1.1.4/src/settings.cpp:882:5: performance: Variable 'colour' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/settings.cpp:922:16: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 logstalgia-1.1.4/src/settings.cpp:922:16: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 logstalgia-1.1.4/src/settings.cpp:922:16: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 logstalgia-1.1.4/src/slider.cpp:100:52: style:inconclusive: Function 'setCaption' argument 1 names different: declaration 'cap' definition 'caption'. [funcArgNamesDifferent] logstalgia-1.1.4/src/slider.h:29:40: note: Function 'setCaption' argument 1 names different: declaration 'cap' definition 'caption'. logstalgia-1.1.4/src/slider.cpp:100:52: note: Function 'setCaption' argument 1 names different: declaration 'cap' definition 'caption'. 2.18.0 logstalgia-1.1.4/src/slider.cpp:105:25: performance: Passing the result of c_str() to a function that takes std::string as argument no. 1 is slow and redundant. [stlcstrParam] 2.18.0 logstalgia-1.1.4/src/slider.cpp:127:39: style:inconclusive: Function 'drawSlider' argument 1 names different: declaration 'position' definition 'pos_x'. [funcArgNamesDifferent] logstalgia-1.1.4/src/slider.h:23:27: note: Function 'drawSlider' argument 1 names different: declaration 'position' definition 'pos_x'. logstalgia-1.1.4/src/slider.cpp:127:39: note: Function 'drawSlider' argument 1 names different: declaration 'position' definition 'pos_x'. 2.18.0 logstalgia-1.1.4/src/slider.cpp:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINES [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/slider.cpp:143:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/slider.cpp:22:17: warning: Member variable 'PositionSlider::capwidth' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/slider.cpp:25:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LOAD_NO_HINTING [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/slider.cpp:25:5: performance: Variable 'font' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/slider.h:25:5: style: Class 'PositionSlider' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:1024:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:1067:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:183:14: style: Local variable 'c' shadows outer variable [shadowVariable] logstalgia-1.1.4/src/summarizer.h:73:10: note: Shadowed declaration logstalgia-1.1.4/src/summarizer.cpp:183:14: note: Shadow variable 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:223:20: style: Variable 'child' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:228:46: performance: Function parameter 'str' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:235:35: performance: Function parameter 'prefix' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:235:69: style:inconclusive: Function 'expand' argument 2 names different: declaration 'expansion' definition 'vec'. [funcArgNamesDifferent] logstalgia-1.1.4/src/summarizer.h:86:63: note: Function 'expand' argument 2 names different: declaration 'expansion' definition 'vec'. logstalgia-1.1.4/src/summarizer.cpp:235:69: note: Function 'expand' argument 2 names different: declaration 'expansion' definition 'vec'. 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:243:36: style: Unused variable: it [unusedVariable] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:255:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:270:19: style: Variable 'child' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:271:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:278:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:278:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:306:23: style: Variable 'child' can be declared as pointer to const [constVariablePointer] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:360:30: style: Variable 'row' can be declared as reference to const [constVariableReference] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:445:26: style: Variable 'row' can be declared as reference to const [constVariableReference] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:459:52: performance: Function parameter 'unit' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:459:52: style:inconclusive: Function 'SummItem' argument 2 names different: declaration 'row' definition 'unit'. [funcArgNamesDifferent] logstalgia-1.1.4/src/summarizer.h:105:46: note: Function 'SummItem' argument 2 names different: declaration 'row' definition 'unit'. logstalgia-1.1.4/src/summarizer.cpp:459:52: note: Function 'SummItem' argument 2 names different: declaration 'row' definition 'unit'. 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:462:5: performance: Variable 'pos' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:478:41: style:inconclusive: Function 'updateRow' argument 1 names different: declaration 'row' definition 'unit'. [funcArgNamesDifferent] logstalgia-1.1.4/src/summarizer.h:127:35: note: Function 'updateRow' argument 1 names different: declaration 'row' definition 'unit'. logstalgia-1.1.4/src/summarizer.cpp:478:41: note: Function 'updateRow' argument 1 names different: declaration 'row' definition 'unit'. 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:48:10: warning: Member variable 'SummRow::abbreviated' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:48:10: warning: Member variable 'SummRow::source' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:566:129: performance: Function parameter 'matchstr' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:566:13: warning: Member variable 'Summarizer::font_gap' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:566:13: warning: Member variable 'Summarizer::max_strings' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:566:13: warning: Member variable 'Summarizer::right' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:566:151: performance: Function parameter 'title' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:566:31: performance: Function parameter 'font' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:566:41: style:inconclusive: Function 'Summarizer' argument 2 names different: declaration 'percent' definition 'screen_percent'. [funcArgNamesDifferent] logstalgia-1.1.4/src/summarizer.h:175:33: note: Function 'Summarizer' argument 2 names different: declaration 'percent' definition 'screen_percent'. logstalgia-1.1.4/src/summarizer.cpp:566:41: note: Function 'Summarizer' argument 2 names different: declaration 'percent' definition 'screen_percent'. 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:595:17: style:inconclusive: Technically the member function 'Summarizer::getScreenPercent' can be const. [functionConst] logstalgia-1.1.4/src/summarizer.h:189:9: note: Technically the member function 'Summarizer::getScreenPercent' can be const. logstalgia-1.1.4/src/summarizer.cpp:595:17: note: Technically the member function 'Summarizer::getScreenPercent' can be const. 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:611:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:680:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:680:13: style: Variable 'y' is assigned a value that is never used. [unreadVariable] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:724:21: performance: Assigning the result of c_str() to a std::string is slow and redundant. [stlcstrAssignment] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:814:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:909:42: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:932:54: style:inconclusive: Function 'getBestMatchIndex' argument 1 names different: declaration 'str' definition 'input'. [funcArgNamesDifferent] logstalgia-1.1.4/src/summarizer.h:224:54: note: Function 'getBestMatchIndex' argument 1 names different: declaration 'str' definition 'input'. logstalgia-1.1.4/src/summarizer.cpp:932:54: note: Function 'getBestMatchIndex' argument 1 names different: declaration 'str' definition 'input'. 2.18.0 logstalgia-1.1.4/src/summarizer.cpp:96:11: warning: Member variable 'SummNode::unsummarized' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/summarizer.h:35:5: style: Class 'SummRow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/summarizer.h:69:5: style: Class 'SummNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/summarizer.h:76:9: style:inconclusive: Member variable 'SummNode::delimiters' is in the wrong place in the initializer list. [initializerList] logstalgia-1.1.4/src/summarizer.cpp:101:100: note: Member variable 'SummNode::delimiters' is in the wrong place in the initializer list. logstalgia-1.1.4/src/summarizer.h:76:9: note: Member variable 'SummNode::delimiters' is in the wrong place in the initializer list. 2.18.0 logstalgia-1.1.4/src/summarizer.h:76:9: style:inconclusive: Member variable 'SummNode::delimiters' is in the wrong place in the initializer list. [initializerList] logstalgia-1.1.4/src/summarizer.cpp:97:87: note: Member variable 'SummNode::delimiters' is in the wrong place in the initializer list. logstalgia-1.1.4/src/summarizer.h:76:9: note: Member variable 'SummNode::delimiters' is in the wrong place in the initializer list. 2.18.0 logstalgia-1.1.4/src/tests.cpp:17:24: performance:inconclusive: Technically the member function 'LogstalgiaTester::runTests' can be static (but you may consider moving to unnamed namespace). [functionStatic] logstalgia-1.1.4/src/tests.h:20:10: note: Technically the member function 'LogstalgiaTester::runTests' can be static (but you may consider moving to unnamed namespace). logstalgia-1.1.4/src/tests.cpp:17:24: note: Technically the member function 'LogstalgiaTester::runTests' can be static (but you may consider moving to unnamed namespace). 2.18.0 logstalgia-1.1.4/src/tests.cpp:19:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LOAD_NO_HINTING [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/tests.cpp:65:17: style: The scope of the variable 'html_regex' can be reduced. [variableScope] 2.18.0 logstalgia-1.1.4/src/tests.cpp:83:17: style: The scope of the variable 'image_regex' can be reduced. [variableScope] 2.18.0 logstalgia-1.1.4/src/tests.h:9:5: style: Class 'TesterException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:119:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:20:11: warning:inconclusive: Member variable 'TextArea::rectheight' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:20:11: warning:inconclusive: Member variable 'TextArea::rectwidth' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:20:11: warning:inconclusive: Member variable 'TextArea::visible' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:23:11: warning: Member variable 'TextArea::rectheight' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:23:11: warning: Member variable 'TextArea::rectwidth' is not initialized in the constructor. [uninitMemberVar] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:23:27: performance: Function parameter 'font' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:32:46: style: Parameter 'content' can be declared as reference to const [constParameterReference] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:32:62: performance: Function parameter 'font' should be passed by const reference. [passedByValue] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:43:15: style:inconclusive: Technically the member function 'TextArea::getMaxCharacters' can be const. [functionConst] logstalgia-1.1.4/src/textarea.h:43:9: note: Technically the member function 'TextArea::getMaxCharacters' can be const. logstalgia-1.1.4/src/textarea.cpp:43:15: note: Technically the member function 'TextArea::getMaxCharacters' can be const. 2.18.0 logstalgia-1.1.4/src/textarea.cpp:51:56: style:inconclusive: Function 'setText' argument 1 names different: declaration 'content' definition 'content_'. [funcArgNamesDifferent] logstalgia-1.1.4/src/textarea.h:45:50: note: Function 'setText' argument 1 names different: declaration 'content' definition 'content_'. logstalgia-1.1.4/src/textarea.cpp:51:56: note: Function 'setText' argument 1 names different: declaration 'content' definition 'content_'. 2.18.0 logstalgia-1.1.4/src/textarea.cpp:63:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] 2.18.0 logstalgia-1.1.4/src/textarea.cpp:99:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 logstalgia-1.1.4/src/textarea.h:38:5: style: Class 'TextArea' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] DONE