2025-08-31 06:00 ftp://ftp.de.debian.org/debian/pool/main/g/gource/gource_0.54.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: 399 1079 elapsed-time: 1.0 3.7 head-timing-info: old-timing-info: head results: gource-0.54/src/core/display.h:80:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] gource-0.54/src/core/display.h:80:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] gource-0.54/src/core/vectors.h:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gource-0.54/src/core/vectors.h:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gource-0.54/src/core/plane.cpp:38:5: performance: Variable 'normal' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/conffile.cpp:397:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gource-0.54/src/core/conffile.cpp:502:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gource-0.54/src/core/resource.h:46:9: style:inconclusive: Member variable 'Resource::refs' is in the wrong place in the initializer list. [initializerList] gource-0.54/src/core/resource.h:50:80: note: Member variable 'Resource::refs' is in the wrong place in the initializer list. gource-0.54/src/core/resource.h:46:9: note: Member variable 'Resource::refs' is in the wrong place in the initializer list. gource-0.54/src/core/resource.h:57:9: style:inconclusive: Technically the member function 'Resource::refcount' can be const. [functionConst] gource-0.54/src/core/resource.cpp:34:30: style:inconclusive: Technically the member function 'ResourceManager::getDir' can be const. [functionConst] gource-0.54/src/core/resource.h:69:17: note: Technically the member function 'ResourceManager::getDir' can be const. gource-0.54/src/core/resource.cpp:34:30: note: Technically the member function 'ResourceManager::getDir' can be const. gource-0.54/src/core/resource.h:39:5: style: Class 'ResourceException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/resource.h:50:5: style: Class 'Resource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/resource.h:69:17: performance: Function 'getDir()' should return member 'resource_dir' by const reference. [returnByReference] gource-0.54/src/core/resource.cpp:62:41: style: Parameter 'resource' can be declared as pointer to const [constParameterPointer] gource-0.54/src/core/resource.cpp:44:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/sdlapp.h:144:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] gource-0.54/src/core/sdlapp.h:144:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] gource-0.54/src/core/logger.cpp:93:13: style:inconclusive: Technically the member function 'Logger::getMessageCount' can be const. [functionConst] gource-0.54/src/core/logger.h:64:9: note: Technically the member function 'Logger::getMessageCount' can be const. gource-0.54/src/core/logger.cpp:93:13: note: Technically the member function 'Logger::getMessageCount' can be const. gource-0.54/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] gource-0.54/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] gource-0.54/src/core/logger.h:91:5: style: Class 'LoggerStringStream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/logger.cpp:81:45: style:inconclusive: Function 'Logger' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:69:41: note: Function 'Logger' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. gource-0.54/src/core/logger.cpp:81:45: note: Function 'Logger' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. gource-0.54/src/core/logger.cpp:85:48: style:inconclusive: Function 'init' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:71:44: note: Function 'init' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. gource-0.54/src/core/logger.cpp:85:48: note: Function 'init' argument 3 names different: declaration 'history_capacity' definition 'hist_capacity'. gource-0.54/src/core/logger.cpp:128:26: style:inconclusive: Function 'warnLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:76:26: note: Function 'warnLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:128:26: note: Function 'warnLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:132:27: style:inconclusive: Function 'debugLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:77:27: note: Function 'debugLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:132:27: note: Function 'debugLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:136:26: style:inconclusive: Function 'infoLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:78:26: note: Function 'infoLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:136:26: note: Function 'infoLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:140:27: style:inconclusive: Function 'errorLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:79:27: note: Function 'errorLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:140:27: note: Function 'errorLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:144:29: style:inconclusive: Function 'consoleLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:80:29: note: Function 'consoleLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:144:29: note: Function 'consoleLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:148:28: style:inconclusive: Function 'scriptLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:81:28: note: Function 'scriptLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:148:28: note: Function 'scriptLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:152:30: style:inconclusive: Function 'pedanticLog' argument 1 names different: declaration 'args' definition 'str'. [funcArgNamesDifferent] gource-0.54/src/core/logger.h:82:30: note: Function 'pedanticLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/logger.cpp:152:30: note: Function 'pedanticLog' argument 1 names different: declaration 'args' definition 'str'. gource-0.54/src/core/regex.h:42:5: style: Class 'RegexCompilationException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/regex.h:56:5: style: Class 'Regex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/regex.cpp:122:13: style: The scope of the variable 'match_end' can be reduced. [variableScope] gource-0.54/src/core/regex.cpp:201:17: style: The scope of the variable 'match_end' can be reduced. [variableScope] gource-0.54/src/core/regex.cpp:207:29: style: Local variable 'match' shadows outer function [shadowFunction] gource-0.54/src/core/regex.h:60:10: note: Shadowed declaration gource-0.54/src/core/regex.cpp:207:29: note: Shadow variable gource-0.54/src/core/regex.cpp:196:17: style: Variable 'ovector' can be declared as pointer to const [constVariablePointer] gource-0.54/src/core/conffile.cpp:39:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] gource-0.54/src/core/conffile.cpp:54:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] gource-0.54/src/core/conffile.cpp:59:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] gource-0.54/src/core/conffile.cpp:49:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] gource-0.54/src/core/conffile.cpp:64:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] gource-0.54/src/core/conffile.cpp:69:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] gource-0.54/src/core/conffile.cpp:74:12: warning: Member variable 'ConfEntry::lineno' is not initialized in the constructor. [uninitMemberVar] gource-0.54/src/core/conffile.cpp:134:16: style:inconclusive: Technically the member function 'ConfEntry::getLineNumber' can be const. [functionConst] gource-0.54/src/core/conffile.h:72:9: note: Technically the member function 'ConfEntry::getLineNumber' can be const. gource-0.54/src/core/conffile.cpp:134:16: note: Technically the member function 'ConfEntry::getLineNumber' can be const. gource-0.54/src/core/conffile.cpp:126:24: style:inconclusive: Technically the member function 'ConfEntry::getName' can be const. [functionConst] gource-0.54/src/core/conffile.h:73:17: note: Technically the member function 'ConfEntry::getName' can be const. gource-0.54/src/core/conffile.cpp:126:24: note: Technically the member function 'ConfEntry::getName' can be const. gource-0.54/src/core/conffile.cpp:130:24: style:inconclusive: Technically the member function 'ConfEntry::getString' can be const. [functionConst] gource-0.54/src/core/conffile.h:75:17: note: Technically the member function 'ConfEntry::getString' can be const. gource-0.54/src/core/conffile.cpp:130:24: note: Technically the member function 'ConfEntry::getString' can be const. gource-0.54/src/core/conffile.cpp:138:16: style:inconclusive: Technically the member function 'ConfEntry::getInt' can be const. [functionConst] gource-0.54/src/core/conffile.h:76:17: note: Technically the member function 'ConfEntry::getInt' can be const. gource-0.54/src/core/conffile.cpp:138:16: note: Technically the member function 'ConfEntry::getInt' can be const. gource-0.54/src/core/conffile.cpp:152:18: style:inconclusive: Technically the member function 'ConfEntry::getFloat' can be const. [functionConst] gource-0.54/src/core/conffile.h:77:17: note: Technically the member function 'ConfEntry::getFloat' can be const. gource-0.54/src/core/conffile.cpp:152:18: note: Technically the member function 'ConfEntry::getFloat' can be const. gource-0.54/src/core/conffile.cpp:169:17: style:inconclusive: Technically the member function 'ConfEntry::getBool' can be const. [functionConst] gource-0.54/src/core/conffile.h:78:17: note: Technically the member function 'ConfEntry::getBool' can be const. gource-0.54/src/core/conffile.cpp:169:17: note: Technically the member function 'ConfEntry::getBool' can be const. gource-0.54/src/core/conffile.cpp:182:17: style:inconclusive: Technically the member function 'ConfEntry::getVec2' can be const. [functionConst] gource-0.54/src/core/conffile.h:79:16: note: Technically the member function 'ConfEntry::getVec2' can be const. gource-0.54/src/core/conffile.cpp:182:17: note: Technically the member function 'ConfEntry::getVec2' can be const. gource-0.54/src/core/conffile.cpp:198:17: style:inconclusive: Technically the member function 'ConfEntry::getVec3' can be const. [functionConst] gource-0.54/src/core/conffile.h:80:16: note: Technically the member function 'ConfEntry::getVec3' can be const. gource-0.54/src/core/conffile.cpp:198:17: note: Technically the member function 'ConfEntry::getVec3' can be const. gource-0.54/src/core/conffile.cpp:214:17: style:inconclusive: Technically the member function 'ConfEntry::getVec4' can be const. [functionConst] gource-0.54/src/core/conffile.h:81:16: note: Technically the member function 'ConfEntry::getVec4' can be const. gource-0.54/src/core/conffile.cpp:214:17: note: Technically the member function 'ConfEntry::getVec4' can be const. gource-0.54/src/core/conffile.cpp:142:17: style:inconclusive: Technically the member function 'ConfEntry::isFloat' can be const. [functionConst] gource-0.54/src/core/conffile.h:83:10: note: Technically the member function 'ConfEntry::isFloat' can be const. gource-0.54/src/core/conffile.cpp:142:17: note: Technically the member function 'ConfEntry::isFloat' can be const. gource-0.54/src/core/conffile.cpp:147:17: style:inconclusive: Technically the member function 'ConfEntry::isInt' can be const. [functionConst] gource-0.54/src/core/conffile.h:84:10: note: Technically the member function 'ConfEntry::isInt' can be const. gource-0.54/src/core/conffile.cpp:147:17: note: Technically the member function 'ConfEntry::isInt' can be const. gource-0.54/src/core/conffile.cpp:160:17: style:inconclusive: Technically the member function 'ConfEntry::isBool' can be const. [functionConst] gource-0.54/src/core/conffile.h:85:10: note: Technically the member function 'ConfEntry::isBool' can be const. gource-0.54/src/core/conffile.cpp:160:17: note: Technically the member function 'ConfEntry::isBool' can be const. gource-0.54/src/core/conffile.cpp:177:17: style:inconclusive: Technically the member function 'ConfEntry::isVec2' can be const. [functionConst] gource-0.54/src/core/conffile.h:86:10: note: Technically the member function 'ConfEntry::isVec2' can be const. gource-0.54/src/core/conffile.cpp:177:17: note: Technically the member function 'ConfEntry::isVec2' can be const. gource-0.54/src/core/conffile.cpp:193:17: style:inconclusive: Technically the member function 'ConfEntry::isVec3' can be const. [functionConst] gource-0.54/src/core/conffile.h:87:10: note: Technically the member function 'ConfEntry::isVec3' can be const. gource-0.54/src/core/conffile.cpp:193:17: note: Technically the member function 'ConfEntry::isVec3' can be const. gource-0.54/src/core/conffile.cpp:209:17: style:inconclusive: Technically the member function 'ConfEntry::isVec4' can be const. [functionConst] gource-0.54/src/core/conffile.h:88:10: note: Technically the member function 'ConfEntry::isVec4' can be const. gource-0.54/src/core/conffile.cpp:209:17: note: Technically the member function 'ConfEntry::isVec4' can be const. gource-0.54/src/core/conffile.cpp:243:26: style:inconclusive: Technically the member function 'ConfSection::getName' can be const. [functionConst] gource-0.54/src/core/conffile.h:115:17: note: Technically the member function 'ConfSection::getName' can be const. gource-0.54/src/core/conffile.cpp:243:26: note: Technically the member function 'ConfSection::getName' can be const. gource-0.54/src/core/conffile.cpp:255:18: style:inconclusive: Technically the member function 'ConfSection::getLineNumber' can be const. [functionConst] gource-0.54/src/core/conffile.h:117:9: note: Technically the member function 'ConfSection::getLineNumber' can be const. gource-0.54/src/core/conffile.cpp:255:18: note: Technically the member function 'ConfSection::getLineNumber' can be const. gource-0.54/src/core/conffile.cpp:448:23: style:inconclusive: Technically the member function 'ConfFile::getFilename' can be const. [functionConst] gource-0.54/src/core/conffile.h:150:17: note: Technically the member function 'ConfFile::getFilename' can be const. gource-0.54/src/core/conffile.cpp:448:23: note: Technically the member function 'ConfFile::getFilename' can be const. gource-0.54/src/core/conffile.cpp:788:16: style:inconclusive: Technically the member function 'ConfFile::sectionException' can be const. [functionConst] gource-0.54/src/core/conffile.h:189:10: note: Technically the member function 'ConfFile::sectionException' can be const. gource-0.54/src/core/conffile.cpp:788:16: note: Technically the member function 'ConfFile::sectionException' can be const. gource-0.54/src/core/conffile.cpp:814:16: style:inconclusive: Technically the member function 'ConfFile::entryException' can be const. [functionConst] gource-0.54/src/core/conffile.h:190:10: note: Technically the member function 'ConfFile::entryException' can be const. gource-0.54/src/core/conffile.cpp:814:16: note: Technically the member function 'ConfFile::entryException' can be const. gource-0.54/src/core/conffile.h:51:5: style: Class 'ConfEntry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/conffile.h:102:5: style: Class 'ConfSection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/conffile.h:73:17: performance: Function 'getName()' should return member 'name' by const reference. [returnByReference] gource-0.54/src/core/conffile.h:75:17: performance: Function 'getString()' should return member 'value' by const reference. [returnByReference] gource-0.54/src/core/conffile.h:115:17: performance: Function 'getName()' should return member 'name' by const reference. [returnByReference] gource-0.54/src/core/conffile.h:150:17: performance: Function 'getFilename()' should return member 'conffile' by const reference. [returnByReference] gource-0.54/src/core/shader.cpp:111:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_STATUS [valueFlowBailoutIncompleteVar] gource-0.54/src/core/shader.cpp:281:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINK_STATUS [valueFlowBailoutIncompleteVar] gource-0.54/src/core/conffile.cpp:535:45: style: Condition 'line.size()>0' is always true [knownConditionTrueFalse] gource-0.54/src/core/conffile.cpp:535:24: note: Assuming that condition 'line.size()==0' is not redundant gource-0.54/src/core/conffile.cpp:535:45: note: Condition 'line.size()>0' is always true gource-0.54/src/core/conffile.cpp:778:72: performance: Function parameter 'entryname' should be passed by const reference. [passedByValue] gource-0.54/src/core/conffile.cpp:788:67: performance: Function parameter 'reason' should be passed by const reference. [passedByValue] gource-0.54/src/core/conffile.cpp:814:61: performance: Function parameter 'reason' should be passed by const reference. [passedByValue] gource-0.54/src/core/conffile.cpp:574:16: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] gource-0.54/src/core/conffile.cpp:605:18: style: Variable 'sec' can be declared as pointer to const [constVariablePointer] gource-0.54/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] gource-0.54/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] gource-0.54/src/core/conffile.cpp:597:9: style: Consider using std::distance algorithm instead of a raw loop. [useStlAlgorithm] gource-0.54/src/core/conffile.cpp:322:30: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/conffile.cpp:327:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/conffile.cpp:400:30: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/conffile.cpp:405:38: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/conffile.cpp:427:32: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/conffile.cpp:432:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/conffile.cpp:473:32: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/conffile.cpp:478:40: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/conffile.cpp:596:90: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/timer.cpp:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TIME_ELAPSED [valueFlowBailoutIncompleteVar] gource-0.54/src/core/timer.cpp:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TIME_ELAPSED [valueFlowBailoutIncompleteVar] gource-0.54/src/core/timer.cpp:74:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUERY_RESULT_AVAILABLE [valueFlowBailoutIncompleteVar] gource-0.54/src/core/timer.cpp:6:5: performance: Variable 'query_id' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:7:5: performance: Variable 'query_value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:8:5: performance: Variable 'query_start' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:9:5: performance: Variable 'query_stop' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:10:5: performance: Variable 'cpu_time' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:14:5: performance: Variable 'query_id' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:15:5: performance: Variable 'query_value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:16:5: performance: Variable 'query_start' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:17:5: performance: Variable 'query_stop' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.cpp:18:5: performance: Variable 'cpu_time' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/timer.h:17:5: style: Class 'GLTimer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/timezone.cpp:24:11: style: C-style pointer casting [cstyleCast] gource-0.54/src/core/timezone.cpp:30:16: style: C-style pointer casting [cstyleCast] gource-0.54/src/core/shader_common.h:81:9: style:inconclusive: Technically the member function 'ShaderUniform::getType' can be const. [functionConst] gource-0.54/src/core/shader_common.h:394:9: style:inconclusive: Technically the member function 'AbstractShaderPass::getType' can be const. [functionConst] gource-0.54/src/core/shader_common.h:49:5: style: Class 'ShaderException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/shader.h:60:5: style: Class 'Shader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:105:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:117:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:129:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:141:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:96:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:143:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:155:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:96:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:157:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:169:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:96:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:171:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:183:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:195:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:207:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:219:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:231:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:75:14: note: Virtual destructor in base class gource-0.54/src/core/shader_common.h:245:6: note: Destructor in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:247:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:75:14: note: Virtual destructor in base class gource-0.54/src/core/shader_common.h:263:6: note: Destructor in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:265:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:75:14: note: Virtual destructor in base class gource-0.54/src/core/shader_common.h:282:6: note: Destructor in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:284:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:75:14: note: Virtual destructor in base class gource-0.54/src/core/shader_common.h:302:6: note: Destructor in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:304:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:75:14: note: Virtual destructor in base class gource-0.54/src/core/shader_common.h:322:6: note: Destructor in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:83:18: note: Virtual function in base class gource-0.54/src/core/shader_common.h:324:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:392:14: note: Virtual destructor in base class gource-0.54/src/core/shader.h:47:6: note: Destructor in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:409:18: note: Virtual function in base class gource-0.54/src/core/shader.h:49:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:410:18: note: Virtual function in base class gource-0.54/src/core/shader.h:50:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:411:18: note: Virtual function in base class gource-0.54/src/core/shader.h:51:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:412:18: note: Virtual function in base class gource-0.54/src/core/shader.h:52:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:429:18: note: Virtual function in base class gource-0.54/src/core/shader.h:57:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/resource.h:51:14: note: Virtual destructor in base class gource-0.54/src/core/shader.h:61:6: note: Destructor in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:496:18: note: Virtual function in base class gource-0.54/src/core/shader.h:63:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:498:17: note: Virtual function in base class gource-0.54/src/core/shader.h:65:9: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:428:18: note: Virtual function in base class gource-0.54/src/core/shader.h:67:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:500:18: note: Virtual function in base class gource-0.54/src/core/shader.h:69:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:501:18: note: Virtual function in base class gource-0.54/src/core/shader.h:70:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:503:18: note: Virtual function in base class gource-0.54/src/core/shader.h:72:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:504:18: note: Virtual function in base class gource-0.54/src/core/shader.h:73:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:506:18: note: Virtual function in base class gource-0.54/src/core/shader.h:75:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:507:18: note: Virtual function in base class gource-0.54/src/core/shader.h:76:10: note: Function in derived class gource-0.54/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] gource-0.54/src/core/shader_common.h:494:33: note: Virtual function in base class gource-0.54/src/core/shader.h:78:25: note: Function in derived class gource-0.54/src/core/shader.cpp:77:10: style: C-style pointer casting [cstyleCast] gource-0.54/src/core/shader.cpp:83:10: style: C-style pointer casting [cstyleCast] gource-0.54/src/core/shader.cpp:57:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:173:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:330:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:333:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:336:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:339:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:342:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:345:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:348:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:351:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:354:55: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:357:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:360:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:363:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:363:85: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:366:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:366:83: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:369:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:369:95: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:372:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:372:95: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:375:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:375:95: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader.cpp:76:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader.cpp:82:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader.cpp:198:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/vbo.cpp:136:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gource-0.54/src/core/vbo.cpp:144:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_ARRAY [valueFlowBailoutIncompleteVar] gource-0.54/src/core/vbo.h:105:5: warning:inconclusive: Member variable 'quadbuf_tex::start_index' is not initialized in the constructor. [uninitMemberVar] gource-0.54/src/core/vbo.h:48:9: performance: Variable 'id' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/core/vbo.cpp:68:17: style:inconclusive: Technically the member function 'quadbuf::vertices' can be const. [functionConst] gource-0.54/src/core/vbo.h:130:12: note: Technically the member function 'quadbuf::vertices' can be const. gource-0.54/src/core/vbo.cpp:68:17: note: Technically the member function 'quadbuf::vertices' can be const. gource-0.54/src/core/vbo.cpp:72:17: style:inconclusive: Technically the member function 'quadbuf::capacity' can be const. [functionConst] gource-0.54/src/core/vbo.h:131:12: note: Technically the member function 'quadbuf::capacity' can be const. gource-0.54/src/core/vbo.cpp:72:17: note: Technically the member function 'quadbuf::capacity' can be const. gource-0.54/src/core/vbo.cpp:76:17: style:inconclusive: Technically the member function 'quadbuf::texture_changes' can be const. [functionConst] gource-0.54/src/core/vbo.h:132:12: note: Technically the member function 'quadbuf::texture_changes' can be const. gource-0.54/src/core/vbo.cpp:76:17: note: Technically the member function 'quadbuf::texture_changes' can be const. gource-0.54/src/core/vbo.h:46:5: style: Class 'VBO' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/vbo.h:124:5: style: Class 'quadbuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/vbo.cpp:149:60: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] gource-0.54/src/core/vbo.cpp:150:60: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] gource-0.54/src/core/vbo.cpp:32:22: style:inconclusive: Function 'quadbuf' argument 1 names different: declaration 'data_size' definition 'vertex_capacity'. [funcArgNamesDifferent] gource-0.54/src/core/vbo.h:124:17: note: Function 'quadbuf' argument 1 names different: declaration 'data_size' definition 'vertex_capacity'. gource-0.54/src/core/vbo.cpp:32:22: note: Function 'quadbuf' argument 1 names different: declaration 'data_size' definition 'vertex_capacity'. gource-0.54/src/core/vbo.cpp:164:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:85:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gource-0.54/src/core/shader_common.cpp:713:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gource-0.54/src/core/shader_common.cpp:801:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gource-0.54/src/core/shader_common.cpp:888:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gource-0.54/src/core/shader_common.cpp:1278:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinystr.h:78:17: style: Class 'TiXmlString' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/core/shader_common.h:63:17: style:inconclusive: Member variable 'ShaderUniform::name' is in the wrong place in the initializer list. [initializerList] gource-0.54/src/core/shader_common.cpp:190:23: note: Member variable 'ShaderUniform::name' is in the wrong place in the initializer list. gource-0.54/src/core/shader_common.h:63:17: note: Member variable 'ShaderUniform::name' is in the wrong place in the initializer list. gource-0.54/src/core/shader_common.h:69:10: style:inconclusive: Member variable 'ShaderUniform::modified' is in the wrong place in the initializer list. [initializerList] gource-0.54/src/core/shader_common.cpp:190:69: note: Member variable 'ShaderUniform::modified' is in the wrong place in the initializer list. gource-0.54/src/core/shader_common.h:69:10: note: Member variable 'ShaderUniform::modified' is in the wrong place in the initializer list. gource-0.54/src/core/shader_common.h:67:9: style:inconclusive: Member variable 'ShaderUniform::uniform_type' is in the wrong place in the initializer list. [initializerList] gource-0.54/src/core/shader_common.cpp:190:100: note: Member variable 'ShaderUniform::uniform_type' is in the wrong place in the initializer list. gource-0.54/src/core/shader_common.h:67:9: note: Member variable 'ShaderUniform::uniform_type' is in the wrong place in the initializer list. gource-0.54/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] gource-0.54/src/core/shader_common.cpp:903:23: note: Member variable 'AbstractShaderPass::shader_object_type' is in the wrong place in the initializer list. gource-0.54/src/core/shader_common.h:372:18: note: Member variable 'AbstractShaderPass::shader_object_type' is in the wrong place in the initializer list. gource-0.54/src/core/shader_common.cpp:530:52: style:inconclusive: Technically the member function 'IntegerArrayShaderUniform::getValue' can be const. [functionConst] gource-0.54/src/core/shader_common.h:251:29: note: Technically the member function 'IntegerArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:530:52: note: Technically the member function 'IntegerArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:588:52: style:inconclusive: Technically the member function 'FloatArrayShaderUniform::getValue' can be const. [functionConst] gource-0.54/src/core/shader_common.h:269:31: note: Technically the member function 'FloatArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:588:52: note: Technically the member function 'FloatArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:647:50: style:inconclusive: Technically the member function 'Vec2ArrayShaderUniform::getValue' can be const. [functionConst] gource-0.54/src/core/shader_common.h:289:30: note: Technically the member function 'Vec2ArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:647:50: note: Technically the member function 'Vec2ArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:735:50: style:inconclusive: Technically the member function 'Vec3ArrayShaderUniform::getValue' can be const. [functionConst] gource-0.54/src/core/shader_common.h:309:30: note: Technically the member function 'Vec3ArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:735:50: note: Technically the member function 'Vec3ArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:823:50: style:inconclusive: Technically the member function 'Vec4ArrayShaderUniform::getValue' can be const. [functionConst] gource-0.54/src/core/shader_common.h:329:30: note: Technically the member function 'Vec4ArrayShaderUniform::getValue' can be const. gource-0.54/src/core/shader_common.cpp:823:50: note: Technically the member function 'Vec4ArrayShaderUniform::getValue' can be const. gource-0.54/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] gource-0.54/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). gource-0.54/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). gource-0.54/src/core/shader_common.cpp:968:26: style:inconclusive: Technically the member function 'AbstractShaderPass::isEmpty' can be const. [functionConst] gource-0.54/src/core/shader_common.h:396:10: note: Technically the member function 'AbstractShaderPass::isEmpty' can be const. gource-0.54/src/core/shader_common.cpp:968:26: note: Technically the member function 'AbstractShaderPass::isEmpty' can be const. gource-0.54/src/core/shader_common.cpp:964:40: style:inconclusive: Technically the member function 'AbstractShaderPass::getObjectSource' can be const. [functionConst] gource-0.54/src/core/shader_common.h:399:24: note: Technically the member function 'AbstractShaderPass::getObjectSource' can be const. gource-0.54/src/core/shader_common.cpp:964:40: note: Technically the member function 'AbstractShaderPass::getObjectSource' can be const. gource-0.54/src/core/shader_common.cpp:1211:30: style:inconclusive: Technically the member function 'AbstractShader::getProgram' can be const. [functionConst] gource-0.54/src/core/shader_common.h:439:18: note: Technically the member function 'AbstractShader::getProgram' can be const. gource-0.54/src/core/shader_common.cpp:1211:30: note: Technically the member function 'AbstractShader::getProgram' can be const. gource-0.54/src/core/shader_common.cpp:1459:50: style:inconclusive: Technically the member function 'AbstractShader::getUniforms' can be const. [functionConst] gource-0.54/src/core/shader_common.h:463:38: note: Technically the member function 'AbstractShader::getUniforms' can be const. gource-0.54/src/core/shader_common.cpp:1459:50: note: Technically the member function 'AbstractShader::getUniforms' can be const. gource-0.54/src/tinyxml/tinyxml.h:1519:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gource-0.54/src/core/shader_common.cpp:1297:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1305:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1313:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1321:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1329:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1337:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1345:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1353:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1361:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1369:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1377:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1385:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1393:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1401:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1409:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1417:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1425:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1433:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1441:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gource-0.54/src/core/shader_common.cpp:1111:59: style:inconclusive: Function 'includeSource' argument 1 names different: declaration 'source' definition 'string'. [funcArgNamesDifferent] gource-0.54/src/core/shader_common.h:404:43: note: Function 'includeSource' argument 1 names different: declaration 'source' definition 'string'. gource-0.54/src/core/shader_common.cpp:1111:59: note: Function 'includeSource' argument 1 names different: declaration 'source' definition 'string'. gource-0.54/src/core/shader_common.cpp:1356:81: style: Parameter 'value' can be declared as reference to const [constParameterReference] gource-0.54/src/core/shader_common.cpp:1364:82: style: Parameter 'value' can be declared as reference to const [constParameterReference] gource-0.54/src/core/shader_common.cpp:1380:80: style: Parameter 'value' can be declared as reference to const [constParameterReference] gource-0.54/src/core/shader_common.cpp:1396:80: style: Parameter 'value' can be declared as reference to const [constParameterReference] gource-0.54/src/core/shader_common.cpp:1412:80: style: Parameter 'value' can be declared as reference to const [constParameterReference] gource-0.54/src/core/shader_common.cpp:956:24: style: Variable 'u' can be declared as pointer to const [constVariablePointer] gource-0.54/src/core/shader_common.cpp:1372:67: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] gource-0.54/src/core/shader_common.cpp:1388:67: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] gource-0.54/src/core/shader_common.cpp:1404:67: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] gource-0.54/src/core/shader_common.cpp:1473:24: style: Variable 'u' can be declared as pointer to const [constVariablePointer] gource-0.54/src/tinyxml/tinyxml.h:351:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] gource-0.54/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] gource-0.54/src/tinyxml/tinyxml.h:805:3: performance: Variable 'name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/tinyxml/tinyxml.h:806:3: performance: Variable 'value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/tinyxml/tinyxml.h:1759:14: style:inconclusive: Technically the member function 'TiXmlPrinter::Indent' can be const. [functionConst] gource-0.54/src/tinyxml/tinyxml.h:1766:14: style:inconclusive: Technically the member function 'TiXmlPrinter::LineBreak' can be const. [functionConst] gource-0.54/src/tinyxml/tinyxml.h:1775:14: style:inconclusive: Technically the member function 'TiXmlPrinter::CStr' can be const. [functionConst] gource-0.54/src/tinyxml/tinyxml.h:1777:9: style:inconclusive: Technically the member function 'TiXmlPrinter::Size' can be const. [functionConst] gource-0.54/src/tinyxml/tinyxml.h:944:2: style: Class 'TiXmlElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/tinyxml/tinyxml.h:1168:2: style: Class 'TiXmlComment' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/tinyxml/tinyxml.h:1220:2: style: Class 'TiXmlText' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/tinyxml/tinyxml.h:1399:2: style: Class 'TiXmlDocument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/tinyxml/tinyxml.h:1642:2: style: Class 'TiXmlHandle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gource-0.54/src/tinyxml/tinyxml.h:473:11: style: The destructor '~TiXmlNode' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:202:11: note: Virtual destructor in base class gource-0.54/src/tinyxml/tinyxml.h:473:11: note: Destructor in derived class gource-0.54/src/tinyxml/tinyxml.h:867:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:255:22: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:867:22: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:870:15: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:213:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:870:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:955:11: style: The destructor '~TiXmlElement' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:473:11: note: Virtual destructor in base class gource-0.54/src/tinyxml/tinyxml.h:955:11: note: Destructor in derived class gource-0.54/src/tinyxml/tinyxml.h:1124:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:714:21: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1124:21: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1126:15: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:213:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1126:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1131:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:255:22: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1131:22: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1133:34: style: The function 'ToElement' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:698:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1133:34: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1134:34: style: The function 'ToElement' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:705:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1134:34: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1138:15: style: The function 'Accept' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:738:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1138:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1174:11: style: The destructor '~TiXmlComment' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:473:11: note: Virtual destructor in base class gource-0.54/src/tinyxml/tinyxml.h:1174:11: note: Destructor in derived class gource-0.54/src/tinyxml/tinyxml.h:1177:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:714:21: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1177:21: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1179:15: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:213:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1179:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1184:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:255:22: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1184:22: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1186:31: style: The function 'ToComment' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:699:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1186:31: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1187:28: style: The function 'ToComment' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:706:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1187:28: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1191:15: style: The function 'Accept' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:738:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1191:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1225:11: style: The destructor '~TiXmlText' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:473:11: note: Virtual destructor in base class gource-0.54/src/tinyxml/tinyxml.h:1225:11: note: Destructor in derived class gource-0.54/src/tinyxml/tinyxml.h:1240:15: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:213:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1240:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1247:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:255:22: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1247:22: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1249:27: style: The function 'ToText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:701:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1249:27: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1250:27: style: The function 'ToText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:708:33: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1250:27: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1254:15: style: The function 'Accept' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:738:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1254:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1258:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:714:21: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1258:21: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1306:11: style: The destructor '~TiXmlDeclaration' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:473:11: note: Virtual destructor in base class gource-0.54/src/tinyxml/tinyxml.h:1306:11: note: Destructor in derived class gource-0.54/src/tinyxml/tinyxml.h:1316:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:714:21: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1316:21: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1319:15: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:213:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1319:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1323:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:255:22: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1323:22: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1325:34: style: The function 'ToDeclaration' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:702:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1325:34: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1326:34: style: The function 'ToDeclaration' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:709:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1326:34: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1330:15: style: The function 'Accept' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:738:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1330:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1358:11: style: The destructor '~TiXmlUnknown' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:473:11: note: Virtual destructor in base class gource-0.54/src/tinyxml/tinyxml.h:1358:11: note: Destructor in derived class gource-0.54/src/tinyxml/tinyxml.h:1364:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:714:21: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1364:21: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1366:15: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:213:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1366:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1368:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:255:22: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1368:22: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1370:34: style: The function 'ToUnknown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:700:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1370:34: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1371:34: style: The function 'ToUnknown' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:707:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1371:34: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1375:15: style: The function 'Accept' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:738:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1375:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1409:11: style: The destructor '~TiXmlDocument' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:473:11: note: Virtual destructor in base class gource-0.54/src/tinyxml/tinyxml.h:1409:11: note: Destructor in derived class gource-0.54/src/tinyxml/tinyxml.h:1446:22: style: The function 'Parse' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:255:22: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1446:22: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1528:15: style: The function 'Print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:213:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1528:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1532:34: style: The function 'ToDocument' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:697:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1532:34: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1533:34: style: The function 'ToDocument' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:704:34: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1533:34: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1537:15: style: The function 'Accept' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:738:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1537:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1541:21: style: The function 'Clone' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:714:21: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1541:21: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1743:15: style: The function 'VisitEnter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:134:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1743:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1744:15: style: The function 'VisitExit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:136:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1744:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1746:15: style: The function 'VisitEnter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:139:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1746:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1747:15: style: The function 'VisitExit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:141:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1747:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1749:15: style: The function 'Visit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:144:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1749:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1750:15: style: The function 'Visit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:146:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1750:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1751:15: style: The function 'Visit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:148:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1751:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:1752:15: style: The function 'Visit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/tinyxml/tinyxml.h:150:15: note: Virtual function in base class gource-0.54/src/tinyxml/tinyxml.h:1752:15: note: Function in derived class gource-0.54/src/tinyxml/tinyxml.h:332:31: style: C-style pointer casting [cstyleCast] gource-0.54/src/core/shader_common.cpp:104:25: style: Variable 'string_size' is assigned a value that is never used. [unreadVariable] gource-0.54/src/core/shader_common.cpp:145:25: style: Variable 'string_size' is assigned a value that is never used. [unreadVariable] gource-0.54/src/core/shader_common.cpp:168:30: style: Unused variable: matches [unusedVariable] gource-0.54/src/core/shader_common.cpp:1264:25: style: Variable 'string_size' is assigned a value that is never used. [unreadVariable] gource-0.54/src/core/shader_common.cpp:117:109: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:124:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:952:103: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:1151:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:1193:102: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:1287:109: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:1453:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:1464:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/core/shader_common.cpp:1472:98: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] gource-0.54/src/tinyxml/tinyxml.cpp:195:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_DOCUMENT_TOP_ONLY [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxml.cpp:219:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_DOCUMENT_TOP_ONLY [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxml.cpp:238:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_DOCUMENT_TOP_ONLY [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxml.cpp:271:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_DOCUMENT_TOP_ONLY [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxml.cpp:308:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_DOCUMENT_TOP_ONLY [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxml.cpp:981:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_OPENING_FILE [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxml.cpp:990:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_OPENING_FILE [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:515:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_ENTITY [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:713:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_DOCUMENT_EMPTY [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:804:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_STRING_COUNT [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1050:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_PARSING_ELEMENT [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1244:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_READING_ELEMENT_VALUE [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1287:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_PARSING_UNKNOWN [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1355:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_PARSING_COMMENT [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1407:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_READING_ATTRIBUTES [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1518:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_PARSING_CDATA [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1580:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIXML_ERROR_PARSING_DECLARATION [valueFlowBailoutIncompleteVar] gource-0.54/src/tinyxml/tinyxml.cpp:1384:2: performance: Variable 'version' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/tinyxml/tinyxml.cpp:1385:2: performance: Variable 'encoding' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/tinyxml/tinyxml.cpp:1386:2: performance: Variable 'standalone' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] gource-0.54/src/tinyxml/tinyxml.cpp:1529:25: style:inconclusive: Technically the member function 'TiXmlAttributeSet::Remove' can be const. [functionConst] gource-0.54/src/tinyxml/tinyxml.h:910:7: note: Technically the member function 'TiXmlAttributeSet::Remove' can be const. gource-0.54/src/tinyxml/tinyxml.cpp:1529:25: note: Technically the member function 'TiXmlAttributeSet::Remove' can be const. gource-0.54/src/tinyxml/tinyxml.cpp:150:13: style: The scope of the variable 'temp' can be reduced. [variableScope] gource-0.54/src/tinyxml/tinyxml.cpp:172:13: style: The scope of the variable 'temp' can be reduced. [variableScope] gource-0.54/src/tinyxml/tinyxml.cpp:52:70: style:inconclusive: Function 'EncodeString' argument 2 names different: declaration 'out' definition 'outString'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:262:67: note: Function 'EncodeString' argument 2 names different: declaration 'out' definition 'outString'. gource-0.54/src/tinyxml/tinyxml.cpp:52:70: note: Function 'EncodeString' argument 2 names different: declaration 'out' definition 'outString'. gource-0.54/src/tinyxml/tinyxml.cpp:186:48: style:inconclusive: Function 'LinkEndChild' argument 1 names different: declaration 'addThis' definition 'node'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:593:38: note: Function 'LinkEndChild' argument 1 names different: declaration 'addThis' definition 'node'. gource-0.54/src/tinyxml/tinyxml.cpp:186:48: note: Function 'LinkEndChild' argument 1 names different: declaration 'addThis' definition 'node'. gource-0.54/src/tinyxml/tinyxml.cpp:361:54: style:inconclusive: Function 'FirstChild' argument 1 names different: declaration 'value' definition '_value'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:524:44: note: Function 'FirstChild' argument 1 names different: declaration 'value' definition '_value'. gource-0.54/src/tinyxml/tinyxml.cpp:361:54: note: Function 'FirstChild' argument 1 names different: declaration 'value' definition '_value'. gource-0.54/src/tinyxml/tinyxml.cpp:373:53: style:inconclusive: Function 'LastChild' argument 1 names different: declaration 'value' definition '_value'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:534:43: note: Function 'LastChild' argument 1 names different: declaration 'value' definition '_value'. gource-0.54/src/tinyxml/tinyxml.cpp:373:53: note: Function 'LastChild' argument 1 names different: declaration 'value' definition '_value'. gource-0.54/src/tinyxml/tinyxml.cpp:399:59: style:inconclusive: Function 'IterateChildren' argument 1 names different: declaration 'value' definition 'val'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:568:49: note: Function 'IterateChildren' argument 1 names different: declaration 'value' definition 'val'. gource-0.54/src/tinyxml/tinyxml.cpp:399:59: note: Function 'IterateChildren' argument 1 names different: declaration 'value' definition 'val'. gource-0.54/src/tinyxml/tinyxml.cpp:525:42: style:inconclusive: Function 'TiXmlElement' argument 1 names different: declaration 'in_value' definition '_value'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:944:29: note: Function 'TiXmlElement' argument 1 names different: declaration 'in_value' definition '_value'. gource-0.54/src/tinyxml/tinyxml.cpp:525:42: note: Function 'TiXmlElement' argument 1 names different: declaration 'in_value' definition '_value'. gource-0.54/src/tinyxml/tinyxml.cpp:661:61: style:inconclusive: Function 'QueryIntAttribute' argument 2 names different: declaration '_value' definition 'ival'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:985:48: note: Function 'QueryIntAttribute' argument 2 names different: declaration '_value' definition 'ival'. gource-0.54/src/tinyxml/tinyxml.cpp:661:61: note: Function 'QueryIntAttribute' argument 2 names different: declaration '_value' definition 'ival'. gource-0.54/src/tinyxml/tinyxml.cpp:670:71: style:inconclusive: Function 'QueryUnsignedAttribute' argument 2 names different: declaration '_value' definition 'value'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:987:58: note: Function 'QueryUnsignedAttribute' argument 2 names different: declaration '_value' definition 'value'. gource-0.54/src/tinyxml/tinyxml.cpp:670:71: note: Function 'QueryUnsignedAttribute' argument 2 names different: declaration '_value' definition 'value'. gource-0.54/src/tinyxml/tinyxml.cpp:683:63: style:inconclusive: Function 'QueryBoolAttribute' argument 2 names different: declaration '_value' definition 'bval'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:992:50: note: Function 'QueryBoolAttribute' argument 2 names different: declaration '_value' definition 'bval'. gource-0.54/src/tinyxml/tinyxml.cpp:683:63: note: Function 'QueryBoolAttribute' argument 2 names different: declaration '_value' definition 'bval'. gource-0.54/src/tinyxml/tinyxml.cpp:720:67: style:inconclusive: Function 'QueryDoubleAttribute' argument 2 names different: declaration '_value' definition 'dval'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:994:54: note: Function 'QueryDoubleAttribute' argument 2 names different: declaration '_value' definition 'dval'. gource-0.54/src/tinyxml/tinyxml.cpp:720:67: note: Function 'QueryDoubleAttribute' argument 2 names different: declaration '_value' definition 'dval'. gource-0.54/src/tinyxml/tinyxml.cpp:740:57: style:inconclusive: Function 'SetAttribute' argument 2 names different: declaration 'value' definition 'val'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1070:44: note: Function 'SetAttribute' argument 2 names different: declaration 'value' definition 'val'. gource-0.54/src/tinyxml/tinyxml.cpp:740:57: note: Function 'SetAttribute' argument 2 names different: declaration 'value' definition 'val'. gource-0.54/src/tinyxml/tinyxml.cpp:760:66: style:inconclusive: Function 'SetDoubleAttribute' argument 2 names different: declaration 'value' definition 'val'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1075:53: note: Function 'SetDoubleAttribute' argument 2 names different: declaration 'value' definition 'val'. gource-0.54/src/tinyxml/tinyxml.cpp:760:66: note: Function 'SetDoubleAttribute' argument 2 names different: declaration 'value' definition 'val'. gource-0.54/src/tinyxml/tinyxml.cpp:780:47: style:inconclusive: Function 'SetAttribute' argument 1 names different: declaration 'name' definition 'cname'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1050:33: note: Function 'SetAttribute' argument 1 names different: declaration 'name' definition 'cname'. gource-0.54/src/tinyxml/tinyxml.cpp:780:47: note: Function 'SetAttribute' argument 1 names different: declaration 'name' definition 'cname'. gource-0.54/src/tinyxml/tinyxml.cpp:780:67: style:inconclusive: Function 'SetAttribute' argument 2 names different: declaration '_value' definition 'cvalue'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1050:52: note: Function 'SetAttribute' argument 2 names different: declaration '_value' definition 'cvalue'. gource-0.54/src/tinyxml/tinyxml.cpp:780:67: note: Function 'SetAttribute' argument 2 names different: declaration '_value' definition 'cvalue'. gource-0.54/src/tinyxml/tinyxml.cpp:965:43: style:inconclusive: Function 'LoadFile' argument 1 names different: declaration 'filename' definition '_filename'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1419:30: note: Function 'LoadFile' argument 1 names different: declaration 'filename' definition '_filename'. gource-0.54/src/tinyxml/tinyxml.cpp:965:43: note: Function 'LoadFile' argument 1 names different: declaration 'filename' definition '_filename'. gource-0.54/src/tinyxml/tinyxml.cpp:1156:43: style:inconclusive: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1537:37: note: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. gource-0.54/src/tinyxml/tinyxml.cpp:1156:43: note: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. gource-0.54/src/tinyxml/tinyxml.cpp:1236:41: style:inconclusive: Function 'QueryIntValue' argument 1 names different: declaration '_value' definition 'ival'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:831:26: note: Function 'QueryIntValue' argument 1 names different: declaration '_value' definition 'ival'. gource-0.54/src/tinyxml/tinyxml.cpp:1236:41: note: Function 'QueryIntValue' argument 1 names different: declaration '_value' definition 'ival'. gource-0.54/src/tinyxml/tinyxml.cpp:1243:47: style:inconclusive: Function 'QueryDoubleValue' argument 1 names different: declaration '_value' definition 'dval'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:833:32: note: Function 'QueryDoubleValue' argument 1 names different: declaration '_value' definition 'dval'. gource-0.54/src/tinyxml/tinyxml.cpp:1243:47: note: Function 'QueryDoubleValue' argument 1 names different: declaration '_value' definition 'dval'. gource-0.54/src/tinyxml/tinyxml.cpp:1360:39: style:inconclusive: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1254:37: note: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. gource-0.54/src/tinyxml/tinyxml.cpp:1360:39: note: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. gource-0.54/src/tinyxml/tinyxml.cpp:1482:42: style:inconclusive: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1375:37: note: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. gource-0.54/src/tinyxml/tinyxml.cpp:1482:42: note: Function 'Accept' argument 1 names different: declaration 'content' definition 'visitor'. gource-0.54/src/tinyxml/tinyxml.cpp:1514:46: style:inconclusive: Function 'Add' argument 1 names different: declaration 'attribute' definition 'addMe'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:909:28: note: Function 'Add' argument 1 names different: declaration 'attribute' definition 'addMe'. gource-0.54/src/tinyxml/tinyxml.cpp:1514:46: note: Function 'Add' argument 1 names different: declaration 'attribute' definition 'addMe'. gource-0.54/src/tinyxml/tinyxml.cpp:1529:49: style:inconclusive: Function 'Remove' argument 1 names different: declaration 'attribute' definition 'removeMe'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:910:31: note: Function 'Remove' argument 1 names different: declaration 'attribute' definition 'removeMe'. gource-0.54/src/tinyxml/tinyxml.cpp:1529:49: note: Function 'Remove' argument 1 names different: declaration 'attribute' definition 'removeMe'. gource-0.54/src/tinyxml/tinyxml.cpp:1572:54: style:inconclusive: Function 'Find' argument 1 names different: declaration '_name' definition 'name'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:917:36: note: Function 'Find' argument 1 names different: declaration '_name' definition 'name'. gource-0.54/src/tinyxml/tinyxml.cpp:1572:54: note: Function 'Find' argument 1 names different: declaration '_name' definition 'name'. gource-0.54/src/tinyxml/tinyxml.cpp:1680:37: style:inconclusive: Function 'Child' argument 1 names different: declaration 'index' definition 'count'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1663:25: note: Function 'Child' argument 1 names different: declaration 'index' definition 'count'. gource-0.54/src/tinyxml/tinyxml.cpp:1680:37: note: Function 'Child' argument 1 names different: declaration 'index' definition 'count'. gource-0.54/src/tinyxml/tinyxml.cpp:1699:56: style:inconclusive: Function 'Child' argument 2 names different: declaration 'index' definition 'count'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1659:44: note: Function 'Child' argument 2 names different: declaration 'index' definition 'count'. gource-0.54/src/tinyxml/tinyxml.cpp:1699:56: note: Function 'Child' argument 2 names different: declaration 'index' definition 'count'. gource-0.54/src/tinyxml/tinyxml.cpp:1718:44: style:inconclusive: Function 'ChildElement' argument 1 names different: declaration 'index' definition 'count'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1673:32: note: Function 'ChildElement' argument 1 names different: declaration 'index' definition 'count'. gource-0.54/src/tinyxml/tinyxml.cpp:1718:44: note: Function 'ChildElement' argument 1 names different: declaration 'index' definition 'count'. gource-0.54/src/tinyxml/tinyxml.cpp:1737:63: style:inconclusive: Function 'ChildElement' argument 2 names different: declaration 'index' definition 'count'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1668:51: note: Function 'ChildElement' argument 2 names different: declaration 'index' definition 'count'. gource-0.54/src/tinyxml/tinyxml.cpp:1737:63: note: Function 'ChildElement' argument 2 names different: declaration 'index' definition 'count'. gource-0.54/src/tinyxml/tinyxml.cpp:1529:49: style: Parameter 'removeMe' can be declared as pointer to const [constParameterPointer] gource-0.54/src/tinyxml/tinyxml.cpp:150:18: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] gource-0.54/src/tinyxml/tinyxml.cpp:172:18: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] gource-0.54/src/tinyxml/tinyxmlparser.cpp:445:14: style: Redundant condition: The condition '*(p+1)' is redundant since '*(p+1) == '#'' is sufficient. [redundantCondition] gource-0.54/src/tinyxml/tinyxmlparser.cpp:823:16: style: Redundant condition: The condition '!*p' is redundant since '*p != '<'' is sufficient. [redundantCondition] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1126:18: style: Redundant condition: The condition '*p' is redundant since '*p == '>'' is sufficient. [redundantCondition] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1285:17: style: Redundant condition: The condition '!*p' is redundant since '*p != '<'' is sufficient. [redundantCondition] gource-0.54/src/tinyxml/tinyxmlparser.cpp:1411:17: style: Redundant condition: The condition '!*p' is redundant since '*p != '='' is sufficient. [redundantCondition] gource-0.54/src/tinyxml/tinyxmlparser.cpp:481:9: style: Condition '!*(p+2)' is always false [knownConditionTrueFalse] gource-0.54/src/tinyxml/tinyxmlparser.cpp:430:9: warning: Either the condition 'p' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] gource-0.54/src/tinyxml/tinyxmlparser.cpp:420:11: note: Assuming that condition 'p' is not redundant gource-0.54/src/tinyxml/tinyxmlparser.cpp:430:9: note: Null pointer subtraction gource-0.54/src/tinyxml/tinyxmlparser.cpp:215:29: style: C-style pointer casting [cstyleCast] gource-0.54/src/tinyxml/tinyxmlparser.cpp:289:44: style: C-style pointer casting [cstyleCast] gource-0.54/src/tinyxml/tinyxmlparser.cpp:324:30: style: C-style pointer casting [cstyleCast] gource-0.54/src/tinyxml/tinyxmlparser.cpp:737:29: style: C-style pointer casting [cstyleCast] gource-0.54/src/tinyxml/tinyxmlparser.cpp:438:47: style:inconclusive: Function 'GetEntity' argument 1 names different: declaration 'in' definition 'p'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:323:44: note: Function 'GetEntity' argument 1 names different: declaration 'in' definition 'p'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:438:47: note: Function 'GetEntity' argument 1 names different: declaration 'in' definition 'p'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:535:21: style:inconclusive: Function 'StringEqual' argument 2 names different: declaration 'endTag' definition 'tag'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:367:21: note: Function 'StringEqual' argument 2 names different: declaration 'endTag' definition 'tag'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:535:21: note: Function 'StringEqual' argument 2 names different: declaration 'endTag' definition 'tag'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:574:46: style:inconclusive: Function 'ReadText' argument 1 names different: declaration 'in' definition 'p'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:315:43: note: Function 'ReadText' argument 1 names different: declaration 'in' definition 'p'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:574:46: note: Function 'ReadText' argument 1 names different: declaration 'in' definition 'p'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:576:15: style:inconclusive: Function 'ReadText' argument 3 names different: declaration 'ignoreWhiteSpace' definition 'trimWhiteSpace'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:317:15: note: Function 'ReadText' argument 3 names different: declaration 'ignoreWhiteSpace' definition 'trimWhiteSpace'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:576:15: note: Function 'ReadText' argument 3 names different: declaration 'ignoreWhiteSpace' definition 'trimWhiteSpace'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:578:15: style:inconclusive: Function 'ReadText' argument 5 names different: declaration 'ignoreCase' definition 'caseInsensitive'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:319:15: note: Function 'ReadText' argument 5 names different: declaration 'ignoreCase' definition 'caseInsensitive'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:578:15: note: Function 'ReadText' argument 5 names different: declaration 'ignoreCase' definition 'caseInsensitive'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:704:68: style:inconclusive: Function 'Parse' argument 2 names different: declaration 'data' definition 'prevData'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1446:62: note: Function 'Parse' argument 2 names different: declaration 'data' definition 'prevData'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:704:68: note: Function 'Parse' argument 2 names different: declaration 'data' definition 'prevData'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:798:52: style:inconclusive: Function 'SetError' argument 2 names different: declaration 'errorLocation' definition 'pError'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1530:38: note: Function 'SetError' argument 2 names different: declaration 'errorLocation' definition 'pError'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:798:52: note: Function 'SetError' argument 2 names different: declaration 'errorLocation' definition 'pError'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:798:78: style:inconclusive: Function 'SetError' argument 3 names different: declaration 'prevData' definition 'data'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1530:71: note: Function 'SetError' argument 3 names different: declaration 'prevData' definition 'data'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:798:78: note: Function 'SetError' argument 3 names different: declaration 'prevData' definition 'data'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:818:45: style:inconclusive: Function 'Identify' argument 1 names different: declaration 'start' definition 'p'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:753:35: note: Function 'Identify' argument 1 names different: declaration 'start' definition 'p'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:818:45: note: Function 'Identify' argument 1 names different: declaration 'start' definition 'p'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:1179:50: style:inconclusive: Function 'ReadValue' argument 1 names different: declaration 'in' definition 'p'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1153:37: note: Function 'ReadValue' argument 1 names different: declaration 'in' definition 'p'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:1179:50: note: Function 'ReadValue' argument 1 names different: declaration 'in' definition 'p'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:1179:71: style:inconclusive: Function 'ReadValue' argument 2 names different: declaration 'prevData' definition 'data'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1153:59: note: Function 'ReadValue' argument 2 names different: declaration 'prevData' definition 'data'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:1179:71: note: Function 'ReadValue' argument 2 names different: declaration 'prevData' definition 'data'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:1572:91: style:inconclusive: Function 'Parse' argument 3 names different: declaration 'encoding' definition '_encoding'. [funcArgNamesDifferent] gource-0.54/src/tinyxml/tinyxml.h:1323:82: note: Function 'Parse' argument 3 names different: declaration 'encoding' definition '_encoding'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:1572:91: note: Function 'Parse' argument 3 names different: declaration 'encoding' definition '_encoding'. gource-0.54/src/tinyxml/tinyxmlparser.cpp:1163:20: style: Variable 'node' can be declared as pointer to const [constVariablePointer] diff: 2.18.0 gource-0.54/src/action.cpp:86:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/action.h:61:10: style: The function 'logic' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/action.h:46:18: note: Virtual function in base class gource-0.54/src/action.h:61:10: note: Function in derived class 2.18.0 gource-0.54/src/action.h:70:10: style: The function 'apply' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/action.h:30:18: note: Virtual function in base class gource-0.54/src/action.h:70:10: note: Function in derived class 2.18.0 gource-0.54/src/bloom.cpp:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/bloom.cpp:122:58: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.18.0 gource-0.54/src/bloom.cpp:123:58: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.18.0 gource-0.54/src/bloom.cpp:23:5: performance: Variable 'bufferid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/bloom.cpp:62:18: style:inconclusive: Technically the member function 'bloombuf::vertices' can be const. [functionConst] gource-0.54/src/bloom.h:58:12: note: Technically the member function 'bloombuf::vertices' can be const. gource-0.54/src/bloom.cpp:62:18: note: Technically the member function 'bloombuf::vertices' can be const. 2.18.0 gource-0.54/src/bloom.cpp:66:18: style:inconclusive: Technically the member function 'bloombuf::capacity' can be const. [functionConst] gource-0.54/src/bloom.h:59:12: note: Technically the member function 'bloombuf::capacity' can be const. gource-0.54/src/bloom.cpp:66:18: note: Technically the member function 'bloombuf::capacity' can be const. 2.18.0 gource-0.54/src/bloom.cpp:99:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/bloom.h:30:5: warning:inconclusive: Member variable 'bloom_vertex::padding' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/bloom.h:31:5: warning: Member variable 'bloom_vertex::padding' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/bloom.h:52:5: style: Class 'bloombuf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/caption.cpp:28:5: performance: Variable 'colour' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/bounds.h:128:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STRIP [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/bounds.h:160:11: style:inconclusive: Technically the member function 'Bounds3D::width' can be const. [functionConst] 2.18.0 gource-0.54/src/core/bounds.h:164:11: style:inconclusive: Technically the member function 'Bounds3D::height' can be const. [functionConst] 2.18.0 gource-0.54/src/core/bounds.h:168:11: style:inconclusive: Technically the member function 'Bounds3D::depth' can be const. [functionConst] 2.18.0 gource-0.54/src/core/bounds.h:176:10: style:inconclusive: Technically the member function 'Bounds3D::centre' can be const. [functionConst] 2.18.0 gource-0.54/src/core/bounds.h:196:10: style:inconclusive: Technically the member function 'Bounds3D::contains' can be const. [functionConst] 2.18.0 gource-0.54/src/core/bounds.h:196:25: style: Parameter 'point' can be declared as reference to const [constParameterReference] 2.18.0 gource-0.54/src/core/bounds.h:207:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINES [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/display.cpp:130:37: style:inconclusive: Function 'multiSample' argument 1 names different: declaration 'sample' definition 'samples'. [funcArgNamesDifferent] gource-0.54/src/core/display.h:125:28: note: Function 'multiSample' argument 1 names different: declaration 'sample' definition 'samples'. gource-0.54/src/core/display.cpp:130:37: note: Function 'multiSample' argument 1 names different: declaration 'sample' definition 'samples'. 2.18.0 gource-0.54/src/core/display.cpp:134:21: style:inconclusive: Technically the member function 'SDLAppDisplay::setupExtensions' can be const. [functionConst] gource-0.54/src/core/display.h:72:10: note: Technically the member function 'SDLAppDisplay::setupExtensions' can be const. gource-0.54/src/core/display.cpp:134:21: note: Technically the member function 'SDLAppDisplay::setupExtensions' can be const. 2.18.0 gource-0.54/src/core/display.cpp:136:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glewExperimental [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/display.h:106:12: note: Technically the member function 'SDLAppDisplay::multiSamplingEnabled' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/display.cpp:156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_MULTISAMPLEBUFFERS [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/display.cpp:175:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sdl_window [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/display.cpp:269:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_SWAP_CONTROL [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/display.cpp:353:9: style: Local variable 'width' shadows outer variable [shadowVariable] gource-0.54/src/core/display.h:75:9: note: Shadowed declaration gource-0.54/src/core/display.cpp:353:9: note: Shadow variable 2.18.0 gource-0.54/src/core/display.cpp:354:9: style: Local variable 'height' shadows outer variable [shadowVariable] gource-0.54/src/core/display.h:75:16: note: Shadowed declaration gource-0.54/src/core/display.cpp:354:9: note: Shadow variable 2.18.0 gource-0.54/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] gource-0.54/src/core/display.h:96:12: note: Technically the member function 'SDLAppDisplay::toggleFrameless' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/display.cpp:39:16: warning: Member variable 'SDLAppDisplay::fullscreen' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/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 gource-0.54/src/core/display.cpp:584:38: performance: Function parameter 'window_title' should be passed by const reference. [passedByValue] 2.18.0 gource-0.54/src/core/display.cpp:586:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_TIMER [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/display.h:108:12: note: Technically the member function 'SDLAppDisplay::quit' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/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] gource-0.54/src/core/display.h:110:12: note: Technically the member function 'SDLAppDisplay::update' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/display.cpp:681:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/display.cpp:685:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/display.cpp:693:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/display.h:130:12: note: Technically the member function 'SDLAppDisplay::push2D' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/display.cpp:701:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/display.h:131:12: note: Technically the member function 'SDLAppDisplay::pop2D' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/display.cpp:712:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/display.h:133:11: note: Technically the member function 'SDLAppDisplay::currentColour' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/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] gource-0.54/src/core/display.h:135:10: note: Technically the member function 'SDLAppDisplay::project' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/display.cpp:730:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MODELVIEW_MATRIX [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/display.h:136:10: note: Technically the member function 'SDLAppDisplay::unproject' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/display.cpp:748:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MODELVIEW_MATRIX [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/display.cpp:81:23: style:inconclusive: Technically the member function 'SDLAppDisplay::SDLWindowFlags' can be const. [functionConst] gource-0.54/src/core/display.h:70:12: note: Technically the member function 'SDLAppDisplay::SDLWindowFlags' can be const. gource-0.54/src/core/display.cpp:81:23: note: Technically the member function 'SDLAppDisplay::SDLWindowFlags' can be const. 2.18.0 gource-0.54/src/core/display.cpp:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_OPENGL [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/display.h:51:5: style: Class 'SDLInitException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head gource-0.54/src/core/display.h:80:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] head gource-0.54/src/core/display.h:80:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] 2.18.0 gource-0.54/src/core/frustum.cpp:126:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/frustum.cpp:143:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::far_distance' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::far_half_height' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::far_half_width' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::fov' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::near_distance' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::near_half_height' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::near_half_width' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/frustum.cpp:33:10: warning:inconclusive: Member variable 'Frustum::view_ratio' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/frustum.cpp:36:10: warning: Member variable 'Frustum::fov' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/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 gource-0.54/src/core/ftgl/FTUnicode.h:51:5: style: Class 'FTUnicodeStringItr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/ftgl/FTUnicode.h:51:5: warning: Member variable 'FTUnicodeStringItr < unsigned char >::curChar' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/ftgl/FTUnicode.h:51:5: warning: Member variable 'FTUnicodeStringItr::curChar' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/ftgl/FTUnicode.h:65:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:112:54: style:inconclusive: Function 'drawToVBO' argument 2 names different: declaration 'offset' definition 'pos'. [funcArgNamesDifferent] gource-0.54/src/core/fxfont.h:129:49: note: Function 'drawToVBO' argument 2 names different: declaration 'offset' definition 'pos'. gource-0.54/src/core/fxfont.cpp:112:54: note: Function 'drawToVBO' argument 2 names different: declaration 'offset' definition 'pos'. 2.18.0 gource-0.54/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 gource-0.54/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 gource-0.54/src/core/fxfont.cpp:224:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/fxfont.cpp:254:55: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/fxfont.cpp:256:18: style: The scope of the variable 'chr' can be reduced. [variableScope] 2.18.0 gource-0.54/src/core/fxfont.cpp:268:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/fxfont.cpp:294:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MAX_TEXTURE_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:334:52: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/fxfont.cpp:337:18: style: The scope of the variable 'chr' can be reduced. [variableScope] 2.18.0 gource-0.54/src/core/fxfont.cpp:342:18: style: Variable 'glyph' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/core/fxfont.cpp:343:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:350:52: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/fxfont.cpp:352:18: style: The scope of the variable 'chr' can be reduced. [variableScope] 2.18.0 gource-0.54/src/core/fxfont.cpp:357:18: style: Variable 'glyph' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/core/fxfont.cpp:365:52: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/fxfont.cpp:369:18: style: The scope of the variable 'chr' can be reduced. [variableScope] 2.18.0 gource-0.54/src/core/fxfont.cpp:373:27: style: Local variable 'glyphs' shadows outer variable [shadowVariable] gource-0.54/src/core/fxfont.h:147:38: note: Shadowed declaration gource-0.54/src/core/fxfont.cpp:373:27: note: Shadow variable 2.18.0 gource-0.54/src/core/fxfont.cpp:383:23: style: Variable 'glyph' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/core/fxfont.cpp:396:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:412:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/fxfont.cpp:416:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::align_right' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::align_top' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::round' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::shadow' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:438:9: warning: Member variable 'FXFont::shadow_strength' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:463:30: style:inconclusive: Function 'alignRight' argument 1 names different: declaration 'right' definition 'align_right'. [funcArgNamesDifferent] gource-0.54/src/core/fxfont.h:211:26: note: Function 'alignRight' argument 1 names different: declaration 'right' definition 'align_right'. gource-0.54/src/core/fxfont.cpp:463:30: note: Function 'alignRight' argument 1 names different: declaration 'right' definition 'align_right'. 2.18.0 gource-0.54/src/core/fxfont.cpp:467:28: style:inconclusive: Function 'alignTop' argument 1 names different: declaration 'top' definition 'align_top'. [funcArgNamesDifferent] gource-0.54/src/core/fxfont.h:210:24: note: Function 'alignTop' argument 1 names different: declaration 'top' definition 'align_top'. gource-0.54/src/core/fxfont.cpp:467:28: note: Function 'alignTop' argument 1 names different: declaration 'top' definition 'align_top'. 2.18.0 gource-0.54/src/core/fxfont.cpp:587:16: warning: Member variable 'FXFontManager::use_vbo' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/fxfont.cpp:588:5: performance: Variable 'library' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/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] gource-0.54/src/core/fxfont.h:252:10: note: Technically the member function 'FXFontManager::reload' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/fxfont.cpp:622:40: performance: Function parameter 'font_dir' should be passed by const reference. [passedByValue] 2.18.0 gource-0.54/src/core/fxfont.cpp:628:90: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/fxfont.cpp:631:86: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/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 gource-0.54/src/core/fxfont.cpp:78:23: style: Variable 'metrics' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/core/fxfont.cpp:81:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_RENDER_MODE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/fxfont.h:197:5: style: Class 'FXFont' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/fxfont.h:75:5: style: Class 'FXFontException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head gource-0.54/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 gource-0.54/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 gource-0.54/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] gource-0.54/src/core/mousecursor.h:69:10: note: Technically the member function 'MouseCursor::leftButtonPressed' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/mousecursor.cpp:119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_LEFT [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/mousecursor.h:70:10: note: Technically the member function 'MouseCursor::rightButtonPressed' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/mousecursor.cpp:124:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/mousecursor.h:71:10: note: Technically the member function 'MouseCursor::bothPressed' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/mousecursor.cpp:129:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/mousecursor.h:72:10: note: Technically the member function 'MouseCursor::buttonPressed' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/mousecursor.cpp:134:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_BUTTON_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/mousecursor.h:79:10: note: Technically the member function 'MouseCursor::hasFocus' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/mousecursor.cpp:157:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_APPMOUSEFOCUS [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/mousecursor.cpp:191:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/png_writer.cpp:138:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/png_writer.cpp:181:29: style: Condition 'thread_state==PNG_EXPORTER_WAIT' is always true [knownConditionTrueFalse] gource-0.54/src/core/png_writer.cpp:179:24: note: Assignment 'thread_state=PNG_EXPORTER_WAIT', assigned value is 0 gource-0.54/src/core/png_writer.cpp:181:29: note: Condition 'thread_state==PNG_EXPORTER_WAIT' is always true 2.18.0 gource-0.54/src/core/png_writer.cpp:185:26: style: Condition 'thread_state!=PNG_EXPORTER_WRITE' is always true [knownConditionTrueFalse] gource-0.54/src/core/png_writer.cpp:179:24: note: Assignment 'thread_state=PNG_EXPORTER_WAIT', assigned value is 0 gource-0.54/src/core/png_writer.cpp:185:26: note: Condition 'thread_state!=PNG_EXPORTER_WRITE' is always true 2.18.0 gource-0.54/src/core/png_writer.cpp:43:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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 gource-0.54/src/core/png_writer.cpp:75:17: style:inconclusive: Technically the member function 'PNGWriter::capture' can be const. [functionConst] gource-0.54/src/core/png_writer.h:51:10: note: Technically the member function 'PNGWriter::capture' can be const. gource-0.54/src/core/png_writer.cpp:75:17: note: Technically the member function 'PNGWriter::capture' can be const. 2.18.0 gource-0.54/src/core/png_writer.cpp:76:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGB [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/png_writer.cpp:82:25: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/png_writer.cpp:83:21: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/png_writer.cpp:87:25: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/png_writer.cpp:91:45: style: Parameter 'buffer' can be declared as reference to const [constParameterReference] 2.18.0 gource-0.54/src/core/png_writer.cpp:93:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/png_writer.h:43:5: style: Class 'PNGWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/png_writer.h:76:5: style: Class 'PNGExporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/png_writer.h:89:5: style: Class 'PNGExporterException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/ppm.cpp:100:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/ppm.cpp:129:36: style: Condition 'dumper_thread_state==FRAME_EXPORTER_WAIT' is always true [knownConditionTrueFalse] gource-0.54/src/core/ppm.cpp:127:31: note: Assignment 'dumper_thread_state=FRAME_EXPORTER_WAIT', assigned value is 0 gource-0.54/src/core/ppm.cpp:129:36: note: Condition 'dumper_thread_state==FRAME_EXPORTER_WAIT' is always true 2.18.0 gource-0.54/src/core/ppm.cpp:133:33: style: Condition 'dumper_thread_state==FRAME_EXPORTER_EXIT' is always false [knownConditionTrueFalse] gource-0.54/src/core/ppm.cpp:127:31: note: Assignment 'dumper_thread_state=FRAME_EXPORTER_WAIT', assigned value is 0 gource-0.54/src/core/ppm.cpp:133:33: note: Condition 'dumper_thread_state==FRAME_EXPORTER_EXIT' is always false 2.18.0 gource-0.54/src/core/ppm.cpp:162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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 gource-0.54/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 gource-0.54/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 gource-0.54/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 gource-0.54/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 gource-0.54/src/core/ppm.h:66:5: style: Class 'PPMExporterException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/ppm.h:79:5: style: Class 'PPMExporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/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] gource-0.54/src/core/ppm.h:55:14: note: Virtual destructor in base class gource-0.54/src/core/ppm.h:80:14: note: Destructor in derived class 2.18.0 gource-0.54/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] gource-0.54/src/core/ppm.h:59:18: note: Virtual function in base class gource-0.54/src/core/ppm.h:81:18: note: Function in derived class 2.18.0 gource-0.54/src/core/quadtree.cpp:131:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/quadtree.cpp:149:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/core/quadtree.cpp:162:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/quadtree.cpp:178:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/core/quadtree.cpp:192:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/quadtree.cpp:233:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/quadtree.cpp:252:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/quadtree.cpp:270:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/quadtree.cpp:282:16: style:inconclusive: Technically the member function 'QuadNode::empty' can be const. [functionConst] gource-0.54/src/core/quadtree.h:90:10: note: Technically the member function 'QuadNode::empty' can be const. gource-0.54/src/core/quadtree.cpp:282:16: note: Technically the member function 'QuadNode::empty' can be const. 2.18.0 gource-0.54/src/core/quadtree.cpp:292:47: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/core/quadtree.cpp:302:63: style:inconclusive: Function 'QuadNode' argument 3 names different: declaration 'itembounds' definition 'bounds'. [funcArgNamesDifferent] gource-0.54/src/core/quadtree.h:75:57: note: Function 'QuadNode' argument 3 names different: declaration 'itembounds' definition 'bounds'. gource-0.54/src/core/quadtree.cpp:302:63: note: Function 'QuadNode' argument 3 names different: declaration 'itembounds' definition 'bounds'. 2.18.0 gource-0.54/src/core/quadtree.cpp:309:5: performance: Variable 'listid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/quadtree.cpp:338:39: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/core/quadtree.cpp:375:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/quadtree.cpp:377:83: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/quadtree.cpp:38:16: style:inconclusive: Technically the member function 'QuadNode::allowMoreItems' can be const. [functionConst] gource-0.54/src/core/quadtree.h:72:10: note: Technically the member function 'QuadNode::allowMoreItems' can be const. gource-0.54/src/core/quadtree.cpp:38:16: note: Technically the member function 'QuadNode::allowMoreItems' can be const. 2.18.0 gource-0.54/src/core/quadtree.cpp:397:16: style:inconclusive: Technically the member function 'QuadNode::outline' can be const. [functionConst] gource-0.54/src/core/quadtree.h:93:10: note: Technically the member function 'QuadNode::outline' can be const. gource-0.54/src/core/quadtree.cpp:397:16: note: Technically the member function 'QuadNode::outline' can be const. 2.18.0 gource-0.54/src/core/quadtree.cpp:421:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/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 gource-0.54/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 gource-0.54/src/core/quadtree.cpp:83:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/sdlapp.cpp:117:29: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] 2.18.0 gource-0.54/src/core/sdlapp.cpp:135:29: performance: Function parameter 'error' should be passed by const reference. [passedByValue] 2.18.0 gource-0.54/src/core/sdlapp.cpp:142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/sdlapp.cpp:155:44: style: Parameter 'text' can be declared as reference to const [constParameterReference] 2.18.0 gource-0.54/src/core/sdlapp.cpp:178:29: performance: Function parameter 'apptitle' should be passed by const reference. [passedByValue] 2.18.0 gource-0.54/src/core/sdlapp.cpp:178:51: performance: Function parameter 'execname' should be passed by const reference. [passedByValue] 2.18.0 gource-0.54/src/core/sdlapp.cpp:178:73: performance: Function parameter 'exepath' should be passed by const reference. [passedByValue] 2.18.0 gource-0.54/src/core/sdlapp.cpp:279:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/sdlapp.cpp:313:9: warning: Member variable 'SDLApp::fps_updater' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/sdlapp.cpp:313:9: warning: Member variable 'SDLApp::frame_count' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/sdlapp.cpp:330:14: style:inconclusive: Technically the member function 'SDLApp::isFinished' can be const. [functionConst] gource-0.54/src/core/sdlapp.h:152:10: note: Technically the member function 'SDLApp::isFinished' can be const. gource-0.54/src/core/sdlapp.cpp:330:14: note: Technically the member function 'SDLApp::isFinished' can be const. 2.18.0 gource-0.54/src/core/sdlapp.cpp:334:13: style:inconclusive: Technically the member function 'SDLApp::returnCode' can be const. [functionConst] gource-0.54/src/core/sdlapp.h:151:9: note: Technically the member function 'SDLApp::returnCode' can be const. gource-0.54/src/core/sdlapp.cpp:334:13: note: Technically the member function 'SDLApp::returnCode' can be const. head gource-0.54/src/core/sdlapp.h:144:0: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] head gource-0.54/src/core/sdlapp.h:144:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SDL_VERSION_ATLEAST( ... ) [preprocessorErrorDirective] 2.18.0 gource-0.54/src/core/sdlapp.h:66:17: style:inconclusive: Member variable 'SDLAppException::message' is in the wrong place in the initializer list. [initializerList] gource-0.54/src/core/sdlapp.h:82:61: note: Member variable 'SDLAppException::message' is in the wrong place in the initializer list. gource-0.54/src/core/sdlapp.h:66:17: note: Member variable 'SDLAppException::message' is in the wrong place in the initializer list. 2.18.0 gource-0.54/src/core/sdlapp.h:82:33: performance: Function parameter 'message' should be passed by const reference. [passedByValue] 2.18.0 gource-0.54/src/core/sdlapp.h:82:5: style: Class 'SDLAppException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/seeklog.cpp:100:10: warning: Member variable 'SeekLog::current_percent' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/seeklog.cpp:114:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/seeklog.cpp:157:16: style:inconclusive: Technically the member function 'SeekLog::getPercent' can be const. [functionConst] gource-0.54/src/core/seeklog.h:91:11: note: Technically the member function 'SeekLog::getPercent' can be const. gource-0.54/src/core/seeklog.cpp:157:16: note: Technically the member function 'SeekLog::getPercent' can be const. 2.18.0 gource-0.54/src/core/seeklog.cpp:40:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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] gource-0.54/src/core/seeklog.h:44:14: note: Virtual destructor in base class gource-0.54/src/core/seeklog.h:57:6: note: Destructor in derived class 2.18.0 gource-0.54/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] gource-0.54/src/core/seeklog.h:45:18: note: Virtual function in base class gource-0.54/src/core/seeklog.h:59:10: note: Function in derived class 2.18.0 gource-0.54/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] gource-0.54/src/core/seeklog.h:46:18: note: Virtual function in base class gource-0.54/src/core/seeklog.h:60:10: note: Function in derived class 2.18.0 gource-0.54/src/core/seeklog.h:67:5: style: Class 'SeekLogException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/seeklog.h:82:5: style: Class 'SeekLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/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] gource-0.54/src/core/seeklog.h:44:14: note: Virtual destructor in base class gource-0.54/src/core/seeklog.h:83:6: note: Destructor in derived class 2.18.0 gource-0.54/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] gource-0.54/src/core/seeklog.h:45:18: note: Virtual function in base class gource-0.54/src/core/seeklog.h:89:10: note: Function in derived class 2.18.0 gource-0.54/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] gource-0.54/src/core/seeklog.h:46:18: note: Virtual function in base class gource-0.54/src/core/seeklog.h:93:10: note: Function in derived class 2.18.0 gource-0.54/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] gource-0.54/src/core/settings.h:37:10: note: Technically the member function 'SDLAppSettings::parseRectangle' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/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] gource-0.54/src/core/settings.h:38:10: note: Technically the member function 'SDLAppSettings::parseViewport' can be static (but you may consider moving to unnamed namespace). gource-0.54/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 gource-0.54/src/core/settings.cpp:178:64: style:inconclusive: Function 'parseArgs' argument 1 names different: declaration 'args' definition 'arguments'. [funcArgNamesDifferent] gource-0.54/src/core/settings.h:62:52: note: Function 'parseArgs' argument 1 names different: declaration 'args' definition 'arguments'. gource-0.54/src/core/settings.cpp:178:64: note: Function 'parseArgs' argument 1 names different: declaration 'args' definition 'arguments'. 2.18.0 gource-0.54/src/core/settings.cpp:208:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/settings.cpp:271:86: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/settings.cpp:365:54: style:inconclusive: Function 'importDisplaySettings' argument 1 names different: declaration 'conf' definition 'conffile'. [funcArgNamesDifferent] gource-0.54/src/core/settings.h:65:42: note: Function 'importDisplaySettings' argument 1 names different: declaration 'conf' definition 'conffile'. gource-0.54/src/core/settings.cpp:365:54: note: Function 'importDisplaySettings' argument 1 names different: declaration 'conf' definition 'conffile'. 2.18.0 gource-0.54/src/core/texture.cpp:103:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/texture.cpp:104:10: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/texture.cpp:109:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/core/texture.cpp:110:10: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/texture.cpp:117:5: performance: Variable 'textureid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/texture.cpp:120:5: performance: Variable 'format' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/texture.cpp:122:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CLAMP_TO_EDGE [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/texture.cpp:122:5: performance: Variable 'wrap' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/texture.cpp:123:5: performance: Variable 'target' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/texture.cpp:129:18: warning: Member variable 'TextureResource::h' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/texture.cpp:129:18: warning: Member variable 'TextureResource::w' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/core/texture.cpp:135:5: performance: Variable 'format' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/texture.cpp:136:5: performance: Variable 'textureid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/texture.cpp:137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/texture.cpp:137:5: performance: Variable 'target' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/texture.cpp:156:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/texture.cpp:158:5: performance: Variable 'textureid' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/core/texture.cpp:172:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINEAR_MIPMAP_LINEAR [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/texture.cpp:191:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_MIN_FILTER [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/texture.cpp:199:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_WRAP_S [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/texture.cpp:221:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ALPHA [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/texture.cpp:268:16: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/texture.cpp:284:9: style: Local variable 'format' shadows outer variable [shadowVariable] gource-0.54/src/core/texture.h:54:12: note: Shadowed declaration gource-0.54/src/core/texture.cpp:284:9: note: Shadow variable 2.18.0 gource-0.54/src/core/texture.cpp:288:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/texture.cpp:44:99: style:inconclusive: Function 'grab' argument 4 names different: declaration 'external_file' definition 'external'. [funcArgNamesDifferent] gource-0.54/src/core/texture.h:90:117: note: Function 'grab' argument 4 names different: declaration 'external_file' definition 'external'. gource-0.54/src/core/texture.cpp:44:99: note: Function 'grab' argument 4 names different: declaration 'external_file' definition 'external'. 2.18.0 gource-0.54/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 gource-0.54/src/core/texture.h:40:5: style: Class 'TextureException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/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] gource-0.54/src/core/resource.h:51:14: note: Virtual destructor in base class gource-0.54/src/core/texture.h:77:6: note: Destructor in derived class 2.18.0 gource-0.54/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 gource-0.54/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 gource-0.54/src/core/tga.cpp:131:17: style:inconclusive: Technically the member function 'TGAWriter::capture' can be const. [functionConst] gource-0.54/src/core/tga.h:66:10: note: Technically the member function 'TGAWriter::capture' can be const. gource-0.54/src/core/tga.cpp:131:17: note: Technically the member function 'TGAWriter::capture' can be const. 2.18.0 gource-0.54/src/core/tga.cpp:132:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BGR [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/tga.cpp:152:19: style: Variable 'last_pixel' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/core/tga.cpp:226:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/tga.cpp:269:29: style: Condition 'thread_state==TGA_EXPORTER_WAIT' is always true [knownConditionTrueFalse] gource-0.54/src/core/tga.cpp:267:24: note: Assignment 'thread_state=TGA_EXPORTER_WAIT', assigned value is 0 gource-0.54/src/core/tga.cpp:269:29: note: Condition 'thread_state==TGA_EXPORTER_WAIT' is always true 2.18.0 gource-0.54/src/core/tga.cpp:273:26: style: Condition 'thread_state!=TGA_EXPORTER_WRITE' is always true [knownConditionTrueFalse] gource-0.54/src/core/tga.cpp:267:24: note: Assignment 'thread_state=TGA_EXPORTER_WAIT', assigned value is 0 gource-0.54/src/core/tga.cpp:273:26: note: Condition 'thread_state!=TGA_EXPORTER_WRITE' is always true 2.18.0 gource-0.54/src/core/tga.cpp:50:20: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/tga.cpp:57:45: style: Parameter 'buffer' can be declared as reference to const [constParameterReference] 2.18.0 gource-0.54/src/core/tga.cpp:68:20: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/core/tga.cpp:81:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/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 gource-0.54/src/core/tga.h:104:5: style: Class 'TGAExporterException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/tga.h:58:5: style: Class 'TGAWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/tga.h:91:5: style: Class 'TGAExporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/utf8/checked.h:44:9: style: Class 'invalid_code_point' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/utf8/checked.h:52:9: style: Class 'invalid_utf8' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/utf8/checked.h:60:9: style: Class 'invalid_utf16' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/core/utf8/unchecked.h:178:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SURROGATE_OFFSET [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/core/utf8/unchecked.h:191:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEAD_OFFSET [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/dirnode.cpp:1004:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1018:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1028:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1029:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:1038:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1043:18: style: Local variable 'col' shadows outer variable [shadowVariable] gource-0.54/src/dirnode.h:50:10: note: Shadowed declaration gource-0.54/src/dirnode.cpp:1043:18: note: Shadow variable 2.18.0 gource-0.54/src/dirnode.cpp:1050:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1051:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:1071:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1085:88: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1095:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1096:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:1113:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1126:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1140:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:1163:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/dirnode.cpp:1176:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:120:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:131:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:164:8: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] 2.18.0 gource-0.54/src/dirnode.cpp:166:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:167:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/dirnode.cpp:181:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:191:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:203:29: style: Variable 'parent_token_offset' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/dirnode.cpp:203:9: style: The scope of the variable 'parent_token_offset' can be reduced. [variableScope] 2.18.0 gource-0.54/src/dirnode.cpp:244:28: style: Unused variable: matches [unusedVariable] 2.18.0 gource-0.54/src/dirnode.cpp:256:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:277:11: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] 2.18.0 gource-0.54/src/dirnode.cpp:284:80: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:285:26: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/dirnode.cpp:299:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:324:76: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:326:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/dirnode.cpp:340:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:341:32: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/dirnode.cpp:380:11: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] 2.18.0 gource-0.54/src/dirnode.cpp:422:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:436:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:439:15: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] 2.18.0 gource-0.54/src/dirnode.cpp:461:86: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:462:20: style: Variable 'child' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:46:15: style: Condition 'parent!=0' is always false [knownConditionTrueFalse] gource-0.54/src/dirnode.cpp:38:14: note: Assignment 'parent=0', assigned value is 0 gource-0.54/src/dirnode.cpp:46:15: note: Condition 'parent!=0' is always false 2.18.0 gource-0.54/src/dirnode.cpp:489:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:515:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:516:16: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:529:90: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:530:23: style: Variable 'child' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:554:76: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:555:16: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:582:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:583:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:604:40: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] 2.18.0 gource-0.54/src/dirnode.cpp:604:40: style:inconclusive: Function 'applyForceDir' argument 1 names different: declaration 'dir' definition 'node'. [funcArgNamesDifferent] gource-0.54/src/dirnode.h:186:34: note: Function 'applyForceDir' argument 1 names different: declaration 'dir' definition 'node'. gource-0.54/src/dirnode.cpp:604:40: note: Function 'applyForceDir' argument 1 names different: declaration 'dir' definition 'node'. 2.18.0 gource-0.54/src/dirnode.cpp:650:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:676:15: style: Variable 'pparent' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:692:13: style: Local variable 'visible' shadows outer variable [shadowVariable] gource-0.54/src/dirnode.h:63:10: note: Shadowed declaration gource-0.54/src/dirnode.cpp:692:13: note: Shadow variable 2.18.0 gource-0.54/src/dirnode.cpp:694:95: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:722:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:723:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:731:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:732:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:742:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:743:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:781:15: style: Variable 'parentP' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/dirnode.cpp:831:16: performance:inconclusive: Technically the member function 'RDirNode::calcFileDest' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/dirnode.h:96:10: note: Technically the member function 'RDirNode::calcFileDest' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/dirnode.cpp:831:16: note: Technically the member function 'RDirNode::calcFileDest' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/dirnode.cpp:831:33: style:inconclusive: Function 'calcFileDest' argument 1 names different: declaration 'layer_no' definition 'max_files'. [funcArgNamesDifferent] gource-0.54/src/dirnode.h:96:27: note: Function 'calcFileDest' argument 1 names different: declaration 'layer_no' definition 'max_files'. gource-0.54/src/dirnode.cpp:831:33: note: Function 'calcFileDest' argument 1 names different: declaration 'layer_no' definition 'max_files'. 2.18.0 gource-0.54/src/dirnode.cpp:851:74: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:888:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:88:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:907:75: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:914:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:965:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:971:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:986:88: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.cpp:994:91: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/dirnode.h:104:6: style: The destructor '~RDirNode' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/quadtree.h:42:14: note: Virtual destructor in base class gource-0.54/src/dirnode.h:104:6: note: Destructor in derived class 2.18.0 gource-0.54/src/dirnode.h:148:10: style: The function 'updateQuadItemBounds' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/quadtree.h:43:18: note: Virtual function in base class gource-0.54/src/dirnode.h:148:10: note: Function in derived class 2.18.0 gource-0.54/src/dirnode.h:219:5: style: Class 'DirForceFunctor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/dirnode.h:221:10: style: The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/quadtree.h:50:18: note: Virtual function in base class gource-0.54/src/dirnode.h:221:10: note: Function in derived class 2.18.0 gource-0.54/src/dirnode.h:224:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gource-0.54/src/file.cpp:118:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/file.cpp:175:13: warning: The class 'RFile' defines member function with name 'logic' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:98:10: note: Parent function 'Pawn::logic' gource-0.54/src/file.cpp:175:13: note: Derived function 'RFile::logic' 2.18.0 gource-0.54/src/file.cpp:211:110: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/file.cpp:212:31: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/file.cpp:227:26: style:inconclusive: Function 'touch' argument 1 names different: declaration 'touch_timestamp' definition 'touched_timestamp'. [funcArgNamesDifferent] gource-0.54/src/file.h:72:23: note: Function 'touch' argument 1 names different: declaration 'touch_timestamp' definition 'touched_timestamp'. gource-0.54/src/file.cpp:227:26: note: Function 'touch' argument 1 names different: declaration 'touch_timestamp' definition 'touched_timestamp'. 2.18.0 gource-0.54/src/file.cpp:240:110: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/file.cpp:241:31: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/file.cpp:254:13: warning: The class 'RFile' defines member function with name 'setHidden' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:90:10: note: Parent function 'Pawn::setHidden' gource-0.54/src/file.cpp:254:13: note: Derived function 'RFile::setHidden' 2.18.0 gource-0.54/src/file.cpp:294:13: warning: The class 'RFile' defines member function with name 'draw' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:99:10: note: Parent function 'Pawn::draw' gource-0.54/src/file.cpp:294:13: note: Derived function 'RFile::draw' 2.18.0 gource-0.54/src/file.h:53:17: style: The function 'getNameColour' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:60:25: note: Virtual function in base class gource-0.54/src/file.h:53:17: note: Function in derived class 2.18.0 gource-0.54/src/file.h:54:10: style: The function 'drawNameText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:59:18: note: Virtual function in base class gource-0.54/src/file.h:54:10: note: Function in derived class 2.18.0 gource-0.54/src/file.h:61:6: style: The destructor '~RFile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/quadtree.h:42:14: note: Virtual destructor in base class gource-0.54/src/file.h:61:6: note: Destructor in derived class 2.18.0 gource-0.54/src/file.h:67:10: style: The function 'getColour' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:94:18: note: Virtual function in base class gource-0.54/src/file.h:67:10: note: Function in derived class 2.18.0 gource-0.54/src/file.h:70:11: style: The function 'getAlpha' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:93:19: note: Virtual function in base class gource-0.54/src/file.h:70:11: note: Function in derived class 2.18.0 gource-0.54/src/file.h:74:10: warning: The class 'RFile' defines member function with name 'setHidden' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:90:10: note: Parent function 'Pawn::setHidden' gource-0.54/src/file.h:74:10: note: Derived function 'RFile::setHidden' 2.18.0 gource-0.54/src/file.h:81:10: warning: The class 'RFile' defines member function with name 'logic' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:98:10: note: Parent function 'Pawn::logic' gource-0.54/src/file.h:81:10: note: Derived function 'RFile::logic' 2.18.0 gource-0.54/src/file.h:82:10: warning: The class 'RFile' defines member function with name 'draw' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:99:10: note: Parent function 'Pawn::draw' gource-0.54/src/file.h:82:10: note: Derived function 'RFile::draw' 2.18.0 gource-0.54/src/formats/apache.cpp:100:16: 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 gource-0.54/src/formats/apache.cpp:113:17: style: The scope of the variable 'refer' can be reduced. [variableScope] 2.18.0 gource-0.54/src/formats/apache.cpp:114:17: style: The scope of the variable 'agent' can be reduced. [variableScope] 2.18.0 gource-0.54/src/formats/apache.cpp:122:23: style: Variable 'refer' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:123:23: style: Variable 'agent' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:90:17: style: Variable 'rtype' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:90:23: style: Variable 'rtype' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:92:17: style: Variable 'proto' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:92:23: style: Variable 'proto' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:94:19: style: Variable 'code' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:94:9: style: Variable 'code' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:95:19: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:95:9: style: Variable 'bytes' is assigned a value that is never used. [unreadVariable] 2.18.0 gource-0.54/src/formats/apache.cpp:99:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/formats/apache.h:27:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/apache.h:27:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/apache.h:30:5: style: Class 'ApacheCombinedLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/bzr.h:25:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/bzr.h:25:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/bzr.h:28:5: style: Class 'BazaarLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/commitlog.cpp:112:18: performance:inconclusive: Technically the member function 'RCommitLog::checkFirstChar' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/formats/commitlog.h:77:10: note: Technically the member function 'RCommitLog::checkFirstChar' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/formats/commitlog.cpp:112:18: note: Technically the member function 'RCommitLog::checkFirstChar' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/formats/commitlog.cpp:132:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gource-0.54/src/formats/commitlog.cpp:145:25: style:inconclusive: Technically the member function 'RCommitLog::getLogCommand' can be const. [functionConst] gource-0.54/src/formats/commitlog.h:95:17: note: Technically the member function 'RCommitLog::getLogCommand' can be const. gource-0.54/src/formats/commitlog.cpp:145:25: note: Technically the member function 'RCommitLog::getLogCommand' can be const. 2.18.0 gource-0.54/src/formats/commitlog.cpp:149:18: style:inconclusive: Technically the member function 'RCommitLog::isSeekable' can be const. [functionConst] gource-0.54/src/formats/commitlog.h:107:10: note: Technically the member function 'RCommitLog::isSeekable' can be const. gource-0.54/src/formats/commitlog.cpp:149:18: note: Technically the member function 'RCommitLog::isSeekable' can be const. 2.18.0 gource-0.54/src/formats/commitlog.cpp:156:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gource-0.54/src/formats/commitlog.cpp:163:10: style: Local variable 'success' shadows outer variable [shadowVariable] gource-0.54/src/formats/commitlog.h:71:10: note: Shadowed declaration gource-0.54/src/formats/commitlog.cpp:163:10: note: Shadow variable 2.18.0 gource-0.54/src/formats/commitlog.cpp:188:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gource-0.54/src/formats/commitlog.cpp:192:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gource-0.54/src/formats/commitlog.cpp:211:40: style: Parameter 'commit' can be declared as reference to const [constParameterReference] 2.18.0 gource-0.54/src/formats/commitlog.cpp:227:10: style: Local variable 'success' shadows outer variable [shadowVariable] gource-0.54/src/formats/commitlog.h:71:10: note: Shadowed declaration gource-0.54/src/formats/commitlog.cpp:227:10: note: Shadow variable 2.18.0 gource-0.54/src/formats/commitlog.cpp:244:18: style:inconclusive: Technically the member function 'RCommitLog::hasBufferedCommit' can be const. [functionConst] gource-0.54/src/formats/commitlog.h:105:10: note: Technically the member function 'RCommitLog::hasBufferedCommit' can be const. gource-0.54/src/formats/commitlog.cpp:244:18: note: Technically the member function 'RCommitLog::hasBufferedCommit' can be const. 2.18.0 gource-0.54/src/formats/commitlog.cpp:280:8: error: Return value of allocation function 'mkstemp' is not stored. [leakReturnValNotUsed] 2.18.0 gource-0.54/src/formats/commitlog.cpp:304:5: performance: Variable 'timestamp' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/formats/commitlog.cpp:307:15: performance:inconclusive: Technically the member function 'RCommit::fileColour' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/formats/commitlog.h:43:10: note: Technically the member function 'RCommit::fileColour' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/formats/commitlog.cpp:307:15: note: Technically the member function 'RCommit::fileColour' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/formats/commitlog.cpp:312:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/formats/commitlog.cpp:329:128: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/formats/commitlog.cpp:341:138: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/formats/commitlog.cpp:357:15: style:inconclusive: Technically the member function 'RCommit::isValid' can be const. [functionConst] gource-0.54/src/formats/commitlog.h:51:10: note: Technically the member function 'RCommit::isValid' can be const. gource-0.54/src/formats/commitlog.cpp:357:15: note: Technically the member function 'RCommit::isValid' can be const. 2.18.0 gource-0.54/src/formats/commitlog.cpp:361:128: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/formats/commitlog.cpp:373:138: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/formats/commitlog.cpp:389:81: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/formats/commitlog.cpp:51:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/formats/commitlog.cpp:77:17: warning: Class 'RCommitLog' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 gource-0.54/src/formats/commitlog.cpp:77:17: warning: Class 'RCommitLog' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 gource-0.54/src/formats/commitlog.cpp:99:18: performance:inconclusive: Technically the member function 'RCommitLog::requireExecutable' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/formats/commitlog.h:98:10: note: Technically the member function 'RCommitLog::requireExecutable' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/formats/commitlog.cpp:99:18: note: Technically the member function 'RCommitLog::requireExecutable' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/formats/commitlog.h:86:5: style: Class 'RCommitLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/commitlog.h:95:17: performance: Function 'getLogCommand()' should return member 'log_command' by const reference. [returnByReference] 2.18.0 gource-0.54/src/formats/custom.cpp:26:17: performance:inconclusive: Technically the member function 'CustomLog::parseColour' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/formats/custom.h:27:10: note: Technically the member function 'CustomLog::parseColour' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/formats/custom.cpp:26:17: note: Technically the member function 'CustomLog::parseColour' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/formats/custom.cpp:31:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/formats/custom.cpp:31:8: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/formats/custom.cpp:31:8: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/formats/custom.cpp:61:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/formats/custom.h:25:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/custom.h:25:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/custom.h:29:5: style: Class 'CustomLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/cvs-exp.cpp:111:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/formats/cvs-exp.h:25:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/cvs-exp.h:25:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/cvs-exp.h:27:5: style: Class 'CVSEXPCommitLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/cvs2cl.cpp:109:19: style: Variable 'dateE' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/formats/cvs2cl.cpp:131:19: style: Variable 'authorE' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/formats/cvs2cl.cpp:146:23: style: Variable 'state' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/formats/cvs2cl.cpp:147:23: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/formats/cvs2cl.h:25:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/cvs2cl.h:25:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/cvs2cl.h:29:5: style: Class 'CVS2CLCommitLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/git.cpp:201:12: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] 2.18.0 gource-0.54/src/formats/git.cpp:222:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/formats/git.cpp:230:12: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] 2.18.0 gource-0.54/src/formats/git.h:25:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/git.h:25:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/git.h:29:5: style: Class 'GitCommitLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/gitraw.h:29:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/gitraw.h:29:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/gitraw.h:31:5: style: Class 'GitRawCommitLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/hg.cpp:37:12: style: Condition '!gGourceSettings.start_date.empty()' is always false [knownConditionTrueFalse] gource-0.54/src/formats/hg.cpp:33:10: note: Assuming that condition '!gGourceSettings.start_date.empty()' is not redundant gource-0.54/src/formats/hg.cpp:37:12: note: Condition '!gGourceSettings.start_date.empty()' is always false 2.18.0 gource-0.54/src/formats/hg.cpp:41:12: style: Condition '!gGourceSettings.stop_date.empty()' is always false [knownConditionTrueFalse] gource-0.54/src/formats/hg.cpp:33:49: note: Assuming that condition '!gGourceSettings.stop_date.empty()' is not redundant gource-0.54/src/formats/hg.cpp:41:12: note: Condition '!gGourceSettings.stop_date.empty()' is always false 2.18.0 gource-0.54/src/formats/hg.h:25:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/hg.h:25:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/hg.h:29:5: style: Class 'MercurialLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/formats/svn.cpp:130:12: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/formats/svn.cpp:136:16: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/formats/svn.cpp:141:16: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/formats/svn.cpp:219:19: style: Variable 'dateE' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/formats/svn.cpp:245:19: style: Variable 'authorE' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/formats/svn.h:29:10: style: The function 'parseCommit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/formats/commitlog.h:84:18: note: Virtual function in base class gource-0.54/src/formats/svn.h:29:10: note: Function in derived class 2.18.0 gource-0.54/src/formats/svn.h:34:5: style: Class 'SVNCommitLog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/gource.cpp:1073:8: style: The statement 'if (paused) paused=false' is logically equivalent to 'paused=false'. [duplicateConditionalAssign] gource-0.54/src/gource.cpp:1073:23: note: Assignment 'paused=false' gource-0.54/src/gource.cpp:1073:8: note: Condition 'paused' is redundant 2.18.0 gource-0.54/src/gource.cpp:1103:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:1191:101: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1210:48: style: Local variable 'it' shadows outer variable [shadowVariable] gource-0.54/src/gource.cpp:1191:48: note: Shadowed declaration gource-0.54/src/gource.cpp:1210:48: note: Shadow variable 2.18.0 gource-0.54/src/gource.cpp:1210:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1212:27: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/gource.cpp:1221:49: style: Local variable 'it' shadows outer variable [shadowVariable] gource-0.54/src/gource.cpp:1210:48: note: Shadowed declaration gource-0.54/src/gource.cpp:1221:49: note: Shadow variable 2.18.0 gource-0.54/src/gource.cpp:1221:96: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1222:28: style: Local variable 'file' shadows outer variable [shadowVariable] gource-0.54/src/gource.cpp:1194:16: note: Shadowed declaration gource-0.54/src/gource.cpp:1222:28: note: Shadow variable 2.18.0 gource-0.54/src/gource.cpp:1262:143: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1314:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1321:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1340:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1354:104: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1371:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1390:141: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1413:94: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1440:104: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1465:16: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/gource.cpp:1465:27: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 gource-0.54/src/gource.cpp:1486:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:1557:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1561:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1626:12: style: Variable 'keystate' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/gource.cpp:1628:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:163:5: warning: Class 'Gource' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 gource-0.54/src/gource.cpp:163:5: warning: Class 'Gource' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 gource-0.54/src/gource.cpp:1666:93: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1675:93: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1736:106: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1820:27: style: Variable 'cap' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/gource.cpp:1822:42: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 gource-0.54/src/gource.cpp:1859:10: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:186:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:1901:86: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1902:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gource-0.54/src/gource.cpp:1917:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:1919:23: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/gource.cpp:1919:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gource-0.54/src/gource.cpp:1921:38: style: Local variable 'files' shadows outer variable [shadowVariable] gource-0.54/src/gource.h:183:35: note: Shadowed declaration gource-0.54/src/gource.cpp:1921:38: note: Shadow variable 2.18.0 gource-0.54/src/gource.cpp:1923:92: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:196:17: style: Local variable 'commit' shadows outer variable [shadowVariable] gource-0.54/src/gource.cpp:184:13: note: Shadowed declaration gource-0.54/src/gource.cpp:196:17: note: Shadow variable 2.18.0 gource-0.54/src/gource.cpp:1996:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2033:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:205:99: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:206:26: style: Variable 'cf' can be declared as reference to const [constVariableReference] 2.18.0 gource-0.54/src/gource.cpp:2123:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2177:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2190:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:2199:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2265:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:2273:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2301:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2327:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2348:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:2359:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2380:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2394:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:2431:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:2451:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:2500:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:2658:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:27:31: style:inconclusive: Function 'Gource' argument 1 names different: declaration 'frameExporter' definition 'exporter'. [funcArgNamesDifferent] gource-0.54/src/gource.h:264:27: note: Function 'Gource' argument 1 names different: declaration 'frameExporter' definition 'exporter'. gource-0.54/src/gource.cpp:27:31: note: Function 'Gource' argument 1 names different: declaration 'frameExporter' definition 'exporter'. 2.18.0 gource-0.54/src/gource.cpp:298:20: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/gource.cpp:298: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 gource-0.54/src/gource.cpp:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLEW_VERSION_2_0 [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:406:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable z [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEBUTTONUP [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:630:89: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:642:93: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:658:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYUP [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource.cpp:927:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:934:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:938:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:942:96: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.cpp:976:85: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource.h:264:5: style: Class 'Gource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/gource.h:265:6: style: The destructor '~Gource' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:109:14: note: Virtual destructor in base class gource-0.54/src/gource.h:265:6: note: Destructor in derived class 2.18.0 gource-0.54/src/gource.h:277:10: style: The function 'logic' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:135:18: note: Virtual function in base class gource-0.54/src/gource.h:277:10: note: Function in derived class 2.18.0 gource-0.54/src/gource.h:278:10: style: The function 'draw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:136:18: note: Virtual function in base class gource-0.54/src/gource.h:278:10: note: Function in derived class 2.18.0 gource-0.54/src/gource.h:280:10: style: The function 'init' overrides a function in a base class but is identical to the overridden function [uselessOverride] gource-0.54/src/core/sdlapp.h:133:18: note: Virtual function in base class gource-0.54/src/gource.h:280:10: note: Function in derived class 2.18.0 gource-0.54/src/gource.h:280:10: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:133:18: note: Virtual function in base class gource-0.54/src/gource.h:280:10: note: Function in derived class 2.18.0 gource-0.54/src/gource.h:285:10: style: The function 'quit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:138:18: note: Virtual function in base class gource-0.54/src/gource.h:285:10: note: Function in derived class 2.18.0 gource-0.54/src/gource.h:287:10: style: The function 'update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:132:18: note: Virtual function in base class gource-0.54/src/gource.h:287:10: note: Function in derived class 2.18.0 gource-0.54/src/gource.h:288:10: style: The function 'keyPress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:142:18: note: Virtual function in base class gource-0.54/src/gource.h:288:10: note: Function in derived class 2.18.0 gource-0.54/src/gource.h:289:10: style: The function 'mouseMove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:140:18: note: Virtual function in base class gource-0.54/src/gource.h:289:10: note: Function in derived class 2.18.0 gource-0.54/src/gource.h:290:10: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:141:18: note: Virtual function in base class gource-0.54/src/gource.h:290:10: note: Function in derived class 2.18.0 gource-0.54/src/gource_settings.cpp:1075:42: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1075:42: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1075:42: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1093:42: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1093:42: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1093:42: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1111:42: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1111:42: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1111:42: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1129:42: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1129:42: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1129:42: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1147:42: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1147:42: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1147:42: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:1276:48: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 gource-0.54/src/gource_settings.cpp:1292:25: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/gource_settings.cpp:1293:24: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 gource-0.54/src/gource_settings.cpp:1302:48: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 gource-0.54/src/gource_settings.cpp:1475:112: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:1489:106: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:1511:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:1534:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:1557:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:1580:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:42:22: performance:inconclusive: Technically the member function 'GourceSettings::help' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/gource_settings.h:180:10: note: Technically the member function 'GourceSettings::help' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/gource_settings.cpp:42:22: note: Technically the member function 'GourceSettings::help' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/gource_settings.cpp:488:92: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:494:102: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:503:92: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:509:102: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:607:53: style:inconclusive: Function 'importGourceSettings' argument 1 names different: declaration 'conf' definition 'conffile'. [funcArgNamesDifferent] gource-0.54/src/gource_settings.h:178:41: note: Function 'importGourceSettings' argument 1 names different: declaration 'conf' definition 'conffile'. gource-0.54/src/gource_settings.cpp:607:53: note: Function 'importGourceSettings' argument 1 names different: declaration 'conf' definition 'conffile'. 2.18.0 gource-0.54/src/gource_settings.cpp:630:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource_settings.cpp:648:99: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:669:100: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:681:99: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_settings.cpp:912:42: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:912:42: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:912:42: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:929:35: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:929:35: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.cpp:929:35: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] 2.18.0 gource-0.54/src/gource_settings.h:29:10: style: The function 'commandLineOption' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/settings.h:35:18: note: Virtual function in base class gource-0.54/src/gource_settings.h:29:10: note: Function in derived class 2.18.0 gource-0.54/src/gource_shell.cpp:137:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource_shell.cpp:137:35: style: Condition '!repeat' is always true [knownConditionTrueFalse] gource-0.54/src/gource_shell.cpp:131:19: note: Assignment 'repeat=false', assigned value is 0 gource-0.54/src/gource_shell.cpp:137:35: note: Condition '!repeat' is always true 2.18.0 gource-0.54/src/gource_shell.cpp:170:20: style: Variable 'keystate' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/gource_shell.cpp:236:5: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/gource_shell.cpp:259:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource_shell.cpp:299:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource_shell.cpp:34:5: performance: Variable 'gource_settings' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/gource_shell.cpp:42:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLEW_ARB_texture_non_power_of_two [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/gource_shell.cpp:72:19: performance:inconclusive: Technically the member function 'GourceShell::toggleWindowFrame' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/gource_shell.h:51:10: note: Technically the member function 'GourceShell::toggleWindowFrame' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/gource_shell.cpp:72:19: note: Technically the member function 'GourceShell::toggleWindowFrame' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/gource_shell.h:42:6: style: The destructor '~GourceShell' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:109:14: note: Virtual destructor in base class gource-0.54/src/gource_shell.h:42:6: note: Destructor in derived class 2.18.0 gource-0.54/src/gource_shell.h:44:10: style: The function 'update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:132:18: note: Virtual function in base class gource-0.54/src/gource_shell.h:44:10: note: Function in derived class 2.18.0 gource-0.54/src/gource_shell.h:46:10: style: The function 'resize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:130:18: note: Virtual function in base class gource-0.54/src/gource_shell.h:46:10: note: Function in derived class 2.18.0 gource-0.54/src/gource_shell.h:53:10: style: The function 'quit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:138:18: note: Virtual function in base class gource-0.54/src/gource_shell.h:53:10: note: Function in derived class 2.18.0 gource-0.54/src/gource_shell.h:55:10: style: The function 'keyPress' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:142:18: note: Virtual function in base class gource-0.54/src/gource_shell.h:55:10: note: Function in derived class 2.18.0 gource-0.54/src/gource_shell.h:56:10: style: The function 'mouseMove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:140:18: note: Virtual function in base class gource-0.54/src/gource_shell.h:56:10: note: Function in derived class 2.18.0 gource-0.54/src/gource_shell.h:57:10: style: The function 'mouseClick' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/sdlapp.h:141:18: note: Virtual function in base class gource-0.54/src/gource_shell.h:57:10: note: Function in derived class 2.18.0 gource-0.54/src/key.cpp:117:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/key.cpp:159:10: warning:inconclusive: Member variable 'FileKey::interval_remaining' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/key.cpp:159:10: warning:inconclusive: Member variable 'FileKey::show' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/key.cpp:159:10: warning:inconclusive: Member variable 'FileKey::update_interval' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/key.cpp:166:5: performance: Variable 'font' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/key.cpp:175:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.cpp:186:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.cpp:196:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.cpp:204:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.cpp:262:105: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.cpp:286:105: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.cpp:295:109: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.cpp:305:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.cpp:315:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/key.h:85:5: style: Class 'FileKey' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/logmill.cpp:140:16: style:inconclusive: Technically the member function 'RLogMill::isFinished' can be const. [functionConst] gource-0.54/src/logmill.h:66:10: note: Technically the member function 'RLogMill::isFinished' can be const. gource-0.54/src/logmill.cpp:140:16: note: Technically the member function 'RLogMill::isFinished' can be const. 2.18.0 gource-0.54/src/logmill.cpp:144:15: style:inconclusive: Technically the member function 'RLogMill::getStatus' can be const. [functionConst] gource-0.54/src/logmill.h:65:9: note: Technically the member function 'RLogMill::getStatus' can be const. gource-0.54/src/logmill.cpp:144:15: note: Technically the member function 'RLogMill::getStatus' can be const. 2.18.0 gource-0.54/src/logmill.cpp:148:23: style:inconclusive: Technically the member function 'RLogMill::getError' can be const. [functionConst] gource-0.54/src/logmill.h:63:17: note: Technically the member function 'RLogMill::getError' can be const. gource-0.54/src/logmill.cpp:148:23: note: Technically the member function 'RLogMill::getError' can be const. 2.18.0 gource-0.54/src/logmill.cpp:163:16: performance:inconclusive: Technically the member function 'RLogMill::findRepository' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/logmill.h:53:10: note: Technically the member function 'RLogMill::findRepository' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/logmill.cpp:163:16: note: Technically the member function 'RLogMill::findRepository' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/logmill.cpp:192:17: style: Local variable 'clog' shadows outer variable [shadowVariable] gource-0.54/src/logmill.h:49:17: note: Shadowed declaration gource-0.54/src/logmill.cpp:192:17: note: Shadow variable 2.18.0 gource-0.54/src/logmill.cpp:208:54: style: Local variable 'error' shadows outer variable [shadowVariable] gource-0.54/src/logmill.h:51:17: note: Shadowed declaration gource-0.54/src/logmill.cpp:208:54: note: Shadow variable 2.18.0 gource-0.54/src/logmill.cpp:208:54: style: Variable 'error' can be declared as reference to const [constVariableReference] 2.18.0 gource-0.54/src/logmill.cpp:99:31: style: Variable 'exception' can be declared as reference to const [constVariableReference] 2.18.0 gource-0.54/src/logmill.h:56:5: style: Class 'RLogMill' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/logmill.h:63:17: performance: Function 'getError()' should return member 'error' by const reference. [returnByReference] 2.18.0 gource-0.54/src/main.cpp:100:102: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/main.cpp:204:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MULTISAMPLE_ARB [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/main.cpp:47:93: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/main.cpp:61:48: style: Variable 'exception' can be declared as reference to const [constVariableReference] 2.18.0 gource-0.54/src/pawn.cpp:138:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/pawn.cpp:171:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/pawn.cpp:22:7: warning: Member variable 'QuadItem::node_count' is not initialized in the constructor. Maybe it should be initialized directly in the class QuadItem? [uninitDerivedMemberVar] 2.18.0 gource-0.54/src/pawn.cpp:48:13: style:inconclusive: Technically the member function 'Pawn::getSize' can be const. [functionConst] gource-0.54/src/pawn.h:82:11: note: Technically the member function 'Pawn::getSize' can be const. gource-0.54/src/pawn.cpp:48:13: note: Technically the member function 'Pawn::getSize' can be const. 2.18.0 gource-0.54/src/pawn.cpp:56:11: style:inconclusive: Technically the member function 'Pawn::getTagID' can be const. [functionConst] gource-0.54/src/pawn.h:83:9: note: Technically the member function 'Pawn::getTagID' can be const. gource-0.54/src/pawn.cpp:56:11: note: Technically the member function 'Pawn::getTagID' can be const. 2.18.0 gource-0.54/src/pawn.h:76:10: style: The function 'updateQuadItemBounds' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/quadtree.h:43:18: note: Virtual function in base class gource-0.54/src/pawn.h:76:10: note: Function in derived class 2.18.0 gource-0.54/src/pawn.h:88:10: style:inconclusive: Technically the member function 'Pawn::isSelected' can be const. [functionConst] 2.18.0 gource-0.54/src/slider.cpp:100: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 gource-0.54/src/slider.cpp:122:39: style:inconclusive: Function 'drawSlider' argument 1 names different: declaration 'position' definition 'pos_x'. [funcArgNamesDifferent] gource-0.54/src/slider.h:41:27: note: Function 'drawSlider' argument 1 names different: declaration 'position' definition 'pos_x'. gource-0.54/src/slider.cpp:122:39: note: Function 'drawSlider' argument 1 names different: declaration 'position' definition 'pos_x'. 2.18.0 gource-0.54/src/slider.cpp:130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINES [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/slider.cpp:138:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/slider.cpp:23:17: warning: Member variable 'PositionSlider::alpha' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/slider.cpp:23:17: warning: Member variable 'PositionSlider::capwidth' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/slider.cpp:23:17: warning: Member variable 'PositionSlider::fade_time' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/slider.cpp:23:17: warning: Member variable 'PositionSlider::mouseover' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/slider.cpp:23:17: warning: Member variable 'PositionSlider::mouseover_elapsed' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/slider.cpp:95:52: style:inconclusive: Function 'setCaption' argument 1 names different: declaration 'cap' definition 'caption'. [funcArgNamesDifferent] gource-0.54/src/slider.h:49:40: note: Function 'setCaption' argument 1 names different: declaration 'cap' definition 'caption'. gource-0.54/src/slider.cpp:95:52: note: Function 'setCaption' argument 1 names different: declaration 'cap' definition 'caption'. 2.18.0 gource-0.54/src/slider.h:43:5: style: Class 'PositionSlider' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/spline.cpp:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUAD_STRIP [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/spline.cpp:139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUAD_STRIP [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/spline.cpp:95:18: performance:inconclusive: Technically the member function 'SplineEdge::drawBeam' can be static (but you may consider moving to unnamed namespace). [functionStatic] gource-0.54/src/spline.h:36:10: note: Technically the member function 'SplineEdge::drawBeam' can be static (but you may consider moving to unnamed namespace). gource-0.54/src/spline.cpp:95:18: note: Technically the member function 'SplineEdge::drawBeam' can be static (but you may consider moving to unnamed namespace). 2.18.0 gource-0.54/src/test/datetime_tests.cpp:27:5: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/test/datetime_tests.cpp:31:5: style: C-style pointer casting [cstyleCast] 2.18.0 gource-0.54/src/textbox.cpp:121:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gource-0.54/src/textbox.cpp:154:52: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/textbox.cpp:20:10: warning:inconclusive: Member variable 'TextBox::alpha' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/textbox.cpp:20:10: warning:inconclusive: Member variable 'TextBox::brightness' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/textbox.cpp:20:10: warning:inconclusive: Member variable 'TextBox::max_width_chars' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/textbox.cpp:20:10: warning:inconclusive: Member variable 'TextBox::rect_height' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/textbox.cpp:20:10: warning:inconclusive: Member variable 'TextBox::rect_width' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/textbox.cpp:20:10: warning:inconclusive: Member variable 'TextBox::visible' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/textbox.cpp:26:5: performance: Variable 'shadow' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/textbox.cpp:67:15: 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 gource-0.54/src/textbox.cpp:90:93: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/textbox.h:44:5: style: Class 'TextBox' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/user.cpp:118:12: style: Variable 'f' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/user.cpp:153:94: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/user.cpp:165:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/user.cpp:225:12: style:inconclusive: Technically the member function 'RUser::getActionCount' can be const. [functionConst] gource-0.54/src/user.h:78:9: note: Technically the member function 'RUser::getActionCount' can be const. gource-0.54/src/user.cpp:225:12: note: Technically the member function 'RUser::getActionCount' can be const. 2.18.0 gource-0.54/src/user.cpp:229:12: style:inconclusive: Technically the member function 'RUser::getPendingActionCount' can be const. [functionConst] gource-0.54/src/user.h:79:9: note: Technically the member function 'RUser::getPendingActionCount' can be const. gource-0.54/src/user.cpp:229:12: note: Technically the member function 'RUser::getPendingActionCount' can be const. 2.18.0 gource-0.54/src/user.cpp:260:15: style: Local variable 'action_dist' shadows outer variable [shadowVariable] gource-0.54/src/user.h:44:11: note: Shadowed declaration gource-0.54/src/user.cpp:260:15: note: Shadow variable 2.18.0 gource-0.54/src/user.cpp:270:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/user.cpp:294:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/user.cpp:320:33: style:inconclusive: Function 'setHighlighted' argument 1 names different: declaration 'highlighted' definition 'highlight'. [funcArgNamesDifferent] gource-0.54/src/user.h:76:30: note: Function 'setHighlighted' argument 1 names different: declaration 'highlighted' definition 'highlight'. gource-0.54/src/user.cpp:320:33: note: Function 'setHighlighted' argument 1 names different: declaration 'highlighted' definition 'highlight'. 2.18.0 gource-0.54/src/user.cpp:341:27: warning: The class 'RUser' defines member function with name 'getName' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:85:24: note: Parent function 'Pawn::getName' gource-0.54/src/user.cpp:341:27: note: Derived function 'RUser::getName' 2.18.0 gource-0.54/src/user.cpp:355:13: style:inconclusive: Technically the member function 'RUser::isIdle' can be const. [functionConst] gource-0.54/src/user.h:71:10: note: Technically the member function 'RUser::isIdle' can be const. gource-0.54/src/user.cpp:355:13: note: Technically the member function 'RUser::isIdle' can be const. 2.18.0 gource-0.54/src/user.cpp:400:94: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/user.cpp:401:18: style: Variable 'action' can be declared as pointer to const [constVariablePointer] 2.18.0 gource-0.54/src/user.cpp:408:94: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/user.cpp:414:13: warning: The class 'RUser' defines member function with name 'draw' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:99:10: note: Parent function 'Pawn::draw' gource-0.54/src/user.cpp:414:13: note: Derived function 'RUser::draw' 2.18.0 gource-0.54/src/user.cpp:62:32: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] 2.18.0 gource-0.54/src/user.cpp:73:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/user.cpp:84:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 gource-0.54/src/user.cpp:88:35: style: Parameter 'u' can be declared as pointer to const [constParameterPointer] 2.18.0 gource-0.54/src/user.h:106:5: style: Class 'UserForceFunctor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 gource-0.54/src/user.h:108:10: style: The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/core/quadtree.h:50:18: note: Virtual function in base class gource-0.54/src/user.h:108:10: note: Function in derived class 2.18.0 gource-0.54/src/user.h:112:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gource-0.54/src/user.h:50:17: warning: The class 'RUser' defines member variable with name 'name' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:35:17: note: Parent variable 'Pawn::name' gource-0.54/src/user.h:50:17: note: Derived variable 'RUser::name' 2.18.0 gource-0.54/src/user.h:55:10: style: The function 'nameVisible' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:57:18: note: Virtual function in base class gource-0.54/src/user.h:55:10: note: Function in derived class 2.18.0 gource-0.54/src/user.h:58:17: style: The function 'getNameColour' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:60:25: note: Virtual function in base class gource-0.54/src/user.h:58:17: note: Function in derived class 2.18.0 gource-0.54/src/user.h:59:10: style: The function 'drawNameText' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:59:18: note: Virtual function in base class gource-0.54/src/user.h:59:10: note: Function in derived class 2.18.0 gource-0.54/src/user.h:63:10: style: The function 'getColour' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:94:18: note: Virtual function in base class gource-0.54/src/user.h:63:10: note: Function in derived class 2.18.0 gource-0.54/src/user.h:66:24: warning: The class 'RUser' defines member function with name 'getName' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:85:24: note: Parent function 'Pawn::getName' gource-0.54/src/user.h:66:24: note: Derived function 'RUser::getName' 2.18.0 gource-0.54/src/user.h:75:10: style: The function 'setSelected' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:87:18: note: Virtual function in base class gource-0.54/src/user.h:75:10: note: Function in derived class 2.18.0 gource-0.54/src/user.h:81:11: style: The function 'getAlpha' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gource-0.54/src/pawn.h:93:19: note: Virtual function in base class gource-0.54/src/user.h:81:11: note: Function in derived class 2.18.0 gource-0.54/src/user.h:94:10: warning: The class 'RUser' defines member function with name 'draw' also defined in its parent class 'Pawn'. [duplInheritedMember] gource-0.54/src/pawn.h:99:10: note: Parent function 'Pawn::draw' gource-0.54/src/user.h:94:10: note: Derived function 'RUser::draw' 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::fov' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::lockon' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::lockon_time' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::max_distance' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::min_distance' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::padding' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::speed' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::zfar' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:20:13: warning:inconclusive: Member variable 'ZoomCamera::znear' is not initialized in the constructor. [uninitMemberVar] 2.18.0 gource-0.54/src/zoomcamera.cpp:23:29: style:inconclusive: Function 'ZoomCamera' argument 1 names different: declaration 'start' definition 'pos'. [funcArgNamesDifferent] gource-0.54/src/zoomcamera.h:46:21: note: Function 'ZoomCamera' argument 1 names different: declaration 'start' definition 'pos'. gource-0.54/src/zoomcamera.cpp:23:29: note: Function 'ZoomCamera' argument 1 names different: declaration 'start' definition 'pos'. 2.18.0 gource-0.54/src/zoomcamera.cpp:28:5: performance: Variable 'up' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 gource-0.54/src/zoomcamera.cpp:45:19: style:inconclusive: Technically the member function 'ZoomCamera::getMaxDistance' can be const. [functionConst] gource-0.54/src/zoomcamera.h:68:11: note: Technically the member function 'ZoomCamera::getMaxDistance' can be const. gource-0.54/src/zoomcamera.cpp:45:19: note: Technically the member function 'ZoomCamera::getMaxDistance' can be const. 2.18.0 gource-0.54/src/zoomcamera.cpp:46:19: style:inconclusive: Technically the member function 'ZoomCamera::getMinDistance' can be const. [functionConst] gource-0.54/src/zoomcamera.h:67:11: note: Technically the member function 'ZoomCamera::getMinDistance' can be const. gource-0.54/src/zoomcamera.cpp:46:19: note: Technically the member function 'ZoomCamera::getMinDistance' can be const. 2.18.0 gource-0.54/src/zoomcamera.h:28:10: style:inconclusive: Member variable 'ZoomCamera::dest' is in the wrong place in the initializer list. [initializerList] gource-0.54/src/zoomcamera.cpp:24:60: note: Member variable 'ZoomCamera::dest' is in the wrong place in the initializer list. gource-0.54/src/zoomcamera.h:28:10: note: Member variable 'ZoomCamera::dest' is in the wrong place in the initializer list. 2.18.0 gource-0.54/src/zoomcamera.h:29:10: style:inconclusive: Member variable 'ZoomCamera::target' is in the wrong place in the initializer list. [initializerList] gource-0.54/src/zoomcamera.cpp:24:26: note: Member variable 'ZoomCamera::target' is in the wrong place in the initializer list. gource-0.54/src/zoomcamera.h:29:10: note: Member variable 'ZoomCamera::target' is in the wrong place in the initializer list. 2.18.0 gource-0.54/src/zoomcamera.h:61:11: style:inconclusive: Technically the member function 'ZoomCamera::getFOV' can be const. [functionConst] 2.18.0 gource-0.54/src/zoomcamera.h:62:11: style:inconclusive: Technically the member function 'ZoomCamera::getZNear' can be const. [functionConst] 2.18.0 gource-0.54/src/zoomcamera.h:63:11: style:inconclusive: Technically the member function 'ZoomCamera::getZFar' can be const. [functionConst] DONE