2025-08-31 00:14 ftp://ftp.de.debian.org/debian/pool/main/g/gcin/gcin_2.9.4+dfsg1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=gtk --library=libcurl --library=qt --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 254 2874 elapsed-time: 1.0 3.6 head-timing-info: old-timing-info: head results: gcin-2.9.4/gcin-gtk-compatible.h:1:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gcin-gtk-compatible.h:1:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/IMdkit/lib/IMConn.c:66:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMArg [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/IMConn.c:88:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMModifiers [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/IMConn.c:108:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMProtocolRec [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/IMConn.c:82:38: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/IMConn.c:103:21: style: Parameter 'modifiers' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/IMValues.c:65:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMArg [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nAttr.c:109:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMAttr [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nAttr.c:89:41: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nClbk.c:57:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nClbk.c:99:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nClbk.c:161:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nClbk.c:214:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nClbk.c:258:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nClbk.c:299:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nClbk.c:365:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nClbk.c:437:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nClbk.c:481:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:51:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD8 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:230:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:285:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:304:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:354:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:425:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:500:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XimType_NEST [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:535:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attribute_id [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:594:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:656:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XICAttribute [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nIc.c:903:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XICAttribute [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:102:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStyles [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I18N_ON_KEYS [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:156:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMEncodings [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I18N_OPEN [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:469:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transportname [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:516:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:604:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:668:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Xi18nCore [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:703:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectionNotify [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:802:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I18N_SET [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:813:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I18N_GET [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:888:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xEvent [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:944:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XimSYNCHRONUS [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:1079:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I18N_FILTERMASK [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nMethod.c:1134:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:144:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:183:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_DISCONNECT_REPLY [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:227:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I18N_ON_KEYS [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:390:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:481:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStr [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:605:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_SYNC_REPLY [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:622:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNQueryInputStyle [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:691:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attribute_id [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:777:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1021:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1086:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1192:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1246:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1368:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1434:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1478:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStr [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1663:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPending [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1735:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMProtocol [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/FrameMgr.c:465:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] gcin-2.9.4/IMdkit/lib/FrameMgr.c:1192:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] gcin-2.9.4/IMdkit/lib/FrameMgr.c:1873:30: style: Local variable 'dr' shadows outer variable [shadowVariable] gcin-2.9.4/IMdkit/lib/FrameMgr.c:1853:26: note: Shadowed declaration gcin-2.9.4/IMdkit/lib/FrameMgr.c:1873:30: note: Shadow variable gcin-2.9.4/IMdkit/lib/FrameMgr.c:1905:30: style: Local variable 'dr' shadows outer variable [shadowVariable] gcin-2.9.4/IMdkit/lib/FrameMgr.c:1888:26: note: Shadowed declaration gcin-2.9.4/IMdkit/lib/FrameMgr.c:1905:30: note: Shadow variable gcin-2.9.4/IMdkit/lib/FrameMgr.c:1939:30: style: Local variable 'dr' shadows outer variable [shadowVariable] gcin-2.9.4/IMdkit/lib/FrameMgr.c:1922:26: note: Shadowed declaration gcin-2.9.4/IMdkit/lib/FrameMgr.c:1939:30: note: Shadow variable gcin-2.9.4/IMdkit/lib/FrameMgr.c:964:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/FrameMgr.c:1114:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/FrameMgr.c:1695:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/FrameMgr.c:1779:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/FrameMgr.c:2148:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/FrameMgr.c:853:19: style: Variable 'next_type' is assigned a value that is never used. [unreadVariable] gcin-2.9.4/IMdkit/lib/i18nMethod.c:151:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Xi18nClient [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nUtil.c:146:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nUtil.c:215:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keysym [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nUtil.c:269:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_SET_EVENT_MASK [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nUtil.c:67:13: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:41: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:18: note: Assignment 'client=(Xi18nClient*)malloc(sizeof(Xi18nClient))', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nUtil.c:67:13: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nUtil.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:41: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:18: note: Assignment 'client=(Xi18nClient*)malloc(sizeof(Xi18nClient))', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nUtil.c:68:5: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nUtil.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:41: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:18: note: Assignment 'client=(Xi18nClient*)malloc(sizeof(Xi18nClient))', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nUtil.c:69:5: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nUtil.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:41: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:18: note: Assignment 'client=(Xi18nClient*)malloc(sizeof(Xi18nClient))', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nUtil.c:70:5: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nUtil.c:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:41: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:18: note: Assignment 'client=(Xi18nClient*)malloc(sizeof(Xi18nClient))', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nUtil.c:71:5: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nUtil.c:73:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:41: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nUtil.c:63:18: note: Assignment 'client=(Xi18nClient*)malloc(sizeof(Xi18nClient))', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nUtil.c:73:5: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nUtil.c:160:14: warning: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nUtil.c:158:38: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nUtil.c:158:13: note: Assignment 'reply=(unsigned char*)malloc(reply_length)', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nUtil.c:160:14: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nUtil.c:166:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nUtil.c:158:38: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nUtil.c:158:13: note: Assignment 'reply=(unsigned char*)malloc(reply_length)', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nUtil.c:166:12: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nUtil.c:44:18: style: Variable 'client' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nX.c:101:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_CONNECT [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nX.c:200:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nX.c:274:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nX.c:351:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nX.c:399:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIM_ERROR [valueFlowBailoutIncompleteVar] gcin-2.9.4/data/extr1.c:22:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gcin-2.9.4/data/extr1.c:15:16: warning: Either the condition '(fp=fopen("tsin.src","r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gcin-2.9.4/data/extr1.c:12:34: note: Assuming that condition '(fp=fopen("tsin.src","r"))==NULL' is not redundant gcin-2.9.4/data/extr1.c:15:16: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nIc.c:917:13: warning: If memory allocation fails, then there is a possible null pointer dereference: attrID_list [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nIc.c:916:37: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nIc.c:916:19: note: Assignment 'attrID_list=(CARD16*)malloc(sizeof(CARD16)*64)', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nIc.c:917:13: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nIc.c:43:40: style: Parameter 'ic_attr' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nIc.c:90:40: style: Parameter 'ic_attr' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nIc.c:123:41: style: Parameter 'ic_attr' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nIc.c:152:40: style: Parameter 'ic_attr' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nIc.c:85:16: portability: '*value_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gcin-2.9.4/IMdkit/lib/i18nIc.c:118:16: portability: '*value_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gcin-2.9.4/IMdkit/lib/i18nIc.c:147:16: portability: '*value_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gcin-2.9.4/IMdkit/lib/i18nIc.c:178:16: portability: '*value_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] gcin-2.9.4/data/t2s-file.c:54:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gcin-2.9.4/data/t2s-file.c:55:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gcin-2.9.4/data/t2s-file.c:56:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gcin-2.9.4/data/t2s-file.c:34:32: warning: Either the condition '(fw=fopen(name,"w"))==NULL' is redundant or there is possible null pointer dereference: fw. [nullPointerRedundantCheck] gcin-2.9.4/data/t2s-file.c:32:27: note: Assuming that condition '(fw=fopen(name,"w"))==NULL' is not redundant gcin-2.9.4/data/t2s-file.c:34:32: note: Null pointer dereference gcin-2.9.4/data/t2s-file.c:35:10: warning: Either the condition '(fw=fopen(name,"w"))==NULL' is redundant or there is possible null pointer dereference: fw. [nullPointerRedundantCheck] gcin-2.9.4/data/t2s-file.c:32:27: note: Assuming that condition '(fw=fopen(name,"w"))==NULL' is not redundant gcin-2.9.4/data/t2s-file.c:35:10: note: Null pointer dereference gcin-2.9.4/data/t2s-file.c:46:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gcin-2.9.4/data/t2s-file.c:41:17: note: Assuming allocation function fails gcin-2.9.4/data/t2s-file.c:41:17: note: Assignment 'fp=fopen(fname,"r")', assigned value is 0 gcin-2.9.4/data/t2s-file.c:46:16: note: Null pointer dereference gcin-2.9.4/data/t2s-file.c:10:15: style: Parameter 'aa' can be declared as pointer to const. However it seems that 'qcmp' is a callback function, if 'aa' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/data/t2s-file.c:29:31: note: You might need to cast the function pointer here gcin-2.9.4/data/t2s-file.c:10:15: note: Parameter 'aa' can be declared as pointer to const gcin-2.9.4/data/t2s-file.c:10:24: style: Parameter 'bb' can be declared as pointer to const. However it seems that 'qcmp' is a callback function, if 'bb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/data/t2s-file.c:29:31: note: You might need to cast the function pointer here gcin-2.9.4/data/t2s-file.c:10:24: note: Parameter 'bb' can be declared as pointer to const gcin-2.9.4/data/t2s-file.c:40:9: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/eggtrayicon.h:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/eggtrayicon.h:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/IMdkit/lib/i18nX.c:156:20: style: The statement 'if (length!=nitems) length=nitems' is logically equivalent to 'length=nitems'. [duplicateConditionalAssign] gcin-2.9.4/IMdkit/lib/i18nX.c:157:20: note: Assignment 'length=nitems' gcin-2.9.4/IMdkit/lib/i18nX.c:156:20: note: Condition 'length!=nitems' is redundant gcin-2.9.4/IMdkit/lib/i18nX.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x_client [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nX.c:53:35: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nX.c:53:16: note: Assignment 'x_client=(struct XClient*)malloc(sizeof(struct XClient))', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nX.c:54:5: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nX.c:55:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x_client [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nX.c:53:35: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nX.c:53:16: note: Assignment 'x_client=(struct XClient*)malloc(sizeof(struct XClient))', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nX.c:55:5: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nX.c:97:20: style: Local variable '_Xi18nNeedSwap' shadows outer function [shadowFunction] gcin-2.9.4/IMdkit/lib/XimFunc.h:56:5: note: Shadowed declaration gcin-2.9.4/IMdkit/lib/i18nX.c:97:20: note: Shadow variable gcin-2.9.4/IMdkit/lib/i18nX.c:176:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nX.c:270:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nX.c:346:36: style: Parameter 'display' can be declared as pointer to const. However it seems that 'CheckCMEvent' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/IMdkit/lib/i18nX.c:379:19: note: You might need to cast the function pointer here gcin-2.9.4/IMdkit/lib/i18nX.c:346:36: note: Parameter 'display' can be declared as pointer to const gcin-2.9.4/IMdkit/lib/i18nX.c:346:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'CheckCMEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/IMdkit/lib/i18nX.c:379:19: note: You might need to cast the function pointer here gcin-2.9.4/IMdkit/lib/i18nX.c:346:53: note: Parameter 'event' can be declared as pointer to const gcin-2.9.4/IMdkit/lib/i18nX.c:349:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nX.c:369:14: style: Variable 'x_client' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nX.c:374:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nX.c:453:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nX.c:473:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/gcin-crypt.cpp:15:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __GCIN_PASSWD_N_ [valueFlowBailoutIncompleteVar] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:778:13: warning: If memory allocation fails, then there is a possible null pointer dereference: im_attrID_list [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:777:40: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:777:22: note: Assignment 'im_attrID_list=(CARD16*)malloc(sizeof(CARD16)*20)', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:778:13: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:780:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name_list [nullPointerOutOfMemory] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:779:32: note: Assuming allocation function fails gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:779:17: note: Assignment 'name_list=(char**)malloc(sizeof(char*)*20)', assigned value is 0 gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:780:12: note: Null pointer dereference gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1725:47: warning: Either the condition 'hdr==(XimProtoHdr*)NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1731:13: note: Assuming that condition 'hdr==(XimProtoHdr*)NULL' is not redundant gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1725:47: note: Null pointer addition gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:367:43: style: Parameter 'lib_extension' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:617:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:672:51: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1421:59: style: Parameter 'enc_nego' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1424:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1652:43: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/IMdkit/lib/i18nPtHdr.c:1653:46: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/gtk-im/gtkimcontextgcin.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gtk-im/gtkimcontextgcin.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gtk-im/gtkimcontextgcin.h:24:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gtk-im/gtkimcontextgcin.h:24:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gtk3-im/gtkimcontextgcin.h:24:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gtk3-im/gtkimcontextgcin.h:24:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/gtk_bug_fix.c:4:64: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/gtk_bug_fix.c:5:62: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/modules/anthy.cpp:1324:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/modules/anthy.cpp:1324:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/modules/chewing.cpp:526:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/modules/chewing.cpp:526:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/modules/chewing-conf.cpp:38:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] gcin-2.9.4/modules/chewing-conf.cpp:58:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SELKEY [valueFlowBailoutIncompleteVar] gcin-2.9.4/modules/chewing-conf.cpp:110:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SELKEY [valueFlowBailoutIncompleteVar] gcin-2.9.4/modules/chewing-conf.cpp:152:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWUSR [valueFlowBailoutIncompleteVar] gcin-2.9.4/modules/chewing-conf.cpp:193:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_SELKEY [valueFlowBailoutIncompleteVar] gcin-2.9.4/modules/gcin-setup-chewing.cpp:161:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/modules/gcin-setup-chewing.cpp:161:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/modules/win-int.cpp:61:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/modules/win-int.cpp:61:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gcin-2.9.4/modules/intcode.cpp:95:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_BackSpace [valueFlowBailoutIncompleteVar] gcin-2.9.4/modules/chewing-conf.cpp:163:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gcin-2.9.4/modules/chewing-conf.cpp:161:9: error: Resource leak: nFd [resourceLeak] gcin-2.9.4/modules/chewing-conf.cpp:166:9: error: Resource leak: nFd [resourceLeak] gcin-2.9.4/modules/chewing-conf.cpp:34:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pszChewingConfig [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing-conf.cpp:33:31: note: Assuming allocation function fails gcin-2.9.4/modules/chewing-conf.cpp:33:31: note: Assignment 'pszChewingConfig=malloc(strlen(pszHome)+strlen("/.gcin/config/chewing_conf.dat")+1)', assigned value is 0 gcin-2.9.4/modules/chewing-conf.cpp:34:13: note: Null pointer dereference gcin-2.9.4/modules/chewing-conf.cpp:37:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszChewingConfig [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing-conf.cpp:33:31: note: Assuming allocation function fails gcin-2.9.4/modules/chewing-conf.cpp:33:31: note: Assignment 'pszChewingConfig=malloc(strlen(pszHome)+strlen("/.gcin/config/chewing_conf.dat")+1)', assigned value is 0 gcin-2.9.4/modules/chewing-conf.cpp:37:19: note: Null pointer dereference gcin-2.9.4/modules/chewing-conf.cpp:147:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pszGcinKBConfig [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing-conf.cpp:146:30: note: Assuming allocation function fails gcin-2.9.4/modules/chewing-conf.cpp:146:30: note: Assignment 'pszGcinKBConfig=malloc(strlen(pszHome)+strlen("/.gcin/config/phonetic-keyboard2")+1)', assigned value is 0 gcin-2.9.4/modules/chewing-conf.cpp:147:13: note: Null pointer dereference gcin-2.9.4/modules/chewing-conf.cpp:150:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: pszGcinKBConfig [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing-conf.cpp:146:30: note: Assuming allocation function fails gcin-2.9.4/modules/chewing-conf.cpp:146:30: note: Assignment 'pszGcinKBConfig=malloc(strlen(pszHome)+strlen("/.gcin/config/phonetic-keyboard2")+1)', assigned value is 0 gcin-2.9.4/modules/chewing-conf.cpp:150:17: note: Null pointer dereference gcin-2.9.4/modules/chewing-conf.cpp:80:37: style:inconclusive: Function 'chewing_config_set' argument 1 names different: declaration 'pChewingContext' definition 'pChewingCtx'. [funcArgNamesDifferent] gcin-2.9.4/modules/chewing.h:51:42: note: Function 'chewing_config_set' argument 1 names different: declaration 'pChewingContext' definition 'pChewingCtx'. gcin-2.9.4/modules/chewing-conf.cpp:80:37: note: Function 'chewing_config_set' argument 1 names different: declaration 'pChewingContext' definition 'pChewingCtx'. gcin-2.9.4/modules/chewing-conf.cpp:27:11: style: Variable 'pszHome' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/modules/chewing-conf.cpp:58:13: style: Variable 'nDefaultSelKey' can be declared as const array [constVariable] gcin-2.9.4/modules/chewing-conf.cpp:129:11: style: Variable 'pszHome' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/im-client/gcin-im-client.cpp:573:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gcin-2.9.4/im-client/gcin-im-client.cpp:614:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gcin-2.9.4/im-client/gcin-im-client.cpp:906:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] gcin-2.9.4/im-client/gcin-im-client.cpp:751:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gcin-2.9.4/im-client/gcin-im-client.cpp:750:23: note: Assuming allocation function fails gcin-2.9.4/im-client/gcin-im-client.cpp:750:23: note: Assignment 'tmp=malloc(n)', assigned value is 0 gcin-2.9.4/im-client/gcin-im-client.cpp:751:10: note: Null pointer dereference gcin-2.9.4/im-client/gcin-im-client.cpp:711:20: style: C-style pointer casting [cstyleCast] gcin-2.9.4/im-client/gcin-im-client.cpp:916:13: style: C-style pointer casting [cstyleCast] gcin-2.9.4/im-client/gcin-im-client.cpp:1137:10: style: C-style pointer casting [cstyleCast] gcin-2.9.4/im-client/gcin-im-client.cpp:576:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:579:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:582:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:586:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:587:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:891:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:893:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:912:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:913:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/im-client/gcin-im-client.cpp:456:1: style: Label 'next' is not used. [unusedLabel] gcin-2.9.4/im-client/gcin-im-client.cpp:1016:75: style:inconclusive: Function 'gcin_im_client_set_flags' argument 3 names different: declaration 'ret_flags' definition 'ret_flag'. [funcArgNamesDifferent] gcin-2.9.4/im-client/gcin-im-client.h:63:75: note: Function 'gcin_im_client_set_flags' argument 3 names different: declaration 'ret_flags' definition 'ret_flag'. gcin-2.9.4/im-client/gcin-im-client.cpp:1016:75: note: Function 'gcin_im_client_set_flags' argument 3 names different: declaration 'ret_flags' definition 'ret_flag'. gcin-2.9.4/im-client/gcin-im-client.cpp:1062:77: style:inconclusive: Function 'gcin_im_client_clear_flags' argument 3 names different: declaration 'ret_flags' definition 'ret_flag'. [funcArgNamesDifferent] gcin-2.9.4/im-client/gcin-im-client.h:64:77: note: Function 'gcin_im_client_clear_flags' argument 3 names different: declaration 'ret_flags' definition 'ret_flag'. gcin-2.9.4/im-client/gcin-im-client.cpp:1062:77: note: Function 'gcin_im_client_clear_flags' argument 3 names different: declaration 'ret_flags' definition 'ret_flag'. gcin-2.9.4/im-client/gcin-im-client.cpp:542:46: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/im-client/gcin-im-client.cpp:595:58: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/im-client/gcin-im-client.cpp:743:59: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/im-client/gcin-im-client.cpp:220:15: style: Variable 'dbg_msg' is assigned a value that is never used. [unreadVariable] gcin-2.9.4/im-client/gcin-im-client.cpp:454:7: style: Variable 'tcp' is assigned a value that is never used. [unreadVariable] gcin-2.9.4/im-client/gcin-im-client.cpp:220:7: style: Variable 'dbg_msg' is assigned a value that is never used. [unreadVariable] gcin-2.9.4/modules/intcode.cpp:150:17: error: Array 'ttt[3]' accessed at index 3, which is out of bounds. [arrayIndexOutOfBounds] gcin-2.9.4/modules/intcode.cpp:66:5: error: Memory leak: utf8 [memleak] gcin-2.9.4/modules/intcode.cpp:153:17: style: C-style pointer casting [cstyleCast] gcin-2.9.4/modules/intcode.cpp:153:30: style: C-style pointer casting [cstyleCast] gcin-2.9.4/modules/intcode.cpp:163:16: style: C-style pointer casting [cstyleCast] gcin-2.9.4/modules/intcode.cpp:166:25: style: C-style pointer casting [cstyleCast] gcin-2.9.4/modules/intcode.cpp:163:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/modules/intcode.cpp:155:11: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/modules/intcode.cpp:89:7: note: Shadowed declaration gcin-2.9.4/modules/intcode.cpp:155:11: note: Shadow variable gcin-2.9.4/modules/intcode.cpp:26:49: style: Parameter 'funcs' can be declared as pointer to const [constParameterPointer] gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:60:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyRelease [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:98:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IMCompose [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt4-im/gcin-qt.cpp:45:14: performance:inconclusive: Either there is a missing 'override', or the member function 'GCINQt::handle_message' can be static. [functionStatic] gcin-2.9.4/qt4-im/gcin-qt.h:14:14: note: Either there is a missing 'override', or the member function 'GCINQt::handle_message' can be static. gcin-2.9.4/qt4-im/gcin-qt.cpp:45:14: note: Either there is a missing 'override', or the member function 'GCINQt::handle_message' can be static. gcin-2.9.4/qt4-im/gcin-qt.cpp:35:14: performance:inconclusive: Either there is a missing 'override', or the member function 'GCINQt::messenger_opened' can be static. [functionStatic] gcin-2.9.4/qt4-im/gcin-qt.h:33:14: note: Either there is a missing 'override', or the member function 'GCINQt::messenger_opened' can be static. gcin-2.9.4/qt4-im/gcin-qt.cpp:35:14: note: Either there is a missing 'override', or the member function 'GCINQt::messenger_opened' can be static. gcin-2.9.4/qt4-im/gcin-qt.cpp:40:14: performance:inconclusive: Either there is a missing 'override', or the member function 'GCINQt::messenger_closed' can be static. [functionStatic] gcin-2.9.4/qt4-im/gcin-qt.h:38:14: note: Either there is a missing 'override', or the member function 'GCINQt::messenger_closed' can be static. gcin-2.9.4/qt4-im/gcin-qt.cpp:40:14: note: Either there is a missing 'override', or the member function 'GCINQt::messenger_closed' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:60:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ImMicroFocus [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:81:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_PREEDIT_ATTR_MAX_N [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:198:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyRelease [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:243:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_PREEDIT_ATTR_MAX_N [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:199:28: performance:inconclusive: Either there is a missing 'override', or the member function 'QGCINInputContext::identifierName' can be static. [functionStatic] gcin-2.9.4/qt-im/qgcininputcontext.h:65:13: note: Either there is a missing 'override', or the member function 'QGCINInputContext::identifierName' can be static. gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:199:28: note: Either there is a missing 'override', or the member function 'QGCINInputContext::identifierName' can be static. gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:148:25: performance:inconclusive: Either there is a missing 'override', or the member function 'QGCINInputContext::mouseHandler' can be static. [functionStatic] gcin-2.9.4/qt-im/qgcininputcontext.h:74:10: note: Either there is a missing 'override', or the member function 'QGCINInputContext::mouseHandler' can be static. gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:148:25: note: Either there is a missing 'override', or the member function 'QGCINInputContext::mouseHandler' can be static. gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:115:25: performance:inconclusive: Either there is a missing 'override', or the member function 'QGCINInputContext::resetClientState' can be static. [functionStatic] gcin-2.9.4/qt-im/qgcininputcontext.h:81:10: note: Either there is a missing 'override', or the member function 'QGCINInputContext::resetClientState' can be static. gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:115:25: note: Either there is a missing 'override', or the member function 'QGCINInputContext::resetClientState' can be static. gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:163:25: performance:inconclusive: Either there is a missing 'override', or the member function 'QGCINInputContext::setComposeArea' can be static. [functionStatic] gcin-2.9.4/qt-im/qgcininputcontext.h:103:10: note: Either there is a missing 'override', or the member function 'QGCINInputContext::setComposeArea' can be static. gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:163:25: note: Either there is a missing 'override', or the member function 'QGCINInputContext::setComposeArea' can be static. gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:189:25: style: Return value 'language()=="ja"' is always false [knownConditionTrueFalse] gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:209:17: note: Assignment '_language=locale', assigned value is size=5 gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:189:22: note: Calling function 'language' returns size=5 gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:189:25: note: Return value 'language()=="ja"' is always false gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:195:25: style: Return value 'language()=="ja"' is always false [knownConditionTrueFalse] gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:209:17: note: Assignment '_language=locale', assigned value is size=5 gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:195:22: note: Calling function 'language' returns size=5 gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:195:25: note: Return value 'language()=="ja"' is always false gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:124:19: style: C-style pointer casting [cstyleCast] gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:63:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:142:12: style: Variable 'p2' is assigned a value that is never used. [unreadVariable] gcin-2.9.4/qt-im/qgcininputcontext_x11.cpp:142:9: style: Variable 'p2' is assigned a value that is never used. [unreadVariable] gcin-2.9.4/qt4-im/im-gcin-qt.cpp:65:37: performance:inconclusive: Either there is a missing 'override', or the member function 'GCINInputContextPlugin::languages' can be static. [functionStatic] gcin-2.9.4/qt4-im/im-gcin-qt.cpp:30:21: note: Either there is a missing 'override', or the member function 'GCINInputContextPlugin::languages' can be static. gcin-2.9.4/qt4-im/im-gcin-qt.cpp:65:37: note: Either there is a missing 'override', or the member function 'GCINInputContextPlugin::languages' can be static. gcin-2.9.4/qt4-im/im-gcin-qt.cpp:93:33: style:inconclusive: Either there is a missing 'override', or the member function 'GCINInputContextPlugin::displayName' can be const. [functionConst] gcin-2.9.4/qt4-im/im-gcin-qt.cpp:36:17: note: Either there is a missing 'override', or the member function 'GCINInputContextPlugin::displayName' can be const. gcin-2.9.4/qt4-im/im-gcin-qt.cpp:93:33: note: Either there is a missing 'override', or the member function 'GCINInputContextPlugin::displayName' can be const. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:235:21: performance:inconclusive: Either there is a missing 'override', or the member function 'GCINIMContext::filterEvent' can be static. [functionStatic] gcin-2.9.4/qt4-im/gcin-imcontext-qt.h:18:14: note: Either there is a missing 'override', or the member function 'GCINIMContext::filterEvent' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:235:21: note: Either there is a missing 'override', or the member function 'GCINIMContext::filterEvent' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:36:24: style:inconclusive: Either there is a missing 'override', or the member function 'GCINIMContext::identifierName' can be const. [functionConst] gcin-2.9.4/qt4-im/gcin-imcontext-qt.h:20:17: note: Either there is a missing 'override', or the member function 'GCINIMContext::identifierName' can be const. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:36:24: note: Either there is a missing 'override', or the member function 'GCINIMContext::identifierName' can be const. gcin-2.9.4/qt5-im/gcin-qt5.cpp:19:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:149:24: performance:inconclusive: Either there is a missing 'override', or the member function 'GCINIMContext::language' can be static. [functionStatic] gcin-2.9.4/qt4-im/gcin-imcontext-qt.h:21:17: note: Either there is a missing 'override', or the member function 'GCINIMContext::language' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:149:24: note: Either there is a missing 'override', or the member function 'GCINIMContext::language' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:41:21: performance:inconclusive: Either there is a missing 'override', or the member function 'GCINIMContext::mouseHandler' can be static. [functionStatic] gcin-2.9.4/qt4-im/gcin-imcontext-qt.h:22:14: note: Either there is a missing 'override', or the member function 'GCINIMContext::mouseHandler' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:41:21: note: Either there is a missing 'override', or the member function 'GCINIMContext::mouseHandler' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:45:21: performance:inconclusive: Either there is a missing 'override', or the member function 'GCINIMContext::widgetDestroyed' can be static. [functionStatic] gcin-2.9.4/qt4-im/gcin-imcontext-qt.h:24:14: note: Either there is a missing 'override', or the member function 'GCINIMContext::widgetDestroyed' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:45:21: note: Either there is a missing 'override', or the member function 'GCINIMContext::widgetDestroyed' can be static. gcin-2.9.4/qt4-im/gcin-imcontext-qt.h:20:17: performance: Function 'identifierName()' should return member 'GCIN_IDENTIFIER_NAME' by const reference. [returnByReference] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:140:28: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:139:24: note: outer condition: focused_widget!=NULL gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:140:28: note: opposite inner condition: focused_widget==NULL gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:98:15: style: Condition '&palette==NULL' is always false [knownConditionTrueFalse] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:201:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:91:18: style: Local variable 'focused_widget' shadows outer variable [shadowVariable] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:15:17: note: Shadowed declaration gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:91:18: note: Shadow variable gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:138:14: style: Local variable 'focused_widget' shadows outer variable [shadowVariable] gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:15:17: note: Shadowed declaration gcin-2.9.4/qt4-im/gcin-imcontext-qt.cpp:138:14: note: Shadow variable gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:106:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_PREEDIT_ATTR_MAX_N [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ImCursorRectangle [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:232:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_PREEDIT_ATTR_MAX_N [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:312:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyRelease [valueFlowBailoutIncompleteVar] gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:332:7: style: The scope of the variable 'result' can be reduced. [variableScope] gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:130:63: style:inconclusive: Function 'update' argument 1 names different: declaration 'quries' definition 'queries'. [funcArgNamesDifferent] gcin-2.9.4/qt5-im/qgcinplatforminputcontext.h:20:48: note: Function 'update' argument 1 names different: declaration 'quries' definition 'queries'. gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:130:63: note: Function 'update' argument 1 names different: declaration 'quries' definition 'queries'. gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:288:48: style:inconclusive: Function 'send_str' argument 1 names different: declaration 's' definition 'rstr'. [funcArgNamesDifferent] gcin-2.9.4/qt5-im/qgcinplatforminputcontext.h:30:22: note: Function 'send_str' argument 1 names different: declaration 's' definition 'rstr'. gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:288:48: note: Function 'send_str' argument 1 names different: declaration 's' definition 'rstr'. gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:238:12: style: Variable 'input' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:326:18: style: Variable 'input' can be declared as pointer to const [constVariablePointer] gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:21:11: style: struct member 'XPoint::x' is never used. [unusedStructMember] gcin-2.9.4/qt5-im/gcin-imcontext-qt5.cpp:21:14: style: struct member 'XPoint::y' is never used. [unusedStructMember] diff: 2.18.0 gcin-2.9.4/IC.cpp:116:21: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/IC.cpp:116:41: style: Parameter 'attr_list' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/IC.cpp:143:23: style: Condition 'cs->im_state!=GCIN_STATE_DISABLED' is always true [knownConditionTrueFalse] 2.18.0 gcin-2.9.4/IC.cpp:162:36: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/IC.cpp:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNInputStyle [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/IC.cpp:179:42: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:193:43: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:199:39: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:207:43: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:213:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:216:42: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:220:29: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:223:29: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:226:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:229:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:232:34: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:235:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:242:30: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:243:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:246:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:249:31: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:258:29: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:261:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:264:29: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:267:29: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:270:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:273:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:276:34: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:279:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:286:30: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:287:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:289:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:292:31: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:358:18: style: Variable 'cs' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/IC.cpp:361:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNFilterEvents [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/IC.cpp:362:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:363:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:363:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (CARD32*)ic_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:362:37: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:362:23: note: Assignment 'ic_attr->value=(void*)malloc(sizeof(CARD32))', assigned value is 0 gcin-2.9.4/IC.cpp:363:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:371:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:372:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:372:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)pre_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:371:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:371:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 gcin-2.9.4/IC.cpp:372:14: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:379:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:380:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:380:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)pre_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:379:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:379:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 gcin-2.9.4/IC.cpp:380:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:384:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:385:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:385:14: warning: If memory allocation fails, then there is a possible null pointer dereference: (XPoint*)pre_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:384:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:384:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XPoint))', assigned value is 0 gcin-2.9.4/IC.cpp:385:14: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:395:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:396:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:397:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:395:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:395:24: note: Assignment 'pre_attr->value=(void*)malloc(total_len)', assigned value is 0 gcin-2.9.4/IC.cpp:396:8: note: p is assigned '(char*)pre_attr->value' here. gcin-2.9.4/IC.cpp:397:14: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:403:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:404:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:404:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:403:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:403:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 gcin-2.9.4/IC.cpp:404:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:408:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:409:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:409:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:408:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:408:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 gcin-2.9.4/IC.cpp:409:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:413:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:417:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:417:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:413:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:413:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 gcin-2.9.4/IC.cpp:417:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:425:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:426:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:426:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)sts_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:425:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:425:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 gcin-2.9.4/IC.cpp:426:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:430:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:431:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:431:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)sts_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:430:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:430:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 gcin-2.9.4/IC.cpp:431:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:439:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:440:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:441:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:439:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:439:24: note: Assignment 'sts_attr->value=(void*)malloc(total_len)', assigned value is 0 gcin-2.9.4/IC.cpp:440:8: note: p is assigned '(char*)sts_attr->value' here. gcin-2.9.4/IC.cpp:441:14: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:447:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:448:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:448:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:447:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:447:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 gcin-2.9.4/IC.cpp:448:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:452:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:453:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:453:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:452:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:452:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 gcin-2.9.4/IC.cpp:453:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:457:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:461:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:461:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:457:38: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:457:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 gcin-2.9.4/IC.cpp:461:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:64:8: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/IC.cpp:67:11: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:64:20: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:64:8: note: Assignment 'rec=(struct IC*)malloc(sizeof(struct IC))', assigned value is 0 gcin-2.9.4/IC.cpp:67:11: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:67:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/IC.cpp:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:64:20: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:64:8: note: Assignment 'rec=(struct IC*)malloc(sizeof(struct IC))', assigned value is 0 gcin-2.9.4/IC.cpp:68:5: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:64:20: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:64:8: note: Assignment 'rec=(struct IC*)malloc(sizeof(struct IC))', assigned value is 0 gcin-2.9.4/IC.cpp:69:5: note: Null pointer dereference 2.18.0 gcin-2.9.4/IC.cpp:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] gcin-2.9.4/IC.cpp:64:20: note: Assuming allocation function fails gcin-2.9.4/IC.cpp:64:8: note: Assignment 'rec=(struct IC*)malloc(sizeof(struct IC))', assigned value is 0 gcin-2.9.4/IC.cpp:71:5: note: Null pointer dereference 2.18.0 gcin-2.9.4/about.cpp:131:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:132:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:148:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:149:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:152:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:155:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:156:5: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/about.cpp:156:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:44:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:48:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/about.cpp:52:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/about.cpp:53:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:55:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:57:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:60:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:63:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:67:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:74:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/about.cpp:75:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:77:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/about.cpp:80:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/cache.cpp:21:53: style: Parameter 'out' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/cache.cpp:35:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:109:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:109:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_PROPERTY_CHANGE_MASK [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:115:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:116:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:117:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:119:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:133:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_ORIENTATION [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:142:20: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'egg_tray_icon_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/eggtrayicon.cpp:121:33: note: You might need to cast the function pointer here gcin-2.9.4/eggtrayicon.cpp:142:20: note: Parameter 'pspec' can be declared as pointer to const 2.18.0 gcin-2.9.4/eggtrayicon.cpp:144:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:171:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:205:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:216:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:217:11: style: Variable 'xev' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:217:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:232:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DestroyNotify [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:244:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:247:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:288:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:292:65: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:306:50: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:327:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:361:52: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:373:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:406:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PI [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:454:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:470:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdk_display [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:540:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:544:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:588:55: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:600:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:609:45: style: Parameter 'icon' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:611:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:91:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_PLUG [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eggtrayicon.cpp:96:36: style: C-style pointer casting [cstyleCast] head gcin-2.9.4/eggtrayicon.h:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/eggtrayicon.h:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/en-miss-cand.cpp:10:35: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/en-miss-cand.cpp:10:56: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/en-miss-cand.cpp:156:13: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/en-miss-cand.cpp:38:7: note: Shadowed declaration gcin-2.9.4/en-miss-cand.cpp:156:13: note: Shadow variable 2.18.0 gcin-2.9.4/en-miss-cand.cpp:50:29: style: Checking if unsigned expression 'fread(&clen,1,1,fp)' is less than zero. [unsignedLessThanZero] 2.18.0 gcin-2.9.4/en-miss-cand.cpp:66:53: style: Checking if unsigned expression 'fread(&usecount,sizeof(usecount_t),1,fp)' is less than zero. [unsignedLessThanZero] 2.18.0 gcin-2.9.4/en-miss-cand.cpp:76:35: style: Checking if unsigned expression 'fread(ln,1,clen,fp)' is less than zero. [unsignedLessThanZero] 2.18.0 gcin-2.9.4/en-miss-cand.cpp:98:36: style: Checking if unsigned expression 'fread(&ch[1],1,len-1,fp)' is less than zero. [unsignedLessThanZero] 2.18.0 gcin-2.9.4/eve.cpp:1006:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eve.cpp:1006:52: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eve.cpp:1006:80: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eve.cpp:107:32: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/eve.cpp:109:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eve.cpp:109:3: error: Common realloc mistake: 'callback_str_buffer' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/eve.cpp:1159:8: style: Unused variable: selkey [unusedVariable] 2.18.0 gcin-2.9.4/eve.cpp:1336:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LockMask [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:1583:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Shift_L [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:1694:7: style: Condition 'cs' is always true [knownConditionTrueFalse] 2.18.0 gcin-2.9.4/eve.cpp:1695:12: style: Local variable 'win' shadows outer variable [shadowVariable] gcin-2.9.4/eve.cpp:1679:10: note: Shadowed declaration gcin-2.9.4/eve.cpp:1695:12: note: Shadow variable 2.18.0 gcin-2.9.4/eve.cpp:181:53: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/eve.cpp:1829:1: style: Label 'empty' is not used. [unusedLabel] 2.18.0 gcin-2.9.4/eve.cpp:184:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/eve.cpp:200:9: style: Unused variable: filter [unusedVariable] 2.18.0 gcin-2.9.4/eve.cpp:217:1: style: Label 'direct' is not used. [unusedLabel] 2.18.0 gcin-2.9.4/eve.cpp:267:1: style: Label 'next' is not used. [unusedLabel] 2.18.0 gcin-2.9.4/eve.cpp:294:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:375:57: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/eve.cpp:561:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xerror_handler [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_input_method [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:78:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:792:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_input_method [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:79:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 gcin-2.9.4/eve.cpp:820:15: style: Variable 'status' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/eve.cpp:820:9: style: Variable 'status' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/eve.cpp:865:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LockMask [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:89:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Shift_L [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/eve.cpp:924:14: style: Return value 'gwin_gtab' is always true [knownConditionTrueFalse] 2.18.0 gcin-2.9.4/gcb.cpp:105:15: style: Variable 'bombom' can be declared as const array [constVariable] 2.18.0 gcin-2.9.4/gcb.cpp:133:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:134:38: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:146:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:153:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable button_bar_tips [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcb.cpp:158:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:215:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:215:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NONE [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcb.cpp:220:65: style: Parameter 'event' can be declared as pointer to const. However it seems that 'get_mouse_button' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:435:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:220:65: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:229:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:229:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RELIEF_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcb.cpp:232:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:244:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:260:47: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'hist_get_mouse_button' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:456:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:260:47: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:260:70: style: Parameter 'event' can be declared as pointer to const. However it seems that 'hist_get_mouse_button' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:456:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:260:70: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:262:7: style: The scope of the variable 'i' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/gcb.cpp:287:38: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcb.cpp:287:59: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcb.cpp:287:75: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcb.cpp:305:53: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'gcb_button_scroll_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:443:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:305:53: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:305:76: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gcb_button_scroll_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:443:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:305:76: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:305:92: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'gcb_button_scroll_event' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:443:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:305:92: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:307:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_DOWN [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcb.cpp:332:47: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'mouse_button_callback' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:470:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:332:47: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:332:70: style: Parameter 'event' can be declared as pointer to const. However it seems that 'mouse_button_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:470:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:332:70: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:332:86: style: Parameter 'data' can be declared as pointer to const. However it seems that 'mouse_button_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcb.cpp:470:5: note: You might need to cast the function pointer here gcin-2.9.4/gcb.cpp:332:86: note: Parameter 'data' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcb.cpp:374:15: style: Variable 'geo' can be declared as const array [constVariable] 2.18.0 gcin-2.9.4/gcb.cpp:381:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:382:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:386:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:387:20: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:390:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcb.cpp:391:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:392:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:393:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:396:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:401:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:403:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:407:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:408:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:409:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:410:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:412:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:413:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:416:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:418:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:425:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcb.cpp:426:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:433:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:435:5: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:435:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:443:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:448:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcb.cpp:449:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:453:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:454:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:456:5: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:456:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:459:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:466:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:469:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:470:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:471:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:493:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:494:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:502:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:62:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:78:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:80:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:81:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:87:41: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcb.cpp:88:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:93:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcb.cpp:98:39: style: Parameter 'pclip' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-common.cpp:130:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-common.cpp:139:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-common.cpp:140:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-common.cpp:141:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-common.cpp:142:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-common.cpp:142:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_TOOLTIP [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-common.cpp:143:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-common.cpp:146:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-common.cpp:147:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-common.cpp:71:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-conf.cpp:131:43: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-conf.cpp:155:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-conf.cpp:45:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-conf.cpp:51:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-conf.cpp:64:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-conf.cpp:84:55: style: Parameter 'default_str' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-exec-script.cpp:41:33: error: There is an unknown macro here somewhere. Configuration is required. If GCIN_TABLE_DIR is a macro then please configure it. [unknownMacro] head gcin-2.9.4/gcin-gtk-compatible.h:1:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/gcin-gtk-compatible.h:1:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/gcin-icon.cpp:11:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_ICON_DIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-icon.cpp:42:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-icon.cpp:42:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_ICON_DIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-icon.cpp:6:27: style: Parameter 'iconame' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:39:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:43:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:44:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:45:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:46:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:47:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:48:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:49:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:50:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:51:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:52:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:53:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-module-cb.cpp:54:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-settings.cpp:251:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:100:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:102:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:136:9: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:157:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_FILE_ATTRIBUTES [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:168:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:170:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:176:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:191:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu_spc_opts [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:191:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:198:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:223:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu_auto_select_by_phrase [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:223:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:230:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:238:42: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_gtab_help' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-setup-gtab.cpp:465:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-setup-gtab.cpp:238:42: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:239:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_gtab_help' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-setup-gtab.cpp:465:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-setup-gtab.cpp:239:47: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:240:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_gtab_help' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-setup-gtab.cpp:465:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-setup-gtab.cpp:240:47: note: Parameter 'data' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:254:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:260:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:261:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:262:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:264:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:268:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:269:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:271:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:272:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:274:24: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:275:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:279:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:280:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:281:28: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:282:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:283:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:287:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:288:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:289:28: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:290:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:291:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:295:37: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:296:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:298:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:299:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:301:45: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:302:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:304:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:305:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:307:41: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:308:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:310:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:312:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:314:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:318:39: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:319:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:321:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:323:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:325:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:328:36: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:329:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:331:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:333:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:334:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:338:34: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:339:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:341:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:343:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:344:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:347:42: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:348:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:350:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:351:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:353:47: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:354:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:356:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:357:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:360:48: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:361:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:363:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:364:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:366:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:368:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:369:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:372:42: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:373:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:375:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:377:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:378:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:381:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:383:41: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:384:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:386:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:388:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:390:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:394:43: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:395:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:397:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:399:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:400:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:403:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:405:43: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:406:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:408:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:409:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:412:40: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:413:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:415:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:417:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:418:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:420:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:422:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:423:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:425:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:428:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:430:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:434:31: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:435:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:439:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:441:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:443:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:450:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:452:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:454:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:463:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:465:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:51:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:64:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:71:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:74:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:77:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:80:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:83:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:86:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:91:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:94:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-gtab.cpp:97:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:1000:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:1003:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:1005:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:1011:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:1014:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:1016:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:1021:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:1024:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:142:1: error: Memory leak: foo.file [memleak] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:142:1: error: Memory leak: foo.key [memleak] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:142:1: error: Memory leak: foo.name [memleak] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:169:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:171:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:173:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:175:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:177:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:179:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:181:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:183:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:185:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:185:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pinmd [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:189:10: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:208:11: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:212:11: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:213:11: style: Variable 'icon' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:214:11: style: Variable 'disabled' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:228:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:250:7: style: The scope of the variable 'idx' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:275:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:277:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:280:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:283:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:286:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:289:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:292:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:295:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:298:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:301:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:304:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:307:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:315:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:337:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:359:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:370:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:373:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:392:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:400:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:419:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:420:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:430:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:449:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:451:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:468:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:469:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:476:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:476:53: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:477:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:484:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:484:53: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:486:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:500:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:503:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:505:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:517:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:520:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:522:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:531:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:534:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:536:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:543:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:543:53: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:545:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:564:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:565:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:631:14: style: Local variable 'hbox' shadows outer variable [shadowVariable] gcin-2.9.4/gcin-setup-list.cpp:27:19: note: Shadowed declaration gcin-2.9.4/gcin-setup-list.cpp:631:14: note: Shadow variable 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:631:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:637:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:653:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu_speaker_opts [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:653:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:660:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:706:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:711:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:712:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:714:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:715:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:716:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:718:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:721:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:724:10: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:725:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:728:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:730:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:733:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:742:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:743:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:746:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:749:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:751:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:755:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:758:22: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:759:22: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:789:39: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:790:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:792:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:794:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:795:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:799:47: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:800:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:802:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:804:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:805:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:819:45: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:820:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:822:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:824:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:825:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:828:36: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:829:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:831:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:833:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:835:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:838:46: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:839:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:841:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:843:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:844:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:848:35: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:849:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:851:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:853:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:854:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:857:36: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:858:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:860:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:862:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:863:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:866:41: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:867:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:869:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:871:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:872:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:875:51: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:876:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:878:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:880:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:881:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:884:55: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:885:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:887:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:889:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:890:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:893:35: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:894:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:896:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:898:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:899:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:94:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:94:24: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:94:26: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:94:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:989:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:990:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:993:10: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-list.cpp:994:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:107:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:109:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:111:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:123:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:139:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:142:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:144:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:147:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:150:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:153:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:156:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:159:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:163:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:167:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:170:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:173:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:176:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:179:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:181:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:205:64: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:306:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:312:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:322:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu_kbm_opts [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:322:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:329:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:335:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:343:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:353:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:356:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:358:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:368:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:374:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:384:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu_eng_ch_opts [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:384:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:393:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:412:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:415:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:418:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:424:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:429:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:438:29: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:439:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:440:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:441:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:442:41: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:443:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:446:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ALIGN_CENTER [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:447:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:449:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:450:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:461:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:467:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:468:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:469:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:471:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:475:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:476:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:478:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:479:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:482:24: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:483:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:486:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:487:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:489:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:490:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:494:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:495:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:496:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:498:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:501:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:506:44: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:507:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:511:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:513:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:515:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:518:52: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:519:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:523:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:525:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:527:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:530:35: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:531:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:535:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:537:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:539:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:541:33: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:542:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:546:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:548:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:550:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:553:33: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:554:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:558:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:560:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:562:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:564:39: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:565:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:569:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:571:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:573:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:576:33: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:577:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:581:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:583:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:584:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:587:42: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:588:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:592:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:594:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:596:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:599:41: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:600:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:604:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:606:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:608:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:610:42: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:611:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:615:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:617:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:619:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:621:46: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:622:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:626:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:628:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:630:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:632:39: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:633:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:637:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:639:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:641:6: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:643:37: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:644:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:648:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:650:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:651:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:653:43: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:654:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:658:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:660:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:661:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:665:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:666:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:668:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:670:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:673:31: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:675:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:682:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:684:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:692:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:694:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:696:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:700:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:77:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:82:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-setup-pho.cpp:98:66: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:114:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:117:58: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:120:63: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:123:60: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:126:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:129:59: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:131:62: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:134:54: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:134:7: style: Local variable 'gcin_pop_up_win' shadows outer variable [shadowVariable] gcin-2.9.4/gcin-conf.h:138:56: note: Shadowed declaration gcin-2.9.4/gcin-tools-appearance.cpp:134:7: note: Shadow variable 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:137:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:137:7: style: Local variable 'gcin_root_x' shadows outer variable [shadowVariable] gcin-2.9.4/gcin-conf.h:138:30: note: Shadowed declaration gcin-2.9.4/gcin-tools-appearance.cpp:137:7: note: Shadow variable 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:140:53: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:140:7: style: Local variable 'gcin_root_y' shadows outer variable [shadowVariable] gcin-2.9.4/gcin-conf.h:138:43: note: Shadowed declaration gcin-2.9.4/gcin-tools-appearance.cpp:140:7: note: Shadow variable 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:143:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:147:69: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:168:71: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:169:73: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:170:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable check_button_gcin_tray_hf_win_kbm [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:170:73: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:171:68: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:178:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:208:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:235:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:247:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:249:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:249:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:250:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:250:62: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:259:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:260:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:268:9: style: Variable 'key_color' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:280:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:285:45: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:306:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:306:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:307:49: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:315:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:320:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:325:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:327:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:334:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:336:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:342:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:357:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:357:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:364:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:367:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:370:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:372:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:374:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:376:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:384:56: style: Parameter 'togglebutton' can be declared as pointer to const. However it seems that 'cb_gcin_win_color_use' is a callback function, if 'togglebutton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-tools-appearance.cpp:693:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-tools-appearance.cpp:384:56: note: Parameter 'togglebutton' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:384:79: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_gcin_win_color_use' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-tools-appearance.cpp:693:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-tools-appearance.cpp:384:79: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:395:45: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:398:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:409:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:411:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:411:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:412:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:412:61: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:413:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:420:48: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_appearance_help' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-tools-appearance.cpp:778:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-tools-appearance.cpp:420:48: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:421:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'cb_appearance_help' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-tools-appearance.cpp:778:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-tools-appearance.cpp:421:47: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:422:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_appearance_help' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-tools-appearance.cpp:778:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-tools-appearance.cpp:422:47: note: Parameter 'data' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:466:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:472:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:473:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:476:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:478:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:482:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:483:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:485:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:486:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:488:23: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:489:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:491:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:492:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:493:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:494:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:497:36: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:498:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:500:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:502:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:504:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:507:43: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:508:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:510:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:512:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:514:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:517:48: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:518:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:520:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:522:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:524:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:527:48: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:528:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:530:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:532:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:534:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:537:45: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:538:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:540:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:542:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:544:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:547:44: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:548:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:550:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:552:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:554:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:556:44: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:557:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:559:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:561:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:563:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:565:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:567:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:569:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:579:37: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:580:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:582:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:584:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:586:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:589:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:590:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:591:32: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:592:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:594:32: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:599:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:601:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:603:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:606:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:609:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:612:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:615:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:618:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:621:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:623:38: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:624:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:626:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:628:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:630:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:680:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:681:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:682:31: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:683:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:685:35: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:686:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:688:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:690:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:693:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:696:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:700:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:702:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:703:35: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:704:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:708:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:709:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:717:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:718:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:724:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:727:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:731:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:732:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:734:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:740:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:743:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:747:31: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:749:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:753:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:755:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:757:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:764:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:766:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:768:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:776:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:778:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools-appearance.cpp:95:51: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:115:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:130:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:131:66: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:134:13: style: Unused variable: cmd [unusedVariable] 2.18.0 gcin-2.9.4/gcin-tools.cpp:136:14: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin-tools.cpp:167:9: style: Unused variable: cmd [unusedVariable] 2.18.0 gcin-2.9.4/gcin-tools.cpp:184:43: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:253:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cb_file_ts_import [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools.cpp:253:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:258:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:263:4: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:338:8: style: Unused variable: tt [unusedVariable] 2.18.0 gcin-2.9.4/gcin-tools.cpp:358:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gcin_program_files_path [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools.cpp:37:47: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'close_application' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-tools.cpp:636:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-tools.cpp:37:47: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-tools.cpp:38:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'close_application' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-tools.cpp:636:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-tools.cpp:38:47: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-tools.cpp:394:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_BIN_DIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools.cpp:39:47: style: Parameter 'data' can be declared as pointer to const. However it seems that 'close_application' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin-tools.cpp:636:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin-tools.cpp:39:47: note: Parameter 'data' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin-tools.cpp:405:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_BIN_DIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools.cpp:433:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:464:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools.cpp:465:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:467:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:469:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:475:21: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools.cpp:476:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:479:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:480:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:484:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:485:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:489:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:490:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:512:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:513:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:518:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:519:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:524:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:525:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:529:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:530:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:538:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:539:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:546:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:547:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:551:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:552:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:556:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:560:24: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/gcin-tools.cpp:561:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:566:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:567:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:572:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:573:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:578:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:579:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:584:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:585:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:591:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:592:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:596:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:597:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:601:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:602:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:608:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:609:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:613:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:614:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:624:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:625:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:635:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:636:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:65:22: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:689:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_PRIMARY [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools.cpp:70:46: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin-tools.cpp:80:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin-tools.cpp:81:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:82:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:85:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:86:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:98:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gcin-tools.cpp:99:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gcin.cpp:362:23: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin.cpp:483:36: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin.cpp:528:37: style: Parameter 'screen' can be declared as pointer to const. However it seems that 'screen_size_changed' is a callback function, if 'screen' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin.cpp:666:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin.cpp:528:37: note: Parameter 'screen' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin.cpp:528:54: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'screen_size_changed' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gcin.cpp:666:3: note: You might need to cast the function pointer here gcin-2.9.4/gcin.cpp:528:54: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/gcin.cpp:543:19: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin.cpp:543:24: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] 2.18.0 gcin-2.9.4/gcin.cpp:544:10: style: Variable 'homedir' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin.cpp:548:9: style: Variable 'destroy' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin2tab.cpp:102:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin2tab.cpp:102:25: style: Parameter 't' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gcin2tab.cpp:131:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin2tab.cpp:131:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin2tab.cpp:131:28: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin2tab.cpp:131:32: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin2tab.cpp:142:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin2tab.cpp:142:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin2tab.cpp:142:34: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gcin2tab.cpp:142:38: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin2tab.cpp:180:7: style: The scope of the variable 'quick_def' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/gcin2tab.cpp:194:11: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 gcin-2.9.4/gcin2tab.cpp:226:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:227:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:228:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:230:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:231:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:232:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:233:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:378:13: style: Local variable 'p' shadows outer variable [shadowVariable] gcin-2.9.4/gcin2tab.cpp:211:9: note: Shadowed declaration gcin-2.9.4/gcin2tab.cpp:378:13: note: Shadow variable 2.18.0 gcin-2.9.4/gcin2tab.cpp:438:15: style: Local variable 'cur_inmd' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.h:137:14: note: Shadowed declaration gcin-2.9.4/gcin2tab.cpp:438:15: note: Shadow variable 2.18.0 gcin-2.9.4/gcin2tab.cpp:438:8: style: Local variable 'inmd' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.h:133:14: note: Shadowed declaration gcin-2.9.4/gcin2tab.cpp:438:8: note: Shadow variable 2.18.0 gcin-2.9.4/gcin2tab.cpp:467:9: style: The scope of the variable 'k' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/gcin2tab.cpp:518:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:526:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin2tab.cpp:527:11: style: Local variable 'p' shadows outer variable [shadowVariable] gcin-2.9.4/gcin2tab.cpp:211:9: note: Shadowed declaration gcin-2.9.4/gcin2tab.cpp:527:11: note: Shadow variable 2.18.0 gcin-2.9.4/gcin2tab.cpp:54:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:559:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin2tab.cpp:559:7: error: Common realloc mistake: 'phridx' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gcin2tab.cpp:561:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gcin2tab.cpp:561:7: error: Common realloc mistake: 'phrbuf' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gcin2tab.cpp:592:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:593:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gcin2tab.cpp:76:7: style: Condition '!*s' is always false [knownConditionTrueFalse] 2.18.0 gcin-2.9.4/gtab-buf.cpp:1043:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-buf.cpp:1197:11: style: Variable 'br' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-buf.cpp:1255:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-buf.cpp:126:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:129:12: style: Variable 'last_en_word' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-buf.cpp:129:25: style: Variable 'last_en_word' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-buf.cpp:1307:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Shift_L [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtab-buf.cpp:131:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-buf.cpp:1331:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:1363:11: style: Variable 'br' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-buf.cpp:1444:8: style: Local variable 'len' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-buf.cpp:1398:7: note: Shadowed declaration gcin-2.9.4/gtab-buf.cpp:1444:8: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-buf.cpp:1453:12: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-buf.cpp:1434:7: note: Shadowed declaration gcin-2.9.4/gtab-buf.cpp:1453:12: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-buf.cpp:1456:6: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-buf.cpp:145:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:145:5: error: Common realloc mistake: 'out' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-buf.cpp:150:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] gcin-2.9.4/gtab-buf.cpp:126:15: note: Assuming allocation function fails gcin-2.9.4/gtab-buf.cpp:126:15: note: Assignment 'out=(char*)malloc(sizeof(char)*1)', assigned value is 0 gcin-2.9.4/gtab-buf.cpp:130:16: note: Assuming condition is false gcin-2.9.4/gtab-buf.cpp:150:3: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-buf.cpp:165:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:168:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] gcin-2.9.4/gtab-buf.cpp:165:15: note: Assuming allocation function fails gcin-2.9.4/gtab-buf.cpp:165:15: note: Assignment 'out=(char*)malloc(sizeof(char)*1)', assigned value is 0 gcin-2.9.4/gtab-buf.cpp:168:3: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-buf.cpp:207:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-buf.cpp:215:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:215:5: error: Common realloc mistake: 'out' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-buf.cpp:40:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:477:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-buf.cpp:515:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:567:12: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:567:38: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:56:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int64_t [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtab-buf.cpp:571:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:571:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:590:3: error: Common realloc mistake: 'gbuf' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-buf.cpp:590:8: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:600:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-buf.cpp:601:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-buf.cpp:603:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:607:5: warning: If memory allocation fails, then there is a possible null pointer dereference: items [nullPointerOutOfMemory] gcin-2.9.4/gtab-buf.cpp:603:18: note: Assuming allocation function fails gcin-2.9.4/gtab-buf.cpp:603:18: note: Assignment 'items=(struct GITEM*)malloc(sizeof(struct GITEM)*(selN))', assigned value is 0 gcin-2.9.4/gtab-buf.cpp:607:5: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-buf.cpp:608:5: warning: If memory allocation fails, then there is a possible null pointer dereference: items [nullPointerOutOfMemory] gcin-2.9.4/gtab-buf.cpp:603:18: note: Assuming allocation function fails gcin-2.9.4/gtab-buf.cpp:603:18: note: Assignment 'items=(struct GITEM*)malloc(sizeof(struct GITEM)*(selN))', assigned value is 0 gcin-2.9.4/gtab-buf.cpp:608:5: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-buf.cpp:609:5: warning: If memory allocation fails, then there is a possible null pointer dereference: items [nullPointerOutOfMemory] gcin-2.9.4/gtab-buf.cpp:603:18: note: Assuming allocation function fails gcin-2.9.4/gtab-buf.cpp:603:18: note: Assignment 'items=(struct GITEM*)malloc(sizeof(struct GITEM)*(selN))', assigned value is 0 gcin-2.9.4/gtab-buf.cpp:609:5: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-buf.cpp:611:9: warning: If memory allocation fails, then there is a possible null pointer dereference: items [nullPointerOutOfMemory] gcin-2.9.4/gtab-buf.cpp:603:18: note: Assuming allocation function fails gcin-2.9.4/gtab-buf.cpp:603:18: note: Assignment 'items=(struct GITEM*)malloc(sizeof(struct GITEM)*(selN))', assigned value is 0 gcin-2.9.4/gtab-buf.cpp:611:9: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-buf.cpp:614:14: warning: If memory allocation fails, then there is a possible null pointer dereference: items [nullPointerOutOfMemory] gcin-2.9.4/gtab-buf.cpp:603:18: note: Assuming allocation function fails gcin-2.9.4/gtab-buf.cpp:603:18: note: Assignment 'items=(struct GITEM*)malloc(sizeof(struct GITEM)*(selN))', assigned value is 0 gcin-2.9.4/gtab-buf.cpp:614:14: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-buf.cpp:667:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab-buf.cpp:676:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:677:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sel [nullPointerOutOfMemory] gcin-2.9.4/gtab-buf.cpp:676:17: note: Assuming allocation function fails gcin-2.9.4/gtab-buf.cpp:676:17: note: Assignment 'sel=(char**)malloc(sizeof(char*)*1)', assigned value is 0 gcin-2.9.4/gtab-buf.cpp:677:4: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-buf.cpp:686:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:687:22: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:719:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:720:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-buf.cpp:748:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int64_t [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtab-buf.cpp:874:10: style: Variable 'pbuf' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-buf.cpp:906:10: style: Variable 'pbuf' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-buf.cpp:973:12: style: Unused variable: tt [unusedVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:103:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:103:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:104:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:104:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:138:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:138:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:139:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:139:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:180:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:181:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:185:28: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:193:69: style: Parameter 'cphbuf' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:197:13: error: Common realloc mistake: 'phidx' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:197:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:210:12: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:210:7: error: Common realloc mistake: 'bf' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:234:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:235:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:237:14: style: Unused variable: usecounta [unusedVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:237:25: style: Unused variable: usecountb [unusedVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:242:6: style: Variable 'pa' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:245:6: style: Variable 'pb' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:263:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:266:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:268:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:295:6: style: Variable 'g_idx' is not assigned a value. [unassignedVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:297:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:297:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:314:10: style: Variable 'pj' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:314:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:330:7: style: Local variable 'ofs' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-db-gen.cpp:17:23: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:330:7: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:331:35: error: Uninitialized variable: g_idx [legacyUninitvar] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:347:8: style: Unused variable: phbuf8 [unusedVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:351:11: style: The scope of the variable 'idx' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:354:7: style: Unused variable: hashidx [unusedVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:382:9: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:383:20: warning: Either the condition '(fp=fopen(argv[1],"rb"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gcin-2.9.4/gtab-db-gen.cpp:377:32: note: Assuming that condition '(fp=fopen(argv[1],"rb"))==NULL' is not redundant gcin-2.9.4/gtab-db-gen.cpp:383:20: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:385:9: warning: Either the condition '(fp=fopen(argv[1],"rb"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gcin-2.9.4/gtab-db-gen.cpp:377:32: note: Assuming that condition '(fp=fopen(argv[1],"rb"))==NULL' is not redundant gcin-2.9.4/gtab-db-gen.cpp:385:9: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:387:16: warning: Either the condition '(fp=fopen(argv[1],"rb"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gcin-2.9.4/gtab-db-gen.cpp:377:32: note: Assuming that condition '(fp=fopen(argv[1],"rb"))==NULL' is not redundant gcin-2.9.4/gtab-db-gen.cpp:387:16: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:389:8: style: The scope of the variable 'keymap' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:391:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:406:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:411:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:419:15: style: Local variable 'cur_inmd' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.h:137:14: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:419:15: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:419:8: style: Local variable 'inmd' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.h:133:14: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:419:8: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:425:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:431:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:443:8: style: Variable 'fofs' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/gtab-db-gen.cpp:387:8: note: fofs is assigned gcin-2.9.4/gtab-db-gen.cpp:443:8: note: fofs is overwritten 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:446:16: style: Variable 'usecount' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:449:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:450:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:472:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:472:3: error: Common realloc mistake: 'textArr' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:479:11: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-db-gen.cpp:351:7: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:479:11: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:485:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:491:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:493:7: style: Local variable 'ofs' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-db-gen.cpp:17:23: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:493:7: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:495:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:498:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:500:11: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-db-gen.cpp:351:7: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:500:11: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:516:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:517:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:538:15: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:539:13: style: Local variable 'len' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-db-gen.cpp:351:15: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:539:13: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:539:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:560:13: style: Local variable 'idx' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-db-gen.cpp:351:11: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:560:13: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:561:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:590:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:604:12: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:609:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:624:14: style: Variable 'en_has_str' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:626:9: style: Local variable 'clen' shadows outer variable [shadowVariable] gcin-2.9.4/gtab-db-gen.cpp:355:8: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:626:9: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:63:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:63:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:64:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:64:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-db-gen.cpp:654:7: style: Local variable 'root' shadows outer variable [shadowVariable] gcin-2.9.4/gcin.h:66:15: note: Shadowed declaration gcin-2.9.4/gtab-db-gen.cpp:654:7: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-dbg.cpp:3:40: style: Parameter 'keymap' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab-init.cpp:104:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-init.cpp:113:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:116:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:191:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_BIN_DIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtab-init.cpp:272:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:283:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-init.cpp:315:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:326:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-init.cpp:347:7: style: Variable 'maxv' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-init.cpp:351:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:360:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:372:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:387:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:403:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:420:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:433:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-init.cpp:451:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-list.cpp:100:12: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-list.cpp:100:5: error: Common realloc mistake: 'inmd' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-list.cpp:121:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 gcin-2.9.4/gtab-list.cpp:129:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-list.cpp:88:9: style: Variable 'def_file' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-merge.cpp:128:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-merge.cpp:128:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:128:28: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-merge.cpp:128:32: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:139:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-merge.cpp:139:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:139:34: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab-merge.cpp:139:38: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:175:31: style: Local variable 'cur_inmd' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.h:137:14: note: Shadowed declaration gcin-2.9.4/gtab-merge.cpp:175:31: note: Shadow variable 2.18.0 gcin-2.9.4/gtab-merge.cpp:222:23: error: Uninitialized variable: cur_inmd->keybits [uninitvar] gcin-2.9.4/gtab-merge.cpp:175:42: note: Assignment 'cur_inmd=&tinmd', assigned value is gcin-2.9.4/gtab-merge.cpp:222:23: note: Uninitialized variable: cur_inmd->keybits 2.18.0 gcin-2.9.4/gtab-merge.cpp:255:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:256:11: warning: If memory allocation fails, then there is a possible null pointer dereference: phridx [nullPointerOutOfMemory] gcin-2.9.4/gtab-merge.cpp:255:14: note: Assuming allocation function fails gcin-2.9.4/gtab-merge.cpp:255:14: note: Assignment 'phridx=(int*)malloc(sizeof(int)*(phr_cou+1))', assigned value is 0 gcin-2.9.4/gtab-merge.cpp:256:11: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-merge.cpp:258:16: warning: If memory allocation fails, then there is a possible null pointer dereference: phridx [nullPointerOutOfMemory] gcin-2.9.4/gtab-merge.cpp:255:14: note: Assuming allocation function fails gcin-2.9.4/gtab-merge.cpp:255:14: note: Assignment 'phridx=(int*)malloc(sizeof(int)*(phr_cou+1))', assigned value is 0 gcin-2.9.4/gtab-merge.cpp:258:16: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-merge.cpp:259:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:260:11: warning: If memory allocation fails, then there is a possible null pointer dereference: phrbuf [nullPointerOutOfMemory] gcin-2.9.4/gtab-merge.cpp:259:28: note: Assuming allocation function fails gcin-2.9.4/gtab-merge.cpp:259:14: note: Assignment 'phrbuf=(char*)malloc(prbf_cou)', assigned value is 0 gcin-2.9.4/gtab-merge.cpp:260:11: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtab-merge.cpp:275:9: style: The scope of the variable 'k' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/gtab-merge.cpp:277:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:277:32: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:311:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-merge.cpp:334:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:334:7: error: Common realloc mistake: 'phridx' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-merge.cpp:336:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:336:7: error: Common realloc mistake: 'phrbuf' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab-merge.cpp:365:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-merge.cpp:366:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-merge.cpp:53:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-merge.cpp:99:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab-merge.cpp:99:25: style: Parameter 't' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:33:31: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:46:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:55:10: style: Variable 'ofs' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:55:14: style: Variable 'ofs' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:66:12: style: Variable 'fofs' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:66:7: style: Variable 'fofs' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:6:17: style: struct member 'GTAB_USE_CNT::flag' is never used. [unusedStructMember] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:75:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab-use-count.cpp:84:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab-util.cpp:15:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int64_t [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtab-util.cpp:42:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-util.cpp:44:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab-util.cpp:5:24: style: Parameter 'inmd' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab.cpp:1022:9: style: Variable 'pselkey' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab.cpp:1026:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtab.cpp:1027:12: style: Variable 'ctrl_m' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/gtab.cpp:1031:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab.cpp:1092:20: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:1098:1: style: Label 'en_char' is not used. [unusedLabel] 2.18.0 gcin-2.9.4/gtab.cpp:1100:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab.cpp:110:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:110:30: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab.cpp:110:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:110:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab.cpp:1187:13: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.cpp:1020:7: note: Shadowed declaration gcin-2.9.4/gtab.cpp:1187:13: note: Shadow variable 2.18.0 gcin-2.9.4/gtab.cpp:1192:30: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:1200:13: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.cpp:1020:7: note: Shadowed declaration gcin-2.9.4/gtab.cpp:1200:13: note: Shadow variable 2.18.0 gcin-2.9.4/gtab.cpp:1205:30: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:135:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:141:26: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:1586:13: style: Variable 'pendkey' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab.cpp:1709:17: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.cpp:1020:7: note: Shadowed declaration gcin-2.9.4/gtab.cpp:1709:17: note: Shadow variable 2.18.0 gcin-2.9.4/gtab.cpp:1717:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:1731:19: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.cpp:1020:7: note: Shadowed declaration gcin-2.9.4/gtab.cpp:1731:19: note: Shadow variable 2.18.0 gcin-2.9.4/gtab.cpp:1733:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:1791:9: style: Variable 'pendkey' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab.cpp:1900:1: style: Label 'refill' is not used. [unusedLabel] 2.18.0 gcin-2.9.4/gtab.cpp:1946:15: style: Variable 'tbl_ch' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/gtab.cpp:201:9: warning: Uninitialized variable: tbuf [uninitvar] gcin-2.9.4/gtab.cpp:185:14: note: Assuming condition is false gcin-2.9.4/gtab.cpp:201:9: note: Uninitialized variable: tbuf 2.18.0 gcin-2.9.4/gtab.cpp:2038:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:2038:9: error: Common realloc mistake: 'sel' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/gtab.cpp:220:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtab.cpp:295:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/gtab.cpp:353:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:377:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:547:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:568:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/gtab.cpp:587:32: style: Parameter 'reg' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab.cpp:704:14: style: Local variable 'uu' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.cpp:663:8: note: Shadowed declaration gcin-2.9.4/gtab.cpp:704:14: note: Shadow variable 2.18.0 gcin-2.9.4/gtab.cpp:82:36: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtab.cpp:831:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_KP_9 [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtab.cpp:948:48: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_timeout_auto_space' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/gtab.cpp:967:61: note: You might need to cast the function pointer here gcin-2.9.4/gtab.cpp:948:48: note: Parameter 'data' can be declared as pointer to const 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_IM_CONTEXT [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:119:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:154:15: style: Variable 'display' can be declared as pointer to const [constVariablePointer] head gcin-2.9.4/gtk-im/gtkimcontextgcin.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/gtk-im/gtkimcontextgcin.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:277:18: style: Condition 'context_xim->client_window' is always true [knownConditionTrueFalse] 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:327:51: style:inconclusive: Function 'gtk_im_context_gcin_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. [funcArgNamesDifferent] gcin-2.9.4/gtk-im/gtkimcontextgcin.c:78:37: note: Function 'gtk_im_context_gcin_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. gcin-2.9.4/gtk-im/gtkimcontextgcin.c:327:51: note: Function 'gtk_im_context_gcin_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:337:10: style: Unused variable: status [unusedVariable] 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:353:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:482:14: warning: If memory allocation fails, then there is a possible null pointer dereference: rstr [nullPointerOutOfMemory] gcin-2.9.4/gtk-im/gtkimcontextgcin.c:481:28: note: Assuming allocation function fails gcin-2.9.4/gtk-im/gtkimcontextgcin.c:481:14: note: Assignment 'rstr=(char*)malloc(num_bytes+1)', assigned value is 0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:482:14: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:483:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rstr [nullPointerOutOfMemory] gcin-2.9.4/gtk-im/gtkimcontextgcin.c:481:28: note: Assuming allocation function fails gcin-2.9.4/gtk-im/gtkimcontextgcin.c:481:14: note: Assignment 'rstr=(char*)malloc(num_bytes+1)', assigned value is 0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:483:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:619:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_GCIN_client_handle_use_preedit [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:661:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_PREEDIT_ATTR_FLAG_UNDERLINE [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtk-im/gtkimcontextgcin.c:697:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_GCIN_client_handle_use_preedit [valueFlowBailoutIncompleteVar] head gcin-2.9.4/gtk-im/gtkimcontextgcin.h:24:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/gtk-im/gtkimcontextgcin.h:24:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_IM_CONTEXT [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:119:36: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:154:15: style: Variable 'display' can be declared as pointer to const [constVariablePointer] head gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:277:18: style: Condition 'context_xim->client_window' is always true [knownConditionTrueFalse] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:327:51: style:inconclusive: Function 'gtk_im_context_gcin_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. [funcArgNamesDifferent] gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:78:37: note: Function 'gtk_im_context_gcin_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:327:51: note: Function 'gtk_im_context_gcin_filter_keypress' argument 2 names different: declaration 'key' definition 'event'. 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:337:10: style: Unused variable: status [unusedVariable] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:353:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:482:14: warning: If memory allocation fails, then there is a possible null pointer dereference: rstr [nullPointerOutOfMemory] gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:481:28: note: Assuming allocation function fails gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:481:14: note: Assignment 'rstr=(char*)malloc(num_bytes+1)', assigned value is 0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:482:14: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:483:7: warning: If memory allocation fails, then there is a possible null pointer dereference: rstr [nullPointerOutOfMemory] gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:481:28: note: Assuming allocation function fails gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:481:14: note: Assignment 'rstr=(char*)malloc(num_bytes+1)', assigned value is 0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:483:7: note: Null pointer dereference 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:619:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_GCIN_client_handle_use_preedit [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:661:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_PREEDIT_ATTR_FLAG_UNDERLINE [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/gtk3-im/gtkimcontextgcin.c:697:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLAG_GCIN_client_handle_use_preedit [valueFlowBailoutIncompleteVar] head gcin-2.9.4/gtk3-im/gtkimcontextgcin.h:24:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/gtk3-im/gtkimcontextgcin.h:24:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/html-browser.cpp:17:15: style: Variable 'html_browse' can be declared as const array [constVariable] 2.18.0 gcin-2.9.4/html-browser.cpp:17:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_SCRIPT_DIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/html-browser.cpp:9:24: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/im-addr.cpp:11:9: style: Variable 'disp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/im-addr.cpp:27:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/im-addr.cpp:27:23: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] 2.18.0 gcin-2.9.4/im-addr.cpp:35:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/im-addr.cpp:51:9: style: Variable 'xim_name' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/im-addr.cpp:70:9: style: Variable 'xim_name' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/im-dispatch.cpp:173:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/im-dispatch.cpp:203:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-dispatch.cpp:204:10: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] gcin-2.9.4/im-dispatch.cpp:203:47: note: Assuming allocation function fails gcin-2.9.4/im-dispatch.cpp:203:24: note: Assignment 'tmp=(unsigned char*)malloc(n)', assigned value is 0 gcin-2.9.4/im-dispatch.cpp:204:10: note: Null pointer dereference 2.18.0 gcin-2.9.4/im-dispatch.cpp:215:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 gcin-2.9.4/im-dispatch.cpp:347:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-dispatch.cpp:382:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_req_message [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/im-dispatch.cpp:396:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/im-dispatch.cpp:621:13: style: Local variable 'rn' shadows outer variable [shadowVariable] gcin-2.9.4/im-dispatch.cpp:313:7: note: Shadowed declaration gcin-2.9.4/im-dispatch.cpp:621:13: note: Shadow variable 2.18.0 gcin-2.9.4/im-dispatch.cpp:91:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-srv.cpp:100:20: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-srv.cpp:100:5: error: Common realloc mistake: 'gcin_clients' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/im-srv.cpp:104:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/im-srv.cpp:108:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-srv.cpp:152:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/im-srv.cpp:153:29: style: Variable 'padd' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/im-srv.cpp:153:34: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-srv.cpp:154:15: style: Variable 'ipaddr' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/im-srv.cpp:182:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/im-srv.cpp:183:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/im-srv.cpp:211:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/im-srv.cpp:220:18: error: Allocation with g_io_channel_unix_new, g_io_add_watch doesn't release it. [leakNoVarFunctionCall] 2.18.0 gcin-2.9.4/im-srv.cpp:221:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-srv.cpp:229:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-srv.cpp:240:39: style: Condition 'get_ip_address(&srv_ip_port.ip)<0' is always false [knownConditionTrueFalse] gcin-2.9.4/im-srv.cpp:240:21: note: Calling function 'get_ip_address' returns 0 gcin-2.9.4/im-srv.cpp:240:39: note: Condition 'get_ip_address(&srv_ip_port.ip)<0' is always false 2.18.0 gcin-2.9.4/im-srv.cpp:256:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/im-srv.cpp:261:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/im-srv.cpp:285:18: error: Allocation with g_io_channel_unix_new, g_io_add_watch doesn't release it. [leakNoVarFunctionCall] 2.18.0 gcin-2.9.4/im-srv.cpp:286:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-srv.cpp:50:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __GCIN_PASSWD_N_ [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/im-srv.cpp:56:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/im-srv.cpp:75:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/im-srv.cpp:77:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/im-srv.cpp:82:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/im-srv.cpp:84:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/im-srv.cpp:87:17: style: Checking if unsigned expression 'newsockfd' is less than zero. [unsignedLessThanZero] 2.18.0 gcin-2.9.4/im-srv.cpp:93:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/juyin-learn.cpp:126:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/juyin-learn.cpp:127:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:128:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:132:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:136:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/juyin-learn.cpp:137:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:142:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:144:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:146:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:154:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/juyin-learn.cpp:155:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:158:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:159:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:163:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:164:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:168:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:50:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:54:34: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:58:13: style: Variable 'phostr' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/juyin-learn.cpp:69:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/juyin-learn.cpp:69:5: error: Common realloc mistake: 'outtext' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/kbmcv.cpp:112:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/kbmcv.cpp:11:22: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/kbmcv.cpp:53:9: style: The scope of the variable 'len' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/kbmcv.cpp:55:18: style: The scope of the variable 'chk' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/kbmcv.cpp:67:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/locale.cpp:109:7: style: Unused variable: i [unusedVariable] 2.18.0 gcin-2.9.4/locale.cpp:110:11: style: Variable 'len' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/locale.cpp:110:7: style: Variable 'len' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/locale.cpp:126:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1139:15: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1203:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1216:49: style: Parameter 'funcs' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1239:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANTHY_UTF8_ENCODING [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1242:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1243:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1245:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1254:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1256:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1257:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1259:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1265:11: warning: If memory allocation fails, then there is a possible null pointer dereference: seg [nullPointerOutOfMemory] gcin-2.9.4/modules/anthy.cpp:1264:15: note: Assuming allocation function fails gcin-2.9.4/modules/anthy.cpp:1264:15: note: Assignment 'seg=malloc(n)', assigned value is 0 gcin-2.9.4/modules/anthy.cpp:1265:11: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/anthy.cpp:1265:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1269:11: warning: If memory allocation fails, then there is a possible null pointer dereference: sel_seg [nullPointerOutOfMemory] gcin-2.9.4/modules/anthy.cpp:1268:21: note: Assuming allocation function fails gcin-2.9.4/modules/anthy.cpp:1268:21: note: Assignment 'sel_seg=malloc(n)', assigned value is 0 gcin-2.9.4/modules/anthy.cpp:1269:11: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/anthy.cpp:1269:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1274:5: warning: If memory allocation fails, then there is a possible null pointer dereference: seg [nullPointerOutOfMemory] gcin-2.9.4/modules/anthy.cpp:1264:15: note: Assuming allocation function fails gcin-2.9.4/modules/anthy.cpp:1264:15: note: Assignment 'seg=malloc(n)', assigned value is 0 gcin-2.9.4/modules/anthy.cpp:1274:5: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/anthy.cpp:1275:21: warning: If memory allocation fails, then there is a possible null pointer dereference: seg [nullPointerOutOfMemory] gcin-2.9.4/modules/anthy.cpp:1264:15: note: Assuming allocation function fails gcin-2.9.4/modules/anthy.cpp:1264:15: note: Assignment 'seg=malloc(n)', assigned value is 0 gcin-2.9.4/modules/anthy.cpp:1275:21: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/anthy.cpp:1276:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1276:45: warning: If memory allocation fails, then there is a possible null pointer dereference: seg [nullPointerOutOfMemory] gcin-2.9.4/modules/anthy.cpp:1264:15: note: Assuming allocation function fails gcin-2.9.4/modules/anthy.cpp:1264:15: note: Assignment 'seg=malloc(n)', assigned value is 0 gcin-2.9.4/modules/anthy.cpp:1276:45: note: Null pointer dereference head gcin-2.9.4/modules/anthy.cpp:1324:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/modules/anthy.cpp:1324:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1339:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rgbfg [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1351:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1363:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1376:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TSIN_CHINESE_ENGLISH_TOGGLE_KEY_Shift [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1408:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1420:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1420:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:1493:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:545:15: style: Variable 'ch2' can be declared as const array [constVariable] 2.18.0 gcin-2.9.4/modules/anthy.cpp:555:11: style: Variable 'en' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/modules/anthy.cpp:587:11: style: Variable 'en' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/modules/anthy.cpp:613:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:618:42: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/modules/anthy.cpp:623:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:630:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:640:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:662:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:681:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:686:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:718:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:802:11: style: Variable 'old_str' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/modules/anthy.cpp:802:11: style: Variable 'old_str' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/modules/anthy.cpp:817:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:890:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/anthy.cpp:919:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/chewing.cpp:124:11: style: Variable 'pszHome' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/modules/chewing.cpp:133:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pszChewingHashDir [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing.cpp:132:32: note: Assuming allocation function fails gcin-2.9.4/modules/chewing.cpp:132:32: note: Assignment 'pszChewingHashDir=malloc(strlen(pszHome)+strlen("/.chewing/")+1)', assigned value is 0 gcin-2.9.4/modules/chewing.cpp:133:13: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/chewing.cpp:136:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHEWING_DATADIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/chewing.cpp:170:46: style: Parameter 'pFuncs' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/modules/chewing.cpp:174:18: style: Variable 'nSegSize' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/modules/chewing.cpp:174:9: style: The scope of the variable 'nSegSize' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/modules/chewing.cpp:194:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/chewing.cpp:196:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:202:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:203:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:205:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:215:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:217:22: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/chewing.cpp:220:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:232:17: warning: If memory allocation fails, then there is a possible null pointer dereference: g_pSeg [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing.cpp:231:25: note: Assuming allocation function fails gcin-2.9.4/modules/chewing.cpp:231:25: note: Assignment 'g_pSeg=malloc(nSegSize)', assigned value is 0 gcin-2.9.4/modules/chewing.cpp:232:17: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/chewing.cpp:237:9: warning: If memory allocation fails, then there is a possible null pointer dereference: g_pSeg [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing.cpp:231:25: note: Assuming allocation function fails gcin-2.9.4/modules/chewing.cpp:231:25: note: Assignment 'g_pSeg=malloc(nSegSize)', assigned value is 0 gcin-2.9.4/modules/chewing.cpp:237:9: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/chewing.cpp:238:26: warning: If memory allocation fails, then there is a possible null pointer dereference: g_pSeg [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing.cpp:231:25: note: Assuming allocation function fails gcin-2.9.4/modules/chewing.cpp:231:25: note: Assignment 'g_pSeg=malloc(nSegSize)', assigned value is 0 gcin-2.9.4/modules/chewing.cpp:238:26: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/chewing.cpp:239:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:240:29: warning: If memory allocation fails, then there is a possible null pointer dereference: g_pSeg [nullPointerOutOfMemory] gcin-2.9.4/modules/chewing.cpp:231:25: note: Assuming allocation function fails gcin-2.9.4/modules/chewing.cpp:231:25: note: Assignment 'g_pSeg=malloc(nSegSize)', assigned value is 0 gcin-2.9.4/modules/chewing.cpp:240:29: note: Null pointer dereference 2.18.0 gcin-2.9.4/modules/chewing.cpp:278:53: style:inconclusive: Function 'module_get_preedit' argument 2 names different: declaration 'attr' definition 'gcinPreeditAttr'. [funcArgNamesDifferent] gcin-2.9.4/modules/chewing.h:37:57: note: Function 'module_get_preedit' argument 2 names different: declaration 'attr' definition 'gcinPreeditAttr'. gcin-2.9.4/modules/chewing.cpp:278:53: note: Function 'module_get_preedit' argument 2 names different: declaration 'attr' definition 'gcinPreeditAttr'. 2.18.0 gcin-2.9.4/modules/chewing.cpp:279:41: style: Parameter 'pCompFlag' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/modules/chewing.cpp:283:9: style: The scope of the variable 'nLength' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/modules/chewing.cpp:289:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flag [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/chewing.cpp:297:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:297:49: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:319:15: style: Variable 'pCompFlag' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/modules/chewing.cpp:319:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 gcin-2.9.4/modules/chewing.cpp:331:18: style: The scope of the variable 'nBufIdx' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/modules/chewing.cpp:331:9: style: The scope of the variable 'nPhoIdx' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/modules/chewing.cpp:332:9: style: The scope of the variable 'nIdx' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/modules/chewing.cpp:484:22: style:inconclusive: Function 'module_move_win' argument 1 names different: declaration 'x' definition 'nX'. [funcArgNamesDifferent] gcin-2.9.4/modules/chewing.h:41:26: note: Function 'module_move_win' argument 1 names different: declaration 'x' definition 'nX'. gcin-2.9.4/modules/chewing.cpp:484:22: note: Function 'module_move_win' argument 1 names different: declaration 'x' definition 'nX'. 2.18.0 gcin-2.9.4/modules/chewing.cpp:484:30: style:inconclusive: Function 'module_move_win' argument 2 names different: declaration 'y' definition 'nY'. [funcArgNamesDifferent] gcin-2.9.4/modules/chewing.h:41:33: note: Function 'module_move_win' argument 2 names different: declaration 'y' definition 'nY'. gcin-2.9.4/modules/chewing.cpp:484:30: note: Function 'module_move_win' argument 2 names different: declaration 'y' definition 'nY'. 2.18.0 gcin-2.9.4/modules/chewing.cpp:486:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:500:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:512:16: style: The scope of the variable 'pLabel' can be reduced. [variableScope] head gcin-2.9.4/modules/chewing.cpp:526:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/modules/chewing.cpp:526:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/modules/chewing.cpp:546:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:56:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:575:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:587:11: style: The scope of the variable 'pszTmp' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/modules/chewing.cpp:66:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/chewing.cpp:94:42: style:inconclusive: Function 'gcin_label_cand_show' argument 2 names different: declaration 'nCount' definition 'nIdx'. [funcArgNamesDifferent] gcin-2.9.4/modules/chewing.cpp:11:58: note: Function 'gcin_label_cand_show' argument 2 names different: declaration 'nCount' definition 'nIdx'. gcin-2.9.4/modules/chewing.cpp:94:42: note: Function 'gcin_label_cand_show' argument 2 names different: declaration 'nCount' definition 'nIdx'. 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:100:16: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:102:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:105:26: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:106:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:107:42: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:108:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:109:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:111:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:114:31: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:115:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:116:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:117:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:119:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:120:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:123:29: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:124:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:125:45: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:126:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:128:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:129:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:132:27: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:133:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:134:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:135:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:137:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:138:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:141:31: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:142:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:143:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:144:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:146:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:147:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:150:22: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:151:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:157:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:159:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head gcin-2.9.4/modules/gcin-setup-chewing.cpp:161:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/modules/gcin-setup-chewing.cpp:161:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:168:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:170:32: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:173:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:177:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:51:36: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:52:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:53:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:54:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:55:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:81:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:85:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:88:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:90:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:92:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:96:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:97:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/gcin-setup-chewing.cpp:98:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:125:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:138:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:149:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/win-int.cpp:150:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:151:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:158:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:160:14: style: Variable 'gdkwin' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/modules/win-int.cpp:160:14: style: Variable 'gdkwin' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/modules/win-int.cpp:160:21: style: Variable 'gdkwin' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/modules/win-int.cpp:163:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:164:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:167:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/win-int.cpp:168:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:170:57: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:171:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:173:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:176:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:177:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:178:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/modules/win-int.cpp:179:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:185:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:190:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:229:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:237:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:30:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:51:47: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:58:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] head gcin-2.9.4/modules/win-int.cpp:61:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gcin-2.9.4/modules/win-int.cpp:61:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gcin-2.9.4/modules/win-int.cpp:64:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu_int_opts [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/modules/win-int.cpp:72:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:79:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:80:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:86:32: style: Parameter 'intcode' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/modules/win-int.cpp:88:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/modules/win-int.cpp:95:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/pho-dbg.cpp:92:22: style: Parameter 'ks' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/pho-kbd-util.cpp:3:31: style: Parameter 'kbd' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/pho-lookup.cpp:6:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/pho-lookup.cpp:9:22: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho-play.cpp:109:9: style: Variable 'ph' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho-play.cpp:111:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gcin_program_files_path [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/pho-play.cpp:129:29: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho-util.cpp:127:22: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho-util.cpp:138:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho-util.cpp:169:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho-util.cpp:169:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho-util.cpp:170:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho-util.cpp:170:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho-util.cpp:176:25: style:inconclusive: Function 'utf8_pho_keys' argument 1 names different: declaration 'big5' definition 'utf8'. [funcArgNamesDifferent] gcin-2.9.4/pho.h:48:25: note: Function 'utf8_pho_keys' argument 1 names different: declaration 'big5' definition 'utf8'. gcin-2.9.4/pho-util.cpp:176:25: note: Function 'utf8_pho_keys' argument 1 names different: declaration 'big5' definition 'utf8'. 2.18.0 gcin-2.9.4/pho-util.cpp:285:13: style: Variable 'pstr' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho-util.cpp:42:27: style: Unused variable: vv [unusedVariable] 2.18.0 gcin-2.9.4/pho-util.cpp:67:39: warning: Either the condition '(fr=fopen(phofname,"rb"))==NULL' is redundant or there is possible null pointer dereference: fr. [nullPointerRedundantCheck] gcin-2.9.4/pho-util.cpp:61:32: note: Assuming that condition '(fr=fopen(phofname,"rb"))==NULL' is not redundant gcin-2.9.4/pho-util.cpp:67:39: note: Null pointer dereference 2.18.0 gcin-2.9.4/pho-util.cpp:68:39: warning: Either the condition '(fr=fopen(phofname,"rb"))==NULL' is redundant or there is possible null pointer dereference: fr. [nullPointerRedundantCheck] gcin-2.9.4/pho-util.cpp:61:32: note: Assuming that condition '(fr=fopen(phofname,"rb"))==NULL' is not redundant gcin-2.9.4/pho-util.cpp:68:39: note: Null pointer dereference 2.18.0 gcin-2.9.4/pho-util.cpp:69:32: warning: Either the condition '(fr=fopen(phofname,"rb"))==NULL' is redundant or there is possible null pointer dereference: fr. [nullPointerRedundantCheck] gcin-2.9.4/pho-util.cpp:61:32: note: Assuming that condition '(fr=fopen(phofname,"rb"))==NULL' is not redundant gcin-2.9.4/pho-util.cpp:69:32: note: Null pointer dereference 2.18.0 gcin-2.9.4/pho-util.cpp:70:60: warning: Either the condition '(fr=fopen(phofname,"rb"))==NULL' is redundant or there is possible null pointer dereference: fr. [nullPointerRedundantCheck] gcin-2.9.4/pho-util.cpp:61:32: note: Assuming that condition '(fr=fopen(phofname,"rb"))==NULL' is not redundant gcin-2.9.4/pho-util.cpp:70:60: note: Null pointer dereference 2.18.0 gcin-2.9.4/pho-util.cpp:74:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho-util.cpp:75:9: warning: If memory allocation fails, then there is a possible null pointer dereference: idx_pho [nullPointerOutOfMemory] gcin-2.9.4/pho-util.cpp:74:13: note: Assuming allocation function fails gcin-2.9.4/pho-util.cpp:74:13: note: Assignment 'idx_pho=(struct PHO_IDX*)malloc(sizeof(struct PHO_IDX)*(idxnum_pho+1))', assigned value is 0 gcin-2.9.4/pho-util.cpp:75:9: note: Null pointer dereference 2.18.0 gcin-2.9.4/pho-util.cpp:83:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho-util.cpp:93:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho-util.cpp:94:11: warning: If memory allocation fails, then there is a possible null pointer dereference: pho_phrase_area [nullPointerOutOfMemory] gcin-2.9.4/pho-util.cpp:93:23: note: Assuming allocation function fails gcin-2.9.4/pho-util.cpp:93:23: note: Assignment 'pho_phrase_area=(char*)malloc(sizeof(char)*(pho_phrase_area_sz))', assigned value is 0 gcin-2.9.4/pho-util.cpp:94:11: note: Null pointer dereference 2.18.0 gcin-2.9.4/pho.cpp:1021:13: style: Variable 'pho_str' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho.cpp:1032:11: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho.cpp:1048:13: style: Variable 'pho_str' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho.cpp:1071:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable typ [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/pho.cpp:1088:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pho.cpp:1092:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pho.cpp:121:16: style: Unused variable: mkey [unusedVariable] 2.18.0 gcin-2.9.4/pho.cpp:124:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pho.cpp:237:5: style: Statements following 'return' will never be executed. [unreachableCode] 2.18.0 gcin-2.9.4/pho.cpp:249:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/pho.cpp:306:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pho.cpp:340:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/pho.cpp:392:9: style: Condition 'num' is always true [knownConditionTrueFalse] 2.18.0 gcin-2.9.4/pho.cpp:404:12: style: Local variable 'num' shadows outer variable [shadowVariable] gcin-2.9.4/pho.cpp:383:10: note: Shadowed declaration gcin-2.9.4/pho.cpp:404:12: note: Shadow variable 2.18.0 gcin-2.9.4/pho.cpp:405:12: style: Local variable 'typ' shadows outer variable [shadowVariable] gcin-2.9.4/pho.cpp:384:10: note: Shadowed declaration gcin-2.9.4/pho.cpp:405:12: note: Shadow variable 2.18.0 gcin-2.9.4/pho.cpp:450:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pho.cpp:451:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pho.cpp:498:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho.cpp:498:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho.cpp:499:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho.cpp:499:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho.cpp:51:23: style: Parameter 'typ_pho' can be declared as const array [constParameter] 2.18.0 gcin-2.9.4/pho.cpp:538:48: style: Parameter 'utf8' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/pho.cpp:547:11: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho.cpp:571:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho.cpp:574:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pho.cpp:632:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SH_DENYWR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/pho.cpp:641:72: style: Checking if unsigned expression 'fwrite(&ch_pho[start_i],sizeof(struct PHO_ITEM),stop_i-start_i,fw)' is less than zero. [unsignedLessThanZero] 2.18.0 gcin-2.9.4/pho.cpp:692:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pho.cpp:739:7: style: Variable 'n' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/pho.cpp:739:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/pho.cpp:791:9: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pho.cpp:796:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/pho2pinyin.cpp:19:42: style: Parameter 'rtyp_pho' can be declared as const array [constParameter] 2.18.0 gcin-2.9.4/pho2pinyin.cpp:78:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/phoa2d.cpp:105:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/phoa2d.cpp:109:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/phoa2d.cpp:109:7: error: Common realloc mistake: 'phrase_area' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/phoa2d.cpp:21:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/phoa2d.cpp:21:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/phoa2d.cpp:22:11: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/phoa2d.cpp:22:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/phoa2d.cpp:37:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/phoa2d.cpp:37:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/phoa2d.cpp:38:11: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/phoa2d.cpp:38:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/phoa2d.cpp:41:9: style: Variable 'd' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/phoa2d.cpp:85:22: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/phod2a.cpp:39:13: style: Variable 'str' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/phod2a.cpp:39:35: style: The scope of the variable 'tt' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/phod2a.cpp:41:39: error: Uninitialized variable: tt [legacyUninitvar] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:104:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:19:35: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'cb_clicked' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/phrase-save-menu.cpp:41:3: note: You might need to cast the function pointer here gcin-2.9.4/phrase-save-menu.cpp:19:35: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:40:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:41:3: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:41:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:52:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:53:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:64:21: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:65:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/phrase-save-menu.cpp:71:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/phrase.cpp:178:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ControlMask [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/pin-juyin.cpp:21:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pin-juyin.cpp:34:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pin-juyin.cpp:35:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 gcin-2.9.4/pin-juyin.cpp:40:20: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pin-juyin.cpp:7:14: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pin-juyin.cpp:7:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pin-juyin.cpp:7:34: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/pin-juyin.cpp:7:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pinyin.cpp:114:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pinyin.cpp:136:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pinyin.cpp:137:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pin_juyin [nullPointerOutOfMemory] gcin-2.9.4/pinyin.cpp:136:15: note: Assuming allocation function fails gcin-2.9.4/pinyin.cpp:136:15: note: Assignment 'pin_juyin=(struct PIN_JUYIN*)malloc(sizeof(struct PIN_JUYIN)*(pin_juyinN))', assigned value is 0 gcin-2.9.4/pinyin.cpp:137:9: note: Null pointer dereference 2.18.0 gcin-2.9.4/pinyin.cpp:14:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pinyin.cpp:23:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pinyin.cpp:45:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/pinyin.cpp:47:33: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/pinyin.cpp:62:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/sim2trad.cpp:100:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/sim2trad.cpp:101:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:106:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:108:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:110:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:116:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/sim2trad.cpp:117:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:120:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:121:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:124:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:125:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:128:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:43:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:45:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:89:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/sim2trad.cpp:90:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:91:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/sim2trad.cpp:96:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/statistic.cpp:102:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/statistic.cpp:28:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/statistic.cpp:52:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/statistic.cpp:52:5: error: Common realloc mistake: 'ch_time' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/statistic.cpp:85:39: style: Parameter 'data' can be declared as pointer to const. However it seems that 'timeout_update_stat' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/statistic.cpp:105:40: note: You might need to cast the function pointer here gcin-2.9.4/statistic.cpp:85:39: note: Parameter 'data' can be declared as pointer to const 2.18.0 gcin-2.9.4/statistic.cpp:96:21: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/statistic.cpp:97:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/t2s-lookup.cpp:11:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/t2s-lookup.cpp:13:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/t2s-lookup.cpp:28:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/t2s-lookup.cpp:56:9: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/t2s-lookup.cpp:61:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/t2s-lookup.cpp:61:5: error: Common realloc mistake: 'op' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/t2s-lookup.cpp:69:3: warning: Possible null pointer dereference: op [nullPointer] gcin-2.9.4/t2s-lookup.cpp:58:14: note: Assignment 'op=NULL', assigned value is 0 gcin-2.9.4/t2s-lookup.cpp:60:12: note: Assuming condition is false gcin-2.9.4/t2s-lookup.cpp:69:3: note: Null pointer dereference 2.18.0 gcin-2.9.4/t2s-lookup.cpp:84:3: style: Statements following 'return' will never be executed. [unreachableCode] 2.18.0 gcin-2.9.4/table-update.cpp:7:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tray-indicator.cpp:127:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tray-indicator.cpp:136:7: style: Unused variable: i [unusedVariable] 2.18.0 gcin-2.9.4/tray-indicator.cpp:143:9: style: The scope of the variable 'ld_error' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/tray-indicator.cpp:157:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AppIndicator [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tray-indicator.cpp:203:9: style: Variable 'tip' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tray-indicator.cpp:252:13: style: Variable 'tip' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tray-indicator.cpp:252:13: style: Variable 'tip' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tray-indicator.cpp:204:6: note: tip is assigned gcin-2.9.4/tray-indicator.cpp:252:13: note: tip is overwritten 2.18.0 gcin-2.9.4/tray-indicator.cpp:256:13: style: Variable 'tip' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tray-indicator.cpp:261:10: style: Variable 'tip' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tray-indicator.cpp:264:11: style: Variable 'tip' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tray-indicator.cpp:33:44: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_inmd_menu' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-indicator.cpp:110:6: note: You might need to cast the function pointer here gcin-2.9.4/tray-indicator.cpp:33:44: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-indicator.cpp:33:68: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_inmd_menu' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-indicator.cpp:110:6: note: You might need to cast the function pointer here gcin-2.9.4/tray-indicator.cpp:33:68: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:104:41: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'exec_gcin_setup_' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:142:6: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:104:41: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:104:65: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'exec_gcin_setup_' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:142:6: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:104:65: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:117:40: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_about_window' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:135:6: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:117:40: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:117:64: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_about_window' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:135:6: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:117:64: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:164:62: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_set_output_buffer_bak_to_clipboard' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:205:32: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:164:62: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:164:86: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_set_output_buffer_bak_to_clipboard' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:205:32: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:164:86: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:187:52: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_fast_phonetic_kbd_switch' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:199:16: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:187:52: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:187:76: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_fast_phonetic_kbd_switch' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:199:16: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:187:76: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:192:42: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_half_full_char' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:204:29: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:192:42: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:192:66: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_half_full_char' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:204:29: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:192:66: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:237:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tray-win32.cpp:243:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tray-win32.cpp:281:40: style: Parameter 'status_icon' can be declared as pointer to const. However it seems that 'cb_activate' is a callback function, if 'status_icon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:492:5: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:281:40: note: Parameter 'status_icon' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:281:62: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_activate' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:492:5: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:281:62: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:309:46: style: Parameter 'status_icon' can be declared as pointer to const. However it seems that 'cb_activate_state' is a callback function, if 'status_icon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:497:5: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:309:46: note: Parameter 'status_icon' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:309:68: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_activate_state' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:497:5: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:309:68: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:36:36: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_sim2trad' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:201:26: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:36:36: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:36:60: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_sim2trad' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:201:26: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:36:60: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_BIN_DIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tray-win32.cpp:398:12: style: Variable 'tip' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tray-win32.cpp:41:36: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_trad2sim' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:200:26: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:41:36: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:41:60: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_trad2sim' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:200:26: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:41:60: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCIN_BIN_DIR [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tray-win32.cpp:452:13: style: Variable 'tip' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tray-win32.cpp:452:13: style: Variable 'tip' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tray-win32.cpp:399:6: note: tip is assigned gcin-2.9.4/tray-win32.cpp:452:13: note: tip is overwritten 2.18.0 gcin-2.9.4/tray-win32.cpp:456:13: style: Variable 'tip' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tray-win32.cpp:461:10: style: Variable 'tip' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tray-win32.cpp:464:11: style: Variable 'tip' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tray-win32.cpp:492:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tray-win32.cpp:493:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tray-win32.cpp:497:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tray-win32.cpp:498:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tray-win32.cpp:509:10: style: Local variable 'tt' shadows outer variable [shadowVariable] gcin-2.9.4/tray-win32.cpp:403:8: note: Shadowed declaration gcin-2.9.4/tray-win32.cpp:509:10: note: Shadow variable 2.18.0 gcin-2.9.4/tray-win32.cpp:57:37: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'restart_gcin' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:152:6: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:57:37: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:57:61: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'restart_gcin' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:152:6: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:57:61: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:77:35: style: Parameter 'checkmenuitem' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tray-win32.cpp:77:59: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tray-win32.cpp:91:44: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_trad_sim_toggle_' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:202:26: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:91:44: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:91:68: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_trad_sim_toggle_' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:202:26: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:91:68: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:98:40: style: Parameter 'checkmenuitem' can be declared as pointer to const. However it seems that 'cb_stat_toggle_' is a callback function, if 'checkmenuitem' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:203:26: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:98:40: note: Parameter 'checkmenuitem' can be declared as pointer to const 2.18.0 gcin-2.9.4/tray-win32.cpp:98:64: style: Parameter 'dat' can be declared as pointer to const. However it seems that 'cb_stat_toggle_' is a callback function, if 'dat' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tray-win32.cpp:203:26: note: You might need to cast the function pointer here gcin-2.9.4/tray-win32.cpp:98:64: note: Parameter 'dat' can be declared as pointer to const 2.18.0 gcin-2.9.4/ts-download.cpp:100:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-download.cpp:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-download.cpp:159:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLM_OK [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-download.cpp:205:32: style: Checking if unsigned expression 'file->buffer_pos-want' is less than zero. [unsignedLessThanZero] 2.18.0 gcin-2.9.4/ts-download.cpp:231:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-download.cpp:244:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-download.cpp:292:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-download.cpp:319:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-download.cpp:358:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-download.cpp:385:11: style: Unused variable: wn [unusedVariable] 2.18.0 gcin-2.9.4/ts-download.cpp:409:6: style: Variable 'rn' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/ts-download.cpp:433:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-download.cpp:433:5: style: Variable 'rn' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/ts-download.cpp:433:5: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/ts-download.cpp:424:8: note: rn is assigned gcin-2.9.4/ts-download.cpp:433:5: note: rn is overwritten 2.18.0 gcin-2.9.4/ts-download.cpp:439:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-download.cpp:454:7: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/ts-download.cpp:450:7: note: rn is assigned gcin-2.9.4/ts-download.cpp:454:7: note: rn is overwritten 2.18.0 gcin-2.9.4/ts-download.cpp:85:36: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'write_callback' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/ts-download.cpp:247:64: note: You might need to cast the function pointer here gcin-2.9.4/ts-download.cpp:85:36: note: Parameter 'buffer' can be declared as pointer to const 2.18.0 gcin-2.9.4/ts-download.cpp:93:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:102:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:114:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:136:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:136:29: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/ts-edit.cpp:136:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:136:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/ts-edit.cpp:157:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:157:5: error: Common realloc mistake: 'ts_idx' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/ts-edit.cpp:182:8: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/ts-edit.cpp:166:8: note: rn is assigned gcin-2.9.4/ts-edit.cpp:182:8: note: rn is overwritten 2.18.0 gcin-2.9.4/ts-edit.cpp:183:8: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/ts-edit.cpp:182:8: note: rn is assigned gcin-2.9.4/ts-edit.cpp:183:8: note: rn is overwritten 2.18.0 gcin-2.9.4/ts-edit.cpp:193:11: style: Local variable 'rn' shadows outer variable [shadowVariable] gcin-2.9.4/ts-edit.cpp:165:6: note: Shadowed declaration gcin-2.9.4/ts-edit.cpp:193:11: note: Shadow variable 2.18.0 gcin-2.9.4/ts-edit.cpp:193:11: style: Variable 'rn' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/ts-edit.cpp:193:14: style: Variable 'rn' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/ts-edit.cpp:218:9: style: Variable 'phostr' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/ts-edit.cpp:221:14: style: Variable 'tofs' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/ts-edit.cpp:222:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:231:12: style: Variable 'tofs' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/ts-edit.cpp:254:20: warning: Uninitialized variable: phostr [uninitvar] gcin-2.9.4/ts-edit.cpp:224:9: note: Assuming condition is false gcin-2.9.4/ts-edit.cpp:234:11: note: Assignment 'phostr=t', assigned value is gcin-2.9.4/ts-edit.cpp:254:20: note: Uninitialized variable: phostr 2.18.0 gcin-2.9.4/ts-edit.cpp:282:5: error: Uninitialized variable: line [uninitvar] 2.18.0 gcin-2.9.4/ts-edit.cpp:282:9: warning: Redundant code: Found unused array access. [constStatement] 2.18.0 gcin-2.9.4/ts-edit.cpp:285:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:295:9: style: The scope of the variable 'i' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/ts-edit.cpp:297:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/ts-edit.cpp:298:58: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:321:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:341:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:343:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:352:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:354:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:365:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:367:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:386:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:398:55: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:405:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-edit.cpp:407:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:420:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:428:14: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/ts-edit.cpp:430:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:432:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:434:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:436:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:439:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:441:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:444:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:446:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:451:39: style: Parameter 'button' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/ts-edit.cpp:451:56: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/ts-edit.cpp:519:42: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/ts-edit.cpp:519:65: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/ts-edit.cpp:519:81: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/ts-edit.cpp:537:37: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'key_press_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/ts-edit.cpp:817:3: note: You might need to cast the function pointer here gcin-2.9.4/ts-edit.cpp:537:37: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/ts-edit.cpp:537:58: style: Parameter 'event' can be declared as pointer to const. However it seems that 'key_press_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/ts-edit.cpp:817:3: note: You might need to cast the function pointer here gcin-2.9.4/ts-edit.cpp:537:58: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/ts-edit.cpp:537:74: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'key_press_event' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/ts-edit.cpp:817:3: note: You might need to cast the function pointer here gcin-2.9.4/ts-edit.cpp:537:74: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/ts-edit.cpp:582:35: style: Parameter 'range' can be declared as pointer to const. However it seems that 'cb_scroll_bar' is a callback function, if 'range' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/ts-edit.cpp:839:3: note: You might need to cast the function pointer here gcin-2.9.4/ts-edit.cpp:582:35: note: Parameter 'range' can be declared as pointer to const 2.18.0 gcin-2.9.4/ts-edit.cpp:583:49: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_scroll_bar' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/ts-edit.cpp:839:3: note: You might need to cast the function pointer here gcin-2.9.4/ts-edit.cpp:583:49: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/ts-edit.cpp:72:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:745:7: style: Unused variable: rval [unusedVariable] 2.18.0 gcin-2.9.4/ts-edit.cpp:75:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:79:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:815:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-edit.cpp:816:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:817:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:819:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:823:14: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/ts-edit.cpp:824:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:826:26: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/ts-edit.cpp:827:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:82:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:830:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:832:26: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/ts-edit.cpp:833:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:836:3: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:837:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:839:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:844:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/ts-edit.cpp:845:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:847:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:852:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:853:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:857:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/ts-edit.cpp:858:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:861:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:862:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:866:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:867:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:880:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:881:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:886:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:887:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:892:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:893:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:897:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:92:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:95:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-edit.cpp:99:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-upload.cpp:174:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/ts-upload.cpp:225:50: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/ts-upload.cpp:230:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-upload.cpp:248:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/ts-upload.cpp:260:12: style: The scope of the variable 'res' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/ts-upload.cpp:99:51: style: Parameter 'pho' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/ts-upload.cpp:99:62: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:130:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:130:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:131:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:131:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:167:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:167:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:168:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:168:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:208:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:210:20: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:230:69: style: Parameter 'cphbuf' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:230:85: style: Parameter 'chbuf' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:234:13: error: Common realloc mistake: 'phidx' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/tsa2d32.cpp:234:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:248:12: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:248:7: error: Common realloc mistake: 'bf' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/tsa2d32.cpp:274:21: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:274:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:274:7: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:274:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:29:20: style: Parameter 'a' can be declared as pointer to const. However it seems that 'key_cmp8' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tsa2d32.cpp:447:15: note: You might need to cast the function pointer here gcin-2.9.4/tsa2d32.cpp:29:20: note: Parameter 'a' can be declared as pointer to const 2.18.0 gcin-2.9.4/tsa2d32.cpp:29:29: style: Parameter 'b' can be declared as pointer to const. However it seems that 'key_cmp8' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tsa2d32.cpp:447:15: note: You might need to cast the function pointer here gcin-2.9.4/tsa2d32.cpp:29:29: note: Parameter 'b' can be declared as pointer to const 2.18.0 gcin-2.9.4/tsa2d32.cpp:315:9: style: Variable 'split' can be declared as const array [constVariable] 2.18.0 gcin-2.9.4/tsa2d32.cpp:316:10: style: Variable 'fi' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:316:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] 2.18.0 gcin-2.9.4/tsa2d32.cpp:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tsa2d32.cpp:323:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] 2.18.0 gcin-2.9.4/tsa2d32.cpp:328:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:328:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsa2d32.cpp:340:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 gcin-2.9.4/tsa2d32.cpp:344:5: error: Common realloc mistake: 'iuc' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/tsa2d32.cpp:344:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:350:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] 2.18.0 gcin-2.9.4/tsa2d32.cpp:382:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsa2d32.cpp:394:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:399:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 gcin-2.9.4/tsa2d32.cpp:424:15: style: Local variable 'cur_inmd' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.h:137:14: note: Shadowed declaration gcin-2.9.4/tsa2d32.cpp:424:15: note: Shadow variable 2.18.0 gcin-2.9.4/tsa2d32.cpp:424:8: style: Local variable 'inmd' shadows outer variable [shadowVariable] gcin-2.9.4/gtab.h:133:14: note: Shadowed declaration gcin-2.9.4/tsa2d32.cpp:424:8: note: Shadow variable 2.18.0 gcin-2.9.4/tsa2d32.cpp:430:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:436:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:445:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:449:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:463:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:464:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:492:6: style: Variable 'chbuflen' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsa2d32.cpp:494:15: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] 2.18.0 gcin-2.9.4/tsa2d32.cpp:495:13: style: Local variable 'len' shadows outer variable [shadowVariable] gcin-2.9.4/tsa2d32.cpp:288:15: note: Shadowed declaration gcin-2.9.4/tsa2d32.cpp:495:13: note: Shadow variable 2.18.0 gcin-2.9.4/tsa2d32.cpp:495:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:507:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:517:13: style: Local variable 'idx' shadows outer variable [shadowVariable] gcin-2.9.4/tsa2d32.cpp:288:11: note: Shadowed declaration gcin-2.9.4/tsa2d32.cpp:517:13: note: Shadow variable 2.18.0 gcin-2.9.4/tsa2d32.cpp:518:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] 2.18.0 gcin-2.9.4/tsa2d32.cpp:536:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] 2.18.0 gcin-2.9.4/tsa2d32.cpp:539:19: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] 2.18.0 gcin-2.9.4/tsa2d32.cpp:543:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:545:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:568:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:583:12: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:583:27: error: Uninitialized variable: &t.uc [uninitvar] 2.18.0 gcin-2.9.4/tsa2d32.cpp:583:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsa2d32.cpp:628:8: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/tsa2d32.cpp:288:7: note: Shadowed declaration gcin-2.9.4/tsa2d32.cpp:628:8: note: Shadow variable 2.18.0 gcin-2.9.4/tsa2d32.cpp:648:12: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:653:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:675:9: style: Local variable 'clen' shadows outer variable [shadowVariable] gcin-2.9.4/tsa2d32.cpp:292:8: note: Shadowed declaration gcin-2.9.4/tsa2d32.cpp:675:9: note: Shadow variable 2.18.0 gcin-2.9.4/tsa2d32.cpp:713:16: style: Local variable 'kk' shadows outer variable [shadowVariable] gcin-2.9.4/tsa2d32.cpp:289:11: note: Shadowed declaration gcin-2.9.4/tsa2d32.cpp:713:16: note: Shadow variable 2.18.0 gcin-2.9.4/tsa2d32.cpp:722:17: style: Local variable 'kk64' shadows outer variable [shadowVariable] gcin-2.9.4/tsa2d32.cpp:290:13: note: Shadowed declaration gcin-2.9.4/tsa2d32.cpp:722:17: note: Shadow variable 2.18.0 gcin-2.9.4/tsa2d32.cpp:758:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsa2d32.cpp:89:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:89:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:90:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsa2d32.cpp:90:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:132:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tsd2a32.cpp:168:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsd2a32.cpp:182:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsd2a32.cpp:230:33: warning: Either the condition '(fp=fopen(fname,"rb"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gcin-2.9.4/tsd2a32.cpp:223:29: note: Assuming that condition '(fp=fopen(fname,"rb"))==NULL' is not redundant gcin-2.9.4/tsd2a32.cpp:230:33: note: Null pointer dereference 2.18.0 gcin-2.9.4/tsd2a32.cpp:251:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:252:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:253:10: style: Variable 'phbuf32' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsd2a32.cpp:253:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:258:29: style: Checking if unsigned expression 'fread(&clen,1,1,fp)' is less than zero. [unsignedLessThanZero] 2.18.0 gcin-2.9.4/tsd2a32.cpp:346:71: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:373:4: error: Common realloc mistake: 'p2ar' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/tsd2a32.cpp:373:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:375:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsd2a32.cpp:376:12: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/tsd2a32.cpp:78:7: note: Shadowed declaration gcin-2.9.4/tsd2a32.cpp:376:12: note: Shadow variable 2.18.0 gcin-2.9.4/tsd2a32.cpp:395:19: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsd2a32.cpp:423:12: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/tsd2a32.cpp:78:7: note: Shadowed declaration gcin-2.9.4/tsd2a32.cpp:423:12: note: Shadow variable 2.18.0 gcin-2.9.4/tsd2a32.cpp:429:12: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/tsd2a32.cpp:78:7: note: Shadowed declaration gcin-2.9.4/tsd2a32.cpp:429:12: note: Shadow variable 2.18.0 gcin-2.9.4/tsd2a32.cpp:430:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsd2a32.cpp:45:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:45:8: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsd2a32.cpp:46:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:46:8: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsd2a32.cpp:59:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:59:8: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsd2a32.cpp:60:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsd2a32.cpp:60:8: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsd2a32.cpp:92:7: style: Variable 'leq' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-char.cpp:106:3: error: Common realloc mistake: 'chs' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/tsin-char.cpp:106:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-char.cpp:143:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-char.cpp:16:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-char.cpp:16:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-char.cpp:17:11: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-char.cpp:17:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-char.cpp:19:31: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] 2.18.0 gcin-2.9.4/tsin-char.cpp:25:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin-char.cpp:71:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-char.cpp:72:13: warning: If memory allocation fails, then there is a possible null pointer dereference: chs [nullPointerOutOfMemory] gcin-2.9.4/tsin-char.cpp:71:13: note: Assuming allocation function fails gcin-2.9.4/tsin-char.cpp:71:13: note: Assignment 'chs=(struct CH_ENT*)malloc(sizeof(struct CH_ENT)*(chsN))', assigned value is 0 gcin-2.9.4/tsin-char.cpp:72:13: note: Null pointer dereference 2.18.0 gcin-2.9.4/tsin-char.cpp:88:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-char.cpp:88:7: error: Common realloc mistake: 'chs' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/tsin-char.cpp:89:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin-parse.cpp:102:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:106:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:128:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:131:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:145:43: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:169:15: style: Variable 'mtk' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-parse.cpp:169:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:170:12: style: Variable 'mtk32' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-parse.cpp:170:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:187:56: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:198:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:198:33: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:211:11: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/tsin-parse.cpp:124:9: note: Shadowed declaration gcin-2.9.4/tsin-parse.cpp:211:11: note: Shadow variable 2.18.0 gcin-2.9.4/tsin-parse.cpp:214:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:214:34: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:247:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:287:14: style: Variable 'pca' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-parse.cpp:356:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin-parse.cpp:37:7: style: Variable 'ini_len' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-parse.cpp:398:44: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:411:18: style: Variable 'ph_sta_idx' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-parse.cpp:413:16: style: Variable 'ph_sta_idx' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-parse.cpp:41:22: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:78:11: warning: If memory allocation fails, then there is a possible null pointer dereference: pbest [nullPointerOutOfMemory] gcin-2.9.4/tsin-parse.cpp:41:22: note: Assuming allocation function fails gcin-2.9.4/tsin-parse.cpp:41:22: note: Assignment 'pbest=(struct TSIN_PARSE*)malloc(sizeof(struct TSIN_PARSE)*(tsin_parse_len))', assigned value is 0 gcin-2.9.4/tsin-parse.cpp:78:11: note: Null pointer dereference 2.18.0 gcin-2.9.4/tsin-parse.cpp:78:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin-parse.cpp:80:12: style: Variable 'pp32' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-parse.cpp:80:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-parse.cpp:81:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:112:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:113:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:113:9: style: Variable 'pp8' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:114:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:114:8: style: Variable 'pp32' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:13:12: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:13:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:14:12: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:14:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:158:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:159:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:160:11: style: Variable 'mtk8' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:160:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:161:32: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:161:44: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:161:9: style: Variable 'mtk_src' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:242:43: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:245:48: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:253:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin-scan.cpp:257:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:261:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin-scan.cpp:265:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:26:12: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:26:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:27:12: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:27:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:343:30: style: The scope of the variable 'max_selN' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/tsin-scan.cpp:343:38: style: Variable 'max_selN' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-scan.cpp:359:16: style: Variable 'max_selN' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-scan.cpp:41:32: style: Parameter 'th' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:437:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:438:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:505:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:513:11: style: Variable 'mtk8' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-scan.cpp:513:18: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:520:56: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:573:7: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/tsin-scan.cpp:540:9: note: Shadowed declaration gcin-2.9.4/tsin-scan.cpp:573:7: note: Shadow variable 2.18.0 gcin-2.9.4/tsin-scan.cpp:592:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin-scan.cpp:609:9: warning: Uninitialized variables: sel.len, sel.usecount [uninitvar] gcin-2.9.4/tsin-scan.cpp:477:19: note: Assuming condition is false gcin-2.9.4/tsin-scan.cpp:609:9: note: Uninitialized variables: sel.len, sel.usecount 2.18.0 gcin-2.9.4/tsin-scan.cpp:658:30: style: The scope of the variable 'max_selN' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/tsin-scan.cpp:692:17: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] gcin-2.9.4/tsin-scan.cpp:689:15: note: outer condition: max_len<0 gcin-2.9.4/tsin-scan.cpp:692:17: note: identical inner condition: max_len<0 2.18.0 gcin-2.9.4/tsin-scan.cpp:703:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:704:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-scan.cpp:705:8: style: Local variable 'len' shadows outer variable [shadowVariable] gcin-2.9.4/tsin-scan.cpp:658:7: note: Shadowed declaration gcin-2.9.4/tsin-scan.cpp:705:8: note: Shadow variable 2.18.0 gcin-2.9.4/tsin-scan.cpp:712:12: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/tsin-scan.cpp:694:7: note: Shadowed declaration gcin-2.9.4/tsin-scan.cpp:712:12: note: Shadow variable 2.18.0 gcin-2.9.4/tsin-scan.cpp:715:6: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin-util.cpp:1073:71: style:inconclusive: Function 'tsin_seek' argument 5 names different: declaration 'tone_off' definition 'tone_mask'. [funcArgNamesDifferent] gcin-2.9.4/tsin.h:48:71: note: Function 'tsin_seek' argument 5 names different: declaration 'tone_off' definition 'tone_mask'. gcin-2.9.4/tsin-util.cpp:1073:71: note: Function 'tsin_seek' argument 5 names different: declaration 'tone_off' definition 'tone_mask'. 2.18.0 gcin-2.9.4/tsin-util.cpp:1078:63: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:1112:55: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:1166:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:120:6: style: Variable 'rn' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-util.cpp:147:26: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:155:26: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:157:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-util.cpp:157:5: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tsin-util.cpp:149:4: note: n is assigned gcin-2.9.4/tsin-util.cpp:157:5: note: n is overwritten 2.18.0 gcin-2.9.4/tsin-util.cpp:238:42: style: Parameter 'ptsin_hand' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:254:41: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:254:52: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:260:44: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:260:57: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:274:41: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:274:51: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:288:45: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:288:59: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:302:45: style: Parameter 'th' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:305:26: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:305:39: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:307:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:307:42: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:309:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:309:39: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:311:27: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:311:42: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:356:12: style: The scope of the variable 'ord' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/tsin-util.cpp:356:16: style: Variable 'ord' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-util.cpp:357:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int64_t [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tsin-util.cpp:379:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:381:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:383:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:385:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:392:47: warning: Either the condition 'hashno>=256' is redundant or the array 'th->hashidx[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] gcin-2.9.4/tsin-util.cpp:389:14: note: Assuming that condition 'hashno>=256' is not redundant gcin-2.9.4/tsin-util.cpp:392:47: note: Array index out of bounds 2.18.0 gcin-2.9.4/tsin-util.cpp:398:8: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tsin-util.cpp:397:8: note: rn is assigned gcin-2.9.4/tsin-util.cpp:398:8: note: rn is overwritten 2.18.0 gcin-2.9.4/tsin-util.cpp:399:5: style: Variable 'rn' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-util.cpp:399:5: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tsin-util.cpp:398:8: note: rn is assigned gcin-2.9.4/tsin-util.cpp:399:5: note: rn is overwritten 2.18.0 gcin-2.9.4/tsin-util.cpp:417:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:420:16: warning: If memory allocation fails, then there is a possible null pointer dereference: phidx [nullPointerOutOfMemory] gcin-2.9.4/tsin-util.cpp:417:18: note: Assuming allocation function fails gcin-2.9.4/tsin-util.cpp:417:18: note: Assignment 'phidx=(int*)malloc(sizeof(int)*(wN))', assigned value is 0 gcin-2.9.4/tsin-util.cpp:420:16: note: Null pointer dereference 2.18.0 gcin-2.9.4/tsin-util.cpp:420:8: style: Variable 'rn' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-util.cpp:422:12: warning: If memory allocation fails, then there is a possible null pointer dereference: phidx [nullPointerOutOfMemory] gcin-2.9.4/tsin-util.cpp:417:18: note: Assuming allocation function fails gcin-2.9.4/tsin-util.cpp:417:18: note: Assignment 'phidx=(int*)malloc(sizeof(int)*(wN))', assigned value is 0 gcin-2.9.4/tsin-util.cpp:422:12: note: Null pointer dereference 2.18.0 gcin-2.9.4/tsin-util.cpp:422:5: error: Read and write operations without a call to a positioning function (fseek, fsetpos or rewind) or fflush in between result in undefined behaviour. [IOWithoutPositioning] 2.18.0 gcin-2.9.4/tsin-util.cpp:507:13: style: Local variable 'tlen' shadows outer variable [shadowVariable] gcin-2.9.4/tsin-util.cpp:498:7: note: Shadowed declaration gcin-2.9.4/tsin-util.cpp:507:13: note: Shadow variable 2.18.0 gcin-2.9.4/tsin-util.cpp:547:47: style: Parameter 'tone_mask' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:562:44: style: Parameter 'refpho' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:562:68: style: Parameter 'tone_mask' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:57:9: style: Variable 'fmod' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin-util.cpp:613:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:615:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:617:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:619:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:627:22: warning: Either the condition 'hashi>=256' is redundant or the array 'th->hashidx[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] gcin-2.9.4/tsin-util.cpp:621:13: note: Assuming that condition 'hashi>=256' is not redundant gcin-2.9.4/tsin-util.cpp:627:22: note: Array index out of bounds 2.18.0 gcin-2.9.4/tsin-util.cpp:647:17: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:647:33: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:683:7: warning: Uninitialized variable: cmp [uninitvar] gcin-2.9.4/tsin-util.cpp:636:14: note: Assuming condition is false gcin-2.9.4/tsin-util.cpp:683:7: note: Uninitialized variable: cmp 2.18.0 gcin-2.9.4/tsin-util.cpp:719:15: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:726:4: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:756:9: style: Local variable 'top' shadows outer variable [shadowVariable] gcin-2.9.4/tsin-util.cpp:626:7: note: Shadowed declaration gcin-2.9.4/tsin-util.cpp:756:9: note: Shadow variable 2.18.0 gcin-2.9.4/tsin-util.cpp:757:9: style: Local variable 'bot' shadows outer variable [shadowVariable] gcin-2.9.4/tsin-util.cpp:627:7: note: Shadowed declaration gcin-2.9.4/tsin-util.cpp:757:9: note: Shadow variable 2.18.0 gcin-2.9.4/tsin-util.cpp:767:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:828:16: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:828:33: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:903:12: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin-util.cpp:90:7: style: Variable 'rn' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin-util.cpp:90:7: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tsin-util.cpp:89:7: note: rn is assigned gcin-2.9.4/tsin-util.cpp:90:7: note: rn is overwritten 2.18.0 gcin-2.9.4/tsin-util.cpp:912:22: warning: Either the condition 'hashi>=256' is redundant or the array 'th->hashidx[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] gcin-2.9.4/tsin-util.cpp:905:13: note: Assuming that condition 'hashi>=256' is not redundant gcin-2.9.4/tsin-util.cpp:912:22: note: Array index out of bounds 2.18.0 gcin-2.9.4/tsin-util.cpp:955:7: warning: Uninitialized variable: cmp [uninitvar] gcin-2.9.4/tsin-util.cpp:922:14: note: Assuming condition is false gcin-2.9.4/tsin-util.cpp:955:7: note: Uninitialized variable: cmp 2.18.0 gcin-2.9.4/tsin-util.cpp:993:12: style: Variable 'found' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin.cpp:1013:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:1014:24: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:1042:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:1059:14: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin.cpp:1221:9: style: Local variable 'len' shadows outer argument [shadowArgument] gcin-2.9.4/tsin.cpp:1216:64: note: Shadowed declaration gcin-2.9.4/tsin.cpp:1221:9: note: Shadow variable 2.18.0 gcin-2.9.4/tsin.cpp:1251:11: warning: Uninitialized variable: u8len [uninitvar] gcin-2.9.4/tsin.cpp:1238:9: note: Assuming condition is true gcin-2.9.4/tsin.cpp:1251:11: note: Uninitialized variable: u8len 2.18.0 gcin-2.9.4/tsin.cpp:1393:9: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:1398:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin.cpp:1446:64: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin.cpp:1464:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:1471:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin.cpp:1481:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:1505:9: style: Variable 'ppp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:1506:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LockMask [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tsin.cpp:1521:55: style: Parameter 'shift_punc' can be declared as const array [constParameter] 2.18.0 gcin-2.9.4/tsin.cpp:1523:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:1573:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_KP_0 [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tsin.cpp:161:13: style: Variable 'str' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:1661:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin.cpp:1762:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] 2.18.0 gcin-2.9.4/tsin.cpp:1813:20: style: Variable 'tss.pho_menu_idx' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tsin.cpp:1809:20: note: tss.pho_menu_idx is assigned gcin-2.9.4/tsin.cpp:1813:20: note: tss.pho_menu_idx is overwritten 2.18.0 gcin-2.9.4/tsin.cpp:1882:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tsin.cpp:1913:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tsin.cpp:2139:16: style: Local variable 'idx' shadows outer variable [shadowVariable] gcin-2.9.4/tsin.cpp:1915:14: note: Shadowed declaration gcin-2.9.4/tsin.cpp:2139:16: note: Shadow variable 2.18.0 gcin-2.9.4/tsin.cpp:2338:14: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:235:12: style: The scope of the variable 'ch' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/tsin.cpp:241:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tsin.cpp:2421:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin.cpp:2423:16: style: The scope of the variable 'tt' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/tsin.cpp:254:9: style: Local variable 'len' shadows outer argument [shadowArgument] gcin-2.9.4/tsin.cpp:206:24: note: Shadowed declaration gcin-2.9.4/tsin.cpp:254:9: note: Shadow variable 2.18.0 gcin-2.9.4/tsin.cpp:2605:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin.cpp:2606:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin.cpp:2647:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Shift_L [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tsin.cpp:2688:60: style:inconclusive: Function 'save_phrase_to_db2' argument 3 names different: declaration 'en_prhase' definition 'en_phrase'. [funcArgNamesDifferent] gcin-2.9.4/tsin.cpp:531:60: note: Function 'save_phrase_to_db2' argument 3 names different: declaration 'en_prhase' definition 'en_phrase'. gcin-2.9.4/tsin.cpp:2688:60: note: Function 'save_phrase_to_db2' argument 3 names different: declaration 'en_prhase' definition 'en_phrase'. 2.18.0 gcin-2.9.4/tsin.cpp:268:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:269:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:495:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:501:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:540:33: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin.cpp:687:6: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin.cpp:715:49: style: Parameter 'phos' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin.cpp:744:49: style: Parameter 'refpho' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin.cpp:744:73: style: Parameter 'tone_mask' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin.cpp:808:26: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:824:16: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:824:52: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin.cpp:872:12: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin.cpp:872:16: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin.cpp:882:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:901:10: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin.cpp:901:14: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin.cpp:911:11: style: Variable 's' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin.cpp:911:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin.cpp:911:9: style: Variable 's' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/tsin.cpp:979:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] gcin-2.9.4/tsin.cpp:976:7: note: outer condition: need_mask gcin-2.9.4/tsin.cpp:979:11: note: identical inner condition: need_mask 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:119:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:120:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:122:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:126:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:131:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:176:9: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:232:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:275:9: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/tsin2gtab-phrase.cpp:237:7: note: Shadowed declaration gcin-2.9.4/tsin2gtab-phrase.cpp:275:9: note: Shadow variable 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:291:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:293:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:31:30: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:31:48: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:40:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:40:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:40:30: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:40:32: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:50:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:50:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:55:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:55:38: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:60:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:60:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:64:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:64:40: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:72:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:72:39: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:87:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:88:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:90:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:94:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tsin2gtab-phrase.cpp:99:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tslearn.cpp:133:8: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tslearn.cpp:128:8: note: rn is assigned gcin-2.9.4/tslearn.cpp:133:8: note: rn is overwritten 2.18.0 gcin-2.9.4/tslearn.cpp:134:8: style: Variable 'rn' is reassigned a value before the old one has been used. [redundantAssignment] gcin-2.9.4/tslearn.cpp:133:8: note: rn is assigned gcin-2.9.4/tslearn.cpp:134:8: note: rn is overwritten 2.18.0 gcin-2.9.4/tslearn.cpp:150:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:150:5: error: Common realloc mistake: 'phrase' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/tslearn.cpp:165:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tslearn.cpp:170:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/tslearn.cpp:173:7: style: The scope of the variable 'mid' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/tslearn.cpp:208:14: style: Redundant initialization for 'char_count'. The initialized value is overwritten before it is read. [redundantInitialization] gcin-2.9.4/tslearn.cpp:202:18: note: char_count is initialized gcin-2.9.4/tslearn.cpp:208:14: note: char_count is overwritten 2.18.0 gcin-2.9.4/tslearn.cpp:225:15: style: Variable 'utf8' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tslearn.cpp:245:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:252:14: style: Local variable 'txt' shadows outer variable [shadowVariable] gcin-2.9.4/tslearn.cpp:217:14: note: Shadowed declaration gcin-2.9.4/tslearn.cpp:252:14: note: Shadow variable 2.18.0 gcin-2.9.4/tslearn.cpp:253:11: style: Local variable 'txtN' shadows outer variable [shadowVariable] gcin-2.9.4/tslearn.cpp:218:11: note: Shadowed declaration gcin-2.9.4/tslearn.cpp:253:11: note: Shadow variable 2.18.0 gcin-2.9.4/tslearn.cpp:253:19: style: Local variable 'u8chN' shadows outer variable [shadowVariable] gcin-2.9.4/tslearn.cpp:218:19: note: Shadowed declaration gcin-2.9.4/tslearn.cpp:253:19: note: Shadow variable 2.18.0 gcin-2.9.4/tslearn.cpp:255:16: style: Local variable 'b_ignore' shadows outer variable [shadowVariable] gcin-2.9.4/tslearn.cpp:220:16: note: Shadowed declaration gcin-2.9.4/tslearn.cpp:255:16: note: Shadow variable 2.18.0 gcin-2.9.4/tslearn.cpp:256:11: style: Local variable 'k' shadows outer variable [shadowVariable] gcin-2.9.4/tslearn.cpp:219:11: note: Shadowed declaration gcin-2.9.4/tslearn.cpp:256:11: note: Shadow variable 2.18.0 gcin-2.9.4/tslearn.cpp:261:15: style: Variable 'utf8' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tslearn.cpp:279:26: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:334:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:351:41: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_button_cancel' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tslearn.cpp:422:3: note: You might need to cast the function pointer here gcin-2.9.4/tslearn.cpp:351:41: note: Parameter 'button' can be declared as pointer to const 2.18.0 gcin-2.9.4/tslearn.cpp:351:58: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_button_cancel' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/tslearn.cpp:422:3: note: You might need to cast the function pointer here gcin-2.9.4/tslearn.cpp:351:58: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/tslearn.cpp:359:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/tslearn.cpp:368:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:399:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable menu [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tslearn.cpp:399:30: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:39:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:413:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:414:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:421:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:422:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:43:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:448:44: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:462:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:46:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:530:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/tslearn.cpp:531:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:532:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:536:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:540:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/tslearn.cpp:541:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:546:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:548:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:550:38: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:569:18: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/tslearn.cpp:56:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:570:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:573:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:574:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:578:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:579:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:587:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:588:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:592:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/tslearn.cpp:60:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:63:25: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:75:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:97:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:97:29: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/tslearn.cpp:97:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/tslearn.cpp:97:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:102:9: style: Variable 'end' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:122:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:123:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:125:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:129:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:134:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:179:9: style: Variable 'txtfile' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:181:9: style: Variable 'outfile' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:234:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:277:9: style: Local variable 'i' shadows outer variable [shadowVariable] gcin-2.9.4/txt2gtab-phrase.cpp:239:7: note: Shadowed declaration gcin-2.9.4/txt2gtab-phrase.cpp:277:9: note: Shadow variable 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:288:9: style: Variable 'strN' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:297:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:299:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:35:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:35:26: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:35:28: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:35:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:395:1: style: Label 'stop' is not used. [unusedLabel] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:43:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:43:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:43:30: style: Variable 'b' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:43:32: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:53:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:53:36: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:58:18: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:58:38: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:63:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:63:37: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:75:19: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:75:39: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:90:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:91:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:93:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/txt2gtab-phrase.cpp:97:9: style: Variable 'q' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/util.cpp:217:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_MESSAGE_ALLOCATE_BUFFER [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/util.cpp:240:18: style:inconclusive: Function 'p_err' argument 1 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] gcin-2.9.4/util.h:1:18: note: Function 'p_err' argument 1 names different: declaration 'fmt' definition 'format'. gcin-2.9.4/util.cpp:240:18: note: Function 'p_err' argument 1 names different: declaration 'fmt' definition 'format'. 2.18.0 gcin-2.9.4/util.cpp:257:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_OK [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/util.cpp:259:2: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] 2.18.0 gcin-2.9.4/util.cpp:303:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/util.cpp:303:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] gcin-2.9.4/util.cpp:302:20: note: Assuming allocation function fails gcin-2.9.4/util.cpp:302:20: note: Assignment 'p=malloc(n)', assigned value is 0 gcin-2.9.4/util.cpp:303:9: note: Null pointer dereference 2.18.0 gcin-2.9.4/util.cpp:308:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/util.cpp:314:10: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] gcin-2.9.4/util.cpp:313:13: note: Assuming allocation function fails gcin-2.9.4/util.cpp:313:13: note: Assignment 'q=malloc(n)', assigned value is 0 gcin-2.9.4/util.cpp:314:10: note: Null pointer dereference 2.18.0 gcin-2.9.4/util.cpp:379:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/util.cpp:381:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:241:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:246:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win-gtab.cpp:294:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:310:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win-gtab.cpp:314:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:337:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:343:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win-gtab.cpp:352:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:381:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:426:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:486:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-gtab.cpp:501:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:505:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:506:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:507:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:508:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:509:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_OUT [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-gtab.cpp:50:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win-gtab.cpp:511:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:520:17: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-gtab.cpp:521:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:523:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:525:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:531:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:535:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:537:28: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-gtab.cpp:538:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:544:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:546:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:549:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:555:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:558:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-gtab.cpp:559:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:562:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:564:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:576:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:577:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:583:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:584:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:590:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:591:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:598:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:606:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:607:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:609:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:60:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:629:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:633:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:637:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:639:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:649:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:652:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:655:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:742:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:802:7: style: Condition 'gwin_gtab' is always true [knownConditionTrueFalse] 2.18.0 gcin-2.9.4/win-gtab.cpp:824:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:833:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:887:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:889:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-gtab.cpp:904:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:16:29: style: The statement 'if (current_CS->im_state!=GCIN_STATE_CHINESE) current_CS->im_state=GCIN_STATE_CHINESE' is logically equivalent to 'current_CS->im_state=GCIN_STATE_CHINESE'. [duplicateConditionalAssign] gcin-2.9.4/win-inmd-switch.cpp:17:27: note: Assignment 'current_CS->im_state=GCIN_STATE_CHINESE' gcin-2.9.4/win-inmd-switch.cpp:16:29: note: Condition 'current_CS->im_state!=GCIN_STATE_CHINESE' is redundant 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:51:5: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:51:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:56:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:66:19: style: The scope of the variable 'event_button' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:68:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:69:20: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-inmd-switch.cpp:85:35: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:121:14: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:140:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:149:48: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:153:65: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:186:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:187:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-kbm.cpp:188:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:191:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-kbm.cpp:192:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:193:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:194:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-kbm.cpp:195:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:196:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:200:24: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-kbm.cpp:201:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:202:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:203:24: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-kbm.cpp:204:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:205:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:215:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:217:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:221:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:224:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:226:22: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-kbm.cpp:227:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:228:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:232:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:237:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:246:14: style: Variable 'gdkwin_kbm' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/win-kbm.cpp:246:14: style: Variable 'gdkwin_kbm' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/win-kbm.cpp:246:25: style: Variable 'gdkwin_kbm' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/win-kbm.cpp:305:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:334:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/win-kbm.cpp:351:46: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win-kbm.cpp:365:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:365:40: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:365:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/win-kbm.cpp:374:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:387:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:390:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:399:14: style: The scope of the variable 'tt' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/win-kbm.cpp:402:19: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/win-kbm.cpp:402:23: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:402:50: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:433:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:439:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:458:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-kbm.cpp:500:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/win-kbm.cpp:500:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:500:48: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:526:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-kbm.cpp:549:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Caps_Lock [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-kbm.cpp:85:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dpy [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-message.cpp:124:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-message.cpp:129:28: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win-message.cpp:138:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] 2.18.0 gcin-2.9.4/win-message.cpp:17:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-message.cpp:18:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-message.cpp:19:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-message.cpp:21:14: style: Variable 'gdkwin' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/win-message.cpp:21:14: style: Variable 'gdkwin' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/win-message.cpp:21:21: style: Variable 'gdkwin' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/win-message.cpp:24:21: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-message.cpp:25:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-message.cpp:59:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-message.cpp:64:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-message.cpp:73:12: style: The scope of the variable 'szy' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/win-message.cpp:73:7: style: The scope of the variable 'szx' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/win-message.cpp:79:9: style: Variable 'szx' is assigned a value that is never used. [unreadVariable] 2.18.0 gcin-2.9.4/win-pho-near.cpp:121:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:124:27: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-pho-near.cpp:125:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:128:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:135:11: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win-pho-near.cpp:139:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:141:22: style: Local variable 'label_pho' shadows outer variable [shadowVariable] gcin-2.9.4/win-pho-near.cpp:127:20: note: Shadowed declaration gcin-2.9.4/win-pho-near.cpp:141:22: note: Shadow variable 2.18.0 gcin-2.9.4/win-pho-near.cpp:142:30: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:145:11: error: Common realloc mistake: 'near_entries' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/win-pho-near.cpp:145:26: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:148:11: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:148:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:62:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:83:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:85:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-pho-near.cpp:86:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:87:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho-near.cpp:90:20: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-pho.cpp:122:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:147:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:163:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-pho.cpp:173:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:177:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:178:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:179:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:180:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_OUT [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-pho.cpp:182:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:191:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:192:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:194:28: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-pho.cpp:195:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:196:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:198:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:199:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:203:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-pho.cpp:205:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:207:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:211:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:213:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:219:14: style: The scope of the variable 'frame_pho' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/win-pho.cpp:221:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:226:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:227:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:228:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:241:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:242:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:259:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:293:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:339:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:341:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:356:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:42:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:57:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:74:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-pho.cpp:84:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win-pho.cpp:94:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:116:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:122:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:145:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:147:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:149:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:152:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:154:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:161:21: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:162:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:169:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:171:7: style: The scope of the variable 'i' can be reduced. [variableScope] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:179:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:181:17: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:184:31: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:185:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:192:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:198:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:201:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:223:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:227:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:232:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:233:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:47:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-save-phrase.cpp:69:21: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-screen-status.cpp:30:39: style: Parameter 'data' can be declared as pointer to const. However it seems that 'timeout_hide' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/win-screen-status.cpp:79:40: note: You might need to cast the function pointer here gcin-2.9.4/win-screen-status.cpp:30:39: note: Parameter 'data' can be declared as pointer to const 2.18.0 gcin-2.9.4/win-screen-status.cpp:61:23: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-screen-status.cpp:62:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-screen-status.cpp:64:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-screen-status.cpp:67:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-screen-status.cpp:77:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-screen-status.cpp:93:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:114:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win-sym.cpp:136:10: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-sym.cpp:136:5: error: Common realloc mistake: 'syms' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/win-sym.cpp:138:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win-sym.cpp:149:13: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-sym.cpp:190:15: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win-sym.cpp:190:43: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:281:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:376:48: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'button_scroll_event' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/win-sym.cpp:520:3: note: You might need to cast the function pointer here gcin-2.9.4/win-sym.cpp:376:48: note: Parameter 'widget' can be declared as pointer to const 2.18.0 gcin-2.9.4/win-sym.cpp:376:71: style: Parameter 'event' can be declared as pointer to const. However it seems that 'button_scroll_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/win-sym.cpp:520:3: note: You might need to cast the function pointer here gcin-2.9.4/win-sym.cpp:376:71: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/win-sym.cpp:376:87: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'button_scroll_event' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/win-sym.cpp:520:3: note: You might need to cast the function pointer here gcin-2.9.4/win-sym.cpp:376:87: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 gcin-2.9.4/win-sym.cpp:398:94: style: Parameter 'data' can be declared as pointer to const. However it seems that 'mouse_button_callback_up_down' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/win-sym.cpp:505:3: note: You might need to cast the function pointer here gcin-2.9.4/win-sym.cpp:398:94: note: Parameter 'data' can be declared as pointer to const 2.18.0 gcin-2.9.4/win-sym.cpp:401:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SCROLL_DOWN [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-sym.cpp:440:25: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-sym.cpp:441:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:443:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-sym.cpp:444:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:446:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:451:27: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win-sym.cpp:452:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:453:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:465:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:468:39: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:469:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:488:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:492:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:494:27: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win-sym.cpp:495:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:499:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:500:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:500:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win-sym.cpp:501:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:502:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:504:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] 2.18.0 gcin-2.9.4/win-sym.cpp:504:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:505:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:520:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win-sym.cpp:73:3: error: Common realloc mistake: 'pages' nulled but not freed upon failure [memleakOnRealloc] 2.18.0 gcin-2.9.4/win-sym.cpp:73:9: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win0.cpp:128:5: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win0.cpp:128:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:130:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:131:23: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win0.cpp:132:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:135:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:160:33: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win0.cpp:180:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:204:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:233:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:246:28: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:312:14: style: Local variable 'win_y' shadows outer variable [shadowVariable] gcin-2.9.4/gcin.h:120:19: note: Shadowed declaration gcin-2.9.4/win0.cpp:312:14: note: Shadow variable 2.18.0 gcin-2.9.4/win0.cpp:312:7: style: Local variable 'win_x' shadows outer variable [shadowVariable] gcin-2.9.4/gcin.h:120:12: note: Shadowed declaration gcin-2.9.4/win0.cpp:312:7: note: Shadow variable 2.18.0 gcin-2.9.4/win0.cpp:314:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:315:15: style: Local variable 'win_yl' shadows outer variable [shadowVariable] gcin-2.9.4/gcin.h:119:20: note: Shadowed declaration gcin-2.9.4/win0.cpp:315:15: note: Shadow variable 2.18.0 gcin-2.9.4/win0.cpp:315:7: style: Local variable 'win_xl' shadows outer variable [shadowVariable] gcin-2.9.4/gcin.h:119:12: note: Shadowed declaration gcin-2.9.4/win0.cpp:315:7: note: Shadow variable 2.18.0 gcin-2.9.4/win0.cpp:384:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:399:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:39:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win0.cpp:418:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:433:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:450:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:464:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:495:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win0.cpp:516:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:582:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win0.cpp:583:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:588:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:589:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:590:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:593:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:596:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win0.cpp:598:26: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win0.cpp:600:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:602:15: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 gcin-2.9.4/win0.cpp:603:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:605:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:610:35: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:611:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:613:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:619:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CAN_FOCUS [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win0.cpp:633:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:658:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win0.cpp:678:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:730:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:830:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win0.cpp:832:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:119:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:129:25: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] 2.18.0 gcin-2.9.4/win1.cpp:131:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:135:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:136:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] 2.18.0 gcin-2.9.4/win1.cpp:137:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:138:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:153:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:171:31: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:172:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:177:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:183:27: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:185:5: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win1.cpp:185:5: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:195:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:196:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:200:26: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:203:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:205:7: style: C-style pointer casting [cstyleCast] 2.18.0 gcin-2.9.4/win1.cpp:205:7: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:212:23: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:214:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:215:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:233:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:262:33: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win1.cpp:288:9: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] 2.18.0 gcin-2.9.4/win1.cpp:294:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:301:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:307:24: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:382:19: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:39:76: style: Parameter 'event' can be declared as pointer to const. However it seems that 'button_scroll_event_tsin' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/win1.cpp:65:3: note: You might need to cast the function pointer here gcin-2.9.4/win1.cpp:39:76: note: Parameter 'event' can be declared as pointer to const 2.18.0 gcin-2.9.4/win1.cpp:495:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win1.cpp:496:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win1.cpp:497:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win1.cpp:498:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] 2.18.0 gcin-2.9.4/win1.cpp:505:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 gcin-2.9.4/win1.cpp:65:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 gcin-2.9.4/win1.cpp:74:70: style: Parameter 'event' can be declared as pointer to const. However it seems that 'mouse_button_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gcin-2.9.4/win1.cpp:205:7: note: You might need to cast the function pointer here gcin-2.9.4/win1.cpp:74:70: note: Parameter 'event' can be declared as pointer to const DONE