2024-04-23 10:02 ftp://ftp.de.debian.org/debian/pool/main/z/zhcon/zhcon_0.2.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: 9b87f67 (2024-04-23 10:17:07 +0200) count: 386 386 elapsed-time: 5.6 5.8 head-timing-info: old-timing-info: head results: zhcon-0.2.6/src/basefont.cpp:37:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/graphdev.h:52:13: performance:inconclusive: Technically the member function 'GraphDev::Height' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/graphdev.h:55:13: performance:inconclusive: Technically the member function 'GraphDev::Width' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/basefont.cpp:48:17: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/basefont.cpp:54:17: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/basefont.cpp:60:14: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/basefont.cpp:32:29: style: Parameter 'fn' can be declared as reference to const [constParameterReference] zhcon-0.2.6/src/big52gbdecoder.cpp:30:18: style: The scope of the variable 'i' can be reduced. [variableScope] zhcon-0.2.6/src/big5decoder.cpp:30:28: style: Comparing expression of type 'char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] zhcon-0.2.6/src/candilist.cpp:21:12: warning: Member variable 'Candilist::mList' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/cmdline.c:118:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/cmdline.c:209:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/cmdline.c:109:76: style: Parameter 'args_info' can be declared as pointer to const [constParameterPointer] zhcon-0.2.6/src/cmdline.c:191:54: style: Parameter 'args_info' can be declared as pointer to const [constParameterPointer] zhcon-0.2.6/src/cmdline.c:217:13: style: Variable 'stop_char' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/src/cmdline.c:219:28: style: Variable 'long_options' can be declared as const array [constVariable] zhcon-0.2.6/src/configfile.cpp:37:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/configfile.cpp:110:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/configfile.h:32:9: style: Class 'ConfigFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zhcon-0.2.6/src/configfile.cpp:56:18: style: Redundant condition: The condition '*p' is redundant since '*p == ' '' is sufficient. [redundantCondition] zhcon-0.2.6/src/window.h:60:14: style:inconclusive: Technically the member function 'Window::Col' can be const. [functionConst] zhcon-0.2.6/src/window.h:61:14: style:inconclusive: Technically the member function 'Window::Row' can be const. [functionConst] zhcon-0.2.6/src/window.h:64:14: style:inconclusive: Technically the member function 'Window::Visible' can be const. [functionConst] zhcon-0.2.6/src/window.h:69:13: style:inconclusive: Technically the member function 'Window::GetX1' can be const. [functionConst] zhcon-0.2.6/src/window.h:70:13: style:inconclusive: Technically the member function 'Window::GetY1' can be const. [functionConst] zhcon-0.2.6/src/window.h:75:14: style:inconclusive: Technically the member function 'Window::CursorOnOff' can be const. [functionConst] zhcon-0.2.6/src/window.h:78:13: style:inconclusive: Technically the member function 'Window::Width' can be const. [functionConst] zhcon-0.2.6/src/window.h:79:13: style:inconclusive: Technically the member function 'Window::Height' can be const. [functionConst] zhcon-0.2.6/src/window.h:80:13: style:inconclusive: Technically the member function 'Window::MaxCols' can be const. [functionConst] zhcon-0.2.6/src/window.h:81:13: style:inconclusive: Technically the member function 'Window::MaxRows' can be const. [functionConst] zhcon-0.2.6/src/window.h:82:13: style:inconclusive: Technically the member function 'Window::CorrectCol' can be const. [functionConst] zhcon-0.2.6/src/window.h:87:13: style:inconclusive: Technically the member function 'Window::CorrectRow' can be const. [functionConst] zhcon-0.2.6/src/console.h:39:14: style:inconclusive: Technically the member function 'Console::GetVtSize' can be const. [functionConst] zhcon-0.2.6/src/console.cpp:983:15: note: Technically the member function 'Console::GetVtSize' can be const. zhcon-0.2.6/src/console.h:39:14: note: Technically the member function 'Console::GetVtSize' can be const. zhcon-0.2.6/src/console.h:43:16: style:inconclusive: Technically the member function 'Console::DetectBufferEncode' can be const. [functionConst] zhcon-0.2.6/src/console.cpp:920:17: note: Technically the member function 'Console::DetectBufferEncode' can be const. zhcon-0.2.6/src/console.h:43:16: note: Technically the member function 'Console::DetectBufferEncode' can be const. zhcon-0.2.6/src/console.h:145:14: performance:inconclusive: Technically the member function 'Console::InWord' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/console.cpp:1104:14: note: Technically the member function 'Console::InWord' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/console.h:145:14: note: Technically the member function 'Console::InWord' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/console.h:147:14: style:inconclusive: Technically the member function 'Console::AtColEdge' can be const. [functionConst] zhcon-0.2.6/src/console.cpp:1109:14: note: Technically the member function 'Console::AtColEdge' can be const. zhcon-0.2.6/src/console.h:147:14: note: Technically the member function 'Console::AtColEdge' can be const. zhcon-0.2.6/src/console.cpp:50:5: warning: Class 'Console' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] zhcon-0.2.6/src/console.cpp:50:5: warning: Class 'Console' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] zhcon-0.2.6/src/console.h:36:10: style: The destructor '~Console' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/window.h:51:18: note: Virtual destructor in base class zhcon-0.2.6/src/console.h:36:10: note: Destructor in derived class zhcon-0.2.6/src/console.cpp:489:10: style: The scope of the variable 'c' can be reduced. [variableScope] zhcon-0.2.6/src/console.cpp:888:14: style: The scope of the variable 'indexCol' can be reduced. [variableScope] zhcon-0.2.6/src/console.cpp:888:24: style: The scope of the variable 'histrow' can be reduced. [variableScope] zhcon-0.2.6/src/console.cpp:1035:10: style: The scope of the variable 'color' can be reduced. [variableScope] zhcon-0.2.6/src/console.cpp:1270:21: style: The scope of the variable 'count' can be reduced. [variableScope] zhcon-0.2.6/src/display/fbdev.cpp:68:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORMAL [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fbdev.cpp:135:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORMAL [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear15.h:33:14: warning: The class 'FBLinear15' defines member function with name 'InitColorMap' also defined in its parent class 'FBLinear16'. [duplInheritedMember] zhcon-0.2.6/src/display/fblinear16.h:38:14: note: Parent function 'FBLinear16::InitColorMap' zhcon-0.2.6/src/display/fblinear15.h:33:14: note: Derived function 'FBLinear15::InitColorMap' zhcon-0.2.6/src/display/fblinear4.h:32:14: style: The function 'PutPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:34:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear4.h:32:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear4.h:33:14: style: The function 'FillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:35:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear4.h:33:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear4.h:34:14: style: The function 'DrawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:36:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear4.h:34:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear8.h:32:14: style: The function 'FillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:35:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear8.h:32:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear8.h:34:14: style: The function 'PutPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:34:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear8.h:34:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear8.h:35:14: style: The function 'DrawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:36:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear8.h:35:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear16.h:32:14: style: The function 'FillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:35:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear16.h:32:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear16.h:34:14: style: The function 'DrawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:36:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear16.h:34:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear16.h:35:14: style: The function 'PutPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:34:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear16.h:35:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear24.h:32:14: style: The function 'PutPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:34:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear24.h:32:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear24.h:33:14: style: The function 'FillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:35:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear24.h:33:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear24.h:35:14: style: The function 'DrawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:36:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear24.h:35:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear32.h:32:14: style: The function 'PutPixel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:34:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear32.h:32:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear32.h:33:14: style: The function 'FillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:35:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear32.h:33:14: note: Function in derived class zhcon-0.2.6/src/display/fblinear32.h:35:14: style: The function 'DrawChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/display/fbdev.h:36:22: note: Virtual function in base class zhcon-0.2.6/src/display/fblinear32.h:35:14: note: Function in derived class zhcon-0.2.6/src/display/fbdev.cpp:134:53: style: Parameter 'Vinfo' can be declared as reference to const [constParameterReference] zhcon-0.2.6/src/display/fblinear15.cpp:26:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mXres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear15.cpp:29:18: warning: The class 'FBLinear15' defines member function with name 'InitColorMap' also defined in its parent class 'FBLinear16'. [duplInheritedMember] zhcon-0.2.6/src/display/fblinear16.h:38:14: note: Parent function 'FBLinear16::InitColorMap' zhcon-0.2.6/src/display/fblinear15.cpp:29:18: note: Derived function 'FBLinear15::InitColorMap' zhcon-0.2.6/src/display/fblinear16.cpp:35:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mXres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear16.cpp:53:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mYres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear16.cpp:99:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mYres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear16.cpp:116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBlockHeight [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear16.cpp:56:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:66:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:71:27: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:79:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:87:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:92:21: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:111:19: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:117:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:136:60: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear16.cpp:57:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear16.cpp:81:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear16.cpp:112:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear24.cpp:28:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mXres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear24.cpp:71:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mYres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear24.cpp:167:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mYres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear24.cpp:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBlockHeight [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear24.cpp:39:10: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:40:10: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:41:10: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:42:10: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:75:19: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:86:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:93:22: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:95:22: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:98:22: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:100:21: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:128:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:137:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:145:22: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:147:22: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:150:22: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:152:21: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:168:19: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:179:19: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:186:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:218:31: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:223:28: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:225:31: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear24.cpp:84:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear24.cpp:135:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear24.cpp:180:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear32.cpp:26:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mXres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear32.cpp:44:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mYres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear32.cpp:83:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mYres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear32.cpp:98:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBlockHeight [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear32.cpp:48:19: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear32.cpp:57:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear32.cpp:68:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear32.cpp:75:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear32.cpp:93:19: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear32.cpp:99:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear32.cpp:49:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear32.cpp:69:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear32.cpp:94:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear4.cpp:41:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mXres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear4.cpp:48:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mYres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear4.cpp:143:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBlockHeight [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear4.cpp:60:14: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear4.cpp:119:12: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear4.cpp:132:12: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear4.cpp:55:20: style: The scope of the variable 'dest' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear4.cpp:58:9: style: The scope of the variable 'w' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear4.cpp:142:11: style: Variable 'cdat' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/src/display/fblinear8.cpp:40:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mXres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear8.cpp:44:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mYres [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear8.cpp:99:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBlockHeight [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/display/fblinear8.cpp:55:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:64:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:69:22: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:71:22: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:74:21: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:94:19: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:100:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:113:68: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:117:46: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/display/fblinear8.cpp:62:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/display/fblinear8.cpp:95:12: style: The scope of the variable 'dest32' can be reduced. [variableScope] zhcon-0.2.6/src/gb2big5decoder.cpp:29:18: style: The scope of the variable 'i' can be reduced. [variableScope] zhcon-0.2.6/src/gbkdecoder.cpp:30:30: style: Comparing expression of type 'char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] zhcon-0.2.6/src/gbkdecoder.cpp:36:15: style: Comparing expression of type 'char' against value 255. Condition is always true. [compareValueOutOfTypeRangeError] zhcon-0.2.6/src/graphdev.cpp:58:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/graphdev.cpp:115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpGraphDev [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/graphdev.cpp:179:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpAscFont [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/graphdev.cpp:197:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpDblFont [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/graphdev.cpp:213:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBlockWidth [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/graphdev.cpp:237:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBlockWidth [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/graphdev.cpp:190:17: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/graphdev.cpp:205:17: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/iconv_string.c:21:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/inputclient.cpp:40:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/inputclient.cpp:22:14: warning: Member variable 'InputClient::mFgColor' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/inputclient.cpp:22:14: warning: Member variable 'InputClient::mBgColor' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/inputclient.cpp:22:14: warning: Member variable 'InputClient::mColor1' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/inputclient.cpp:22:14: warning: Member variable 'InputClient::mColor2' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/inputclient.cpp:22:14: warning: Member variable 'InputClient::mPixLight' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/inputclient.cpp:22:14: warning: Member variable 'InputClient::mPixDark' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/inputclient.h:46:14: style:inconclusive: Technically the member function 'InputClient::Visible' can be const. [functionConst] zhcon-0.2.6/src/inputclient.cpp:32:18: style: The scope of the variable 'NextPos' can be reduced. [variableScope] zhcon-0.2.6/src/inputclient.cpp:33:9: style: The scope of the variable 'iVal' can be reduced. [variableScope] zhcon-0.2.6/src/inputclient.cpp:34:12: style: The scope of the variable 'sVal' can be reduced. [variableScope] zhcon-0.2.6/src/inputclient.cpp:30:37: style: Parameter 's' can be declared as reference to const [constParameterReference] zhcon-0.2.6/src/inputmanager.cpp:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Nothing [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/inputmanager.cpp:220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UseEncodingFilter [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/inputmanager.cpp:246:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SetEnco [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/inputmanager.cpp:398:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCSWINSZ [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/inputmanager.cpp:462:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/mouse.h:53:14: style:inconclusive: Technically the member function 'Mouse::IsOpen' can be const. [functionConst] zhcon-0.2.6/src/mouse.h:57:14: style:inconclusive: Technically the member function 'Mouse::GetButtons' can be const. [functionConst] zhcon-0.2.6/src/inputmanager.h:67:10: performance:inconclusive: Technically the member function 'InputManager::GetShiftState' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/inputmanager.cpp:178:19: note: Technically the member function 'InputManager::GetShiftState' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/inputmanager.h:67:10: note: Technically the member function 'InputManager::GetShiftState' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/inputmanager.h:72:10: performance:inconclusive: Technically the member function 'InputManager::WriteClient' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/inputmanager.cpp:359:20: note: Technically the member function 'InputManager::WriteClient' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/inputmanager.h:72:10: note: Technically the member function 'InputManager::WriteClient' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/inputmanager.h:73:10: performance:inconclusive: Technically the member function 'InputManager::WriteClient' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/inputmanager.cpp:363:20: note: Technically the member function 'InputManager::WriteClient' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/inputmanager.h:73:10: note: Technically the member function 'InputManager::WriteClient' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/inputserver.h:33:10: style:inconclusive: Technically the member function 'ImmInfo::operator==' can be const. [functionConst] zhcon-0.2.6/src/inputmanager.cpp:79:9: warning: Class 'InputManager' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] zhcon-0.2.6/src/inputmanager.cpp:79:9: warning: Class 'InputManager' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] zhcon-0.2.6/src/nativeinputserver.h:46:14: warning: The class 'NativeInputServer' defines member function with name 'SetClientBufLen' also defined in its parent class 'InputServer'. [duplInheritedMember] zhcon-0.2.6/src/inputserver.h:60:14: note: Parent function 'InputServer::SetClientBufLen' zhcon-0.2.6/src/nativeinputserver.h:46:14: note: Derived function 'NativeInputServer::SetClientBufLen' zhcon-0.2.6/src/nativebarclient.h:29:9: style: Class 'NativeBarClient' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zhcon-0.2.6/src/overspotclient.h:33:9: style: Class 'OverSpotClient' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zhcon-0.2.6/src/nativeinputserver.h:38:10: style: The destructor '~NativeInputServer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputserver.h:49:18: note: Virtual destructor in base class zhcon-0.2.6/src/nativeinputserver.h:38:10: note: Destructor in derived class zhcon-0.2.6/src/nativeinputserver.h:39:14: style: The function 'SetFullComma' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputserver.h:52:22: note: Virtual function in base class zhcon-0.2.6/src/nativeinputserver.h:39:14: note: Function in derived class zhcon-0.2.6/src/nativeinputserver.h:40:14: style: The function 'SetFullChar' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputserver.h:53:22: note: Virtual function in base class zhcon-0.2.6/src/nativeinputserver.h:40:14: note: Function in derived class zhcon-0.2.6/src/nativeinputserver.h:41:14: style: The function 'ProcessKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputserver.h:56:22: note: Virtual function in base class zhcon-0.2.6/src/nativeinputserver.h:41:14: note: Function in derived class zhcon-0.2.6/src/nativeinputserver.h:42:14: style: The function 'GetInputBuf' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputserver.h:58:22: note: Virtual function in base class zhcon-0.2.6/src/nativeinputserver.h:42:14: note: Function in derived class zhcon-0.2.6/src/nativeinputserver.h:43:14: style: The function 'GetCandilist' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputserver.h:57:22: note: Virtual function in base class zhcon-0.2.6/src/nativeinputserver.h:43:14: note: Function in derived class zhcon-0.2.6/src/nativeinputserver.h:44:14: style: The function 'LoadImm' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputserver.h:54:22: note: Virtual function in base class zhcon-0.2.6/src/nativeinputserver.h:44:14: note: Function in derived class zhcon-0.2.6/src/nativeinputserver.h:45:16: style: The function 'GetServerType' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputserver.h:59:24: note: Virtual function in base class zhcon-0.2.6/src/nativeinputserver.h:45:16: note: Function in derived class zhcon-0.2.6/src/nativebarclient.h:30:10: style: The destructor '~NativeBarClient' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/window.h:51:18: note: Virtual destructor in base class zhcon-0.2.6/src/nativebarclient.h:30:10: note: Destructor in derived class zhcon-0.2.6/src/nativebarclient.h:31:14: style: The function 'Update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:42:22: note: Virtual function in base class zhcon-0.2.6/src/nativebarclient.h:31:14: note: Function in derived class zhcon-0.2.6/src/nativebarclient.h:32:14: style: The function 'Hide' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:43:22: note: Virtual function in base class zhcon-0.2.6/src/nativebarclient.h:32:14: note: Function in derived class zhcon-0.2.6/src/nativebarclient.h:33:14: style: The function 'Show' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:44:22: note: Virtual function in base class zhcon-0.2.6/src/nativebarclient.h:33:14: note: Function in derived class zhcon-0.2.6/src/nativebarclient.h:34:14: style: The function 'VtSizeDelta' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:45:22: note: Virtual function in base class zhcon-0.2.6/src/nativebarclient.h:34:14: note: Function in derived class zhcon-0.2.6/src/nativebarclient.h:35:14: style: The function 'Connect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:47:22: note: Virtual function in base class zhcon-0.2.6/src/nativebarclient.h:35:14: note: Function in derived class zhcon-0.2.6/src/overspotclient.h:34:10: style: The destructor '~OverSpotClient' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/window.h:51:18: note: Virtual destructor in base class zhcon-0.2.6/src/overspotclient.h:34:10: note: Destructor in derived class zhcon-0.2.6/src/overspotclient.h:35:14: style: The function 'Update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:42:22: note: Virtual function in base class zhcon-0.2.6/src/overspotclient.h:35:14: note: Function in derived class zhcon-0.2.6/src/overspotclient.h:36:14: style: The function 'Hide' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:43:22: note: Virtual function in base class zhcon-0.2.6/src/overspotclient.h:36:14: note: Function in derived class zhcon-0.2.6/src/overspotclient.h:37:14: style: The function 'Show' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:44:22: note: Virtual function in base class zhcon-0.2.6/src/overspotclient.h:37:14: note: Function in derived class zhcon-0.2.6/src/overspotclient.h:38:14: style: The function 'VtSizeDelta' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:45:22: note: Virtual function in base class zhcon-0.2.6/src/overspotclient.h:38:14: note: Function in derived class zhcon-0.2.6/src/overspotclient.h:39:14: style: The function 'Connect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/inputclient.h:47:22: note: Virtual function in base class zhcon-0.2.6/src/overspotclient.h:39:14: note: Function in derived class zhcon-0.2.6/src/inputmanager.cpp:105:15: style: Condition 'shift!=0' is always false [knownConditionTrueFalse] zhcon-0.2.6/src/inputmanager.cpp:180:16: note: Assignment 'shift=0', assigned value is 0 zhcon-0.2.6/src/inputmanager.cpp:104:26: note: Calling function 'GetShiftState' returns 0 zhcon-0.2.6/src/inputmanager.cpp:104:26: note: Assignment 'shift=GetShiftState()', assigned value is 0 zhcon-0.2.6/src/inputmanager.cpp:105:15: note: Condition 'shift!=0' is always false zhcon-0.2.6/src/inputmanager.cpp:430:9: error: Dereferencing 'mpInputServer' after it is deallocated / released [deallocuse] zhcon-0.2.6/src/inputmanager.cpp:451:18: style: The scope of the variable 'ParmNo' can be reduced. [variableScope] zhcon-0.2.6/src/inputmanager.cpp:451:26: style: The scope of the variable 'Pos' can be reduced. [variableScope] zhcon-0.2.6/src/inputmanager.cpp:363:41: style: Parameter 's' can be declared as reference to const [constParameterReference] zhcon-0.2.6/src/inputmanager.cpp:442:15: style: Variable 'r' is assigned a value that is never used. [unreadVariable] zhcon-0.2.6/src/inputserver.cpp:21:14: warning: Member variable 'InputServer::mImmInfo' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/inputserver.h:50:14: style:inconclusive: Technically the member function 'InputServer::IsFullComma' can be const. [functionConst] zhcon-0.2.6/src/inputserver.cpp:36:19: note: Technically the member function 'InputServer::IsFullComma' can be const. zhcon-0.2.6/src/inputserver.h:50:14: note: Technically the member function 'InputServer::IsFullComma' can be const. zhcon-0.2.6/src/inputserver.h:51:14: style:inconclusive: Technically the member function 'InputServer::IsFullChar' can be const. [functionConst] zhcon-0.2.6/src/inputserver.cpp:32:19: note: Technically the member function 'InputServer::IsFullChar' can be const. zhcon-0.2.6/src/inputserver.h:51:14: note: Technically the member function 'InputServer::IsFullChar' can be const. zhcon-0.2.6/src/inputserver.h:55:17: style:inconclusive: Technically the member function 'InputServer::GetImmInfo' can be const. [functionConst] zhcon-0.2.6/src/inputserver.cpp:28:22: note: Technically the member function 'InputServer::GetImmInfo' can be const. zhcon-0.2.6/src/inputserver.h:55:17: note: Technically the member function 'InputServer::GetImmInfo' can be const. zhcon-0.2.6/src/inputserver.h:55:17: performance: Function 'GetImmInfo()' should return member 'mImmInfo' by const reference. [returnByReference] zhcon-0.2.6/src/jisdecoder.cpp:39:37: style:inconclusive: Function 'Index' argument 1 names different: declaration 'c1' definition 'left'. [funcArgNamesDifferent] zhcon-0.2.6/src/jisdecoder.h:35:41: note: Function 'Index' argument 1 names different: declaration 'c1' definition 'left'. zhcon-0.2.6/src/jisdecoder.cpp:39:37: note: Function 'Index' argument 1 names different: declaration 'c1' definition 'left'. zhcon-0.2.6/src/jisdecoder.cpp:39:48: style:inconclusive: Function 'Index' argument 2 names different: declaration 'c2' definition 'right'. [funcArgNamesDifferent] zhcon-0.2.6/src/jisdecoder.h:35:49: note: Function 'Index' argument 2 names different: declaration 'c2' definition 'right'. zhcon-0.2.6/src/jisdecoder.cpp:39:48: note: Function 'Index' argument 2 names different: declaration 'c2' definition 'right'. zhcon-0.2.6/src/kscdecoder.cpp:39:37: style:inconclusive: Function 'Index' argument 1 names different: declaration 'c1' definition 'left'. [funcArgNamesDifferent] zhcon-0.2.6/src/kscdecoder.h:35:41: note: Function 'Index' argument 1 names different: declaration 'c1' definition 'left'. zhcon-0.2.6/src/kscdecoder.cpp:39:37: note: Function 'Index' argument 1 names different: declaration 'c1' definition 'left'. zhcon-0.2.6/src/kscdecoder.cpp:39:48: style:inconclusive: Function 'Index' argument 2 names different: declaration 'c2' definition 'right'. [funcArgNamesDifferent] zhcon-0.2.6/src/kscdecoder.h:35:49: note: Function 'Index' argument 2 names different: declaration 'c2' definition 'right'. zhcon-0.2.6/src/kscdecoder.cpp:39:48: note: Function 'Index' argument 2 names different: declaration 'c2' definition 'right'. zhcon-0.2.6/src/main.cpp:53:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/main.cpp:68:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/main.cpp:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDMKTONE [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/mouse.cpp:31:8: warning: Member variable 'Mouse::mConFd' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/mouse.cpp:31:8: warning: Member variable 'Mouse::mX2' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/mouse.cpp:31:8: warning: Member variable 'Mouse::mY2' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/mouse.h:52:14: performance:inconclusive: Technically the member function 'Mouse::Close' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/mouse.cpp:110:13: note: Technically the member function 'Mouse::Close' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/mouse.h:52:14: note: Technically the member function 'Mouse::Close' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/nativebarclient.cpp:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mFgColor [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mVisible [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:75:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mVisible [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:81:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpServer [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:109:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mColor1 [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:114:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mColor1 [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:135:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mColor2 [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:179:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpServer [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:187:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativebarclient.cpp:30:18: warning: Member variable 'NativeBarClient::mShownWords' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/nativebarclient.cpp:66:23: warning: The class 'NativeBarClient' defines member function with name 'Hide' also defined in its parent class 'Window'. [duplInheritedMember] zhcon-0.2.6/src/window.h:68:14: note: Parent function 'Window::Hide' zhcon-0.2.6/src/nativebarclient.cpp:66:23: note: Derived function 'NativeBarClient::Hide' zhcon-0.2.6/src/nativebarclient.cpp:61:23: warning: The class 'NativeBarClient' defines member function with name 'Show' also defined in its parent class 'Window'. [duplInheritedMember] zhcon-0.2.6/src/window.h:67:14: note: Parent function 'Window::Show' zhcon-0.2.6/src/nativebarclient.cpp:61:23: note: Derived function 'NativeBarClient::Show' zhcon-0.2.6/src/nativebarclient.cpp:122:10: style: The scope of the variable 'key' can be reduced. [variableScope] zhcon-0.2.6/src/nativeinputserver.cpp:255:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mIsFullComma [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativeinputserver.cpp:274:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mIsFullChar [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativeinputserver.cpp:278:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mIsFullComma [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativeinputserver.cpp:296:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mClientBufLen [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativeinputserver.cpp:403:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mIsFullComma [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/nativeinputserver.cpp:413:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mClientBufLen [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/winime.h:56:14: style:inconclusive: Technically the member function 'WinIme::GetGBKOut' can be const. [functionConst] zhcon-0.2.6/src/winime.h:62:14: performance:inconclusive: Technically the member function 'WinIme::IsHzCode1' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/winime.h:65:14: performance:inconclusive: Technically the member function 'WinIme::IsGB2312_1' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/winime.h:68:14: performance:inconclusive: Technically the member function 'WinIme::IsGB2312_2' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/winime.h:39:9: style: Class 'WinIme' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zhcon-0.2.6/src/nativeinputserver.cpp:107:9: style: The scope of the variable 'count' can be reduced. [variableScope] zhcon-0.2.6/src/nativeinputserver.cpp:106:41: style:inconclusive: Function 'ProcessKey' argument 1 names different: declaration 'key' definition 'c'. [funcArgNamesDifferent] zhcon-0.2.6/src/nativeinputserver.h:41:30: note: Function 'ProcessKey' argument 1 names different: declaration 'key' definition 'c'. zhcon-0.2.6/src/nativeinputserver.cpp:106:41: note: Function 'ProcessKey' argument 1 names different: declaration 'key' definition 'c'. zhcon-0.2.6/src/nativeinputserver.cpp:76:44: performance: Function parameter 'datapath' should be passed by const reference. [passedByValue] zhcon-0.2.6/src/nativeinputserver.cpp:281:43: style: Parameter 'rModule' can be declared as reference to const [constParameterReference] zhcon-0.2.6/src/nativeinputserver.cpp:299:30: style: Variable 'e' can be declared as reference to const [constVariableReference] zhcon-0.2.6/src/overspotclient.cpp:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mFgColor [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/overspotclient.cpp:46:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mVisible [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/overspotclient.cpp:51:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mVisible [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/overspotclient.cpp:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpServer [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/overspotclient.cpp:166:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mColor2 [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/overspotclient.cpp:188:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mColor1 [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/overspotclient.cpp:209:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpServer [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/overspotclient.cpp:49:22: warning: The class 'OverSpotClient' defines member function with name 'Hide' also defined in its parent class 'Window'. [duplInheritedMember] zhcon-0.2.6/src/window.h:68:14: note: Parent function 'Window::Hide' zhcon-0.2.6/src/overspotclient.cpp:49:22: note: Derived function 'OverSpotClient::Hide' zhcon-0.2.6/src/overspotclient.cpp:44:22: warning: The class 'OverSpotClient' defines member function with name 'Show' also defined in its parent class 'Window'. [duplInheritedMember] zhcon-0.2.6/src/window.h:67:14: note: Parent function 'Window::Show' zhcon-0.2.6/src/overspotclient.cpp:44:22: note: Derived function 'OverSpotClient::Show' zhcon-0.2.6/src/overspotclient.cpp:92:39: style:inconclusive: Function 'AdjustWinPos' argument 1 names different: declaration 'row' definition 'CursorRow'. [funcArgNamesDifferent] zhcon-0.2.6/src/overspotclient.h:47:31: note: Function 'AdjustWinPos' argument 1 names different: declaration 'row' definition 'CursorRow'. zhcon-0.2.6/src/overspotclient.cpp:92:39: note: Function 'AdjustWinPos' argument 1 names different: declaration 'row' definition 'CursorRow'. zhcon-0.2.6/src/overspotclient.cpp:92:54: style:inconclusive: Function 'AdjustWinPos' argument 2 names different: declaration 'col' definition 'CursorCol'. [funcArgNamesDifferent] zhcon-0.2.6/src/overspotclient.h:47:40: note: Function 'AdjustWinPos' argument 2 names different: declaration 'col' definition 'CursorCol'. zhcon-0.2.6/src/overspotclient.cpp:92:54: note: Function 'AdjustWinPos' argument 2 names different: declaration 'col' definition 'CursorCol'. zhcon-0.2.6/src/overspotclient.cpp:92:69: style:inconclusive: Function 'AdjustWinPos' argument 3 names different: declaration 'maxRows' definition 'MaxRows'. [funcArgNamesDifferent] zhcon-0.2.6/src/overspotclient.h:47:49: note: Function 'AdjustWinPos' argument 3 names different: declaration 'maxRows' definition 'MaxRows'. zhcon-0.2.6/src/overspotclient.cpp:92:69: note: Function 'AdjustWinPos' argument 3 names different: declaration 'maxRows' definition 'MaxRows'. zhcon-0.2.6/src/overspotclient.cpp:92:82: style:inconclusive: Function 'AdjustWinPos' argument 4 names different: declaration 'maxCols' definition 'MaxCols'. [funcArgNamesDifferent] zhcon-0.2.6/src/overspotclient.h:47:62: note: Function 'AdjustWinPos' argument 4 names different: declaration 'maxCols' definition 'MaxCols'. zhcon-0.2.6/src/overspotclient.cpp:92:82: note: Function 'AdjustWinPos' argument 4 names different: declaration 'maxCols' definition 'MaxCols'. zhcon-0.2.6/src/window.cpp:31:9: warning: Member variable 'Window::mFrameLight' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/window.cpp:31:9: warning: Member variable 'Window::mFrameDark' is not initialized in the constructor. [uninitMemberVar] zhcon-0.2.6/src/window.h:103:13: style:inconclusive: Technically the member function 'Window::Index' can be const. [functionConst] zhcon-0.2.6/src/window.cpp:212:13: note: Technically the member function 'Window::Index' can be const. zhcon-0.2.6/src/window.h:103:13: note: Technically the member function 'Window::Index' can be const. zhcon-0.2.6/src/window.h:104:14: performance:inconclusive: Technically the member function 'Window::ResetFlagRow' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/window.cpp:372:14: note: Technically the member function 'Window::ResetFlagRow' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/window.h:104:14: note: Technically the member function 'Window::ResetFlagRow' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/window.cpp:436:12: style: The scope of the variable 'h' can be reduced. [variableScope] zhcon-0.2.6/src/window.cpp:505:9: style: The scope of the variable 'i' can be reduced. [variableScope] zhcon-0.2.6/src/window.cpp:443:13: style: Local variable 'h' shadows outer variable [shadowVariable] zhcon-0.2.6/src/window.cpp:436:12: note: Shadowed declaration zhcon-0.2.6/src/window.cpp:443:13: note: Shadow variable zhcon-0.2.6/src/window.cpp:555:50: performance: Function parameter 's' should be passed by const reference. [passedByValue] zhcon-0.2.6/src/window.cpp:589:44: performance: Function parameter 's' should be passed by const reference. [passedByValue] zhcon-0.2.6/src/window.cpp:594:44: performance: Function parameter 's' should be passed by const reference. [passedByValue] zhcon-0.2.6/src/window.cpp:331:11: style: Variable 'pFlag' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/src/window.cpp:332:11: style: Variable 'pAttr' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/src/window.cpp:333:11: style: Variable 'pText' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/src/window.cpp:372:33: style: Parameter 'pText' can be declared as pointer to const [constParameterPointer] zhcon-0.2.6/src/winime.cpp:41:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/winime.h:45:16: style:inconclusive: Technically the member function 'WinIme::GetName' can be const. [functionConst] zhcon-0.2.6/src/winime.cpp:101:16: note: Technically the member function 'WinIme::GetName' can be const. zhcon-0.2.6/src/winime.h:45:16: note: Technically the member function 'WinIme::GetName' can be const. zhcon-0.2.6/src/winime.cpp:37:7: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:50:13: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:55:26: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:59:16: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:60:16: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:109:26: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:156:46: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:166:32: style: C-style reference casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:215:43: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:251:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:263:33: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:265:21: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:271:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:277:18: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/winime.cpp:202:9: style: The scope of the variable 'count' can be reduced. [variableScope] zhcon-0.2.6/src/winime.cpp:77:34: style:inconclusive: Function 'AddCandilist' argument 1 names different: declaration 'p' definition 'rp'. [funcArgNamesDifferent] zhcon-0.2.6/src/winime.h:72:34: note: Function 'AddCandilist' argument 1 names different: declaration 'p' definition 'rp'. zhcon-0.2.6/src/winime.cpp:77:34: note: Function 'AddCandilist' argument 1 names different: declaration 'p' definition 'rp'. zhcon-0.2.6/src/winime.cpp:299:24: style:inconclusive: Function 'Search' argument 1 names different: declaration 'start' definition 'offset'. [funcArgNamesDifferent] zhcon-0.2.6/src/winime.h:77:24: note: Function 'Search' argument 1 names different: declaration 'start' definition 'offset'. zhcon-0.2.6/src/winime.cpp:299:24: note: Function 'Search' argument 1 names different: declaration 'start' definition 'offset'. zhcon-0.2.6/src/winime.cpp:192:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/src/zhcon.cpp:112:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UseEncodingFilter [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:126:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PREFIX [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCSCTTY [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:312:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:370:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:526:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:549:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VT_GETMODE [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:587:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VT_RELDISP [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:624:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PREFIX [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:744:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCSWINSZ [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:755:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PREFIX [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLATFORM [valueFlowBailoutIncompleteVar] zhcon-0.2.6/src/zhcon.cpp:251:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zhcon-0.2.6/src/zhcon.cpp:375:21: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] zhcon-0.2.6/src/zhcon.cpp:749:21: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] zhcon-0.2.6/src/zhcon.h:66:12: style:inconclusive: Technically the member function 'Zhcon::GetEncode' can be const. [functionConst] zhcon-0.2.6/src/zhcon.cpp:798:15: note: Technically the member function 'Zhcon::GetEncode' can be const. zhcon-0.2.6/src/zhcon.h:66:12: note: Technically the member function 'Zhcon::GetEncode' can be const. zhcon-0.2.6/src/zhcon.h:70:10: performance:inconclusive: Technically the member function 'Zhcon::InstallSignal' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/zhcon.cpp:281:13: note: Technically the member function 'Zhcon::InstallSignal' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/zhcon.h:70:10: note: Technically the member function 'Zhcon::InstallSignal' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/zhcon.h:98:10: performance:inconclusive: Technically the member function 'Zhcon::InitGraphDev' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/zhcon.cpp:690:13: note: Technically the member function 'Zhcon::InitGraphDev' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/zhcon.h:98:10: note: Technically the member function 'Zhcon::InitGraphDev' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/zhcon.h:101:10: performance:inconclusive: Technically the member function 'Zhcon::InitMisc' can be static (but you may consider moving to unnamed namespace). [functionStatic] zhcon-0.2.6/src/zhcon.cpp:776:13: note: Technically the member function 'Zhcon::InitMisc' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/zhcon.h:101:10: note: Technically the member function 'Zhcon::InitMisc' can be static (but you may consider moving to unnamed namespace). zhcon-0.2.6/src/gbkdecoder.h:31:10: style: The destructor '~GBKDecoder' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:29:18: note: Virtual destructor in base class zhcon-0.2.6/src/gbkdecoder.h:31:10: note: Destructor in derived class zhcon-0.2.6/src/gbkdecoder.h:33:22: style: The function 'IsCode2' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:31:22: note: Virtual function in base class zhcon-0.2.6/src/gbkdecoder.h:33:22: note: Function in derived class zhcon-0.2.6/src/gbkdecoder.h:34:22: style: The function 'IsCode1' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:32:22: note: Virtual function in base class zhcon-0.2.6/src/gbkdecoder.h:34:22: note: Function in derived class zhcon-0.2.6/src/gbkdecoder.h:35:30: style: The function 'Index' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:33:30: note: Virtual function in base class zhcon-0.2.6/src/gbkdecoder.h:35:30: note: Function in derived class zhcon-0.2.6/src/gbdecoder.h:31:10: style: The destructor '~GBDecoder' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:29:18: note: Virtual destructor in base class zhcon-0.2.6/src/gbdecoder.h:31:10: note: Destructor in derived class zhcon-0.2.6/src/gbdecoder.h:33:22: style: The function 'IsCode2' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:31:22: note: Virtual function in base class zhcon-0.2.6/src/gbdecoder.h:33:22: note: Function in derived class zhcon-0.2.6/src/gbdecoder.h:34:22: style: The function 'IsCode1' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:32:22: note: Virtual function in base class zhcon-0.2.6/src/gbdecoder.h:34:22: note: Function in derived class zhcon-0.2.6/src/gbdecoder.h:35:30: style: The function 'Index' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:33:30: note: Virtual function in base class zhcon-0.2.6/src/gbdecoder.h:35:30: note: Function in derived class zhcon-0.2.6/src/big5decoder.h:31:10: style: The destructor '~BIG5Decoder' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:29:18: note: Virtual destructor in base class zhcon-0.2.6/src/big5decoder.h:31:10: note: Destructor in derived class zhcon-0.2.6/src/big5decoder.h:32:22: style: The function 'IsCode2' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:31:22: note: Virtual function in base class zhcon-0.2.6/src/big5decoder.h:32:22: note: Function in derived class zhcon-0.2.6/src/big5decoder.h:33:22: style: The function 'IsCode1' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:32:22: note: Virtual function in base class zhcon-0.2.6/src/big5decoder.h:33:22: note: Function in derived class zhcon-0.2.6/src/big5decoder.h:34:30: style: The function 'Index' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:33:30: note: Virtual function in base class zhcon-0.2.6/src/big5decoder.h:34:30: note: Function in derived class zhcon-0.2.6/src/gb2big5decoder.h:31:10: style: The destructor '~GB2BIG5Decoder' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/gbdecoder.h:31:10: note: Virtual destructor in base class zhcon-0.2.6/src/gb2big5decoder.h:31:10: note: Destructor in derived class zhcon-0.2.6/src/gb2big5decoder.h:32:30: style: The function 'Index' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/gbdecoder.h:35:30: note: Virtual function in base class zhcon-0.2.6/src/gb2big5decoder.h:32:30: note: Function in derived class zhcon-0.2.6/src/big52gbdecoder.h:31:10: style: The destructor '~BIG52GBDecoder' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/big5decoder.h:31:10: note: Virtual destructor in base class zhcon-0.2.6/src/big52gbdecoder.h:31:10: note: Destructor in derived class zhcon-0.2.6/src/big52gbdecoder.h:32:30: style: The function 'Index' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/big5decoder.h:34:30: note: Virtual function in base class zhcon-0.2.6/src/big52gbdecoder.h:32:30: note: Function in derived class zhcon-0.2.6/src/jisdecoder.h:31:10: style: The destructor '~JISDecoder' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:29:18: note: Virtual destructor in base class zhcon-0.2.6/src/jisdecoder.h:31:10: note: Destructor in derived class zhcon-0.2.6/src/jisdecoder.h:33:22: style: The function 'IsCode2' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:31:22: note: Virtual function in base class zhcon-0.2.6/src/jisdecoder.h:33:22: note: Function in derived class zhcon-0.2.6/src/jisdecoder.h:34:22: style: The function 'IsCode1' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:32:22: note: Virtual function in base class zhcon-0.2.6/src/jisdecoder.h:34:22: note: Function in derived class zhcon-0.2.6/src/jisdecoder.h:35:30: style: The function 'Index' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:33:30: note: Virtual function in base class zhcon-0.2.6/src/jisdecoder.h:35:30: note: Function in derived class zhcon-0.2.6/src/kscdecoder.h:31:10: style: The destructor '~KSCDecoder' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:29:18: note: Virtual destructor in base class zhcon-0.2.6/src/kscdecoder.h:31:10: note: Destructor in derived class zhcon-0.2.6/src/kscdecoder.h:33:22: style: The function 'IsCode2' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:31:22: note: Virtual function in base class zhcon-0.2.6/src/kscdecoder.h:33:22: note: Function in derived class zhcon-0.2.6/src/kscdecoder.h:34:22: style: The function 'IsCode1' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:32:22: note: Virtual function in base class zhcon-0.2.6/src/kscdecoder.h:34:22: note: Function in derived class zhcon-0.2.6/src/kscdecoder.h:35:30: style: The function 'Index' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] zhcon-0.2.6/src/hzdecoder.h:33:30: note: Virtual function in base class zhcon-0.2.6/src/kscdecoder.h:35:30: note: Function in derived class zhcon-0.2.6/src/zhcon.cpp:265:27: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/src/zhcon.cpp:538:28: style: Local variable 'e' shadows outer argument [shadowArgument] zhcon-0.2.6/src/zhcon.cpp:467:30: note: Shadowed declaration zhcon-0.2.6/src/zhcon.cpp:538:28: note: Shadow variable zhcon-0.2.6/src/zhcon.cpp:193:34: style: Parameter 'evt' can be declared as reference to const [constParameterReference] zhcon-0.2.6/src/zhcon.cpp:538:28: style: Variable 'e' can be declared as reference to const [constVariableReference] zhcon-0.2.6/src/zhcon.cpp:375:11: style: Variable 'TtyName' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/src/zhcon.cpp:749:11: style: Variable 'TtyName' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/src/zhcon.cpp:700:10: error: Uninitialized variable: r [uninitvar] zhcon-0.2.6/src/zhcon.cpp:691:10: style: Variable 'r' is not assigned a value. [unassignedVariable] zhcon-0.2.6/tools/uc2win.cpp:82:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] zhcon-0.2.6/tools/uc2win.cpp:102:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] zhcon-0.2.6/tools/uc2win.cpp:111:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] zhcon-0.2.6/tools/uc2win.cpp:40:5: performance: Variable 'mText' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] zhcon-0.2.6/tools/uc2win.cpp:41:5: performance: Variable 'mCode' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] zhcon-0.2.6/tools/uc2win.cpp:119:0: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/uc2win.cpp:65:26: style: Parameter 's' can be declared as reference to const [constParameterReference] zhcon-0.2.6/tools/uc2win.cpp:100:39: style: Parameter 'o' can be declared as reference to const [constParameterReference] zhcon-0.2.6/tools/uc2win.cpp:100:49: style: Parameter 'v' can be declared as reference to const [constParameterReference] zhcon-0.2.6/tools/uc2win.cpp:143:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] zhcon-0.2.6/tools/win2mb.cpp:106:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] zhcon-0.2.6/tools/win2mb.cpp:204:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cin [valueFlowBailoutIncompleteVar] zhcon-0.2.6/tools/win2mb.cpp:49:5: performance: Variable 'mText' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] zhcon-0.2.6/tools/win2mb.cpp:50:5: performance: Variable 'mCode' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] zhcon-0.2.6/tools/win2mb.cpp:158:23: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/win2mb.cpp:159:29: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/win2mb.cpp:176:27: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/win2mb.cpp:180:31: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/win2mb.cpp:188:15: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/win2mb.cpp:190:15: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/win2mb.cpp:191:15: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/win2mb.cpp:198:16: style: C-style pointer casting [cstyleCast] zhcon-0.2.6/tools/win2mb.cpp:173:13: style: The scope of the variable 'i' can be reduced. [variableScope] zhcon-0.2.6/tools/win2mb.cpp:121:6: style: Label 'skip' is not used. [unusedLabel] zhcon-0.2.6/tools/win2mb.cpp:74:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/tools/win2mb.cpp:79:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/tools/win2mb.cpp:123:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] zhcon-0.2.6/tools/win2mb.cpp:163:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] zhcon-0.2.6/tools/win2mb.cpp:169:43: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] zhcon-0.2.6/tools/win2mb.cpp:192:57: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] zhcon-0.2.6/tools/uc2win.cpp:30:1: error: The one definition rule is violated, different classes/structs have the same name 'Word' [ctuOneDefinitionRuleViolation] zhcon-0.2.6/tools/win2mb.cpp:37:1: note: The one definition rule is violated, different classes/structs have the same name 'Word' zhcon-0.2.6/tools/uc2win.cpp:30:1: note: The one definition rule is violated, different classes/structs have the same name 'Word' diff: DONE