2025-08-31 04:10 ftp://ftp.de.debian.org/debian/pool/main/g/gnubg/gnubg_1.08.003.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=cairo --library=libcurl --library=python --library=sqlite3 --library=opengl --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: 367 1229 elapsed-time: 8.3 17.8 head-timing-info: old-timing-info: head results: gnubg-1.08.003/multithread.h:69:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/multithread.h:69:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/board3d/types3d.h:98:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/board3d/types3d.h:98:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/board3d/GLwidget.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/board3d/GLwidget.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/glib-ext.h:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/glib-ext.h:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/dbprovider.c:354:21: style: Variable 'pdb' can be declared as pointer to const [constVariablePointer] external_l.c:1228:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] external_l.c:1782:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] external_l.c:2091:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] external_l.c:2336:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] external_l.c:2524:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] external_l.c:2555:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gnubg-1.08.003/drawboard.c:735:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gnubg-1.08.003/export.c:823:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/export.c:878:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/export.c:1265:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/export.c:1319:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ../gnubg/external_y.y:99:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ../gnubg/external_y.y:175:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMAND_NONE [valueFlowBailoutIncompleteVar] external_y.c:1404:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] external_l.c:2634:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] external_y.c:1628:3: style: The comparison '0 <= ext_state' is always true. [knownConditionTrueFalse] external_y.c:1567:31: note: 'ext_state' is assigned value '0' here. external_y.c:1628:3: note: The comparison '0 <= ext_state' is always true. external_l.c:1782:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] external_l.c:1782:3: note: c is initialized external_l.c:1782:3: note: c is overwritten ../gnubg/external_l.l:65:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:71:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:77:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:83:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:89:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:95:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:101:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:107:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:113:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:119:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:125:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:131:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:139:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:147:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:155:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:163:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:170:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:182:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:188:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:194:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:200:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:206:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:212:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:218:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:224:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:230:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:236:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:242:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:250:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:259:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:268:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:277:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:293:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/external_l.l:301:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.c:1862:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] external_l.c:552:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. external_l.c:1862:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. external_l.c:2285:46: style:inconclusive: Function 'ext__scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] external_l.c:513:46: note: Function 'ext__scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. external_l.c:2285:46: note: Function 'ext__scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. external_l.c:2298:46: style:inconclusive: Function 'ext__scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] external_l.c:514:45: note: Function 'ext__scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. external_l.c:2298:46: note: Function 'ext__scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. external_l.c:2298:60: style:inconclusive: Function 'ext__scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] external_l.c:514:56: note: Function 'ext__scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. external_l.c:2298:60: note: Function 'ext__scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. external_l.c:2495:24: style:inconclusive: Function 'ext_set_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] external_l.c:1040:24: note: Function 'ext_set_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. external_l.c:2495:24: note: Function 'ext_set_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. external_l.c:2521:26: style:inconclusive: Function 'ext_lex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] external_l.c:1029:27: note: Function 'ext_lex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. external_l.c:2521:26: note: Function 'ext_lex_init' argument 1 names different: declaration 'scanner' definition 'ptr_yy_globals'. external_l.c:2548:37: style:inconclusive: Function 'ext_lex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. [funcArgNamesDifferent] external_l.c:1031:38: note: Function 'ext_lex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. external_l.c:2548:37: note: Function 'ext_lex_init_extra' argument 1 names different: declaration 'user_defined' definition 'yy_user_defined'. external_l.c:2548:64: style:inconclusive: Function 'ext_lex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. [funcArgNamesDifferent] external_l.c:1031:62: note: Function 'ext_lex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. external_l.c:2548:64: note: Function 'ext_lex_init_extra' argument 2 names different: declaration 'scanner' definition 'ptr_yy_globals'. external_y.c:1182:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] external_y.c:1201:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] external_y.c:1816:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_y.c:1826:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_y.c:1835:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_y.c:1844:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_y.c:1853:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.c:1207:1: style: Parameter 'yylval_param' can be declared as pointer to const [constParameterPointer] external_l.c:1694:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] external_l.c:2364:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] external_l.c:2399:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] external_l.c:2408:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] external_l.c:2417:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] external_l.c:2427:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] external_l.c:2491:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] external_l.c:2505:23: style: Variable 'yyg' can be declared as pointer to const [constVariablePointer] ../gnubg/external_l.l:157:12: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/file.c:109:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gnubg-1.08.003/file.c:482:49: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gnubg-1.08.003/export.c:1035:35: style: Parameter 'plGame' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/export.c:1055:15: error: Uninitialized variable: anBoard [uninitvar] gnubg-1.08.003/drawboard.c:488:17: style:inconclusive: Function 'DrawBoard' argument 1 names different: declaration 'pch' definition 'sz'. [funcArgNamesDifferent] gnubg-1.08.003/drawboard.h:29:30: note: Function 'DrawBoard' argument 1 names different: declaration 'pch' definition 'sz'. gnubg-1.08.003/drawboard.c:488:17: note: Function 'DrawBoard' argument 1 names different: declaration 'pch' definition 'sz'. gnubg-1.08.003/drawboard.c:533:23: style:inconclusive: Function 'FormatMovePlain' argument 1 names different: declaration 'pch' definition 'sz'. [funcArgNamesDifferent] gnubg-1.08.003/drawboard.h:35:36: note: Function 'FormatMovePlain' argument 1 names different: declaration 'pch' definition 'sz'. gnubg-1.08.003/drawboard.c:533:23: note: Function 'FormatMovePlain' argument 1 names different: declaration 'pch' definition 'sz'. gnubg-1.08.003/drawboard.c:586:18: style:inconclusive: Function 'FormatMove' argument 1 names different: declaration 'pch' definition 'sz'. [funcArgNamesDifferent] gnubg-1.08.003/drawboard.h:34:31: note: Function 'FormatMove' argument 1 names different: declaration 'pch' definition 'sz'. gnubg-1.08.003/drawboard.c:586:18: note: Function 'FormatMove' argument 1 names different: declaration 'pch' definition 'sz'. gnubg-1.08.003/drawboard.c:57:78: style: Parameter 'szMatchID' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/drawboard.c:282:78: style: Parameter 'szMatchID' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/gtk-multiview.c:34:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/gtk-multiview.c:34:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/gtkgame.h:74:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/gtkgame.h:74:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/format.c:1139:18: style:inconclusive: Function 'DumpPosition' argument 6 names different: declaration 'fOutputWinPC' definition '_unused_fOutputWinPC'. [funcArgNamesDifferent] gnubg-1.08.003/eval.h:389:18: note: Function 'DumpPosition' argument 6 names different: declaration 'fOutputWinPC' definition '_unused_fOutputWinPC'. gnubg-1.08.003/format.c:1139:18: note: Function 'DumpPosition' argument 6 names different: declaration 'fOutputWinPC' definition '_unused_fOutputWinPC'. gnubg-1.08.003/format.c:47:26: style: Parameter 'asz' can be declared as const array [constParameter] gnubg-1.08.003/format.c:978:41: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/format.c:1072:48: style: Parameter '_unused_szOutput' can be declared as pointer to const. However it seems that 'DumpRace' is a callback function, if '_unused_szOutput' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/format.c:1133:5: note: You might need to cast the function pointer here gnubg-1.08.003/format.c:1072:48: note: Parameter '_unused_szOutput' can be declared as pointer to const gnubg-1.08.003/format.c:1081:54: style: Parameter '_unused_szOutput' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/gtkrace.c:119:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/gtkrace.c:119:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/gtkscoremap.c:320:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/gtkscoremap.c:320:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/gtktheory.c:474:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/gtktheory.c:474:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/import.c:41:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/import.c:41:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] gnubg-1.08.003/html.c:162:45: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] gnubg-1.08.003/lib/cache.c:82:42: style:inconclusive: Function 'CacheCreate' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] gnubg-1.08.003/lib/cache.h:68:46: note: Function 'CacheCreate' argument 2 names different: declaration 'size' definition 's'. gnubg-1.08.003/lib/cache.c:82:42: note: Function 'CacheCreate' argument 2 names different: declaration 'size' definition 's'. gnubg-1.08.003/latex.c:539:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/latex.c:577:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/lib/SFMT.c:393:14: style: Condition 'size>=623' is always true [knownConditionTrueFalse] gnubg-1.08.003/lib/SFMT.c:390:23: note: Assignment 'size=(19937/128+1)*4', assigned value is 624 gnubg-1.08.003/lib/SFMT.c:393:14: note: Condition 'size>=623' is always true gnubg-1.08.003/lib/SFMT.c:385:50: style: Parameter 'init_key' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/lib/SFMT.h:154:16: style: Variable 'psfmt32' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/lib/SFMT.h:179:16: style: Variable 'psfmt64' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/lib/SFMT-common.h:143:41: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/lib/isaac.c:35:17: style:inconclusive: Function 'isaac' argument 1 names different: declaration 'r' definition 'ctx'. [funcArgNamesDifferent] gnubg-1.08.003/lib/isaac.h:47:22: note: Function 'isaac' argument 1 names different: declaration 'r' definition 'ctx'. gnubg-1.08.003/lib/isaac.c:35:17: note: Function 'isaac' argument 1 names different: declaration 'r' definition 'ctx'. gnubg-1.08.003/lib/isaac.c:73:21: style:inconclusive: Function 'irandinit' argument 1 names different: declaration 'r' definition 'ctx'. [funcArgNamesDifferent] gnubg-1.08.003/lib/isaac.h:45:26: note: Function 'irandinit' argument 1 names different: declaration 'r' definition 'ctx'. gnubg-1.08.003/lib/isaac.c:73:21: note: Function 'irandinit' argument 1 names different: declaration 'r' definition 'ctx'. gnubg-1.08.003/lib/isaac.c:37:40: style: Variable 'm2' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/lib/isaac.c:37:49: style: Variable 'mend' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/lib/isaac.c:77:14: style: Variable 'r' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/latex.c:221:30: style: Parameter 'pch' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/latex.c:228:7: style: Variable 'at' can be declared as const array [constVariable] gnubg-1.08.003/lib/neuralnet.c:276:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gnubg-1.08.003/lib/neuralnet.c:321:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gnubg-1.08.003/lib/neuralnet.c:221:27: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gnubg-1.08.003/output.c:96:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/output.c:126:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/output.c:169:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gnubg-1.08.003/output.c:194:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gnubg-1.08.003/makeweights.c:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gnubg-1.08.003/makeweights.c:33:13: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/makeweights.c:46:18: style: Variable 'ar' can be declared as const array [constVariable] gnubg-1.08.003/matchid.c:144:19: style:inconclusive: Function 'MatchID' argument 11 names different: declaration 'fJacoby' definition 'fJacobyInUse'. [funcArgNamesDifferent] gnubg-1.08.003/matchid.h:43:32: note: Function 'MatchID' argument 11 names different: declaration 'fJacoby' definition 'fJacobyInUse'. gnubg-1.08.003/matchid.c:144:19: note: Function 'MatchID' argument 11 names different: declaration 'fJacoby' definition 'fJacobyInUse'. external_y.y:99:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] external_y.y:175:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMAND_NONE [valueFlowBailoutIncompleteVar] sgf_l.l:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGFErrorHandler [valueFlowBailoutIncompleteVar] sgf_l.c:1466:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sgf_l.c:1839:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sgf_l.c:2119:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sgf_l.c:2271:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgf_y.y:50:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgf_y.y:56:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable listOLD [valueFlowBailoutIncompleteVar] sgf_y.y:124:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plNext [valueFlowBailoutIncompleteVar] external_l.l:65:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:71:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:77:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:83:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:89:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:95:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:101:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:107:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:113:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:119:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:125:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:131:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:139:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:147:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:155:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:163:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:170:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:182:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:188:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:194:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:200:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:206:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:212:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:218:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:224:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:230:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:236:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:242:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:250:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:259:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:268:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:277:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:293:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:301:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] external_l.l:157:12: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] sgf_y.c:945:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] sgf_y.c:1030:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] sgf_y.c:972:31: note: 'yystate' is assigned value '0' here. sgf_y.c:1030:3: note: The comparison '0 <= yystate' is always true. sgf_y.y:64:26: style: Variable 'pchSrc' can be declared as pointer to const [constVariablePointer] sgf_y.c:945:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] gnubg-1.08.003/openurl.c:50:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPEN_URL_PROG [valueFlowBailoutIncompleteVar] gnubg-1.08.003/openurl.c:82:50: warning: Either the condition '!browser' is redundant or there is possible null pointer dereference: browser. [nullPointerRedundantCheck] gnubg-1.08.003/openurl.c:71:9: note: Assuming that condition '!browser' is not redundant gnubg-1.08.003/openurl.c:82:50: note: Null pointer dereference gnubg-1.08.003/matchequity.c:1541:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sgf_l.c:2077:2: warning: Either the condition '!b' is redundant or there is possible null pointer dereference: b. [nullPointerRedundantCheck] sgf_l.c:2074:7: note: Assuming that condition '!b' is not redundant sgf_l.c:2077:2: note: Null pointer dereference sgf_l.c:2082:2: warning: Either the condition '!b' is redundant or there is possible null pointer dereference: b. [nullPointerRedundantCheck] sgf_l.c:2074:7: note: Assuming that condition '!b' is not redundant sgf_l.c:2082:2: note: Null pointer dereference sgf_l.c:2082:48: warning: Either the condition '!b' is redundant or there is possible null pointer dereference: b. [nullPointerRedundantCheck] sgf_l.c:2074:7: note: Assuming that condition '!b' is not redundant sgf_l.c:2082:48: note: Null pointer dereference sgf_l.c:2083:9: warning: Either the condition '!b' is redundant or there is possible null pointer dereference: b. [nullPointerRedundantCheck] sgf_l.c:2074:7: note: Assuming that condition '!b' is not redundant sgf_l.c:2083:9: note: Null pointer dereference sgf_l.c:2123:2: warning: Possible null pointer dereference: b [nullPointer] sgf_l.c:2016:18: note: Calling function 'sgf_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 sgf_l.c:2123:2: note: Null pointer dereference sgf_l.c:2124:2: warning: Possible null pointer dereference: b [nullPointer] sgf_l.c:2016:18: note: Calling function 'sgf_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 sgf_l.c:2124:2: note: Null pointer dereference sgf_l.c:1839:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] sgf_l.c:1839:3: note: c is initialized sgf_l.c:1839:3: note: c is overwritten sgf_l.l:93:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sgf_l.l:118:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sgf_l.l:135:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sgf_l.l:140:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sgf_l.c:1906:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] sgf_l.c:605:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. sgf_l.c:1906:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. sgf_l.c:2367:24: style:inconclusive: Function 'sgfset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] sgf_l.c:1291:24: note: Function 'sgfset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. sgf_l.c:2367:24: note: Function 'sgfset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. sgf_l.c:1751:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:267:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:696:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positionkey [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:885:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positionkey [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:1017:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TanBoard [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:1047:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:1668:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:1754:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_DROP [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:1938:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2298:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2339:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2354:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2446:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2460:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2609:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TanBoard [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2630:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2782:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:2817:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_NONE [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:3243:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:3341:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:3499:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:3593:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:3844:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:3899:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:3966:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:4070:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:4132:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:4328:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:4800:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] gnubg-1.08.003/positionid.c:151:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oldpositionkey [valueFlowBailoutIncompleteVar] gnubg-1.08.003/positionid.c:293:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gnubg-1.08.003/osr.c:605:29: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gnubg-1.08.003/osr.c:205:36: style: Condition 'j-anDice[i]>5' is always false [knownConditionTrueFalse] gnubg-1.08.003/osr.c:199:19: note: Assuming that condition 'lc>5' is not redundant gnubg-1.08.003/osr.c:205:18: note: Assignment 'j=lc', assigned value is 5 gnubg-1.08.003/osr.c:205:36: note: Condition 'j-anDice[i]>5' is always false gnubg-1.08.003/osr.c:830:46: error: Uninitialized variable: an [uninitvar] gnubg-1.08.003/positionid.c:372:46: style:inconclusive: Function 'PositionFromID' argument 2 names different: declaration 'szID' definition 'pchEnc'. [funcArgNamesDifferent] gnubg-1.08.003/positionid.h:41:57: note: Function 'PositionFromID' argument 2 names different: declaration 'szID' definition 'pchEnc'. gnubg-1.08.003/positionid.c:372:46: note: Function 'PositionFromID' argument 2 names different: declaration 'szID' definition 'pchEnc'. gnubg-1.08.003/positionid.c:47:51: style: Parameter 'pkey' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/positionid.c:230:21: error: Uninitialized variable: anBoard [uninitvar] gnubg-1.08.003/positionid.c:375:62: error: Uninitialized variable: key [uninitvar] gnubg-1.08.003/progress.c:1034:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/progress.c:1135:63: style:inconclusive: Function 'RolloutProgressStart' argument 4 names different: declaration 'pes' definition 'prc'. [funcArgNamesDifferent] gnubg-1.08.003/progress.h:30:63: note: Function 'RolloutProgressStart' argument 4 names different: declaration 'pes' definition 'prc'. gnubg-1.08.003/progress.c:1135:63: note: Function 'RolloutProgressStart' argument 4 names different: declaration 'pes' definition 'prc'. gnubg-1.08.003/progress.c:1003:43: style: Parameter 'prc' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/relational.c:68:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_OVER [valueFlowBailoutIncompleteVar] gnubg-1.08.003/relational.c:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] gnubg-1.08.003/relational.c:194:5: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'ratingtype {aka signed int}'. [invalidPrintfArgType_uint] gnubg-1.08.003/relational.c:204:5: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'lucktype {aka signed int}'. [invalidPrintfArgType_uint] gnubg-1.08.003/relational.c:232:5: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'ratingtype {aka signed int}'. [invalidPrintfArgType_uint] gnubg-1.08.003/relational.c:241:5: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'ratingtype {aka signed int}'. [invalidPrintfArgType_uint] gnubg-1.08.003/relational.c:42:36: style: Parameter 'pdb' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/relational.c:101:26: style: Parameter 'pdb' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/relational.c:373:20: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/relational.c:416:11: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/relational.c:670:12: style: Variable 'player0' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/relational.c:671:12: style: Variable 'player1' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/relational.c:700:36: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/relational.c:711:11: style: Variable 'player_name' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/relational.c:779:31: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/relational.c:875:19: style: Variable 'db' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:2842:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gnubg-1.08.003/renderprefs.c:429:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PI [valueFlowBailoutIncompleteVar] gnubg-1.08.003/renderprefs.c:597:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] gnubg-1.08.003/play.c:418:14: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:643:17: style: Variable 'pmrOld' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:1025:41: style: Parameter 'pes' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2184:26: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2239:32: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2246:33: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2253:31: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2260:28: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2267:30: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2274:30: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2281:32: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2288:34: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2503:39: style: Parameter 'plGame' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2506:14: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:2582:24: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:2842:16: style: Variable 'ptm' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:3003:25: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:3265:17: style: Variable 'pmr' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:3276:28: style: Parameter 'pmr' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:3652:17: style: Variable 'pmr' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:3695:17: style: Variable 'pmr' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:4292:65: style: Parameter 'output' can be declared as const array [constParameter] gnubg-1.08.003/play.c:4293:24: style: Parameter 'stddev' can be declared as const array [constParameter] gnubg-1.08.003/play.c:4359:14: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:4673:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/play.c:4702:18: style: Variable 'plStart' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:4753:14: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:4781:14: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:4799:17: style: Variable 'pmr' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/play.c:1018:15: error: Uninitialized variable: anBoardNew [uninitvar] gnubg-1.08.003/play.c:1275:52: error: Uninitialized variable: anBoardMove [uninitvar] gnubg-1.08.003/play.c:2512:15: error: Uninitialized variable: anBoard [uninitvar] gnubg-1.08.003/play.c:2610:19: error: Uninitialized variable: list_board [uninitvar] gnubg-1.08.003/play.c:4473:11: warning: Uninitialized variable: are.r [uninitvar] gnubg-1.08.003/play.c:4456:23: note: Assuming condition is false gnubg-1.08.003/play.c:4473:11: note: Uninitialized variable: are.r gnubg-1.08.003/play.c:486:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gnubg-1.08.003/sgf.c:2111:53: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] ../gnubg/sgf_l.l:35:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SGFErrorHandler [valueFlowBailoutIncompleteVar] ../gnubg/sgf_l.l:93:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/sgf_l.l:118:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/sgf_l.l:135:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/sgf_l.l:140:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] ../gnubg/sgf_y.y:50:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ../gnubg/sgf_y.y:56:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable listOLD [valueFlowBailoutIncompleteVar] ../gnubg/sgf_y.y:124:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable plNext [valueFlowBailoutIncompleteVar] ../gnubg/sgf_y.y:64:26: style: Variable 'pchSrc' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/renderprefs.c:84:9: error: Memory leak: strs [memleak] gnubg-1.08.003/renderprefs.c:204:89: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/renderprefs.c:258:110: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/renderprefs.c:609:21: error: Uninitialized variable: buf [uninitvar] gnubg-1.08.003/renderprefs.c:670:21: error: Uninitialized variable: buf1 [uninitvar] gnubg-1.08.003/renderprefs.c:678:21: error: Uninitialized variable: buf2 [uninitvar] gnubg-1.08.003/renderprefs.c:679:21: error: Uninitialized variable: buf3 [uninitvar] gnubg-1.08.003/sound.c:393:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gnubg-1.08.003/sound.c:531:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gnubg-1.08.003/sound.c:389:36: style:inconclusive: Function 'playSoundFile' argument 2 names different: declaration 'sync' definition '_unused_sync'. [funcArgNamesDifferent] gnubg-1.08.003/sound.h:60:48: note: Function 'playSoundFile' argument 2 names different: declaration 'sync' definition '_unused_sync'. gnubg-1.08.003/sound.c:389:36: note: Function 'playSoundFile' argument 2 names different: declaration 'sync' definition '_unused_sync'. gnubg-1.08.003/sound.c:495:17: style: Variable 'aszDefaultSound' can be declared as const array [constVariable] gnubg-1.08.003/speed.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gnubg-1.08.003/text.c:225:59: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] gnubg-1.08.003/render.c:662:48: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gnubg-1.08.003/render.c:1038:43: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gnubg-1.08.003/render.c:1039:43: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gnubg-1.08.003/render.c:1040:23: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] gnubg-1.08.003/util.c:74:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AC_DATADIR [valueFlowBailoutIncompleteVar] gnubg-1.08.003/util.c:108:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AC_PKGDATADIR [valueFlowBailoutIncompleteVar] gnubg-1.08.003/util.c:120:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AC_DOCDIR [valueFlowBailoutIncompleteVar] gnubg-1.08.003/util.c:131:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] gnubg-1.08.003/render.c:1656:98: style:inconclusive: Function 'RenderChequers' argument 6 names different: declaration 'nStride' definition '_unused_nStride'. [funcArgNamesDifferent] gnubg-1.08.003/render.h:142:110: note: Function 'RenderChequers' argument 6 names different: declaration 'nStride' definition '_unused_nStride'. gnubg-1.08.003/render.c:1656:98: note: Function 'RenderChequers' argument 6 names different: declaration 'nStride' definition '_unused_nStride'. gnubg-1.08.003/render.c:2399:32: style:inconclusive: Function 'CalculateArea' argument 15 names different: declaration 'fResignOrientation' definition 'nResignOrientation'. [funcArgNamesDifferent] gnubg-1.08.003/render.h:163:44: note: Function 'CalculateArea' argument 15 names different: declaration 'fResignOrientation' definition 'nResignOrientation'. gnubg-1.08.003/render.c:2399:32: note: Function 'CalculateArea' argument 15 names different: declaration 'fResignOrientation' definition 'nResignOrientation'. gnubg-1.08.003/render.c:2400:43: style:inconclusive: Function 'CalculateArea' argument 17 names different: declaration 'fPlaying' definition '_unused_fPlaying'. [funcArgNamesDifferent] gnubg-1.08.003/render.h:164:55: note: Function 'CalculateArea' argument 17 names different: declaration 'fPlaying' definition '_unused_fPlaying'. gnubg-1.08.003/render.c:2400:43: note: Function 'CalculateArea' argument 17 names different: declaration 'fPlaying' definition '_unused_fPlaying'. gnubg-1.08.003/render.c:2603:85: style:inconclusive: Function 'RenderBoardLabels' argument 4 names different: declaration 'nStride' definition '_unused_nStride'. [funcArgNamesDifferent] gnubg-1.08.003/render.h:152:86: note: Function 'RenderBoardLabels' argument 4 names different: declaration 'nStride' definition '_unused_nStride'. gnubg-1.08.003/render.c:2603:85: note: Function 'RenderBoardLabels' argument 4 names different: declaration 'nStride' definition '_unused_nStride'. gnubg-1.08.003/render.c:554:28: style: Variable 'puch' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/render.c:1237:25: style: Parameter 'prd' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/render.c:1469:32: style: Parameter 'prd' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/render.c:1526:25: style: Parameter 'prd' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/render.c:1769:34: style: Parameter 'prd' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/render.c:1939:30: style: Parameter 'prd' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/render.c:2042:32: style: Parameter 'prd' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/render.c:2358:27: style: Parameter 'prd' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/render.c:2739:21: style: Parameter 'c1' can be declared as const array [constParameter] gnubg-1.08.003/render.c:2739:34: style: Parameter 'c2' can be declared as const array [constParameter] gnubg-1.08.003/matchequity.c:1167:48: style:inconclusive: Function 'met_parser_start_element' argument 1 names different: declaration 'context' definition '_unused_context'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1031:60: note: Function 'met_parser_start_element' argument 1 names different: declaration 'context' definition '_unused_context'. gnubg-1.08.003/matchequity.c:1167:48: note: Function 'met_parser_start_element' argument 1 names different: declaration 'context' definition '_unused_context'. gnubg-1.08.003/matchequity.c:1170:89: style:inconclusive: Function 'met_parser_start_element' argument 6 names different: declaration 'error' definition '_unused_error'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1034:101: note: Function 'met_parser_start_element' argument 6 names different: declaration 'error' definition '_unused_error'. gnubg-1.08.003/matchequity.c:1170:89: note: Function 'met_parser_start_element' argument 6 names different: declaration 'error' definition '_unused_error'. gnubg-1.08.003/matchequity.c:1263:46: style:inconclusive: Function 'met_parser_end_element' argument 1 names different: declaration 'context' definition '_unused_context'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1036:58: note: Function 'met_parser_end_element' argument 1 names different: declaration 'context' definition '_unused_context'. gnubg-1.08.003/matchequity.c:1263:46: note: Function 'met_parser_end_element' argument 1 names different: declaration 'context' definition '_unused_context'. gnubg-1.08.003/matchequity.c:1264:38: style:inconclusive: Function 'met_parser_end_element' argument 2 names different: declaration 'element_name' definition '_unused_element_name'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1037:50: note: Function 'met_parser_end_element' argument 2 names different: declaration 'element_name' definition '_unused_element_name'. gnubg-1.08.003/matchequity.c:1264:38: note: Function 'met_parser_end_element' argument 2 names different: declaration 'element_name' definition '_unused_element_name'. gnubg-1.08.003/matchequity.c:1264:90: style:inconclusive: Function 'met_parser_end_element' argument 4 names different: declaration 'error' definition '_unused_error'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1037:94: note: Function 'met_parser_end_element' argument 4 names different: declaration 'error' definition '_unused_error'. gnubg-1.08.003/matchequity.c:1264:90: note: Function 'met_parser_end_element' argument 4 names different: declaration 'error' definition '_unused_error'. gnubg-1.08.003/matchequity.c:1329:45: style:inconclusive: Function 'met_parser_characters' argument 1 names different: declaration 'context' definition '_unused_context'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1039:57: note: Function 'met_parser_characters' argument 1 names different: declaration 'context' definition '_unused_context'. gnubg-1.08.003/matchequity.c:1329:45: note: Function 'met_parser_characters' argument 1 names different: declaration 'context' definition '_unused_context'. gnubg-1.08.003/matchequity.c:1330:49: style:inconclusive: Function 'met_parser_characters' argument 3 names different: declaration 'text_len' definition '_unused_text_len'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1040:61: note: Function 'met_parser_characters' argument 3 names different: declaration 'text_len' definition '_unused_text_len'. gnubg-1.08.003/matchequity.c:1330:49: note: Function 'met_parser_characters' argument 3 names different: declaration 'text_len' definition '_unused_text_len'. gnubg-1.08.003/matchequity.c:1330:97: style:inconclusive: Function 'met_parser_characters' argument 5 names different: declaration 'error' definition '_unused_error'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1040:101: note: Function 'met_parser_characters' argument 5 names different: declaration 'error' definition '_unused_error'. gnubg-1.08.003/matchequity.c:1330:97: note: Function 'met_parser_characters' argument 5 names different: declaration 'error' definition '_unused_error'. gnubg-1.08.003/matchequity.c:1369:40: style:inconclusive: Function 'met_parser_error' argument 1 names different: declaration 'context' definition '_unused_context'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1042:52: note: Function 'met_parser_error' argument 1 names different: declaration 'context' definition '_unused_context'. gnubg-1.08.003/matchequity.c:1369:40: note: Function 'met_parser_error' argument 1 names different: declaration 'context' definition '_unused_context'. gnubg-1.08.003/matchequity.c:1369:66: style:inconclusive: Function 'met_parser_error' argument 2 names different: declaration 'error' definition '_unused_error'. [funcArgNamesDifferent] gnubg-1.08.003/matchequity.c:1042:70: note: Function 'met_parser_error' argument 2 names different: declaration 'error' definition '_unused_error'. gnubg-1.08.003/matchequity.c:1369:66: note: Function 'met_parser_error' argument 2 names different: declaration 'error' definition '_unused_error'. gnubg-1.08.003/matchequity.c:379:17: style: Parameter 'arOutput' can be declared as const array [constParameter] gnubg-1.08.003/matchequity.c:559:30: style: Parameter 'arOutput' can be declared as const array [constParameter] gnubg-1.08.003/matchequity.c:559:54: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] gnubg-1.08.003/matchequity.c:841:18: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:842:20: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:872:18: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:873:20: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:922:18: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:923:20: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:955:18: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:956:20: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:1371:24: style: Variable 'parser' can be declared as pointer to const [constVariablePointer] gnubg-1.08.003/matchequity.c:1741:9: style: Variable 'mult' can be declared as const array [constVariable] diff: 2.18.0 gnubg-1.08.003/analysis.c:1000:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/analysis.c:997:44: note: Assuming allocation function fails gnubg-1.08.003/analysis.c:997:18: note: Assignment 'pt=(struct AnalyseMoveTask*)malloc(sizeof(struct AnalyseMoveTask))', assigned value is 0 gnubg-1.08.003/analysis.c:1000:9: note: Null pointer dereference 2.18.0 gnubg-1.08.003/analysis.c:1001:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/analysis.c:997:44: note: Assuming allocation function fails gnubg-1.08.003/analysis.c:997:18: note: Assignment 'pt=(struct AnalyseMoveTask*)malloc(sizeof(struct AnalyseMoveTask))', assigned value is 0 gnubg-1.08.003/analysis.c:1001:9: note: Null pointer dereference 2.18.0 gnubg-1.08.003/analysis.c:1002:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/analysis.c:997:44: note: Assuming allocation function fails gnubg-1.08.003/analysis.c:997:18: note: Assignment 'pt=(struct AnalyseMoveTask*)malloc(sizeof(struct AnalyseMoveTask))', assigned value is 0 gnubg-1.08.003/analysis.c:1002:9: note: Null pointer dereference 2.18.0 gnubg-1.08.003/analysis.c:1003:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/analysis.c:997:44: note: Assuming allocation function fails gnubg-1.08.003/analysis.c:997:18: note: Assignment 'pt=(struct AnalyseMoveTask*)malloc(sizeof(struct AnalyseMoveTask))', assigned value is 0 gnubg-1.08.003/analysis.c:1003:9: note: Null pointer dereference 2.18.0 gnubg-1.08.003/analysis.c:1004:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/analysis.c:997:44: note: Assuming allocation function fails gnubg-1.08.003/analysis.c:997:18: note: Assignment 'pt=(struct AnalyseMoveTask*)malloc(sizeof(struct AnalyseMoveTask))', assigned value is 0 gnubg-1.08.003/analysis.c:1004:9: note: Null pointer dereference 2.18.0 gnubg-1.08.003/analysis.c:1009:25: style: Variable 'pNextmr' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:1162:28: style: Parameter 'plMatch' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/analysis.c:134:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:1499:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:1651:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable matchstate [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:1729:21: style: Variable 'pmr' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:1787:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:1891:58: style: Parameter 'pesCube' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/analysis.c:1936:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:2067:17: style: Variable 'pmrx' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:2223:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:2243:14: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:2274:29: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/analysis.c:227:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:2313:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:2350:50: style: Parameter 'pmr' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/analysis.c:2437:14: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:2447:21: style: Variable 'pmr_prev' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:2485:31: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/analysis.c:2537:17: style: Variable 'pmr' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:2630:17: style: Variable 'pmr' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:266:15: error: Uninitialized variable: init_board [uninitvar] 2.18.0 gnubg-1.08.003/analysis.c:412:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:446:23: error: Uninitialized variable: anBoardMove [uninitvar] 2.18.0 gnubg-1.08.003/analysis.c:610:65: style:inconclusive: Function 'AnalyzeMove' argument 3 names different: declaration 'plGame' definition 'plParentGame'. [funcArgNamesDifferent] gnubg-1.08.003/backgammon.h:460:40: note: Function 'AnalyzeMove' argument 3 names different: declaration 'plGame' definition 'plParentGame'. gnubg-1.08.003/analysis.c:610:65: note: Function 'AnalyzeMove' argument 3 names different: declaration 'plGame' definition 'plParentGame'. 2.18.0 gnubg-1.08.003/analysis.c:612:88: style:inconclusive: Function 'AnalyzeMove' argument 8 names different: declaration 'afAnalysePlayers' definition 'analysePlayers'. [funcArgNamesDifferent] gnubg-1.08.003/backgammon.h:463:34: note: Function 'AnalyzeMove' argument 8 names different: declaration 'afAnalysePlayers' definition 'analysePlayers'. gnubg-1.08.003/analysis.c:612:88: note: Function 'AnalyzeMove' argument 8 names different: declaration 'afAnalysePlayers' definition 'analysePlayers'. 2.18.0 gnubg-1.08.003/analysis.c:634:19: error: Uninitialized variable: anBoardMove [uninitvar] 2.18.0 gnubg-1.08.003/analysis.c:732:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/analysis.c:927:27: style: Parameter 'plGame' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/analysis.c:931:14: style: Variable 'pl' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/analysis.c:942:28: style: Parameter '_unused_unused' can be declared as pointer to const. However it seems that 'UpdateProgressBar' is a callback function, if '_unused_unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/analysis.c:1279:21: note: You might need to cast the function pointer here gnubg-1.08.003/analysis.c:942:28: note: Parameter '_unused_unused' can be declared as pointer to const 2.18.0 gnubg-1.08.003/analysis.c:999:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/analysis.c:997:44: note: Assuming allocation function fails gnubg-1.08.003/analysis.c:997:18: note: Assignment 'pt=(struct AnalyseMoveTask*)malloc(sizeof(struct AnalyseMoveTask))', assigned value is 0 gnubg-1.08.003/analysis.c:999:9: note: Null pointer dereference 2.18.0 gnubg-1.08.003/bearoff.c:1093:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/bearoff.c:265:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/bearoff.c:283:20: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/bearoff.c:339:20: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/bearoff.c:64:29: style: Variable 'gp' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/bearoff.c:689:21: style: Condition 'BearoffHyper(pbc,iPos,NULL,ar)' is always false [knownConditionTrueFalse] gnubg-1.08.003/bearoff.c:452:27: note: Calling function 'ReadHypergammon' returns 0 gnubg-1.08.003/bearoff.c:689:21: note: Calling function 'BearoffHyper' returns 0 gnubg-1.08.003/bearoff.c:689:21: note: Condition 'BearoffHyper(pbc,iPos,NULL,ar)' is always false 2.18.0 gnubg-1.08.003/bearoff.c:773:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/bearoff.c:80:29: style: Variable 'gp' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/bearoff.c:810:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/bearoff.c:955:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/bearoffdump.c:119:24: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/bearoffdump.c:45:11: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/bearoffdump.c:52:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_INT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:275:106: style: Parameter 'dt' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:327:46: debug: Function::addArguments found argument 'modelHolder' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:336:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:545:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:557:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alphaBlend [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:758:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_BUFFER_BIT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:842:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:843:24: error: Uninitialized variable: mvmatrix [uninitvar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:844:25: error: Uninitialized variable: projmatrix [uninitvar] 2.18.0 gnubg-1.08.003/board3d/DrawOGL.c:891:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] head gnubg-1.08.003/board3d/GLwidget.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/board3d/GLwidget.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/board3d/GLwidget.c:442:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GL_MODE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/GLwidget.c:467:62: debug: Function::addArguments found argument 'eventDetails' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/GLwidget.c:516:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_GL_RGBA_TYPE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:102:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DICE_ON_BOARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:138:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:165:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:196:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:237:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:250:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:316:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:52:52: style: Parameter 'lp' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/board3d/Occluders.c:59:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/PickOGL.c:113:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POINT_UNUSED0 [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/PickOGL.c:309:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/PickOGL.c:44:56: debug: Function::addArguments found argument 'data' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/PickOGL.c:47:14: style: Variable 'prd' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/PickOGL.c:52:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POINT_RESIGN [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/PickOGL.c:84:49: debug: Function::addArguments found argument 'data' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/ShimOGL.c:145:33: style:inconclusive: Function 'SHIMglNormal3fv' argument 1 names different: declaration 'normal' definition 'n'. [funcArgNamesDifferent] gnubg-1.08.003/board3d/ShimOGL.h:51:33: note: Function 'SHIMglNormal3fv' argument 1 names different: declaration 'normal' definition 'n'. gnubg-1.08.003/board3d/ShimOGL.c:145:33: note: Function 'SHIMglNormal3fv' argument 1 names different: declaration 'normal' definition 'n'. 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:1087:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pTexture [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:1118:40: debug: Function::addArguments found argument 'bd3d' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:1149:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:1298:38: debug: Function::addArguments found argument 'curveAccuracy' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:1307:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLM_ZUP [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:1384:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DICE_BELOW_BOARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:1539:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:1766:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:182:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:224:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:2340:10: style: The if condition is the same as the previous if condition [duplicateCondition] gnubg-1.08.003/board3d/drawboard3d.c:2333:10: note: First condition gnubg-1.08.003/board3d/drawboard3d.c:2340:10: note: Second condition 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:2385:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DICE_BELOW_BOARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:266:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:2841:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3111:79: debug: Function::addArguments found argument 'bd3d' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3130:83: debug: Function::addArguments found argument 'bd3d' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3185:6: style: Variable 'rotDC' can be declared as const array [constVariable] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3244:88: debug: Function::addArguments found argument 'bd3d' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3378:6: style: Variable 'rotDice' can be declared as const array [constVariable] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3387:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DICE_BELOW_BOARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3439:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3453:81: debug: Function::addArguments found argument 'curveAccuracy' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:3469:114: debug: Function::addArguments found argument 'prd' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:525:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:543:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:562:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:585:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:610:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:630:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:685:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:756:17: style: Condition 'sweepAngle<-360.0' is always false [knownConditionTrueFalse] gnubg-1.08.003/board3d/drawboard3d.c:738:26: note: Assignment 'sweepAngle=360.0f', assigned value is 360.0 gnubg-1.08.003/board3d/drawboard3d.c:752:73: note: Assuming condition is false gnubg-1.08.003/board3d/drawboard3d.c:756:17: note: Condition 'sweepAngle<-360.0' is always false 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:758:17: style: Condition 'sweepAngle>360.0' is always false [knownConditionTrueFalse] gnubg-1.08.003/board3d/drawboard3d.c:738:26: note: Assignment 'sweepAngle=360.0f', assigned value is 360.0 gnubg-1.08.003/board3d/drawboard3d.c:752:73: note: Assuming condition is false gnubg-1.08.003/board3d/drawboard3d.c:758:17: note: Condition 'sweepAngle>360.0' is always false 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:770:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:895:61: debug: Function::addArguments found argument 'prd' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:897:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable widget3dValid [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:918:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pTexture [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/drawboard3d.c:990:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/font3d.c:127:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_Curve_Tag_On [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/font3d.c:188:20: style: Variable 'pointList' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/font3d.c:189:15: style: Variable 'tagList' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/font3d.c:229:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/font3d.c:242:36: debug: Function::addArguments found argument 'pMesh' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/font3d.c:244:10: style: Variable 'vertex' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/font3d.c:267:36: debug: Function::addArguments found argument 'pMesh' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/font3d.c:80:12: style: Variable 'point' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/font3dOGL.c:135:89: style:inconclusive: Function 'CreateOGLFont' argument 5 names different: declaration 'size' definition 'scale'. [funcArgNamesDifferent] gnubg-1.08.003/board3d/fun3d.h:201:93: note: Function 'CreateOGLFont' argument 5 names different: declaration 'size' definition 'scale'. gnubg-1.08.003/board3d/font3dOGL.c:135:89: note: Function 'CreateOGLFont' argument 5 names different: declaration 'size' definition 'scale'. 2.18.0 gnubg-1.08.003/board3d/font3dOGL.c:158:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LOAD_NO_HINTING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/font3dOGL.c:296:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLU_TESS_BEGIN_DATA [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/font3dOGL.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NO_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/graph.c:137:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ambientColour [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/graph.c:189:10: style: Variable 'pScale' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/graph.c:209:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STIPPLE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/graph.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINES [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/graph.c:265:29: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/graph.c:268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/graph.c:274:34: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/graph.c:297:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/graph.c:332:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CUBEDECISION [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/graph.c:50:39: style: Parameter 'data' can be declared as pointer to const. However it seems that 'configureCB' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/board3d/graph.c:287:36: note: You might need to cast the function pointer here gnubg-1.08.003/board3d/graph.c:50:39: note: Parameter 'data' can be declared as pointer to const 2.18.0 gnubg-1.08.003/board3d/graph.c:67:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/graph.c:75:24: debug: Function::addArguments found argument 'data' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/graph.c:96:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:122:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:193:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLU_FILL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:205:56: debug: Function::addArguments found argument 'data' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:221:35: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:230:31: debug: Function::addArguments found argument 'data' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:246:66: debug: Function::addArguments found argument 'path' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:393:32: debug: Function::addArguments found argument 'dialog' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:395:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:402:19: style: Variable 'texStr' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:427:35: debug: Function::addArguments found argument 'button' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/gtkcolour3d.c:433:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_QUESTION [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/matrix.c:101:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/matrix.c:27:18: style: Variable 'id' can be declared as const array [constVariable] 2.18.0 gnubg-1.08.003/board3d/matrix.c:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/matrix.c:87:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:1022:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable animate_move_list [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:1047:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nGUIAnimSpeed [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:1176:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gs [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:1189:16: style: Variable 'bd' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:1331:45: debug: Function::addArguments found argument 'userdata' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:1462:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:1474:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:233:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:433:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:567:20: style: Variable 'bits' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:574:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:715:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable textureInfo [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:777:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable animation_finished [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:859:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:937:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/misc3d.c:994:81: debug: Function::addArguments found argument 'prd' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/model.c:211:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/board3d/model.c:473:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/model.c:515:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/model.c:583:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_PI [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/shadow.c:37:26: style: Parameter 'bd3d' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/board3d/tr.c:363:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PACK_ROW_LENGTH [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/tr.c:369:13: style: Same expression used in consecutive assignments of 'srcX' and 'srcY'. [duplicateAssignExpression] gnubg-1.08.003/board3d/tr.c:370:13: note: Same expression used in consecutive assignments of 'srcX' and 'srcY'. gnubg-1.08.003/board3d/tr.c:369:13: note: Same expression used in consecutive assignments of 'srcX' and 'srcY'. 2.18.0 gnubg-1.08.003/board3d/tr.c:377:13: style: Same expression used in consecutive assignments of 'srcX' and 'srcY'. [duplicateAssignExpression] gnubg-1.08.003/board3d/tr.c:378:13: note: Same expression used in consecutive assignments of 'srcX' and 'srcY'. gnubg-1.08.003/board3d/tr.c:377:13: note: Same expression used in consecutive assignments of 'srcX' and 'srcY'. 2.18.0 gnubg-1.08.003/board3d/tr.c:97:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] head gnubg-1.08.003/board3d/types3d.h:98:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/board3d/types3d.h:98:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/board3d/widget3d.c:126:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/widget3d.c:156:60: debug: Function::addArguments found argument 'eventData' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/board3d/widget3d.c:195:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/board3d/widget3d.c:80:31: debug: Function::addArguments found argument 'widget' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/dice.c:348:46: style: Parameter 'rngctx' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/dice.c:407:43: style: Parameter 'rngctx' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/dice.c:479:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RANDSIZ [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/dice.c:686:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/dice.c:739:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFMT_N32 [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/dice.c:799:22: style: union member '_hash::ach' is never used. [unusedStructMember] 2.18.0 gnubg-1.08.003/dice.c:897:30: style: Parameter 'rngctx' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/dice.c:903:29: style: Parameter 'rngctx' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:2158:85: style:inconclusive: Function 'EvalOver' argument 4 names different: declaration 'nnStates' definition '_unused_nnStates'. [funcArgNamesDifferent] gnubg-1.08.003/eval.h:446:86: note: Function 'EvalOver' argument 4 names different: declaration 'nnStates' definition '_unused_nnStates'. gnubg-1.08.003/eval.c:2158:85: note: Function 'EvalOver' argument 4 names different: declaration 'nnStates' definition '_unused_nnStates'. 2.18.0 gnubg-1.08.003/eval.c:2279:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UB4MAXVAL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:2346:33: style: Parameter 'pbc' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:2446:15: style: Parameter 'ar' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/eval.c:2625:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:2795:30: error: Uninitialized variable: anBoardNew [uninitvar] 2.18.0 gnubg-1.08.003/eval.c:3062:29: style: Parameter 'pnn' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:3062:40: style: Parameter 'szTitle' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:3186:25: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:3227:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cacheNode [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:3534:23: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:3670:52: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:3708:60: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:3813:57: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:3914:63: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:4122:34: style: Parameter 'pes' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:4425:52: style: Parameter 'arOutput' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/eval.c:4425:75: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:4487:88: style: Parameter 'aarRates' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/eval.c:4559:43: style: Parameter 'arCf' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/eval.c:4679:82: style: Parameter 'aarRates' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/eval.c:5144:15: error: Uninitialized variable: anBoardMove [uninitvar] 2.18.0 gnubg-1.08.003/eval.c:519:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:5353:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:5435:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:5534:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CACHEHIT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:555:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:5565:28: error: Uninitialized variable: anBoardTemp [uninitvar] 2.18.0 gnubg-1.08.003/eval.c:5607:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:5635:95: style: Parameter 'bmovesi' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/eval.c:5645:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable state [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:5711:68: style: Parameter 'pec' can be declared as pointer to const. However it seems that 'FindBestMoveNoLocking' is a callback function, if 'pec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/eval.c:200:31: note: You might need to cast the function pointer here gnubg-1.08.003/eval.c:5711:68: note: Parameter 'pec' can be declared as pointer to const 2.18.0 gnubg-1.08.003/eval.c:5719:98: style: Parameter 'keyMove' can be declared as pointer to const. However it seems that 'FindnSaveBestMovesNoLocking' is a callback function, if 'keyMove' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/eval.c:199:43: note: You might need to cast the function pointer here gnubg-1.08.003/eval.c:5719:98: note: Parameter 'keyMove' can be declared as pointer to const 2.18.0 gnubg-1.08.003/eval.c:5760:21: style: Variable 'mFilter' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/eval.c:5830:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:5879:87: style:inconclusive: Function 'GeneralCubeDecisionENoLocking' argument 5 names different: declaration 'pes' definition '_unused_pes'. [funcArgNamesDifferent] gnubg-1.08.003/eval.h:471:1: note: Function 'GeneralCubeDecisionENoLocking' argument 5 names different: declaration 'pes' definition '_unused_pes'. gnubg-1.08.003/eval.c:5879:87: note: Function 'GeneralCubeDecisionENoLocking' argument 5 names different: declaration 'pes' definition '_unused_pes'. 2.18.0 gnubg-1.08.003/eval.c:5988:29: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/eval.c:5989:33: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/eval.c:5990:34: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/eval.c:6001:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:6097:29: style: Variable 'pbc' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/eval.c:6316:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CACHEHIT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/eval.c:634:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RANDSIZ [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/glib-ext.c:104:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/glib-ext.c:107:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/glib-ext.c:114:31: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/glib-ext.c:117:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/glib-ext.c:128:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/glib-ext.c:144:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_GSTRING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/glib-ext.c:58:42: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/glib-ext.c:63:18: style: Variable 'cmpkey' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/glib-ext.c:72:46: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] head gnubg-1.08.003/glib-ext.h:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/glib-ext.h:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/gnubg.c:3414:11: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] 2.18.0 gnubg-1.08.003/gtk-multiview.c:198:41: style: Parameter '_unused_container' can be declared as pointer to const. However it seems that 'gtk_multiview_child_type' is a callback function, if '_unused_container' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtk-multiview.c:87:35: note: You might need to cast the function pointer here gnubg-1.08.003/gtk-multiview.c:198:41: note: Parameter '_unused_container' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtk-multiview.c:198:41: style:inconclusive: Function 'gtk_multiview_child_type' argument 1 names different: declaration 'container' definition '_unused_container'. [funcArgNamesDifferent] gnubg-1.08.003/gtk-multiview.c:47:41: note: Function 'gtk_multiview_child_type' argument 1 names different: declaration 'container' definition '_unused_container'. gnubg-1.08.003/gtk-multiview.c:198:41: note: Function 'gtk_multiview_child_type' argument 1 names different: declaration 'container' definition '_unused_container'. 2.18.0 gnubg-1.08.003/gtk-multiview.c:205:31: style:inconclusive: Function 'gtk_multiview_forall' argument 2 names different: declaration 'include_internals' definition '_unused_include_internals'. [funcArgNamesDifferent] gnubg-1.08.003/gtk-multiview.c:50:31: note: Function 'gtk_multiview_forall' argument 2 names different: declaration 'include_internals' definition '_unused_include_internals'. gnubg-1.08.003/gtk-multiview.c:205:31: note: Function 'gtk_multiview_forall' argument 2 names different: declaration 'include_internals' definition '_unused_include_internals'. 2.18.0 gnubg-1.08.003/gtk-multiview.c:226:34: style:inconclusive: Function 'gtk_multiview_add' argument 1 names different: declaration 'widget' definition 'container'. [funcArgNamesDifferent] gnubg-1.08.003/gtk-multiview.c:52:34: note: Function 'gtk_multiview_add' argument 1 names different: declaration 'widget' definition 'container'. gnubg-1.08.003/gtk-multiview.c:226:34: note: Function 'gtk_multiview_add' argument 1 names different: declaration 'widget' definition 'container'. 2.18.0 gnubg-1.08.003/gtk-multiview.c:237:37: style:inconclusive: Function 'gtk_multiview_remove' argument 1 names different: declaration 'widget' definition 'container'. [funcArgNamesDifferent] gnubg-1.08.003/gtk-multiview.c:54:37: note: Function 'gtk_multiview_remove' argument 1 names different: declaration 'widget' definition 'container'. gnubg-1.08.003/gtk-multiview.c:237:37: note: Function 'gtk_multiview_remove' argument 1 names different: declaration 'widget' definition 'container'. head gnubg-1.08.003/gtk-multiview.c:34:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/gtk-multiview.c:34:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/gtkboard.c:104:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:1051:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/gtkboard.c:1326:34: style: Parameter '_unused_board' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkboard.c:134:9: style: Variable 'ip' can be declared as const array [constVariable] 2.18.0 gnubg-1.08.003/gtkboard.c:1375:20: error: Uninitialized variable: points [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:1437:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:1441:23: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:1560:43: style: Parameter 'anDice' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/gtkboard.c:1578:46: style: Parameter 'anDice' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/gtkboard.c:1684:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:1877:28: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:1951:32: error: Uninitialized variable: points [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:200:19: error: Uninitialized variable: an [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:2108:33: style:inconclusive: Function 'board_motion_notify' argument 1 names different: declaration 'widget' definition 'board'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.h:163:49: note: Function 'board_motion_notify' argument 1 names different: declaration 'widget' definition 'board'. gnubg-1.08.003/gtkboard.c:2108:33: note: Function 'board_motion_notify' argument 1 names different: declaration 'widget' definition 'board'. 2.18.0 gnubg-1.08.003/gtkboard.c:2124:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:247:24: style: Parameter 'bd' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkboard.c:256:29: style: Parameter 'bd' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkboard.c:273:20: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:2851:23: style: Parameter 'board' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkboard.c:2915:59: style:inconclusive: Function 'game_set' argument 6 names different: declaration 'match' definition 'matchto'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.h:141:71: note: Function 'game_set' argument 6 names different: declaration 'match' definition 'matchto'. gnubg-1.08.003/gtkboard.c:2915:59: note: Function 'game_set' argument 6 names different: declaration 'match' definition 'matchto'. 2.18.0 gnubg-1.08.003/gtkboard.c:2926:24: error: Uninitialized variable: old_points [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:2994:34: style:inconclusive: Function 'board_create_pixmaps' argument 1 names different: declaration 'board' definition '_unused_board'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.h:148:46: note: Function 'board_create_pixmaps' argument 1 names different: declaration 'board' definition '_unused_board'. gnubg-1.08.003/gtkboard.c:2994:34: note: Function 'board_create_pixmaps' argument 1 names different: declaration 'board' definition '_unused_board'. 2.18.0 gnubg-1.08.003/gtkboard.c:300:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3121:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3241:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3276:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3285:51: style: Parameter 'pbd' can be declared as pointer to const. However it seems that 'board_show_child' is a callback function, if 'pbd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkboard.c:3300:60: note: You might need to cast the function pointer here gnubg-1.08.003/gtkboard.c:3285:51: note: Parameter 'pbd' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkboard.c:3298:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3305:34: style:inconclusive: Function 'UpdateCrawfordToggle' argument 1 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.c:2193:46: note: Function 'UpdateCrawfordToggle' argument 1 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkboard.c:3305:34: note: Function 'UpdateCrawfordToggle' argument 1 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkboard.c:3324:30: style:inconclusive: Function 'match_change_val' argument 1 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.c:2197:42: note: Function 'match_change_val' argument 1 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkboard.c:3324:30: note: Function 'match_change_val' argument 1 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkboard.c:3342:32: style:inconclusive: Function 'board_set_crawford' argument 1 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.c:2194:44: note: Function 'board_set_crawford' argument 1 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkboard.c:3342:32: note: Function 'board_set_crawford' argument 1 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkboard.c:3353:30: style:inconclusive: Function 'board_set_jacoby' argument 1 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.c:2196:42: note: Function 'board_set_jacoby' argument 1 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkboard.c:3353:30: note: Function 'board_set_jacoby' argument 1 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkboard.c:3425:24: error: Uninitialized variable: points [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:3503:45: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/gtkboard.c:3524:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3531:19: style:inconclusive: Function 'DrawDie' argument 1 names different: declaration 'pd' definition 'cr'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.h:168:19: note: Function 'DrawDie' argument 1 names different: declaration 'pd' definition 'cr'. gnubg-1.08.003/gtkboard.c:3531:19: note: Function 'DrawDie' argument 1 names different: declaration 'pd' definition 'cr'. 2.18.0 gnubg-1.08.003/gtkboard.c:3550:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_COLORSPACE_RGB [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3592:24: style: Parameter '_unused_dice' can be declared as pointer to const. However it seems that 'dice_press' is a callback function, if '_unused_dice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkboard.c:3966:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkboard.c:3592:24: note: Parameter '_unused_dice' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkboard.c:3592:49: style: Parameter '_unused_event' can be declared as pointer to const. However it seems that 'dice_press' is a callback function, if '_unused_event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkboard.c:3966:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkboard.c:3592:49: note: Parameter '_unused_event' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkboard.c:3592:76: style: Parameter '_unused_bd' can be declared as pointer to const. However it seems that 'dice_press' is a callback function, if '_unused_bd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkboard.c:3966:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkboard.c:3592:76: note: Parameter '_unused_bd' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkboard.c:3600:67: style: Parameter 'p' can be declared as pointer to const. However it seems that 'key_press' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkboard.c:3627:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkboard.c:3600:67: note: Parameter 'p' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkboard.c:3625:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3668:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:3697: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 gnubg-1.08.003/gtkboard.c:3711: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 gnubg-1.08.003/gtkboard.c:3720: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 gnubg-1.08.003/gtkboard.c:3751: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 gnubg-1.08.003/gtkboard.c:3776: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 gnubg-1.08.003/gtkboard.c:3803: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 gnubg-1.08.003/gtkboard.c:3812: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 gnubg-1.08.003/gtkboard.c:3843: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 gnubg-1.08.003/gtkboard.c:3868: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 gnubg-1.08.003/gtkboard.c:3891: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 gnubg-1.08.003/gtkboard.c:3905: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 gnubg-1.08.003/gtkboard.c:4009:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/gtkboard.c:4060:26: style:inconclusive: Function 'DestroySetCube' argument 1 names different: declaration 'po' definition '_unused_po'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.h:136:38: note: Function 'DestroySetCube' argument 1 names different: declaration 'po' definition '_unused_po'. gnubg-1.08.003/gtkboard.c:4060:26: note: Function 'DestroySetCube' argument 1 names different: declaration 'po' definition '_unused_po'. 2.18.0 gnubg-1.08.003/gtkboard.c:4112:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:4324:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:587:31: style: Variable 'pm' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkboard.c:635:26: style: Parameter 'bd' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkboard.c:706:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:722:16: style: Variable 'move' is assigned a value that is never used. [unreadVariable] 2.18.0 gnubg-1.08.003/gtkboard.c:728:20: error: Uninitialized variable: points [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:735:14: style: Variable 'move' is assigned a value that is never used. [unreadVariable] 2.18.0 gnubg-1.08.003/gtkboard.c:745:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:751:22: style: Variable 'move' is assigned a value that is never used. [unreadVariable] 2.18.0 gnubg-1.08.003/gtkboard.c:761:29: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:789:10: style: Unused variable: move [unusedVariable] 2.18.0 gnubg-1.08.003/gtkboard.c:792:20: error: Uninitialized variable: points [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:841:29: style: Parameter 'dice' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkboard.c:844:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TanBoard [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:904:49: style: Parameter 'permi' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/gtkboard.c:941:20: error: Uninitialized variable: real_board [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:950:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TanBoard [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkboard.c:951:25: error: Uninitialized variable: board [uninitvar] 2.18.0 gnubg-1.08.003/gtkboard.c:996:12: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/gtkboard.c:997:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/gtkboard.c:998:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/gtkchequer.c:120:21: style: Parameter 'phd' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkchequer.c:135:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TanBoard [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkchequer.c:136:19: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/gtkchequer.c:149:51: style: Parameter 'phd' can be declared as pointer to const. However it seems that 'MoveListTempMapClicked' is a callback function, if 'phd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkchequer.c:668:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkchequer.c:149:51: note: Parameter 'phd' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkchequer.c:163:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable matchstate [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkchequer.c:210:57: style: Parameter 'phd' can be declared as pointer to const. However it seems that 'MoveListCmarkClicked' is a callback function, if 'phd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkchequer.c:670:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkchequer.c:210:57: note: Parameter 'phd' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkchequer.c:220:15: style: Variable 'm' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkchequer.c:235:40: style: Parameter 'phd' can be declared as pointer to const. However it seems that 'MoveListMWC' is a callback function, if 'phd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkchequer.c:664:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkchequer.c:235:40: note: Parameter 'phd' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkchequer.c:313:11: style: Variable 'szPly' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkchequer.c:349:12: style: Variable 'command' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkchequer.c:354:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkchequer.c:355:17: style: Variable 'command' is assigned a value that is never used. [unreadVariable] 2.18.0 gnubg-1.08.003/gtkchequer.c:367:1: error: Memory leak: command [memleak] 2.18.0 gnubg-1.08.003/gtkchequer.c:395:15: style: Variable 'm' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkchequer.c:418:11: style: Variable 'pm' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkchequer.c:512:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkchequer.c:523: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 gnubg-1.08.003/gtkchequer.c:582: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 gnubg-1.08.003/gtkchequer.c:703:31: style:inconclusive: Function 'HintDoubleClick' argument 1 names different: declaration 'treeview' definition '_unused_treeview'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:142:43: note: Function 'HintDoubleClick' argument 1 names different: declaration 'treeview' definition '_unused_treeview'. gnubg-1.08.003/gtkchequer.c:703:31: note: Function 'HintDoubleClick' argument 1 names different: declaration 'treeview' definition '_unused_treeview'. 2.18.0 gnubg-1.08.003/gtkchequer.c:704:31: style:inconclusive: Function 'HintDoubleClick' argument 2 names different: declaration 'path' definition '_unused_path'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:142:67: note: Function 'HintDoubleClick' argument 2 names different: declaration 'path' definition '_unused_path'. gnubg-1.08.003/gtkchequer.c:704:31: note: Function 'HintDoubleClick' argument 2 names different: declaration 'path' definition '_unused_path'. 2.18.0 gnubg-1.08.003/gtkchequer.c:704:65: style:inconclusive: Function 'HintDoubleClick' argument 3 names different: declaration 'col' definition '_unused_col'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:142:93: note: Function 'HintDoubleClick' argument 3 names different: declaration 'col' definition '_unused_col'. gnubg-1.08.003/gtkchequer.c:704:65: note: Function 'HintDoubleClick' argument 3 names different: declaration 'col' definition '_unused_col'. 2.18.0 gnubg-1.08.003/gtkchequer.c:731:16: style: Variable 'bd' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkchequer.c:749:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkchequer.c:788: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 gnubg-1.08.003/gtkcube.c:103:19: style: Variable 'headings' can be declared as const array [constVariable] 2.18.0 gnubg-1.08.003/gtkcube.c:127:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkcube.c:1327:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkcube.c:1382:12: style: Variable 'command' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkcube.c:1387:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkcube.c:1388:17: style: Variable 'command' is assigned a value that is never used. [unreadVariable] 2.18.0 gnubg-1.08.003/gtkcube.c:1400:1: error: Memory leak: command [memleak] 2.18.0 gnubg-1.08.003/gtkcube.c:1492:11: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkcube.c:1500:60: style: Parameter 'pchd' can be declared as pointer to const. However it seems that 'CubeAnalysisTempMap' is a callback function, if 'pchd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkcube.c:1741:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkcube.c:1500:60: note: Parameter 'pchd' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkcube.c:1514:34: style: Parameter '_unused_pw' can be declared as pointer to const. However it seems that 'CubeAnalysisScoreMap' is a callback function, if '_unused_pw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkcube.c:1745:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkcube.c:1514:34: note: Parameter '_unused_pw' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkcube.c:1514:61: style: Parameter '_unused_pchd' can be declared as pointer to const. However it seems that 'CubeAnalysisScoreMap' is a callback function, if '_unused_pchd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkcube.c:1745:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkcube.c:1514:61: note: Parameter '_unused_pchd' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkcube.c:1576:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkcube.c:1586: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 gnubg-1.08.003/gtkcube.c:1618: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 gnubg-1.08.003/gtkcube.c:1828: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 gnubg-1.08.003/gtkcube.c:1843:11: 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 gnubg-1.08.003/gtkcube.c:1851: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 gnubg-1.08.003/gtkcube.c:363:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkcube.c:776: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 gnubg-1.08.003/gtkcube.c:845:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkexport.c:305:18: style: Variable 'pexs' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkexport.c:398:34: style: Variable 'command' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkexport.c:409:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkexport.c:446:25: style: Variable 'command' is assigned a value that is never used. [unreadVariable] 2.18.0 gnubg-1.08.003/gtkexport.c:446:27: style: Variable 'command' is allocated memory that is never used. [unusedAllocatedMemory] 2.18.0 gnubg-1.08.003/gtkexport.c:539: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 gnubg-1.08.003/gtkexport.c:596: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 gnubg-1.08.003/gtkexport.c:676: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 gnubg-1.08.003/gtkexport.c:683: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 gnubg-1.08.003/gtkexport.c:738: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 gnubg-1.08.003/gtkexport.c:799: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 gnubg-1.08.003/gtkexport.c:818: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 gnubg-1.08.003/gtkexport.c:837: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 gnubg-1.08.003/gtkexport.c:875: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 gnubg-1.08.003/gtkexport.c:884: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 gnubg-1.08.003/gtkexport.c:909: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 gnubg-1.08.003/gtkexport.c:931: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 gnubg-1.08.003/gtkfile.c:1012:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:184:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:205:29: style: Parameter 'prompt' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkfile.c:216:12: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkfile.c:224:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:249: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 gnubg-1.08.003/gtkfile.c:373:42: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkfile.c:395:18: style:inconclusive: Function 'GTKOpen' argument 1 names different: declaration 'p' definition '_unused_p'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:23:30: note: Function 'GTKOpen' argument 1 names different: declaration 'p' definition '_unused_p'. gnubg-1.08.003/gtkfile.c:395:18: note: Function 'GTKOpen' argument 1 names different: declaration 'p' definition '_unused_p'. 2.18.0 gnubg-1.08.003/gtkfile.c:395:35: style:inconclusive: Function 'GTKOpen' argument 2 names different: declaration 'n' definition '_unused_n'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:23:39: note: Function 'GTKOpen' argument 2 names different: declaration 'n' definition '_unused_n'. gnubg-1.08.003/gtkfile.c:395:35: note: Function 'GTKOpen' argument 2 names different: declaration 'n' definition '_unused_n'. 2.18.0 gnubg-1.08.003/gtkfile.c:395:58: style:inconclusive: Function 'GTKOpen' argument 3 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:23:54: note: Function 'GTKOpen' argument 3 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkfile.c:395:58: note: Function 'GTKOpen' argument 3 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkfile.c:399:12: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkfile.c:406:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:415:11: 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 gnubg-1.08.003/gtkfile.c:416: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 gnubg-1.08.003/gtkfile.c:425: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 gnubg-1.08.003/gtkfile.c:475:26: style:inconclusive: Function 'GTKCommandsOpen' argument 1 names different: declaration 'p' definition '_unused_p'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:24:38: note: Function 'GTKCommandsOpen' argument 1 names different: declaration 'p' definition '_unused_p'. gnubg-1.08.003/gtkfile.c:475:26: note: Function 'GTKCommandsOpen' argument 1 names different: declaration 'p' definition '_unused_p'. 2.18.0 gnubg-1.08.003/gtkfile.c:475:43: style:inconclusive: Function 'GTKCommandsOpen' argument 2 names different: declaration 'n' definition '_unused_n'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:24:47: note: Function 'GTKCommandsOpen' argument 2 names different: declaration 'n' definition '_unused_n'. gnubg-1.08.003/gtkfile.c:475:43: note: Function 'GTKCommandsOpen' argument 2 names different: declaration 'n' definition '_unused_n'. 2.18.0 gnubg-1.08.003/gtkfile.c:475:66: style:inconclusive: Function 'GTKCommandsOpen' argument 3 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:24:62: note: Function 'GTKCommandsOpen' argument 3 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkfile.c:475:66: note: Function 'GTKCommandsOpen' argument 3 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkfile.c:480:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:494:18: style:inconclusive: Function 'GTKSave' argument 1 names different: declaration 'p' definition '_unused_p'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:25:30: note: Function 'GTKSave' argument 1 names different: declaration 'p' definition '_unused_p'. gnubg-1.08.003/gtkfile.c:494:18: note: Function 'GTKSave' argument 1 names different: declaration 'p' definition '_unused_p'. 2.18.0 gnubg-1.08.003/gtkfile.c:494:35: style:inconclusive: Function 'GTKSave' argument 2 names different: declaration 'n' definition '_unused_n'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:25:39: note: Function 'GTKSave' argument 2 names different: declaration 'n' definition '_unused_n'. gnubg-1.08.003/gtkfile.c:494:35: note: Function 'GTKSave' argument 2 names different: declaration 'n' definition '_unused_n'. 2.18.0 gnubg-1.08.003/gtkfile.c:494:58: style:inconclusive: Function 'GTKSave' argument 3 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:25:54: note: Function 'GTKSave' argument 3 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkfile.c:494:58: note: Function 'GTKSave' argument 3 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkfile.c:508:27: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkfile.c:527:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:557:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:629:26: style: Parameter '_unused_pw' can be declared as pointer to const. However it seems that 'batch_cancel' is a callback function, if '_unused_pw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkfile.c:784:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkfile.c:629:26: note: Parameter '_unused_pw' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkfile.c:629:47: style: Parameter '_unused_model' can be declared as pointer to const. However it seems that 'batch_cancel' is a callback function, if '_unused_model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkfile.c:784:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkfile.c:629:47: note: Parameter '_unused_model' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkfile.c:646:29: style: Parameter '_unused_pw' can be declared as pointer to const. However it seems that 'batch_skip_file' is a callback function, if '_unused_pw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkfile.c:805:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkfile.c:646:29: note: Parameter '_unused_pw' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkfile.c:646:50: style: Parameter '_unused_p' can be declared as pointer to const. However it seems that 'batch_skip_file' is a callback function, if '_unused_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkfile.c:805:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkfile.c:646:50: note: Parameter '_unused_p' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkfile.c:78:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:841:20: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkfile.c:895:12: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkfile.c:907:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkfile.c:948:12: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkfile.c:992:26: style:inconclusive: Function 'GTKBatchAnalyse' argument 1 names different: declaration 'p' definition '_unused_p'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:31:38: note: Function 'GTKBatchAnalyse' argument 1 names different: declaration 'p' definition '_unused_p'. gnubg-1.08.003/gtkfile.c:992:26: note: Function 'GTKBatchAnalyse' argument 1 names different: declaration 'p' definition '_unused_p'. 2.18.0 gnubg-1.08.003/gtkfile.c:992:43: style:inconclusive: Function 'GTKBatchAnalyse' argument 2 names different: declaration 'n' definition '_unused_n'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:31:47: note: Function 'GTKBatchAnalyse' argument 2 names different: declaration 'n' definition '_unused_n'. gnubg-1.08.003/gtkfile.c:992:43: note: Function 'GTKBatchAnalyse' argument 2 names different: declaration 'n' definition '_unused_n'. 2.18.0 gnubg-1.08.003/gtkfile.c:992:66: style:inconclusive: Function 'GTKBatchAnalyse' argument 3 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkfile.h:31:62: note: Function 'GTKBatchAnalyse' argument 3 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkfile.c:992:66: note: Function 'GTKBatchAnalyse' argument 3 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkfile.c:994:12: style: Variable 'folder' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkgame.c:7101:66: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] head gnubg-1.08.003/gtkgame.h:74:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/gtkgame.h:74:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/gtkgamelist.c:149:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkgamelist.c:178:49: style: Parameter 'cNew' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/gtkgamelist.c:178:67: style: Parameter 'cDefault' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/gtkgamelist.c:182:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GdkColor [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkgamelist.c:202:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkgamelist.c:249:10: style: Variable 'pPlayer' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkgamelist.c:258:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkgamelist.c:273:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkgamelist.c:324:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_COLUMN_FIXED [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkgamelist.c:380:60: style: Parameter 'pmr' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkgamelist.c:514:25: style: Variable 'pmrNext' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkgamelist.c:560:22: style: Variable 'moveIndex' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkgamelist.c:575:37: style: Parameter 'pmr' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkgamelist.c:77:33: style: Variable 'pmrPrev' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkmet.c:118:13: 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 gnubg-1.08.003/gtkmet.c:51:37: style: Parameter 'met' can be declared as const array [constParameter] 2.18.0 gnubg-1.08.003/gtkmovefilter.c:197: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 gnubg-1.08.003/gtkmovefilter.c:212: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 gnubg-1.08.003/gtkmovefilter.c:235: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 gnubg-1.08.003/gtkmovefilter.c:289:15: 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 gnubg-1.08.003/gtkmovefilter.c:326:18: 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 gnubg-1.08.003/gtkmovefilter.c:449:41: style:inconclusive: Function 'MoveFilterWidget' argument 2 names different: declaration 'pfOK' definition '_unused_pfOK'. [funcArgNamesDifferent] gnubg-1.08.003/gtkmovefilter.h:24:59: note: Function 'MoveFilterWidget' argument 2 names different: declaration 'pfOK' definition '_unused_pfOK'. gnubg-1.08.003/gtkmovefilter.c:449:41: note: Function 'MoveFilterWidget' argument 2 names different: declaration 'pfOK' definition '_unused_pfOK'. 2.18.0 gnubg-1.08.003/gtkmovefilter.c:469: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 gnubg-1.08.003/gtkmovefilter.c:514:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_ASCII_DTOSTR_BUF_SIZE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkmovefilter.c:523:57: error: Uninitialized variable: buf [uninitvar] 2.18.0 gnubg-1.08.003/gtkmovelist.c:167:19: style: Variable 'phd' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkmovelist.c:198:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkmovelist.c:350:40: style:inconclusive: Function 'MoveListShowToggledClicked' argument 1 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:147:52: note: Function 'MoveListShowToggledClicked' argument 1 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkmovelist.c:350:40: note: Function 'MoveListShowToggledClicked' argument 1 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkmovelist.c:362:36: style:inconclusive: Function 'MoveListClearSelection' argument 1 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:65:48: note: Function 'MoveListClearSelection' argument 1 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkmovelist.c:362:36: note: Function 'MoveListClearSelection' argument 1 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkmovelist.c:362:68: style:inconclusive: Function 'MoveListClearSelection' argument 2 names different: declaration 'pes' definition '_unused_pes'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:65:72: note: Function 'MoveListClearSelection' argument 2 names different: declaration 'pes' definition '_unused_pes'. gnubg-1.08.003/gtkmovelist.c:362:68: note: Function 'MoveListClearSelection' argument 2 names different: declaration 'pes' definition '_unused_pes'. 2.18.0 gnubg-1.08.003/gtkmovelist.c:76:19: style: Variable 'psDefault' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkmovelist.c:82:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:109:65: style:inconclusive: Function 'custom_cell_renderer_movelist_init' argument 1 names different: declaration 'cellprogress' definition 'cellrendererprogress'. [funcArgNamesDifferent] gnubg-1.08.003/gtkmovelistctrl.c:32:77: note: Function 'custom_cell_renderer_movelist_init' argument 1 names different: declaration 'cellprogress' definition 'cellrendererprogress'. gnubg-1.08.003/gtkmovelistctrl.c:109:65: note: Function 'custom_cell_renderer_movelist_init' argument 1 names different: declaration 'cellprogress' definition 'cellrendererprogress'. 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:109:96: style:inconclusive: Function 'custom_cell_renderer_movelist_init' argument 2 names different: declaration 'g_class' definition '_unused_g_class'. [funcArgNamesDifferent] gnubg-1.08.003/gtkmovelistctrl.c:32:100: note: Function 'custom_cell_renderer_movelist_init' argument 2 names different: declaration 'g_class' definition '_unused_g_class'. gnubg-1.08.003/gtkmovelistctrl.c:109:96: note: Function 'custom_cell_renderer_movelist_init' argument 2 names different: declaration 'g_class' definition '_unused_g_class'. 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:130:92: style:inconclusive: Function 'custom_cell_renderer_movelist_class_init' argument 2 names different: declaration 'class_data' definition '_unused_class_data'. [funcArgNamesDifferent] gnubg-1.08.003/gtkmovelistctrl.c:33:104: note: Function 'custom_cell_renderer_movelist_class_init' argument 2 names different: declaration 'class_data' definition '_unused_class_data'. gnubg-1.08.003/gtkmovelistctrl.c:130:92: note: Function 'custom_cell_renderer_movelist_class_init' argument 2 names different: declaration 'class_data' definition '_unused_class_data'. 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:149:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable custom_cell_renderer_movelist_render_window [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:170:50: style:inconclusive: Function 'custom_cell_renderer_movelist_finalize' argument 1 names different: declaration 'gobject' definition 'object'. [funcArgNamesDifferent] gnubg-1.08.003/gtkmovelistctrl.c:36:62: note: Function 'custom_cell_renderer_movelist_finalize' argument 1 names different: declaration 'gobject' definition 'object'. gnubg-1.08.003/gtkmovelistctrl.c:170:50: note: Function 'custom_cell_renderer_movelist_finalize' argument 1 names different: declaration 'gobject' definition 'object'. 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:178:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:196:95: style:inconclusive: Function 'custom_cell_renderer_movelist_set_property' argument 4 names different: declaration 'pspec' definition '_unused_notused'. [funcArgNamesDifferent] gnubg-1.08.003/gtkmovelistctrl.c:35:107: note: Function 'custom_cell_renderer_movelist_set_property' argument 4 names different: declaration 'pspec' definition '_unused_notused'. gnubg-1.08.003/gtkmovelistctrl.c:196:95: note: Function 'custom_cell_renderer_movelist_set_property' argument 4 names different: declaration 'pspec' definition '_unused_notused'. 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:250:63: style: Parameter 'cell_area' can be declared as pointer to const. However it seems that 'custom_cell_renderer_movelist_get_size' is a callback function, if 'cell_area' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkmovelistctrl.c:145:28: note: You might need to cast the function pointer here gnubg-1.08.003/gtkmovelistctrl.c:250:63: note: Parameter 'cell_area' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:370:12: style: Variable 'ar' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:378:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CELL_RENDERER_SELECTED [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkmovelistctrl.c:93:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_CELL_RENDERER [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:1053: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 gnubg-1.08.003/gtkoptions.c:1054:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwp [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:1066: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 gnubg-1.08.003/gtkoptions.c:1085:11: 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 gnubg-1.08.003/gtkoptions.c:1092: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 gnubg-1.08.003/gtkoptions.c:1131:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:1136:18: 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 gnubg-1.08.003/gtkoptions.c:1143: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 gnubg-1.08.003/gtkoptions.c:1149:17: 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 gnubg-1.08.003/gtkoptions.c:1156: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 gnubg-1.08.003/gtkoptions.c:1208: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 gnubg-1.08.003/gtkoptions.c:1218: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 gnubg-1.08.003/gtkoptions.c:1232: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 gnubg-1.08.003/gtkoptions.c:1281: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 gnubg-1.08.003/gtkoptions.c:1282:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwp [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:1293:15: 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 gnubg-1.08.003/gtkoptions.c:1317: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 gnubg-1.08.003/gtkoptions.c:1323: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 gnubg-1.08.003/gtkoptions.c:1337: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 gnubg-1.08.003/gtkoptions.c:1343: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 gnubg-1.08.003/gtkoptions.c:1396: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 gnubg-1.08.003/gtkoptions.c:1419: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 gnubg-1.08.003/gtkoptions.c:1483: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 gnubg-1.08.003/gtkoptions.c:1515: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 gnubg-1.08.003/gtkoptions.c:1612: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 gnubg-1.08.003/gtkoptions.c:1629: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 gnubg-1.08.003/gtkoptions.c:1684: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 gnubg-1.08.003/gtkoptions.c:1781:23: style: Variable 'command' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkoptions.c:1784:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:1899:23: style: Variable 'command' is allocated memory that is never used. [unusedAllocatedMemory] 2.18.0 gnubg-1.08.003/gtkoptions.c:199:60: style:inconclusive: Function 'GTKCommandEditKeyNames' argument 2 names different: declaration 'pwParent' definition '_unused_pwParent'. [funcArgNamesDifferent] gnubg-1.08.003/gtkoptions.h:26:72: note: Function 'GTKCommandEditKeyNames' argument 2 names different: declaration 'pwParent' definition '_unused_pwParent'. gnubg-1.08.003/gtkoptions.c:199:60: note: Function 'GTKCommandEditKeyNames' argument 2 names different: declaration 'pwParent' definition '_unused_pwParent'. 2.18.0 gnubg-1.08.003/gtkoptions.c:2084:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_VARIATIONS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:2111:101: style: Parameter '_unused_data' can be declared as pointer to const. However it seems that 'OptionsPageChange' is a callback function, if '_unused_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkoptions.c:2128:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkoptions.c:2111:101: note: Parameter '_unused_data' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkoptions.c:2111:33: style: Parameter '_unused_notebook' can be declared as pointer to const. However it seems that 'OptionsPageChange' is a callback function, if '_unused_notebook' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkoptions.c:2128:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkoptions.c:2111:33: note: Parameter '_unused_notebook' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkoptions.c:222: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 gnubg-1.08.003/gtkoptions.c:230: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 gnubg-1.08.003/gtkoptions.c:237:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:266:11: 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 gnubg-1.08.003/gtkoptions.c:429:18: style: Variable 'lastSoundFolder' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkoptions.c:448:28: style: Parameter '_unused_scale' can be declared as pointer to const. However it seems that 'CacheSizeString' is a callback function, if '_unused_scale' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkoptions.c:1641:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkoptions.c:448:28: note: Parameter '_unused_scale' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkoptions.c:463:18: style: Variable 'aszVariationsTooltips' can be declared as const array [constVariable] 2.18.0 gnubg-1.08.003/gtkoptions.c:463:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NUM_VARIATIONS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:480: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 gnubg-1.08.003/gtkoptions.c:536:11: 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 gnubg-1.08.003/gtkoptions.c:582: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 gnubg-1.08.003/gtkoptions.c:583:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwp [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:619: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 gnubg-1.08.003/gtkoptions.c:642: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 gnubg-1.08.003/gtkoptions.c:687:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwp [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:691: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 gnubg-1.08.003/gtkoptions.c:719: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 gnubg-1.08.003/gtkoptions.c:757:16: style: Variable 'bd' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkoptions.c:757:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkoptions.c:768: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 gnubg-1.08.003/gtkoptions.c:786:11: 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 gnubg-1.08.003/gtkoptions.c:824: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 gnubg-1.08.003/gtkoptions.c:859: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 gnubg-1.08.003/gtkoptions.c:874: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 gnubg-1.08.003/gtkoptions.c:884:13: 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 gnubg-1.08.003/gtkoptions.c:90:20: style: struct member 'optionswidget::padjThreads' is never used. [unusedStructMember] 2.18.0 gnubg-1.08.003/gtkoptions.c:915: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 gnubg-1.08.003/gtkoptions.c:999: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 gnubg-1.08.003/gtkpanels.c:1065:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_MAXIMIZED [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkpanels.c:1198:24: style:inconclusive: Function 'ShowAllPanels' argument 1 names different: declaration 'p' definition '_unused_p'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:161:36: note: Function 'ShowAllPanels' argument 1 names different: declaration 'p' definition '_unused_p'. gnubg-1.08.003/gtkpanels.c:1198:24: note: Function 'ShowAllPanels' argument 1 names different: declaration 'p' definition '_unused_p'. 2.18.0 gnubg-1.08.003/gtkpanels.c:1198:41: style:inconclusive: Function 'ShowAllPanels' argument 2 names different: declaration 'n' definition '_unused_n'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:161:45: note: Function 'ShowAllPanels' argument 2 names different: declaration 'n' definition '_unused_n'. gnubg-1.08.003/gtkpanels.c:1198:41: note: Function 'ShowAllPanels' argument 2 names different: declaration 'n' definition '_unused_n'. 2.18.0 gnubg-1.08.003/gtkpanels.c:1198:64: style:inconclusive: Function 'ShowAllPanels' argument 3 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:161:60: note: Function 'ShowAllPanels' argument 3 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkpanels.c:1198:64: note: Function 'ShowAllPanels' argument 3 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkpanels.c:1200:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkpanels.c:1254:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkpanels.c:1314:24: style: Parameter '_unused_p' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkpanels.c:1314:24: style:inconclusive: Function 'HideAllPanels' argument 1 names different: declaration 'p' definition '_unused_p'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:141:36: note: Function 'HideAllPanels' argument 1 names different: declaration 'p' definition '_unused_p'. gnubg-1.08.003/gtkpanels.c:1314:24: note: Function 'HideAllPanels' argument 1 names different: declaration 'p' definition '_unused_p'. 2.18.0 gnubg-1.08.003/gtkpanels.c:1314:41: style:inconclusive: Function 'HideAllPanels' argument 2 names different: declaration 'n' definition '_unused_n'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:141:45: note: Function 'HideAllPanels' argument 2 names different: declaration 'n' definition '_unused_n'. gnubg-1.08.003/gtkpanels.c:1314:41: note: Function 'HideAllPanels' argument 2 names different: declaration 'n' definition '_unused_n'. 2.18.0 gnubg-1.08.003/gtkpanels.c:1314:64: style: Parameter '_unused_pw' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkpanels.c:1314:64: style:inconclusive: Function 'HideAllPanels' argument 3 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:141:60: note: Function 'HideAllPanels' argument 3 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkpanels.c:1314:64: note: Function 'HideAllPanels' argument 3 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkpanels.c:1321:53: style:inconclusive: Function 'ToggleDockPanels' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:172:65: note: Function 'ToggleDockPanels' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. gnubg-1.08.003/gtkpanels.c:1321:53: note: Function 'ToggleDockPanels' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. 2.18.0 gnubg-1.08.003/gtkpanels.c:1624:29: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkpanels.c:1670:52: style: Parameter 'pwo' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkpanels.c:1725:48: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkpanels.c:271:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkpanels.c:304:38: style:inconclusive: Function 'UpdateTheoryData' argument 2 names different: declaration 'UpdateTypes' definition 'UpdateType'. [funcArgNamesDifferent] gnubg-1.08.003/gtkboard.h:157:43: note: Function 'UpdateTheoryData' argument 2 names different: declaration 'UpdateTypes' definition 'UpdateType'. gnubg-1.08.003/gtkpanels.c:304:38: note: Function 'UpdateTheoryData' argument 2 names different: declaration 'UpdateTypes' definition 'UpdateType'. 2.18.0 gnubg-1.08.003/gtkpanels.c:314:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_NONE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkpanels.c:351:29: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/gtkpanels.c:418:53: style: Variable 'cc' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkpanels.c:583:59: style: Parameter 'event' can be declared as pointer to const. However it seems that 'CommandKeyPress' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkpanels.c:639:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkpanels.c:583:59: note: Parameter 'event' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkpanels.c:625: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 gnubg-1.08.003/gtkpanels.c:645: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 gnubg-1.08.003/gtkpanels.c:675:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkpanels.c:691: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 gnubg-1.08.003/gtkpanels.c:698: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 gnubg-1.08.003/gtkpanels.c:704: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 gnubg-1.08.003/gtkpanels.c:823:13: 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 gnubg-1.08.003/gtkpanels.c:824:13: 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 gnubg-1.08.003/gtkpanels.c:828:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkpanels.c:869: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 gnubg-1.08.003/gtkpanels.c:870: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 gnubg-1.08.003/gtkpanels.c:873:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkpanels.c:995:45: style: Parameter 'pwo' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkprefs.c:2227:69: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] head gnubg-1.08.003/gtkrace.c:119:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/gtkrace.c:119:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/gtkrace.c:134: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 gnubg-1.08.003/gtkrace.c:361: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 gnubg-1.08.003/gtkrace.c:370: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 gnubg-1.08.003/gtkrace.c:422:30: style: Parameter '_unused_pw' can be declared as pointer to const. However it seems that 'set_current_page' is a callback function, if '_unused_pw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkrace.c:489:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkrace.c:422:30: note: Parameter '_unused_pw' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkrace.c:422:51: style: Parameter '_unused_page' can be declared as pointer to const. However it seems that 'set_current_page' is a callback function, if '_unused_page' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkrace.c:489:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkrace.c:422:51: note: Parameter '_unused_page' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkrelational.c:1009:32: style:inconclusive: Function 'GtkRelationalAddMatch' argument 1 names different: declaration 'p' definition '_unused_p'. [funcArgNamesDifferent] gnubg-1.08.003/gtkrelational.h:25:44: note: Function 'GtkRelationalAddMatch' argument 1 names different: declaration 'p' definition '_unused_p'. gnubg-1.08.003/gtkrelational.c:1009:32: note: Function 'GtkRelationalAddMatch' argument 1 names different: declaration 'p' definition '_unused_p'. 2.18.0 gnubg-1.08.003/gtkrelational.c:1009:49: style:inconclusive: Function 'GtkRelationalAddMatch' argument 2 names different: declaration 'n' definition '_unused_n'. [funcArgNamesDifferent] gnubg-1.08.003/gtkrelational.h:25:53: note: Function 'GtkRelationalAddMatch' argument 2 names different: declaration 'n' definition '_unused_n'. gnubg-1.08.003/gtkrelational.c:1009:49: note: Function 'GtkRelationalAddMatch' argument 2 names different: declaration 'n' definition '_unused_n'. 2.18.0 gnubg-1.08.003/gtkrelational.c:1009:72: style:inconclusive: Function 'GtkRelationalAddMatch' argument 3 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkrelational.h:25:68: note: Function 'GtkRelationalAddMatch' argument 3 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkrelational.c:1009:72: note: Function 'GtkRelationalAddMatch' argument 3 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkrelational.c:1033:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkrelational.c:1055:12: style: Variable 'player' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkrelational.c:1105:17: style: Variable 'query' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkrelational.c:1308:49: style:inconclusive: Function 'DBListSelected' argument 2 names different: declaration 'userdata' definition '_unused_userdata'. [funcArgNamesDifferent] gnubg-1.08.003/gtkrelational.c:88:61: note: Function 'DBListSelected' argument 2 names different: declaration 'userdata' definition '_unused_userdata'. gnubg-1.08.003/gtkrelational.c:1308:49: note: Function 'DBListSelected' argument 2 names different: declaration 'userdata' definition '_unused_userdata'. 2.18.0 gnubg-1.08.003/gtkrelational.c:1407:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkrelational.c:1426:11: 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 gnubg-1.08.003/gtkrelational.c:1427:11: 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 gnubg-1.08.003/gtkrelational.c:1435:11: 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 gnubg-1.08.003/gtkrelational.c:1436:11: 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 gnubg-1.08.003/gtkrelational.c:1563:11: 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 gnubg-1.08.003/gtkrelational.c:1570:11: 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 gnubg-1.08.003/gtkrelational.c:1584:28: style:inconclusive: Function 'GtkShowRelational' argument 1 names different: declaration 'p' definition '_unused_p'. [funcArgNamesDifferent] gnubg-1.08.003/gtkrelational.h:26:40: note: Function 'GtkShowRelational' argument 1 names different: declaration 'p' definition '_unused_p'. gnubg-1.08.003/gtkrelational.c:1584:28: note: Function 'GtkShowRelational' argument 1 names different: declaration 'p' definition '_unused_p'. 2.18.0 gnubg-1.08.003/gtkrelational.c:1584:45: style:inconclusive: Function 'GtkShowRelational' argument 2 names different: declaration 'n' definition '_unused_n'. [funcArgNamesDifferent] gnubg-1.08.003/gtkrelational.h:26:49: note: Function 'GtkShowRelational' argument 2 names different: declaration 'n' definition '_unused_n'. gnubg-1.08.003/gtkrelational.c:1584:45: note: Function 'GtkShowRelational' argument 2 names different: declaration 'n' definition '_unused_n'. 2.18.0 gnubg-1.08.003/gtkrelational.c:1584:68: style:inconclusive: Function 'GtkShowRelational' argument 3 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkrelational.h:26:64: note: Function 'GtkShowRelational' argument 3 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkrelational.c:1584:68: note: Function 'GtkShowRelational' argument 3 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkrelational.c:1642: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 gnubg-1.08.003/gtkrelational.c:1652: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 gnubg-1.08.003/gtkrelational.c:1675: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 gnubg-1.08.003/gtkrelational.c:1683: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 gnubg-1.08.003/gtkrelational.c:1695:15: 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 gnubg-1.08.003/gtkrelational.c:1719: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 gnubg-1.08.003/gtkrelational.c:1735: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 gnubg-1.08.003/gtkrelational.c:1759:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TEXT_WINDOW_TOP [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkrelational.c:1770: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 gnubg-1.08.003/gtkrelational.c:1789:18: 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 gnubg-1.08.003/gtkrelational.c:265:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_LINE_CAP_ROUND [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkrelational.c:486:13: 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 gnubg-1.08.003/gtkrelational.c:520:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkrelational.c:691:25: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] 2.18.0 gnubg-1.08.003/gtkrelational.c:693:28: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] 2.18.0 gnubg-1.08.003/gtkrelational.c:996:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkrolls.c:175:51: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/gtkrolls.c:303:51: style: Parameter 'event' can be declared as pointer to const. However it seems that 'DepthEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtkrolls.c:408:5: note: You might need to cast the function pointer here gnubg-1.08.003/gtkrolls.c:303:51: note: Parameter 'event' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtkrolls.c:345:12: 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 gnubg-1.08.003/gtkrolls.c:361:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_ETCHED_IN [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkrolls.c:376: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 gnubg-1.08.003/gtkrolls.c:398:11: 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 gnubg-1.08.003/gtkscoremap.c:1217:14: style: Variable 'empty' can be declared as const array [constVariable] 2.18.0 gnubg-1.08.003/gtkscoremap.c:1398:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isAllowedScore [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:1456:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ci [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:1678:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cMoves [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:1774:13: error: Memory leak: prefix [memleak] 2.18.0 gnubg-1.08.003/gtkscoremap.c:1790:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkscoremap.c:1794:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] 2.18.0 gnubg-1.08.003/gtkscoremap.c:1794:14: style: Variable 'j' is assigned a value that is never used. [unreadVariable] 2.18.0 gnubg-1.08.003/gtkscoremap.c:1858:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2046:15: 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 gnubg-1.08.003/gtkscoremap.c:2060:11: 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 gnubg-1.08.003/gtkscoremap.c:2069: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 gnubg-1.08.003/gtkscoremap.c:2077: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 gnubg-1.08.003/gtkscoremap.c:2115:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExposeQuadrant [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2209:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decisionString [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2217:25: warning: Either the condition 'i>=oldSize' is redundant or the array 'psm->apwRowLabel[22]' is accessed at index -1, which is out of bounds. [negativeIndex] gnubg-1.08.003/gtkscoremap.c:3177:29: note: Calling function 'BuildTableContainer', 2nd argument '0' value is 0 gnubg-1.08.003/gtkscoremap.c:2208:19: note: Assuming that condition 'i>=oldSize' is not redundant gnubg-1.08.003/gtkscoremap.c:2217:25: note: Negative array index 2.18.0 gnubg-1.08.003/gtkscoremap.c:2228:25: warning: Either the condition 'i>=oldSize' is redundant or the array 'psm->apwColLabel[22]' is accessed at index -1, which is out of bounds. [negativeIndex] gnubg-1.08.003/gtkscoremap.c:3177:29: note: Calling function 'BuildTableContainer', 2nd argument '0' value is 0 gnubg-1.08.003/gtkscoremap.c:2208:19: note: Assuming that condition 'i>=oldSize' is not redundant gnubg-1.08.003/gtkscoremap.c:2228:25: note: Negative array index 2.18.0 gnubg-1.08.003/gtkscoremap.c:2329: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 gnubg-1.08.003/gtkscoremap.c:2448:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2464:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2489:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2522:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2537:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2556:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2587:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isAllowedScore [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2641: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 gnubg-1.08.003/gtkscoremap.c:2694:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cMoves [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2726: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 gnubg-1.08.003/gtkscoremap.c:2732:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:2764:36: style:inconclusive: Function 'GTKShowMoveScoreMapInfo' argument 1 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkscoremap.h:96:48: note: Function 'GTKShowMoveScoreMapInfo' argument 1 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkscoremap.c:2764:36: note: Function 'GTKShowMoveScoreMapInfo' argument 1 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkscoremap.c:2773:13: 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 gnubg-1.08.003/gtkscoremap.c:2801:36: style:inconclusive: Function 'GTKShowCubeScoreMapInfo' argument 1 names different: declaration 'pw' definition '_unused_pw'. [funcArgNamesDifferent] gnubg-1.08.003/gtkscoremap.h:97:48: note: Function 'GTKShowCubeScoreMapInfo' argument 1 names different: declaration 'pw' definition '_unused_pw'. gnubg-1.08.003/gtkscoremap.c:2801:36: note: Function 'GTKShowCubeScoreMapInfo' argument 1 names different: declaration 'pw' definition '_unused_pw'. 2.18.0 gnubg-1.08.003/gtkscoremap.c:2810:13: 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 gnubg-1.08.003/gtkscoremap.c:2840: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 gnubg-1.08.003/gtkscoremap.c:2849:15: 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 gnubg-1.08.003/gtkscoremap.c:2858:30: 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 gnubg-1.08.003/gtkscoremap.c:2866:15: 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 gnubg-1.08.003/gtkscoremap.c:2896:11: 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 gnubg-1.08.003/gtkscoremap.c:2949:36: style:inconclusive: Function 'GTKShowScoreMap' argument 1 names different: declaration 'ams' definition 'pms'. [funcArgNamesDifferent] gnubg-1.08.003/gtkscoremap.h:95:46: note: Function 'GTKShowScoreMap' argument 1 names different: declaration 'ams' definition 'pms'. gnubg-1.08.003/gtkscoremap.c:2949:36: note: Function 'GTKShowScoreMap' argument 1 names different: declaration 'ams' definition 'pms'. 2.18.0 gnubg-1.08.003/gtkscoremap.c:3149:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isAllowedScore [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:3170: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 gnubg-1.08.003/gtkscoremap.c:3183: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 gnubg-1.08.003/gtkscoremap.c:3190: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 gnubg-1.08.003/gtkscoremap.c:3198: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] head gnubg-1.08.003/gtkscoremap.c:320:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/gtkscoremap.c:320:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/gtkscoremap.c:376:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isAllowedScore [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:510:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 gnubg-1.08.003/gtkscoremap.c:510:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 gnubg-1.08.003/gtkscoremap.c:558:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable isAllowedScore [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkscoremap.c:819:50: style: Parameter 'pq' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtksplash.c:49:53: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] 2.18.0 gnubg-1.08.003/gtktempmap.c:173:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nCube [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktempmap.c:194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktempmap.c:281:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anBoard [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktempmap.c:373:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable anBoard [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktempmap.c:472:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_CLEAR [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktempmap.c:487:44: style: Parameter 'pev' can be declared as pointer to const. However it seems that 'ExposeDie' is a callback function, if 'pev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gnubg-1.08.003/gtktempmap.c:740:17: note: You might need to cast the function pointer here gnubg-1.08.003/gtktempmap.c:487:44: note: Parameter 'pev' can be declared as pointer to const 2.18.0 gnubg-1.08.003/gtktempmap.c:614:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable matchstate [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktempmap.c:623:11: 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 gnubg-1.08.003/gtktempmap.c:841:11: 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 gnubg-1.08.003/gtktempmap.c:874: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 gnubg-1.08.003/gtktheory.c:1015: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 gnubg-1.08.003/gtktheory.c:1055: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] head gnubg-1.08.003/gtktheory.c:474:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/gtktheory.c:474:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/gtktheory.c:519:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktheory.c:564:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/gtktheory.c:642:19: 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 gnubg-1.08.003/gtktheory.c:652: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 gnubg-1.08.003/gtktheory.c:661: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 gnubg-1.08.003/gtktheory.c:684: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 gnubg-1.08.003/gtktheory.c:715:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktheory.c:759: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 gnubg-1.08.003/gtktheory.c:773: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 gnubg-1.08.003/gtktheory.c:805:11: 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 gnubg-1.08.003/gtktheory.c:840: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 gnubg-1.08.003/gtktheory.c:861:11: 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 gnubg-1.08.003/gtktheory.c:954:11: 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 gnubg-1.08.003/gtktheory.c:992: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 gnubg-1.08.003/gtktoolbar.c:170:52: style:inconclusive: Function 'ToggleClockwise' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:171:64: note: Function 'ToggleClockwise' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. gnubg-1.08.003/gtktoolbar.c:170:52: note: Function 'ToggleClockwise' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. 2.18.0 gnubg-1.08.003/gtktoolbar.c:175:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_SMALL_TOOLBAR [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktoolbar.c:237:47: style:inconclusive: Function 'ToggleEdit' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. [funcArgNamesDifferent] gnubg-1.08.003/gtkgame.h:170:59: note: Function 'ToggleEdit' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. gnubg-1.08.003/gtktoolbar.c:237:47: note: Function 'ToggleEdit' argument 2 names different: declaration 'user_data' definition '_unused_user_data'. 2.18.0 gnubg-1.08.003/gtktoolbar.c:239:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board_data [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktoolbar.c:279:30: style: Parameter '_unused_pwToolbar' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtktoolbar.c:279:30: style:inconclusive: Function 'ToolbarIsEditing' argument 1 names different: declaration 'pwToolbar' definition '_unused_pwToolbar'. [funcArgNamesDifferent] gnubg-1.08.003/gtktoolbar.h:45:31: note: Function 'ToolbarIsEditing' argument 1 names different: declaration 'pwToolbar' definition '_unused_pwToolbar'. gnubg-1.08.003/gtktoolbar.c:279:30: note: Function 'ToolbarIsEditing' argument 1 names different: declaration 'pwToolbar' definition '_unused_pwToolbar'. 2.18.0 gnubg-1.08.003/gtktoolbar.c:385:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_BOTH [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtktoolbar.c:649:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_SMALL_TOOLBAR [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkwindows.c:140:71: style:inconclusive: Function 'GTKCreateDialog' argument 6 names different: declaration 'p' definition 'okFunData'. [funcArgNamesDifferent] gnubg-1.08.003/gtkwindows.h:57:89: note: Function 'GTKCreateDialog' argument 6 names different: declaration 'p' definition 'okFunData'. gnubg-1.08.003/gtkwindows.c:140:71: note: Function 'GTKCreateDialog' argument 6 names different: declaration 'p' definition 'okFunData'. 2.18.0 gnubg-1.08.003/gtkwindows.c:149:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/gtkwindows.c:173: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 gnubg-1.08.003/gtkwindows.c:281:18: style: Variable 'aszTitle' can be declared as const array [constVariable] 2.18.0 gnubg-1.08.003/gtkwindows.c:333:21: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkwindows.c:333:21: style:inconclusive: Function 'GTKGetInputYN' argument 1 names different: declaration 'szPrompt' definition 'sz'. [funcArgNamesDifferent] gnubg-1.08.003/gtkwindows.h:61:32: note: Function 'GTKGetInputYN' argument 1 names different: declaration 'szPrompt' definition 'sz'. gnubg-1.08.003/gtkwindows.c:333:21: note: Function 'GTKGetInputYN' argument 1 names different: declaration 'szPrompt' definition 'sz'. 2.18.0 gnubg-1.08.003/gtkwindows.c:348:19: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkwindows.c:358: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 gnubg-1.08.003/gtkwindows.c:404:15: 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 gnubg-1.08.003/gtkwindows.c:434:20: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/gtkwindows.c:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:103:19: style: Condition 'matchdate==NULL' is always true [knownConditionTrueFalse] gnubg-1.08.003/import.c:82:28: note: Assignment 'matchdate=NULL', assigned value is 0 gnubg-1.08.003/import.c:103:19: note: Condition 'matchdate==NULL' is always true 2.18.0 gnubg-1.08.003/import.c:105:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 gnubg-1.08.003/import.c:1111:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:1214:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:1371:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:1520:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:1573:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/import.c:2279:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_HYPERGAMMON_3 [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:2309:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:2488:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:2723:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:2784:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:2848:52: style:inconclusive: Function 'ParseSnowieTxt' argument 4 names different: declaration 'pfUnused1' definition '_unused_p1'. [funcArgNamesDifferent] gnubg-1.08.003/import.c:51:52: note: Function 'ParseSnowieTxt' argument 4 names different: declaration 'pfUnused1' definition '_unused_p1'. gnubg-1.08.003/import.c:2848:52: note: Function 'ParseSnowieTxt' argument 4 names different: declaration 'pfUnused1' definition '_unused_p1'. 2.18.0 gnubg-1.08.003/import.c:2848:69: style:inconclusive: Function 'ParseSnowieTxt' argument 5 names different: declaration 'pfUnused2' definition '_unused_p2'. [funcArgNamesDifferent] gnubg-1.08.003/import.c:51:68: note: Function 'ParseSnowieTxt' argument 5 names different: declaration 'pfUnused2' definition '_unused_p2'. gnubg-1.08.003/import.c:2848:69: note: Function 'ParseSnowieTxt' argument 5 names different: declaration 'pfUnused2' definition '_unused_p2'. 2.18.0 gnubg-1.08.003/import.c:2853:11: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/import.c:3027:89: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/import.c:3057:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:3175:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:3236:50: style: Condition 'side==1' is always true [knownConditionTrueFalse] gnubg-1.08.003/import.c:3236:19: note: Assuming that condition 'side==0' is not redundant gnubg-1.08.003/import.c:3235:25: note: Assignment 'side=move[0]=='2'', assigned value is less than 2 gnubg-1.08.003/import.c:3236:50: note: Condition 'side==1' is always true 2.18.0 gnubg-1.08.003/import.c:3249:23: style: Variable 'roll' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/import.c:3252:22: style: Variable 'move' is reassigned a value before the old one has been used. [redundantAssignment] gnubg-1.08.003/import.c:3251:22: note: move is assigned gnubg-1.08.003/import.c:3252:22: note: move is overwritten 2.18.0 gnubg-1.08.003/import.c:3255:21: style: Condition 'move' is always true [knownConditionTrueFalse] 2.18.0 gnubg-1.08.003/import.c:3350:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:3501:13: style: Condition 'rc' is always false [knownConditionTrueFalse] gnubg-1.08.003/import.c:3499:27: note: Calling function 'ImportTMG' returns 0 gnubg-1.08.003/import.c:3499:27: note: Assignment 'rc=ImportTMG(pf,sz)', assigned value is 0 gnubg-1.08.003/import.c:3501:13: note: Condition 'rc' is always false 2.18.0 gnubg-1.08.003/import.c:3554:13: style: Condition '!res' is always false [knownConditionTrueFalse] gnubg-1.08.003/import.c:3552:28: note: Calling function 'ImportGAM' returns 1 gnubg-1.08.003/import.c:3552:28: note: Assignment 'res=ImportGAM(pf,sz)', assigned value is 1 gnubg-1.08.003/import.c:3554:13: note: Condition '!res' is always false 2.18.0 gnubg-1.08.003/import.c:3583:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:3633:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:394:17: error: Uninitialized variable: anBoard [uninitvar] head gnubg-1.08.003/import.c:41:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/import.c:41:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/import.c:424:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:629:25: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/import.c:66:20: error: Uninitialized variable: anBoardTemp [uninitvar] 2.18.0 gnubg-1.08.003/import.c:685:97: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/import.c:82:16: style: Variable 'matchdate' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/import.c:830:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/import.c:876:25: style: Variable 'pszEnd' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/import.c:984:28: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/import.c:987:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makebearoff.c:1017:25: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/makebearoff.c:1052:33: error: Uninitialized variable: anBoardTemp [uninitvar] 2.18.0 gnubg-1.08.003/makebearoff.c:1173:20: style: Condition 'XhashCreate(&h,nHashSize/(fCubeful?8:2))' is always false [knownConditionTrueFalse] gnubg-1.08.003/makebearoff.c:1173:20: note: Calling function 'XhashCreate' returns 0 gnubg-1.08.003/makebearoff.c:1173:20: note: Condition 'XhashCreate(&h,nHashSize/(fCubeful?8:2))' is always false 2.18.0 gnubg-1.08.003/makebearoff.c:1229:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makebearoff.c:1286:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_STRING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makebearoff.c:1368:15: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] 2.18.0 gnubg-1.08.003/makebearoff.c:1371:19: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] 2.18.0 gnubg-1.08.003/makebearoff.c:173:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makebearoff.c:347:57: style: Parameter 'pbc' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/makebearoff.c:369:25: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/makebearoff.c:422:33: error: Uninitialized variable: anBoardTemp [uninitvar] 2.18.0 gnubg-1.08.003/makebearoff.c:564:10: portability:inconclusive: Casting from const float * to const unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] 2.18.0 gnubg-1.08.003/makebearoff.c:604:20: style: Condition 'XhashCreate(&h,nHashSize/(fGammon?128:64))' is always false [knownConditionTrueFalse] gnubg-1.08.003/makebearoff.c:604:20: note: Calling function 'XhashCreate' returns 0 gnubg-1.08.003/makebearoff.c:604:20: note: Condition 'XhashCreate(&h,nHashSize/(fGammon?128:64))' is always false 2.18.0 gnubg-1.08.003/makebearoff.c:64:23: style: Parameter 'ph' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/makebearoff.c:681:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makebearoff.c:720:25: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/makebearoff.c:72:21: style: Parameter 'ph' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/makebearoff.c:766:33: error: Uninitialized variable: anBoardTemp [uninitvar] 2.18.0 gnubg-1.08.003/makebearoff.c:847:20: style: Condition 'XhashCreate(&h,(int)(nHashSize/(4*sizeof(float))))' is always false [knownConditionTrueFalse] gnubg-1.08.003/makebearoff.c:847:20: note: Calling function 'XhashCreate' returns 0 gnubg-1.08.003/makebearoff.c:847:20: note: Condition 'XhashCreate(&h,(int)(nHashSize/(4*sizeof(float))))' is always false 2.18.0 gnubg-1.08.003/makebearoff.c:877:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makebearoff.c:949:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makebearoff.c:983:96: style: Parameter 'pbc' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/makehyper.c:112:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_HYPERGAMMON_1 [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makehyper.c:131:33: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/makehyper.c:316:25: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/makehyper.c:359:41: error: Uninitialized variable: anBoardTemp [uninitvar] 2.18.0 gnubg-1.08.003/makehyper.c:477:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/makehyper.c:574:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_INT [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/mtsupport.c:408:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable savedBase [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/mtsupport.c:43:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NNState [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/multithread.c:524:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/multithread.c:523:35: note: Assuming allocation function fails gnubg-1.08.003/multithread.c:523:20: note: Assignment 'pt=(struct Task*)malloc(sizeof(struct Task))', assigned value is 0 gnubg-1.08.003/multithread.c:524:9: note: Null pointer dereference 2.18.0 gnubg-1.08.003/multithread.c:525:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/multithread.c:523:35: note: Assuming allocation function fails gnubg-1.08.003/multithread.c:523:20: note: Assignment 'pt=(struct Task*)malloc(sizeof(struct Task))', assigned value is 0 gnubg-1.08.003/multithread.c:525:9: note: Null pointer dereference 2.18.0 gnubg-1.08.003/multithread.c:526:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pt [nullPointerOutOfMemory] gnubg-1.08.003/multithread.c:523:35: note: Assuming allocation function fails gnubg-1.08.003/multithread.c:523:20: note: Assignment 'pt=(struct Task*)malloc(sizeof(struct Task))', assigned value is 0 gnubg-1.08.003/multithread.c:526:9: note: Null pointer dereference head gnubg-1.08.003/multithread.h:69:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head gnubg-1.08.003/multithread.h:69:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 gnubg-1.08.003/rollout.c:1120:21: style:inconclusive: Function 'RolloutLoopMT' argument 1 names different: declaration 'unused' definition '_unused_unused'. [funcArgNamesDifferent] gnubg-1.08.003/rollout.h:129:33: note: Function 'RolloutLoopMT' argument 1 names different: declaration 'unused' definition '_unused_unused'. gnubg-1.08.003/rollout.c:1120:21: note: Function 'RolloutLoopMT' argument 1 names different: declaration 'unused' definition '_unused_unused'. 2.18.0 gnubg-1.08.003/rollout.c:123:16: style: Variable 'now' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/rollout.c:123:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 gnubg-1.08.003/rollout.c:1307:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/rollout.c:1311:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1312:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1313:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1314:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1315:21: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1317:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1318:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1319:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1320:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:151:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/rollout.c:1540:114: style:inconclusive: Function 'GeneralEvaluation' argument 8 names different: declaration 'pUserData' definition 'p'. [funcArgNamesDifferent] gnubg-1.08.003/rollout.h:88:66: note: Function 'GeneralEvaluation' argument 8 names different: declaration 'pUserData' definition 'p'. gnubg-1.08.003/rollout.c:1540:114: note: Function 'GeneralEvaluation' argument 8 names different: declaration 'pUserData' definition 'p'. 2.18.0 gnubg-1.08.003/rollout.c:1573:102: style:inconclusive: Function 'GeneralEvaluationR' argument 8 names different: declaration 'pUserData' definition 'p'. [funcArgNamesDifferent] gnubg-1.08.003/rollout.h:96:67: note: Function 'GeneralEvaluationR' argument 8 names different: declaration 'pUserData' definition 'p'. gnubg-1.08.003/rollout.c:1573:102: note: Function 'GeneralEvaluationR' argument 8 names different: declaration 'pUserData' definition 'p'. 2.18.0 gnubg-1.08.003/rollout.c:1606:110: style:inconclusive: Function 'GeneralCubeDecision' argument 8 names different: declaration 'pUserData' definition 'p'. [funcArgNamesDifferent] gnubg-1.08.003/rollout.h:103:101: note: Function 'GeneralCubeDecision' argument 8 names different: declaration 'pUserData' definition 'p'. gnubg-1.08.003/rollout.c:1606:110: note: Function 'GeneralCubeDecision' argument 8 names different: declaration 'pUserData' definition 'p'. 2.18.0 gnubg-1.08.003/rollout.c:1642:109: style:inconclusive: Function 'GeneralCubeDecisionR' argument 9 names different: declaration 'pUserData' definition 'p'. [funcArgNamesDifferent] gnubg-1.08.003/rollout.h:112:69: note: Function 'GeneralCubeDecisionR' argument 9 names different: declaration 'pUserData' definition 'p'. gnubg-1.08.003/rollout.c:1642:109: note: Function 'GeneralCubeDecisionR' argument 9 names different: declaration 'pUserData' definition 'p'. 2.18.0 gnubg-1.08.003/rollout.c:1793:67: style: Parameter 'pci' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/rollout.c:1817:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1818:30: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1819:47: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1820:47: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1821:17: debug: Scope::checkVariable found variable 'apes' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/rollout.c:1821:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable apes [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/rollout.c:1821:25: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1822:22: debug: Scope::checkVariable found variable 'apci' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/rollout.c:1822:30: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1823:15: debug: Scope::checkVariable found variable 'aci' with varid 0. [varid0] 2.18.0 gnubg-1.08.003/rollout.c:1823:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1824:26: portability: Assigning a pointer to an integer is not portable. [AssignmentAddressToInteger] 2.18.0 gnubg-1.08.003/rollout.c:1824:28: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:1857:25: style: Variable 'prc' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/rollout.c:192:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RANDSIZ [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/rollout.c:357:26: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:358:23: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/rollout.c:359:48: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] 2.18.0 gnubg-1.08.003/set.c:1000:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:1019:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:121:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:1313:35: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1320:34: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1327:35: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1334:35: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1341:25: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1348:29: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1355:33: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1362:28: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1369:28: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1376:33: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1382:33: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1388:32: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1394:36: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1400:36: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:1649:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/set.c:1653:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] 2.18.0 gnubg-1.08.003/set.c:1662:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] 2.18.0 gnubg-1.08.003/set.c:1712:24: style: Parameter 'szParam' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:2604:90: style: Condition 'pmgi=&pmr->g' is always true [knownConditionTrueFalse] 2.18.0 gnubg-1.08.003/set.c:2695:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:2777:62: style: Condition 'pmgi=&pmr->g' is always true [knownConditionTrueFalse] 2.18.0 gnubg-1.08.003/set.c:2816:62: style: Condition 'pmgi=&pmr->g' is always true [knownConditionTrueFalse] 2.18.0 gnubg-1.08.003/set.c:3037:37: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3363:32: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3370:30: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3418:28: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3440:28: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3464:28: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3470:25: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3749:35: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3757:41: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3765:35: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3791:35: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3799:37: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3807:39: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:3921:36: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:4123:37: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:4130:37: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:4137:33: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:4144:30: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:4165:32: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:4172:38: style: Parameter '_unused_sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:4310:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_NONE [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:4326:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_HYPERGAMMON_1 [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:4334:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_HYPERGAMMON_2 [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:4342:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_HYPERGAMMON_3 [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:4350:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_NACKGAMMON [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:4358:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VARIATION_STANDARD [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:4562:11: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] 2.18.0 gnubg-1.08.003/set.c:4599:24: error: Uninitialized variable: anBoard [uninitvar] 2.18.0 gnubg-1.08.003/set.c:4722:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:4787:18: style:inconclusive: Function 'SetGNUbgID' argument 1 names different: declaration 'szGNUbgID' definition 'sz'. [funcArgNamesDifferent] gnubg-1.08.003/backgammon.h:516:29: note: Function 'SetGNUbgID' argument 1 names different: declaration 'szGNUbgID' definition 'sz'. gnubg-1.08.003/set.c:4787:18: note: Function 'SetGNUbgID' argument 1 names different: declaration 'szGNUbgID' definition 'sz'. 2.18.0 gnubg-1.08.003/set.c:592:16: style:inconclusive: Function 'SetBoard' argument 1 names different: declaration 'szGNUbgID' definition 'sz'. [funcArgNamesDifferent] gnubg-1.08.003/backgammon.h:512:27: note: Function 'SetBoard' argument 1 names different: declaration 'szGNUbgID' definition 'sz'. gnubg-1.08.003/set.c:592:16: note: Function 'SetBoard' argument 1 names different: declaration 'szGNUbgID' definition 'sz'. 2.18.0 gnubg-1.08.003/set.c:597:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:610:23: error: Uninitialized variable: an [uninitvar] 2.18.0 gnubg-1.08.003/set.c:641:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/set.c:781:32: style: Parameter 'sz' can be declared as pointer to const [constParameterPointer] 2.18.0 gnubg-1.08.003/set.c:897:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GAME_PLAYING [valueFlowBailoutIncompleteVar] 2.18.0 gnubg-1.08.003/show.c:1546:21: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] DONE