2025-10-20 00:59 ftp://ftp.de.debian.org/debian/pool/main/x/xshisen/xshisen_1.51.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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 -j8 platform: Linux-6.16.12+deb14+1-amd64-x86_64-with-glibc2.41 python: 3.13.9 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-4) 15.2.0 cppcheck: head 2.18.0 head-info: ba32fd20 (2025-10-18 16:18:37 +0200) count: 162 162 elapsed-time: 0.7 0.2 head-timing-info: old-timing-info: head results: xshisen-1.51/common.C:47:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xshisen-1.51/actions.C:7:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] xshisen-1.51/actions.C:18:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] xshisen-1.51/components.h:65:1: style: The class 'Timer' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] xshisen-1.51/components.h:91:5: style:inconclusive: Technically the member function 'TimerW::operatorWidget' can be const. [functionConst] xshisen-1.51/components.h:112:5: style:inconclusive: Technically the member function 'Mahjong::operatorPixmap' can be const. [functionConst] xshisen-1.51/components.h:142:10: style:inconclusive: Technically the member function 'PiePos::GetPosArray' can be const. [functionConst] xshisen-1.51/history.C:56:10: style:inconclusive: Technically the member function 'History::GetXY' can be const. [functionConst] xshisen-1.51/components.h:162:10: note: Technically the member function 'History::GetXY' can be const. xshisen-1.51/history.C:56:10: note: Technically the member function 'History::GetXY' can be const. xshisen-1.51/history.C:66:10: style:inconclusive: Technically the member function 'History::GetV' can be const. [functionConst] xshisen-1.51/components.h:163:10: note: Technically the member function 'History::GetV' can be const. xshisen-1.51/history.C:66:10: note: Technically the member function 'History::GetV' can be const. xshisen-1.51/components.h:182:5: style:inconclusive: Technically the member function 'MenuBar::operatorWidget' can be const. [functionConst] xshisen-1.51/components.h:235:5: style:inconclusive: Technically the member function 'Score::operatorWidget' can be const. [functionConst] xshisen-1.51/components.h:131:33: warning: Class 'PiePos' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] xshisen-1.51/components.h:131:33: warning: Class 'PiePos' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] xshisen-1.51/history.C:5:5: warning: Class 'History' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] xshisen-1.51/history.C:5:5: warning: Class 'History' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] xshisen-1.51/components.h:120:5: style: Class 'Point' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xshisen-1.51/components.h:131:5: style: Class 'PiePos' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xshisen-1.51/components.h:157:5: style: Class 'History' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xshisen-1.51/components.h:224:5: style: Class 'Score' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] xshisen-1.51/body.h:91:5: style:inconclusive: Technically the member function 'Body::operatorWidget' can be const. [functionConst] xshisen-1.51/common.C:45:9: style: Condition '!created' is always true [knownConditionTrueFalse] xshisen-1.51/callbacks.C:23:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xshisen-1.51/common.C:42:26: style: The scope of the variable 'mf' can be reduced. [variableScope] xshisen-1.51/common.C:42:30: style: The scope of the variable 'mfl' can be reduced. [variableScope] xshisen-1.51/image.C:25:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] xshisen-1.51/image.C:66:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] xshisen-1.51/actions.C:6:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xshisen-1.51/actions.C:17:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xshisen-1.51/actions.C:26:41: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xshisen-1.51/actions.C:26:59: style: Parameter 'num' can be declared as pointer to const [constParameterPointer] xshisen-1.51/callbacks.C:45:26: style: C-style pointer casting [cstyleCast] xshisen-1.51/callbacks.C:119:9: style: The scope of the variable 'xsize' can be reduced. [variableScope] xshisen-1.51/callbacks.C:119:16: style: The scope of the variable 'ysize' can be reduced. [variableScope] xshisen-1.51/callbacks.C:120:9: style: The scope of the variable 'trial' can be reduced. [variableScope] xshisen-1.51/callbacks.C:152:15: style: Local variable 'toplevel' shadows outer variable [shadowVariable] xshisen-1.51/components.h:251:16: note: Shadowed declaration xshisen-1.51/callbacks.C:152:15: note: Shadow variable xshisen-1.51/callbacks.C:45:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xshisen-1.51/callbacks.C:151:10: style: Unused variable: subdir [unusedVariable] xshisen-1.51/main.C:116:43: error: syntax error: !} [syntaxError] xshisen-1.51/mahjong.C:35:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmColormap [valueFlowBailoutIncompleteVar] xshisen-1.51/image.C:27:23: style: C-style pointer casting [cstyleCast] xshisen-1.51/image.C:68:23: style: C-style pointer casting [cstyleCast] xshisen-1.51/image.C:16:23: style: The scope of the variable 'yo' can be reduced. [variableScope] xshisen-1.51/mahjong.C:6:10: warning: Member variable 'Mahjong::original_width' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/mahjong.C:6:10: warning: Member variable 'Mahjong::original_height' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/mahjong.C:6:10: warning: Member variable 'Mahjong::width' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/mahjong.C:6:10: warning: Member variable 'Mahjong::height' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/mahjong.C:6:10: warning: Member variable 'Mahjong::resized' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/mahjong.C:6:10: warning: Member variable 'Mahjong::id' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/mahjong.C:8:5: performance: Variable 'data' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] xshisen-1.51/mahjong.C:9:5: performance: Variable 'datag' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] xshisen-1.51/mahjong.C:10:5: performance: Variable 'rdata' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] xshisen-1.51/mahjong.C:11:5: performance: Variable 'rdatag' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] xshisen-1.51/mahjong.C:110:10: style:inconclusive: Technically the member function 'Mahjong::GetSize' can be const. [functionConst] xshisen-1.51/components.h:110:10: note: Technically the member function 'Mahjong::GetSize' can be const. xshisen-1.51/mahjong.C:110:10: note: Technically the member function 'Mahjong::GetSize' can be const. xshisen-1.51/menubar.C:21:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:217:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:237:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:248:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:260:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:280:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNleftBitmap [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:294:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:314:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNleftBitmap [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:347:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNleftBitmap [valueFlowBailoutIncompleteVar] xshisen-1.51/mahjong.C:71:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable] xshisen-1.51/timer.C:103:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable labelWidgetClass [valueFlowBailoutIncompleteVar] xshisen-1.51/timer.C:165:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xshisen-1.51/timer.C:226:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xshisen-1.51/menubar.C:77:10: style: Unused variable: button_name [unusedVariable] xshisen-1.51/timer.C:40:9: warning: Member variable 'Timer::timeoffset' is not initialized in the constructor. Maybe it should be initialized directly in the class Timer? [uninitDerivedMemberVar] xshisen-1.51/timer.C:40:9: warning: Member variable 'Timer::currenttime' is not initialized in the constructor. Maybe it should be initialized directly in the class Timer? [uninitDerivedMemberVar] xshisen-1.51/timer.C:14:8: style:inconclusive: Technically the member function 'Timer::GetTimer' can be const. [functionConst] xshisen-1.51/components.h:73:8: note: Technically the member function 'Timer::GetTimer' can be const. xshisen-1.51/timer.C:14:8: note: Technically the member function 'Timer::GetTimer' can be const. xshisen-1.51/timer.C:182:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xshisen-1.51/timer.C:182:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xshisen-1.51/timer.C:182:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xshisen-1.51/kconv.C:170:15: style: Variable 'kanji' is assigned a value that is never used. [unreadVariable] xshisen-1.51/kconv.C:179:27: style: Variable 'kanji' is assigned a value that is never used. [unreadVariable] xshisen-1.51/kconv.C:179:22: style: Variable 'kanji' is assigned a value that is never used. [unreadVariable] xshisen-1.51/kconv.C:232:15: style: Variable 'kanji' is assigned a value that is never used. [unreadVariable] xshisen-1.51/kconv.C:241:27: style: Variable 'kanji' is assigned a value that is never used. [unreadVariable] xshisen-1.51/kconv.C:241:22: style: Variable 'kanji' is assigned a value that is never used. [unreadVariable] xshisen-1.51/body.C:75:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable simpleWidgetClass [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:102:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JoinRound [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:222:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:365:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:383:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:401:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_watch [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable This [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:932:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::rest' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::status' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::currentHintNum' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::initialHintNum' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::hintArray' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::xoff' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::yoff' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::xstep' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::ystep' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::xmarg' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::ymarg' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::currentWidth' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::currentHeight' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::demoMode' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::helpUsed' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.C:38:7: warning: Member variable 'Body::timeOut' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/body.h:14:20: style:inconclusive: Member variable 'Body::xsize' is in the wrong place in the initializer list. [initializerList] xshisen-1.51/body.C:39:32: note: Member variable 'Body::xsize' is in the wrong place in the initializer list. xshisen-1.51/body.h:14:20: note: Member variable 'Body::xsize' is in the wrong place in the initializer list. xshisen-1.51/body.C:185:7: style:inconclusive: Technically the member function 'Body::can_pass' can be const. [functionConst] xshisen-1.51/body.h:49:9: note: Technically the member function 'Body::can_pass' can be const. xshisen-1.51/body.C:185:7: note: Technically the member function 'Body::can_pass' can be const. xshisen-1.51/body.C:578:7: style:inconclusive: Technically the member function 'Body::GetPos' can be const. [functionConst] xshisen-1.51/body.h:67:10: note: Technically the member function 'Body::GetPos' can be const. xshisen-1.51/body.C:578:7: note: Technically the member function 'Body::GetPos' can be const. xshisen-1.51/body.C:353:7: style:inconclusive: Technically the member function 'Body::GetRest' can be const. [functionConst] xshisen-1.51/body.h:75:9: note: Technically the member function 'Body::GetRest' can be const. xshisen-1.51/body.C:353:7: note: Technically the member function 'Body::GetRest' can be const. xshisen-1.51/body.C:818:7: style:inconclusive: Technically the member function 'Body::Active' can be const. [functionConst] xshisen-1.51/body.h:77:9: note: Technically the member function 'Body::Active' can be const. xshisen-1.51/body.C:818:7: note: Technically the member function 'Body::Active' can be const. xshisen-1.51/body.C:867:7: style:inconclusive: Technically the member function 'Body::LogGiveUp' can be const. [functionConst] xshisen-1.51/body.h:87:10: note: Technically the member function 'Body::LogGiveUp' can be const. xshisen-1.51/body.C:867:7: note: Technically the member function 'Body::LogGiveUp' can be const. xshisen-1.51/body.C:43:5: warning: Class 'Body' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] xshisen-1.51/body.C:43:5: warning: Class 'Body' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] xshisen-1.51/body.C:275:9: style: The scope of the variable 'flag' can be reduced. [variableScope] xshisen-1.51/body.C:306:9: style: The scope of the variable 'j' can be reduced. [variableScope] xshisen-1.51/body.C:306:12: style: The scope of the variable 'j0' can be reduced. [variableScope] xshisen-1.51/body.C:440:30: style: The scope of the variable 'basex' can be reduced. [variableScope] xshisen-1.51/body.C:440:37: style: The scope of the variable 'basey' can be reduced. [variableScope] xshisen-1.51/body.C:1029:17: style: The scope of the variable 'tr' can be reduced. [variableScope] xshisen-1.51/body.C:1029:22: style: The scope of the variable 'gr' can be reduced. [variableScope] xshisen-1.51/body.C:523:21: error: Uninitialized variable: a1 [legacyUninitvar] xshisen-1.51/body.C:524:31: error: Uninitialized variable: a2 [legacyUninitvar] xshisen-1.51/body.C:523:25: error: Uninitialized variable: b1 [legacyUninitvar] xshisen-1.51/body.C:524:35: error: Uninitialized variable: b2 [legacyUninitvar] xshisen-1.51/body.C:275:14: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] xshisen-1.51/body.C:296:18: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] xshisen-1.51/body.C:492:13: style: Variable 'a1' is not assigned a value. [unassignedVariable] xshisen-1.51/body.C:492:17: style: Variable 'a2' is not assigned a value. [unassignedVariable] xshisen-1.51/body.C:492:21: style: Variable 'b1' is not assigned a value. [unassignedVariable] xshisen-1.51/body.C:492:25: style: Variable 'b2' is not assigned a value. [unassignedVariable] xshisen-1.51/score.C:101:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSHISEN_VERSION [valueFlowBailoutIncompleteVar] xshisen-1.51/score.C:164:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xshisen-1.51/score.C:250:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transientShellWidgetClass [valueFlowBailoutIncompleteVar] xshisen-1.51/score.C:288:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xshisen-1.51/score.C:322:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xshisen-1.51/score.C:379:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xshisen-1.51/score.C:422:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xshisen-1.51/score.C:442:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xshisen-1.51/score.C:594:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xshisen-1.51/score.C:241:8: warning: Member variable 'Score::mdialog' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/score.C:241:8: warning: Member variable 'Score::filename' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/score.C:241:8: warning: Member variable 'Score::logfile' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/score.C:241:8: warning: Member variable 'Score::kanjiCode' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/score.C:241:8: warning: Member variable 'Score::scoreToRegister' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/score.C:241:8: warning: Member variable 'Score::game' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/score.C:241:8: warning: Member variable 'Score::rec' is not initialized in the constructor. [uninitMemberVar] xshisen-1.51/score.C:250:5: performance: Variable 'score' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] xshisen-1.51/score.C:621:8: performance:inconclusive: Technically the member function 'Score::atoiSubstring' can be static (but you may consider moving to unnamed namespace). [functionStatic] xshisen-1.51/components.h:222:9: note: Technically the member function 'Score::atoiSubstring' can be static (but you may consider moving to unnamed namespace). xshisen-1.51/score.C:621:8: note: Technically the member function 'Score::atoiSubstring' can be static (but you may consider moving to unnamed namespace). xshisen-1.51/score.C:50:15: style: C-style pointer casting [cstyleCast] xshisen-1.51/score.C:117:12: style: C-style pointer casting [cstyleCast] xshisen-1.51/score.C:123:16: style: C-style pointer casting [cstyleCast] xshisen-1.51/score.C:135:16: style: C-style pointer casting [cstyleCast] xshisen-1.51/score.C:233:12: style: C-style pointer casting [cstyleCast] xshisen-1.51/score.C:331:21: style: The scope of the variable 'this_time' can be reduced. [variableScope] xshisen-1.51/score.C:297:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xshisen-1.51/score.C:373:16: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] xshisen-1.51/score.C:374:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xshisen-1.51/score.C:435:17: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] xshisen-1.51/score.C:467:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xshisen-1.51/score.C:630:47: style: Parameter 'rtime' can be declared as const array [constParameter] xshisen-1.51/score.C:630:60: style: Parameter 'rcount' can be declared as const array [constParameter] xshisen-1.51/score.C:630:74: style: Parameter 'rlev' can be declared as const array [constParameter] diff: 2.18.0 xshisen-1.51/body.C:43:5: warning: Class 'Body' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head xshisen-1.51/body.C:43:5: warning: Class 'Body' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 xshisen-1.51/body.C:43:5: warning: Class 'Body' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head xshisen-1.51/body.C:43:5: warning: Class 'Body' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 xshisen-1.51/components.h:131:33: warning: Class 'PiePos' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head xshisen-1.51/components.h:131:33: warning: Class 'PiePos' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 xshisen-1.51/components.h:131:33: warning: Class 'PiePos' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head xshisen-1.51/components.h:131:33: warning: Class 'PiePos' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] 2.18.0 xshisen-1.51/history.C:5:5: warning: Class 'History' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] head xshisen-1.51/history.C:5:5: warning: Class 'History' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] 2.18.0 xshisen-1.51/history.C:5:5: warning: Class 'History' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] head xshisen-1.51/history.C:5:5: warning: Class 'History' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] DONE