2026-05-01 06:43 ftp://ftp.de.debian.org/debian/pool/main/b/buici-clock/buici-clock_0.4.9.4.2021+git20210423.e6fed84+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=cairo --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 0fda84e (2026-05-01 02:32:52 +0200) count: 420 367 elapsed-time: 1.4 1.2 head-timing-info: old-timing-info: head results: buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:153:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LWindow [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:397:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:492:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCGraphicsExposures [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:657:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buici_width [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:792:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:820:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:858:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShapeBounding [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:870:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:901:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PseudoColor [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:258:26: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:259:26: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:161:8: style:inconclusive: Either there is a missing 'override', or the member function 'WTopLevel::is_expose' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:147:3: style: Class 'WTopLevel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:148:3: style: Class 'WTopLevel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:665:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rgb [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:663:40: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:663:20: note: Assignment 'rgb=(unsigned char*)malloc(cbRowDst*dy)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:665:11: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:666:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rgbGray [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:664:44: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:664:24: note: Assignment 'rgbGray=(unsigned char*)malloc(cbRowDst*dy)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:666:11: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:663:20: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:664:24: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:697:12: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:705:12: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:812:43: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:971:24: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:153:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:888:7: style: The scope of the variable 'x' can be reduced. [variableScope] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:889:7: style: The scope of the variable 'y' can be reduced. [variableScope] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:890:16: style: The scope of the variable 'dx' can be reduced. [variableScope] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:891:16: style: The scope of the variable 'dy' can be reduced. [variableScope] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:244:27: style:inconclusive: Function 'calc_delta' argument 1 names different: declaration '' definition 'timeNow'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:156:34: style:inconclusive: Function 'buttondown' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:158:45: style:inconclusive: Function 'compute_segment' argument 5 names different: declaration 'width' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:160:30: style:inconclusive: Function 'expose' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:780:15: style:inconclusive: Function 'render_line' argument 6 names different: declaration 'width' definition 'line_width_fraction'. [funcArgNamesDifferent] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:168:42: note: Function 'render_line' argument 6 names different: declaration 'width' definition 'line_width_fraction'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:780:15: note: Function 'render_line' argument 6 names different: declaration 'width' definition 'line_width_fraction'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:103:34: style:inconclusive: Function 'signal_alarm' argument 1 names different: declaration 'handle' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:680:9: style: Local variable 'y' shadows outer variable [shadowVariable] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:659:7: note: Shadowed declaration buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:680:9: note: Shadow variable buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:677:11: style: Local variable 'x' shadows outer variable [shadowVariable] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:658:7: note: Shadowed declaration buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:677:11: note: Shadow variable buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:751:13: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:752:13: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] buici-clock-0.4.9.4.2021+git20210423.e6fed84/draw.cc:43:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/draw.cc:235:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_CLEAR [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/draw.cc:346:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_CLEAR [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/main.cxx:85:57: style:inconclusive: Function 'do_unrecognized' argument 2 names different: declaration '' definition 'pch'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:95:21: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:96:21: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:97:21: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:98:21: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:372:3: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:375:3: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:378:3: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:381:3: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:124:67: style:inconclusive: Function 'parse_options' argument 4 names different: declaration 'argc_used' definition 'pargc_used'. [funcArgNamesDifferent] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.h:83:67: note: Function 'parse_options' argument 4 names different: declaration 'argc_used' definition 'pargc_used'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:124:67: note: Function 'parse_options' argument 4 names different: declaration 'argc_used' definition 'pargc_used'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:335:65: style:inconclusive: Function 'eval_option' argument 4 names different: declaration 'pOptions' definition 'pOption'. [funcArgNamesDifferent] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:85:12: note: Function 'eval_option' argument 4 names different: declaration 'pOptions' definition 'pOption'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:335:65: note: Function 'eval_option' argument 4 names different: declaration 'pOptions' definition 'pOption'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:98:9: style: Variable 'pchDot' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:230:29: style: Parameter 'pOption' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:272:29: style: Parameter 'pch' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/options.cxx:98:19: style: Variable 'pchDot' is assigned a value that is never used. [unreadVariable] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:134:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:194:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:230:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:138:7: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:215:20: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:263:12: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:130:60: style:inconclusive: Function 'accept' argument 3 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:131:12: style:inconclusive: Function 'accept' argument 4 names different: declaration '' definition 'rank'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:131:22: style:inconclusive: Function 'accept' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.h:62:26: style:inconclusive: Function 'block' argument 1 names different: declaration 'signal' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:227:61: style:inconclusive: Function 'release' argument 3 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.h:63:28: style:inconclusive: Function 'unblock' argument 1 names different: declaration 'signal' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:227:61: style: Parameter 'pv' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:197:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWBackPixel [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:200:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWBitGravity [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:203:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWOverrideRedirect [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_cbInstance [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:57:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_cbInstance [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_cbInstance [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:111:5: error: Using 'memset' on class that contains a virtual function. [memsetClass] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:67:5: error: Using 'memset' on class that contains a virtual function. [memsetClass] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:63:5: error: Using 'memset' on class that contains a virtual function. [memsetClass] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:74:5: error: Using 'memset' on class that contains a virtual function. [memsetClass] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:62:3: warning: Member variable 'WButton::m_foreground' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:62:3: warning: Member variable 'WButton::m_background' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:62:3: warning: Member variable 'WButton::m_highlight' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:62:3: warning: Member variable 'WButton::m_fPress' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:62:3: warning: Member variable 'WButton::m_fOutOfWindow' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:58:3: warning: Member variable 'WDialog::m_unitWidth' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:58:3: warning: Member variable 'WDialog::m_unitHeight' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:58:3: warning: Member variable 'WDialog::m_pNodeResource' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: warning: Member variable 'WTextEdit::m_foreground' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: warning: Member variable 'WTextEdit::m_background' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: warning: Member variable 'WTextEdit::m_highlight' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: warning: Member variable 'WTextEdit::m_sz' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: warning: Member variable 'WTextEdit::m_cchLim' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: warning: Member variable 'WTextEdit::m_cchMax' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: warning: Member variable 'WTextEdit::m_widthString' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: warning: Member variable 'WTextEdit::m_fFocus' is not initialized in the constructor. [uninitMemberVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.h:78:7: style:inconclusive: Technically the member function 'LArray::count_each' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.h:69:8: style:inconclusive: Technically the member function 'LHashBucket::is_init' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.h:71:8: style:inconclusive: Technically the member function 'LHashBucket::get_count' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.h:73:11: style:inconclusive: Technically the member function 'LHashBucket::get_key' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.h:95:8: style:inconclusive: Technically the member function 'LHashTable::is_init' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.h:102:7: style:inconclusive: Technically the member function 'LHashTable::bucket_of' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.h:115:12: style:inconclusive: Technically the member function 'LDisplay::colormap' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.h:121:7: style:inconclusive: Technically the member function 'LDisplay::depth' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.h:127:7: style:inconclusive: Technically the member function 'LDisplay::pad' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.h:160:7: style:inconclusive: Technically the member function 'LDisplay::shift_red' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.h:162:7: style:inconclusive: Technically the member function 'LDisplay::shift_green' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.h:164:7: style:inconclusive: Technically the member function 'LDisplay::shift_blue' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:155:7: style:inconclusive: Technically the member function 'LWindow::height' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:159:11: style:inconclusive: Technically the member function 'LWindow::id' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:165:15: style:inconclusive: Technically the member function 'LWindow::text' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:167:7: style:inconclusive: Technically the member function 'LWindow::width' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:169:10: style:inconclusive: Technically the member function 'LWindow::window' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:65:8: style: The member function 'WButton::release_this' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:61:8: style: The member function 'WDialog::release_this' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:72:8: style: The member function 'WTextEdit::release_this' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:79:15: style:inconclusive: Technically the member function 'WTextEdit::text' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:65:8: warning: The class 'WButton' defines member function with name 'release_this' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:109:8: note: Parent function 'LWindow::release_this' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:65:8: note: Derived function 'WButton::release_this' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:66:8: warning: The class 'WButton' defines member function with name 'zero' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:110:8: note: Parent function 'LWindow::zero' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:66:8: note: Derived function 'WButton::zero' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:61:8: warning: The class 'WDialog' defines member function with name 'release_this' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:109:8: note: Parent function 'LWindow::release_this' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:61:8: note: Derived function 'WDialog::release_this' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:62:8: warning: The class 'WDialog' defines member function with name 'zero' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:110:8: note: Parent function 'LWindow::zero' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:62:8: note: Derived function 'WDialog::zero' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:72:8: warning: The class 'WTextEdit' defines member function with name 'release_this' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:109:8: note: Parent function 'LWindow::release_this' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:72:8: note: Derived function 'WTextEdit::release_this' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:73:8: warning: The class 'WTextEdit' defines member function with name 'zero' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:110:8: note: Parent function 'LWindow::zero' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:73:8: note: Derived function 'WTextEdit::zero' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:79:15: warning: The class 'WTextEdit' defines member function with name 'text' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:165:15: note: Parent function 'LWindow::text' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:79:15: note: Derived function 'WTextEdit::text' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:81:8: warning: The class 'WTextEdit' defines member function with name 'text' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:142:8: note: Parent function 'LWindow::text' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:81:8: note: Derived function 'WTextEdit::text' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.h:59:3: style: Class 'LArray' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.h:58:3: style: Class 'LHashBucket' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:100:3: style: Class 'LWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:102:3: style: Class 'LWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:60:3: style: Class 'WButton' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:62:3: style: Class 'WButton' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:56:3: style: Class 'WDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:58:3: style: Class 'WDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:67:3: style: Class 'WTextEdit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:69:3: style: Class 'WTextEdit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/classes.cxx:45:3: style: Class 'WTopLevel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:63:4: style: The destructor '~WButton' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:104:12: note: Virtual destructor in base class buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:63:4: note: Destructor in derived class buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:59:4: style: The destructor '~WDialog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:104:12: note: Virtual destructor in base class buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:59:4: note: Destructor in derived class buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:70:4: style: The destructor '~WTextEdit' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:104:12: note: Virtual destructor in base class buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:70:4: note: Destructor in derived class buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.h:52:21: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.h:54:14: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.h:54:35: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.h:74:21: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:135:17: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:67:14: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:63:14: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:74:14: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/classes.cxx:82:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/classes.cxx:68:31: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:183:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:62:13: style:inconclusive: Technically the member function 'LDither::dither' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:64:13: style: The member function 'LDither::dither_red' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:66:13: style: The member function 'LDither::dither_green' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:68:13: style: The member function 'LDither::dither_blue' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:70:7: style:inconclusive: Technically the member function 'LDither::levels' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:229:14: style: The member function 'LDither::matrix_value' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:72:7: note: The member function 'LDither::matrix_value' can be static. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:229:14: note: The member function 'LDither::matrix_value' can be static. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:85:7: style:inconclusive: Technically the member function 'LDither::color_index' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:98:7: style:inconclusive: Technically the member function 'LDither::colors' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:203:11: warning: If memory allocation fails, then there is a possible null pointer dereference: m_rgRGB [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:31: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:13: note: Assignment 'm_rgRGB=(struct RGBQUAD*)malloc(m_cColors*sizeof(struct RGBQUAD))', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:203:11: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:211:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rgRGB [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:31: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:13: note: Assignment 'm_rgRGB=(struct RGBQUAD*)malloc(m_cColors*sizeof(struct RGBQUAD))', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:205:20: note: Assignment 'rgRGB=(struct RGBQUAD*)m_rgRGB', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:211:2: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:212:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rgRGB [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:31: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:13: note: Assignment 'm_rgRGB=(struct RGBQUAD*)malloc(m_cColors*sizeof(struct RGBQUAD))', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:205:20: note: Assignment 'rgRGB=(struct RGBQUAD*)m_rgRGB', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:212:2: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:213:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rgRGB [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:31: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:13: note: Assignment 'm_rgRGB=(struct RGBQUAD*)malloc(m_cColors*sizeof(struct RGBQUAD))', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:205:20: note: Assignment 'rgRGB=(struct RGBQUAD*)m_rgRGB', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:213:2: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:118:15: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:123:9: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:202:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:205:20: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:144:19: style: The scope of the variable 'd' can be reduced. [variableScope] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:195:25: style: The scope of the variable 'i' can be reduced. [variableScope] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:140:27: style:inconclusive: Function 'dither' argument 1 names different: declaration 'x' definition 'xOrg'. [funcArgNamesDifferent] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:88:20: note: Function 'dither' argument 1 names different: declaration 'x' definition 'xOrg'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:140:27: note: Function 'dither' argument 1 names different: declaration 'x' definition 'xOrg'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:140:37: style:inconclusive: Function 'dither' argument 2 names different: declaration 'y' definition 'yOrg'. [funcArgNamesDifferent] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.h:88:27: note: Function 'dither' argument 2 names different: declaration 'y' definition 'yOrg'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:140:37: note: Function 'dither' argument 2 names different: declaration 'y' definition 'yOrg'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:145:17: style: Variable 'pMatrix' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:51:9: style: struct member 'HDR_DIBFILE::bfSize' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:52:9: style: struct member 'HDR_DIBFILE::bfReserved1' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:53:9: style: struct member 'HDR_DIBFILE::bfReserved2' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:54:9: style: struct member 'HDR_DIBFILE::bfOffBits' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:58:9: style: struct member 'HDR_DIB::biSize' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:59:9: style: struct member 'HDR_DIB::biWidth' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:60:9: style: struct member 'HDR_DIB::biHeight' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:61:9: style: struct member 'HDR_DIB::biPlanes' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:62:9: style: struct member 'HDR_DIB::biBitCount' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:63:9: style: struct member 'HDR_DIB::biCompression' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:64:9: style: struct member 'HDR_DIB::biSizeImage' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:65:9: style: struct member 'HDR_DIB::biXPelsPerMeter' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:66:9: style: struct member 'HDR_DIB::biYPelsPerMeter' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:67:9: style: struct member 'HDR_DIB::biClrUsed' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dither.cxx:68:9: style: struct member 'HDR_DIB::biClrImportant' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:99:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:117:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:142:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:166:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:189:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:263:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:240:3: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:114:35: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:195:28: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:198:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:199:6: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:216:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:218:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:221:23: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:226:19: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:114:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:226:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:245:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:245:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:254:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:254:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:76:28: style:inconclusive: Function 'operatornew' argument 1 names different: declaration '' definition 'cb'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:76:44: style:inconclusive: Function 'operatornew' argument 2 names different: declaration '' definition 'szModule'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:76:58: style:inconclusive: Function 'operatornew' argument 3 names different: declaration '' definition 'iLine'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:81:29: style:inconclusive: Function 'operatordelete' argument 1 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:139:50: style:inconclusive: Function '_calloc_' argument 3 names different: declaration '' definition 'szModule'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:139:64: style:inconclusive: Function '_calloc_' argument 4 names different: declaration '' definition 'iLine'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:163:40: style:inconclusive: Function '_malloc_' argument 2 names different: declaration '' definition 'szModule'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:163:54: style:inconclusive: Function '_malloc_' argument 3 names different: declaration '' definition 'iLine'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:186:24: style:inconclusive: Function '_realloc_' argument 1 names different: declaration 'pv' definition 'pvOld'. [funcArgNamesDifferent] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.h:46:24: note: Function '_realloc_' argument 1 names different: declaration 'pv' definition 'pvOld'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:186:24: note: Function '_realloc_' argument 1 names different: declaration 'pv' definition 'pvOld'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:186:54: style:inconclusive: Function '_realloc_' argument 3 names different: declaration '' definition 'szModule'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:186:68: style:inconclusive: Function '_realloc_' argument 4 names different: declaration '' definition 'iLine'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.cxx:297:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.cxx:298:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.cxx:166:28: style:inconclusive: Function 'attach' argument 1 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.cxx:283:35: style:inconclusive: Function 'insert' argument 1 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.cxx:184:14: style: Variable 'pvElement' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:65:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MappingKeyboard [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:112:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:188:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PseudoColor [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:246:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCLastBit [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:37:25: style:inconclusive: Technically the member function 'LDisplay::color_distance' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.h:112:17: note: Technically the member function 'LDisplay::color_distance' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:37:25: note: Technically the member function 'LDisplay::color_distance' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:192:13: warning: If memory allocation fails, then there is a possible null pointer dereference: rgColor [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:40: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:23: note: Assignment 'rgColor=(XColor*)malloc(sizeof(XColor)*cColors)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:192:13: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:194:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rgColor [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:40: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:23: note: Assignment 'rgColor=(XColor*)malloc(sizeof(XColor)*cColors)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:194:7: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:195:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rgColor [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:40: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:23: note: Assignment 'rgColor=(XColor*)malloc(sizeof(XColor)*cColors)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:195:7: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:201:55: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: rgColor [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:40: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:23: note: Assignment 'rgColor=(XColor*)malloc(sizeof(XColor)*cColors)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:201:55: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:66:30: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:191:23: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:280:8: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:183:12: style: Local variable 'colormap' shadows outer function [shadowFunction] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.h:115:12: note: Shadowed declaration buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/ldisplay.cxx:183:12: note: Shadow variable buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lfont.cxx:77:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:74:10: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:74:45: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:139:9: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:178:17: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:189:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:203:9: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:211:9: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:275:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:276:16: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:287:9: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:42:32: style:inconclusive: Function 'add' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:42:49: style:inconclusive: Function 'add' argument 2 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:67:33: style:inconclusive: Function '_find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:80:33: style:inconclusive: Function 'find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:80:44: style:inconclusive: Function 'find' argument 2 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:89:34: style:inconclusive: Function 'find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:98:29: style:inconclusive: Function 'init' argument 1 names different: declaration '' definition 'cbEach'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:117:35: style:inconclusive: Function 'remove' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:136:31: style:inconclusive: Function 'add' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:136:48: style:inconclusive: Function 'add' argument 2 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:200:33: style:inconclusive: Function 'find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:208:32: style:inconclusive: Function 'find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:208:43: style:inconclusive: Function 'find' argument 2 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:216:28: style:inconclusive: Function 'init' argument 1 names different: declaration '' definition 'cbEach'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:216:40: style:inconclusive: Function 'init' argument 2 names different: declaration '' definition 'cBuckets'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:227:50: style:inconclusive: Function 'make_string_key' argument 1 names different: declaration '' definition 'sz'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:233:50: style:inconclusive: Function 'make_string_key' argument 1 names different: declaration '' definition 'sz'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:233:58: style:inconclusive: Function 'make_string_key' argument 2 names different: declaration '' definition 'cch'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:249:55: style:inconclusive: Function 'make_case_string_key' argument 1 names different: declaration '' definition 'sz'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:255:55: style:inconclusive: Function 'make_case_string_key' argument 1 names different: declaration '' definition 'sz'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:255:63: style:inconclusive: Function 'make_case_string_key' argument 2 names different: declaration '' definition 'cch'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:284:34: style:inconclusive: Function 'remove' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:148:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:191:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_PRIVATE [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:300:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:84:5: error: Using 'memset' on class that contains a virtual function. [memsetClass] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/stats.h:70:8: style:inconclusive: Technically the member function 'LStatistics::samples' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/stats.h:72:7: style:inconclusive: Technically the member function 'LStatistics::count' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:83:8: warning: The class 'WTopLevel' defines member function with name 'zero' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:110:8: note: Parent function 'LWindow::zero' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:83:8: note: Derived function 'WTopLevel::zero' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:81:3: style: Class 'WTopLevel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:82:3: style: Class 'WTopLevel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:240:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pbSrc [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:239:33: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:239:13: note: Assignment 'pbSrc=(unsigned char*)malloc(height*cbRowSrc)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:240:13: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:84:14: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:194:9: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:194:26: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:200:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:203:28: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:211:22: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:234:24: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:239:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:241:22: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:226:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:260:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:220:11: style: Variable 'rgb' can be declared as reference to const [constVariableReference] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:254:11: style: Variable 'rgb' can be declared as reference to const [constVariableReference] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:69:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:128:7: style: Condition 'm_pvMap' is always true [knownConditionTrueFalse] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:80:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:81:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:87:42: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:88:38: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:101:10: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:108:7: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:108:34: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:123:33: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:125:33: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:87:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:88:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:100:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:123:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:87:16: style: Variable 'hdrFile' can be declared as reference to const [constVariableReference] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:53:14: style: struct member 'HDR_DIB::biSize' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:58:14: style: struct member 'HDR_DIB::biCompression' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:59:14: style: struct member 'HDR_DIB::biSizeImage' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:60:14: style: struct member 'HDR_DIB::biXPelsPerMeter' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:61:14: style: struct member 'HDR_DIB::biYPelsPerMeter' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:62:14: style: struct member 'HDR_DIB::biClrUsed' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lpicture.cxx:63:14: style: struct member 'HDR_DIB::biClrImportant' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWColormap [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:216:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNegative [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:415:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:85:10: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:88:10: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:97:10: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:132:10: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:310:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:314:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:318:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:339:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:343:17: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:344:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:347:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:355:18: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:356:13: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:363:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:369:14: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:370:11: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:416:23: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:157:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:186:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:189:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:192:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:195:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:302:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:381:36: style:inconclusive: Function 'net_window_type' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:213:16: style: Local variable 'width' shadows outer function [shadowFunction] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:167:7: note: Shadowed declaration buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:213:16: note: Shadow variable buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:214:16: style: Local variable 'height' shadows outer function [shadowFunction] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:155:7: note: Shadowed declaration buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:214:16: note: Shadow variable buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:174:18: style: Variable 'pMap' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:283:56: style: Parameter 'rgArgs' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.h:87:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWBackPixel [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.h:91:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWBitGravity [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.cxx:64:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWEventMask [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.h:72:8: style: The member function 'LWindowClass::release_this' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.cxx:61:11: warning: If memory allocation fails, then there is a possible null pointer dereference: m_szName [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.cxx:60:29: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.cxx:60:14: note: Assignment 'm_szName=(char*)malloc(strlen(szName)+1)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.cxx:61:11: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.cxx:60:14: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.cxx:38:47: style: Parameter 'szName' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindowclass.cxx:47:42: style: Parameter 'szName' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/main.cxx:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/main.cxx:68:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_fNoOrnaments [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:187:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTEGER [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:195:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REAL [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:203:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRING [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVOCATION [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:236:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVOCATION [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:281:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVOCATION [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:350:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:169:16: style:inconclusive: Technically the member function 'LResNode::is_invocation' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lres.h:84:5: note: Technically the member function 'LResNode::is_invocation' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:169:16: note: Technically the member function 'LResNode::is_invocation' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:185:16: style:inconclusive: Technically the member function 'LResNode::integer' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lres.h:90:8: note: Technically the member function 'LResNode::integer' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:185:16: note: Technically the member function 'LResNode::integer' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:193:16: style:inconclusive: Technically the member function 'LResNode::real' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lres.h:91:8: note: Technically the member function 'LResNode::real' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:193:16: note: Technically the member function 'LResNode::real' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:201:16: style:inconclusive: Technically the member function 'LResNode::string' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lres.h:92:8: note: Technically the member function 'LResNode::string' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:201:16: note: Technically the member function 'LResNode::string' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:278:7: style: Condition '!this' is always false [knownConditionTrueFalse] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:66:20: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:76:15: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:254:34: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:340:40: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:346:3: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:351:26: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:351:51: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:254:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:340:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:201:31: style:inconclusive: Function 'string' argument 1 names different: declaration 'sz' definition 'psz'. [funcArgNamesDifferent] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lres.h:92:23: note: Function 'string' argument 1 names different: declaration 'sz' definition 'psz'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:201:31: note: Function 'string' argument 1 names different: declaration 'sz' definition 'psz'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:60:38: style: Parameter 'pv' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/res.cxx:162:22: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/stats.cxx:122:13: style:inconclusive: Technically the member function 'LTime::delta' can be const. [functionConst] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/stats.h:93:8: note: Technically the member function 'LTime::delta' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/stats.cxx:122:13: note: Technically the member function 'LTime::delta' can be const. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/stats.cxx:90:32: style:inconclusive: Function 'sample' argument 1 names different: declaration 'l' definition 'sample'. [funcArgNamesDifferent] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/stats.h:68:21: note: Function 'sample' argument 1 names different: declaration 'l' definition 'sample'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/stats.cxx:90:32: note: Function 'sample' argument 1 names different: declaration 'l' definition 'sample'. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.cxx:142:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.cxx:78:15: style: The member function 'WButton::createself' can be static. [functionStatic] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:55:8: note: The member function 'WButton::createself' can be static. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.cxx:78:15: note: The member function 'WButton::createself' can be static. buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:55:45: style:inconclusive: Function 'createself' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.cxx:148:16: style: Variable 'pFont' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:267:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:70:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:67:20: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:67:20: note: Assignment 'fp=fopen(szFileResource,"r")', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:70:11: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:49:52: style:inconclusive: Function 'create_pushbutton' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:50:52: style:inconclusive: Function 'create_textedit' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:62:56: style: Parameter 'szFileResource' can be declared as pointer to const [constParameterPointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:91:11: style: Variable 'sz' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:134:11: style: Variable 'sz' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:164:11: style: Variable 'sz' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:222:11: style: Variable 'sz' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:45:7: style: struct member 'DIALOG_INFO::id' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:46:7: style: struct member 'DIALOG_INFO::unitWidth' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:47:7: style: struct member 'DIALOG_INFO::unitHeight' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.cxx:48:13: style: struct member 'DIALOG_INFO::pNodeResource' is never used. [unusedStructMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:115:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:137:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unsorted [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:229:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:270:17: warning: The class 'WTextEdit' defines member function with name 'text' also defined in its parent class 'LWindow'. [duplInheritedMember] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.h:142:8: note: Parent function 'LWindow::text' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:270:17: note: Derived function 'WTextEdit::text' buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:86:4: warning: If memory allocation fails, then there is a possible null pointer dereference: m_sz [nullPointerOutOfMemory] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:84:25: note: Assuming allocation function fails buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:84:10: note: Assignment 'm_sz=(char*)malloc(m_cchMax=1024)', assigned value is 0 buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:86:4: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:254:18: warning: Either the condition 'pFont' is redundant or there is possible null pointer dereference: pFont. [nullPointerRedundantCheck] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:236:7: note: Assuming that condition 'pFont' is not redundant buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:254:18: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:254:34: warning: Either the condition 'pFont' is redundant or there is possible null pointer dereference: pFont. [nullPointerRedundantCheck] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:236:7: note: Assuming that condition 'pFont' is not redundant buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:254:34: note: Null pointer dereference buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:84:10: style: C-style pointer casting [cstyleCast] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:58:45: style:inconclusive: Function 'createself' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:62:39: style:inconclusive: Function 'keyrelease' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:74:43: style: Parameter 'pEvent' can be declared as pointer to const. However it seems that 'buttondown' is a callback function, if 'pEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:61:41: note: You might need to cast the function pointer here buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:74:43: note: Parameter 'pEvent' can be declared as pointer to const buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:78:41: style: Parameter 'pEvent' can be declared as pointer to const. However it seems that 'buttonup' is a callback function, if 'pEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:62:43: note: You might need to cast the function pointer here buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:78:41: note: Parameter 'pEvent' can be declared as pointer to const buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:91:16: style: Variable 'pFont' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:106:16: style: Variable 'pFont' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:118:41: style: Parameter 'pEvent' can be declared as pointer to const. However it seems that 'focusin' is a callback function, if 'pEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:69:38: note: You might need to cast the function pointer here buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:118:41: note: Parameter 'pEvent' can be declared as pointer to const buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:122:43: style: Parameter 'pEvent' can be declared as pointer to const. However it seems that 'focusout' is a callback function, if 'pEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:70:39: note: You might need to cast the function pointer here buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:122:43: note: Parameter 'pEvent' can be declared as pointer to const buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.cxx:235:16: style: Variable 'pFont' can be declared as pointer to const [constVariablePointer] buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:113:1: error: The one definition rule is violated, different classes/structs have the same name 'WTopLevel' [ctuOneDefinitionRuleViolation] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/classes.cxx:43:1: note: The one definition rule is violated, different classes/structs have the same name 'WTopLevel' buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:113:1: note: The one definition rule is violated, different classes/structs have the same name 'WTopLevel' buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:113:1: error: The one definition rule is violated, different classes/structs have the same name 'WTopLevel' [ctuOneDefinitionRuleViolation] buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/loupe.cxx:72:1: note: The one definition rule is violated, different classes/structs have the same name 'WTopLevel' buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:113:1: note: The one definition rule is violated, different classes/structs have the same name 'WTopLevel' diff: head buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:103:34: style:inconclusive: Function 'signal_alarm' argument 1 names different: declaration 'handle' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:156:34: style:inconclusive: Function 'buttondown' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:158:45: style:inconclusive: Function 'compute_segment' argument 5 names different: declaration 'width' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:160:30: style:inconclusive: Function 'expose' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/clock.cxx:244:27: style:inconclusive: Function 'calc_delta' argument 1 names different: declaration '' definition 'timeNow'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/main.cxx:85:57: style:inconclusive: Function 'do_unrecognized' argument 2 names different: declaration '' definition 'pch'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:130:60: style:inconclusive: Function 'accept' argument 3 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:131:12: style:inconclusive: Function 'accept' argument 4 names different: declaration '' definition 'rank'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:131:22: style:inconclusive: Function 'accept' argument 5 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.cxx:227:61: style:inconclusive: Function 'release' argument 3 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.h:62:26: style:inconclusive: Function 'block' argument 1 names different: declaration 'signal' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/signal.h:63:28: style:inconclusive: Function 'unblock' argument 1 names different: declaration 'signal' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:139:50: style:inconclusive: Function '_calloc_' argument 3 names different: declaration '' definition 'szModule'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:139:64: style:inconclusive: Function '_calloc_' argument 4 names different: declaration '' definition 'iLine'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:163:40: style:inconclusive: Function '_malloc_' argument 2 names different: declaration '' definition 'szModule'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:163:54: style:inconclusive: Function '_malloc_' argument 3 names different: declaration '' definition 'iLine'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:186:54: style:inconclusive: Function '_realloc_' argument 3 names different: declaration '' definition 'szModule'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:186:68: style:inconclusive: Function '_realloc_' argument 4 names different: declaration '' definition 'iLine'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:76:28: style:inconclusive: Function 'operatornew' argument 1 names different: declaration '' definition 'cb'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:76:44: style:inconclusive: Function 'operatornew' argument 2 names different: declaration '' definition 'szModule'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:76:58: style:inconclusive: Function 'operatornew' argument 3 names different: declaration '' definition 'iLine'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/dmalloc.cxx:81:29: style:inconclusive: Function 'operatordelete' argument 1 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.cxx:166:28: style:inconclusive: Function 'attach' argument 1 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/larray.cxx:283:35: style:inconclusive: Function 'insert' argument 1 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:117:35: style:inconclusive: Function 'remove' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:136:31: style:inconclusive: Function 'add' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:136:48: style:inconclusive: Function 'add' argument 2 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:200:33: style:inconclusive: Function 'find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:208:32: style:inconclusive: Function 'find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:208:43: style:inconclusive: Function 'find' argument 2 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:216:28: style:inconclusive: Function 'init' argument 1 names different: declaration '' definition 'cbEach'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:216:40: style:inconclusive: Function 'init' argument 2 names different: declaration '' definition 'cBuckets'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:227:50: style:inconclusive: Function 'make_string_key' argument 1 names different: declaration '' definition 'sz'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:233:50: style:inconclusive: Function 'make_string_key' argument 1 names different: declaration '' definition 'sz'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:233:58: style:inconclusive: Function 'make_string_key' argument 2 names different: declaration '' definition 'cch'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:249:55: style:inconclusive: Function 'make_case_string_key' argument 1 names different: declaration '' definition 'sz'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:255:55: style:inconclusive: Function 'make_case_string_key' argument 1 names different: declaration '' definition 'sz'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:255:63: style:inconclusive: Function 'make_case_string_key' argument 2 names different: declaration '' definition 'cch'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:284:34: style:inconclusive: Function 'remove' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:42:32: style:inconclusive: Function 'add' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:42:49: style:inconclusive: Function 'add' argument 2 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:67:33: style:inconclusive: Function '_find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:80:33: style:inconclusive: Function 'find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:80:44: style:inconclusive: Function 'find' argument 2 names different: declaration '' definition 'pv'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:89:34: style:inconclusive: Function 'find' argument 1 names different: declaration '' definition 'key'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lhash.cxx:98:29: style:inconclusive: Function 'init' argument 1 names different: declaration '' definition 'cbEach'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:283:56: style: Parameter 'rgArgs' can be declared as pointer to const [constParameterPointer] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/lwindow.cxx:381:36: style:inconclusive: Function 'net_window_type' argument 1 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wbutton.h:55:45: style:inconclusive: Function 'createself' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:49:52: style:inconclusive: Function 'create_pushbutton' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wdialog.h:50:52: style:inconclusive: Function 'create_textedit' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:58:45: style:inconclusive: Function 'createself' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] head buici-clock-0.4.9.4.2021+git20210423.e6fed84/xo/wtext.h:62:39: style:inconclusive: Function 'keyrelease' argument 1 names different: declaration 'pEvent' definition ''. [funcArgNamesDifferentUnnamed] DONE