2024-04-16 15:09 ftp://ftp.de.debian.org/debian/pool/main/f/freedink/freedink_109.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 8cd680b (2024-04-15 22:43:04 +0200) count: 904 766 elapsed-time: 34.7 34.5 head-timing-info: old-timing-info: head results: freedink-109.6/contrib/bmpinspect.c:85:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/bmpinspect.c:104:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:117:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:119:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:121:3: warning: %hd in format string (no. 1) requires 'short' but the argument type is 'unsigned short'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:123:3: warning: %hd in format string (no. 1) requires 'short' but the argument type is 'unsigned short'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:125:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:127:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:129:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:131:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:133:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:135:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/contrib/bmpinspect.c:75:26: style: Parameter 'argv' can be declared as const array [constParameter] freedink-109.6/contrib/bmpinvertpalette.c:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/bmpinvertpalette.c:30:26: style: Parameter 'argv' can be declared as const array [constParameter] freedink-109.6/contrib/d2c.c:105:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/d2c.c:160:13: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] freedink-109.6/contrib/dinkdat_inspect.c:19:26: style: Parameter 'argv' can be declared as const array [constParameter] freedink-109.6/contrib/ffinspect.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/ffinspect.c:26:26: style: Parameter 'argv' can be declared as const array [constParameter] freedink-109.6/contrib/ffrextract.c:134:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/ffrextract.c:197:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/ffrextract.c:215:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/ffrextract.c:83:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] freedink-109.6/contrib/ffrpack.cpp:89:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_REG [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/ffrpack.cpp:179:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/ffrpack.cpp:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/ffrpack.cpp:83:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] freedink-109.6/contrib/ffrpack.cpp:109:15: style: C-style pointer casting [cstyleCast] freedink-109.6/contrib/ffrpack.cpp:64:25: style:inconclusive: Function 'ffpack' argument 1 names different: declaration 'filename' definition 'dir'. [funcArgNamesDifferent] freedink-109.6/contrib/ffrpack.cpp:52:25: note: Function 'ffpack' argument 1 names different: declaration 'filename' definition 'dir'. freedink-109.6/contrib/ffrpack.cpp:64:25: note: Function 'ffpack' argument 1 names different: declaration 'filename' definition 'dir'. freedink-109.6/contrib/ffrpack.cpp:153:9: style: Local variable 'i' shadows outer variable [shadowVariable] freedink-109.6/contrib/ffrpack.cpp:116:7: note: Shadowed declaration freedink-109.6/contrib/ffrpack.cpp:153:9: note: Shadow variable freedink-109.6/contrib/ffrpack.cpp:54:26: style: Parameter 'argv' can be declared as const array [constParameter] freedink-109.6/contrib/ffrpack.cpp:117:51: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] freedink-109.6/contrib/search_music.c:286:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/search_music.c:142:24: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] freedink-109.6/contrib/search_music.c:171:23: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] freedink-109.6/contrib/search_script.c:286:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/contrib/search_script.c:143:24: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] freedink-109.6/contrib/search_script.c:172:23: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] freedink-109.6/contrib/search_script.c:282:26: style: Parameter 'argv' can be declared as const array [constParameter] freedink-109.6/emscripten/extract.c:65:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] freedink-109.6/emscripten/extract.c:90:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_OK [valueFlowBailoutIncompleteVar] freedink-109.6/emscripten/extract.c:126:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_OK [valueFlowBailoutIncompleteVar] freedink-109.6/emscripten/extract.c:229:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_OK [valueFlowBailoutIncompleteVar] freedink-109.6/emscripten/extract.c:318:11: style: Local variable 'ret' shadows outer variable [shadowVariable] freedink-109.6/emscripten/extract.c:248:9: note: Shadowed declaration freedink-109.6/emscripten/extract.c:318:11: note: Shadow variable freedink-109.6/emscripten/extract.c:329:7: style: Local variable 'buf' shadows outer variable [shadowVariable] freedink-109.6/emscripten/extract.c:245:20: note: Shadowed declaration freedink-109.6/emscripten/extract.c:329:7: note: Shadow variable freedink-109.6/emscripten/extract.c:61:21: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] freedink-109.6/emscripten/extract.c:147:8: style: Variable 'blankChecksum' can be declared as const array [constVariable] freedink-109.6/emscripten/extract.c:169:11: style: Variable 'firstDir' can be declared as pointer to const [constVariablePointer] freedink-109.6/emscripten/extract.c:196:41: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] freedink-109.6/emscripten/extract.c:200:17: style: Variable 'token' can be declared as pointer to const [constVariablePointer] freedink-109.6/emscripten/extract.c:210:17: style: Variable 'token' can be declared as pointer to const [constVariablePointer] freedink-109.6/emscripten/extract.c:222:39: style: Parameter 'destDir' can be declared as pointer to const [constParameterPointer] freedink-109.6/emscripten/extract.c:379:25: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] freedink-109.6/emscripten/extract.c:245:20: style: Unused variable: buf [unusedVariable] freedink-109.6/emscripten/importexport.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/emscripten/importexport.c:86:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZIP_CREATE [valueFlowBailoutIncompleteVar] freedink-109.6/emscripten/importexport.c:116:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZIP_RDONLY [valueFlowBailoutIncompleteVar] freedink-109.6/emscripten/importexport.c:68:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] freedink-109.6/emscripten/importexport.c:42:52: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] freedink-109.6/emscripten/importexport.c:67:20: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] freedink-109.6/emscripten/importexport.c:60:15: style: Unused variable: st [unusedVariable] freedink-109.6/gnulib/lib/alloca.c:122:8: style: union member 'hdr::align' is never used. [unusedStructMember] freedink-109.6/gnulib/lib/bitrotate.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] freedink-109.6/gnulib/lib/error.c:135:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] freedink-109.6/gnulib/lib/getopt.c:575:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/gnulib/lib/getopt.c:346:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:118:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. freedink-109.6/gnulib/lib/getopt.c:346:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. freedink-109.6/gnulib/lib/getopt.c:346:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:118:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. freedink-109.6/gnulib/lib/getopt.c:346:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. freedink-109.6/gnulib/lib/getopt.c:346:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:119:44: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. freedink-109.6/gnulib/lib/getopt.c:346:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. freedink-109.6/gnulib/lib/getopt.c:347:42: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:120:53: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. freedink-109.6/gnulib/lib/getopt.c:347:42: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. freedink-109.6/gnulib/lib/getopt.c:347:57: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:120:70: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. freedink-109.6/gnulib/lib/getopt.c:347:57: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. freedink-109.6/gnulib/lib/getopt.c:348:25: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:121:36: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. freedink-109.6/gnulib/lib/getopt.c:348:25: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. freedink-109.6/gnulib/lib/getopt.c:348:57: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:121:70: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. freedink-109.6/gnulib/lib/getopt.c:348:57: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. freedink-109.6/gnulib/lib/getopt.c:348:64: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:122:36: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. freedink-109.6/gnulib/lib/getopt.c:348:64: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. freedink-109.6/gnulib/lib/getopt.c:1128:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:24:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. freedink-109.6/gnulib/lib/getopt.c:1128:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. freedink-109.6/gnulib/lib/getopt.c:1128:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:24:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. freedink-109.6/gnulib/lib/getopt.c:1128:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. freedink-109.6/gnulib/lib/getopt.c:1128:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:25:42: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. freedink-109.6/gnulib/lib/getopt.c:1128:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. freedink-109.6/gnulib/lib/getopt.c:1129:40: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:26:51: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. freedink-109.6/gnulib/lib/getopt.c:1129:40: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. freedink-109.6/gnulib/lib/getopt.c:1129:55: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:26:68: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. freedink-109.6/gnulib/lib/getopt.c:1129:55: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. freedink-109.6/gnulib/lib/getopt.c:1129:68: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:27:34: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. freedink-109.6/gnulib/lib/getopt.c:1129:68: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. freedink-109.6/gnulib/lib/getopt.c:1130:23: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:27:51: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. freedink-109.6/gnulib/lib/getopt.c:1130:23: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. freedink-109.6/gnulib/lib/getopt1.c:48:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:124:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. freedink-109.6/gnulib/lib/getopt1.c:48:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. freedink-109.6/gnulib/lib/getopt1.c:48:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:124:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. freedink-109.6/gnulib/lib/getopt1.c:48:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. freedink-109.6/gnulib/lib/getopt1.c:48:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:125:40: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. freedink-109.6/gnulib/lib/getopt1.c:48:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. freedink-109.6/gnulib/lib/getopt1.c:49:38: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:126:49: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. freedink-109.6/gnulib/lib/getopt1.c:49:38: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. freedink-109.6/gnulib/lib/getopt1.c:49:57: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:126:66: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. freedink-109.6/gnulib/lib/getopt1.c:49:57: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. freedink-109.6/gnulib/lib/getopt1.c:50:38: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:127:49: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. freedink-109.6/gnulib/lib/getopt1.c:50:38: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. freedink-109.6/gnulib/lib/getopt1.c:71:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:129:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. freedink-109.6/gnulib/lib/getopt1.c:71:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. freedink-109.6/gnulib/lib/getopt1.c:71:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:129:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. freedink-109.6/gnulib/lib/getopt1.c:71:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. freedink-109.6/gnulib/lib/getopt1.c:71:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:130:45: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. freedink-109.6/gnulib/lib/getopt1.c:71:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. freedink-109.6/gnulib/lib/getopt1.c:72:43: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:131:54: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. freedink-109.6/gnulib/lib/getopt1.c:72:43: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. freedink-109.6/gnulib/lib/getopt1.c:72:62: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:132:38: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. freedink-109.6/gnulib/lib/getopt1.c:72:62: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. freedink-109.6/gnulib/lib/getopt1.c:73:43: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] freedink-109.6/gnulib/lib/getopt_int.h:133:54: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. freedink-109.6/gnulib/lib/getopt1.c:73:43: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. freedink-109.6/gnulib/lib/xsize.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] freedink-109.6/gnulib/lib/strerror.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] freedink-109.6/gnulib/lib/strerror.c:45:7: style: Condition 'msg' is always false [knownConditionTrueFalse] freedink-109.6/gnulib/lib/strerror.c:44:21: note: Assignment 'msg=NULL', assigned value is 0 freedink-109.6/gnulib/lib/strerror.c:45:7: note: Condition 'msg' is always false freedink-109.6/gnulib/lib/vasprintf.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] freedink-109.6/gnulib/lib/xalloc.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] freedink-109.6/src/AppFreeDink.cpp:114:2: error: There is an unknown macro here somewhere. Configuration is required. If SDL_PRIs64 is a macro then please configure it. [unknownMacro] freedink-109.6/src/IOGfxDisplaySW.h:18:11: style: The destructor '~IOGfxDisplaySW' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:20:11: note: Virtual destructor in base class freedink-109.6/src/IOGfxDisplaySW.h:18:11: note: Destructor in derived class freedink-109.6/src/IOGfxDisplaySW.h:20:15: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:22:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:20:15: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.h:21:15: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:23:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:21:15: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.h:22:15: style: The function 'logDisplayInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:24:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:22:15: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.h:24:15: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:28:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:24:15: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.h:25:15: style: The function 'onSizeChange' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:32:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:25:15: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.h:26:24: style: The function 'upload' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:33:24: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:26:24: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.h:27:24: style: The function 'allocBuffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:34:24: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:27:24: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.h:28:15: style: The function 'flip' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:30:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:28:15: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.h:31:23: style: The function 'screenshot' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:42:23: note: Virtual function in base class freedink-109.6/src/IOGfxDisplaySW.h:31:23: note: Function in derived class freedink-109.6/src/EditorMap.h:38:3: style: Class 'EditorMap' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] freedink-109.6/src/DMod.cpp:38:24: performance: Function parameter 'path' should be passed by const reference. [passedByValue] freedink-109.6/src/EditorMap.cpp:37:12: warning: Member variable 'EditorMap::loc' is not initialized in the constructor. [uninitMemberVar] freedink-109.6/src/EditorMap.cpp:37:12: warning: Member variable 'EditorMap::ts_loc_mem' is not initialized in the constructor. [uninitMemberVar] freedink-109.6/src/EditorMap.cpp:37:12: warning: Member variable 'EditorMap::music' is not initialized in the constructor. [uninitMemberVar] freedink-109.6/src/EditorMap.cpp:37:12: warning: Member variable 'EditorMap::indoor' is not initialized in the constructor. [uninitMemberVar] freedink-109.6/src/EditorMap.h:40:8: style:inconclusive: Technically the member function 'EditorMap::save' can be const. [functionConst] freedink-109.6/src/EditorMap.cpp:73:17: note: Technically the member function 'EditorMap::save' can be const. freedink-109.6/src/EditorMap.h:40:8: note: Technically the member function 'EditorMap::save' can be const. freedink-109.6/src/EditorMap.cpp:37:46: performance: Function parameter 'map_dat' should be passed by const reference. However it seems that 'EditorMap' is a callback function. [passedByValueCallback] freedink-109.6/src/EditorMap.h:32:7: note: Function pointer used here. freedink-109.6/src/EditorMap.cpp:37:46: note: Function parameter 'map_dat' should be passed by const reference. However it seems that 'EditorMap' is a callback function. freedink-109.6/src/EditorMap.cpp:83:7: style: Variable 'name' can be declared as const array [constVariable] freedink-109.6/src/FakeIOGfxDisplay.h:9:15: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:28:15: note: Virtual function in base class freedink-109.6/src/FakeIOGfxDisplay.h:9:15: note: Function in derived class freedink-109.6/src/FakeIOGfxDisplay.h:10:15: style: The function 'flip' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:30:15: note: Virtual function in base class freedink-109.6/src/FakeIOGfxDisplay.h:10:15: note: Function in derived class freedink-109.6/src/FakeIOGfxDisplay.h:12:15: style: The function 'onSizeChange' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:32:15: note: Virtual function in base class freedink-109.6/src/FakeIOGfxDisplay.h:12:15: note: Function in derived class freedink-109.6/src/FakeIOGfxDisplay.h:13:24: style: The function 'upload' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:33:24: note: Virtual function in base class freedink-109.6/src/FakeIOGfxDisplay.h:13:24: note: Function in derived class freedink-109.6/src/FakeIOGfxDisplay.h:14:24: style: The function 'allocBuffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:34:24: note: Virtual function in base class freedink-109.6/src/FakeIOGfxDisplay.h:14:24: note: Function in derived class freedink-109.6/src/FakeIOGfxDisplay.h:15:23: style: The function 'screenshot' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:42:23: note: Virtual function in base class freedink-109.6/src/FakeIOGfxDisplay.h:15:23: note: Function in derived class freedink-109.6/src/IOGfxDisplay.cpp:23:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplay.cpp:42:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplay.cpp:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_FULLSCREEN [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplay.cpp:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_INDEX8 [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplay.cpp:117:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_FULLSCREEN [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplay.h:23:15: style: Virtual function 'close' is called from destructor '~IOGfxDisplay()' at line 19. Dynamic binding is not used. [virtualCallInConstructor] freedink-109.6/src/IOGfxDisplay.cpp:19:2: note: Calling close freedink-109.6/src/IOGfxDisplay.h:23:15: note: close is a virtual function freedink-109.6/src/IOGfxDisplayGL2.cpp:89:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_CONTEXT_MAJOR_VERSION [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplayGL2.cpp:167:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_CONTEXT_PROFILE_MASK [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplayGL2.cpp:418:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_CONTEXT_MAJOR_VERSION [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplayGL2.cpp:584:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ALPHA_OPAQUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplayGL2.cpp:661:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ALPHA_OPAQUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplayGL2.h:63:15: style: Virtual function 'close' is called from destructor '~IOGfxDisplayGL2()' at line 50. Dynamic binding is not used. [virtualCallInConstructor] freedink-109.6/src/IOGfxDisplayGL2.cpp:50:2: note: Calling close freedink-109.6/src/IOGfxDisplayGL2.h:63:15: note: close is a virtual function freedink-109.6/src/IOGfxDisplayGL2.h:60:3: style: The destructor '~IOGfxDisplayGL2' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:20:11: note: Virtual destructor in base class freedink-109.6/src/IOGfxDisplayGL2.h:60:3: note: Destructor in derived class freedink-109.6/src/IOGfxDisplayGL2.h:62:15: style: The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:22:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:62:15: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.h:63:15: style: The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:23:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:63:15: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.h:64:15: style: The function 'logDisplayInfo' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:24:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:64:15: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.h:66:15: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:28:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:66:15: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.h:67:15: style: The function 'onSizeChange' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:32:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:67:15: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.h:68:24: style: The function 'upload' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:33:24: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:68:24: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.h:69:24: style: The function 'allocBuffer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:34:24: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:69:24: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.h:70:15: style: The function 'flip' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:30:15: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:70:15: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.h:74:23: style: The function 'screenshot' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:42:23: note: Virtual function in base class freedink-109.6/src/IOGfxDisplayGL2.h:74:23: note: Function in derived class freedink-109.6/src/IOGfxSurfaceGL2.h:41:11: style: The destructor '~IOGfxSurfaceGL2' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:11:11: note: Virtual destructor in base class freedink-109.6/src/IOGfxSurfaceGL2.h:41:11: note: Destructor in derived class freedink-109.6/src/IOGfxSurfaceGL2.h:43:15: style: The function 'fill_screen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:12:15: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceGL2.h:43:15: note: Function in derived class freedink-109.6/src/IOGfxSurfaceGL2.h:44:14: style: The function 'fillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:13:14: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceGL2.h:44:14: note: Function in derived class freedink-109.6/src/IOGfxSurfaceGL2.h:45:14: style: The function 'blit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:14:14: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceGL2.h:45:14: note: Function in derived class freedink-109.6/src/IOGfxSurfaceGL2.h:46:14: style: The function 'blitStretch' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:15:14: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceGL2.h:46:14: note: Function in derived class freedink-109.6/src/IOGfxSurfaceGL2.h:47:14: style: The function 'blitNoColorKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:16:14: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceGL2.h:47:14: note: Function in derived class freedink-109.6/src/IOGfxSurfaceGL2.h:48:23: style: The function 'screenshot' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:17:23: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceGL2.h:48:23: note: Function in derived class freedink-109.6/src/IOGfxSurfaceGL2.h:49:23: style: The function 'getMemUsage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:18:23: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceGL2.h:49:23: note: Function in derived class freedink-109.6/src/IOGfxDisplayGL2.cpp:57:6: style: Condition '!createSpriteVertices()' is always false [knownConditionTrueFalse] freedink-109.6/src/IOGfxDisplayGL2.cpp:57:27: note: Calling function 'createSpriteVertices' returns 1 freedink-109.6/src/IOGfxDisplayGL2.cpp:57:6: note: Condition '!createSpriteVertices()' is always false freedink-109.6/src/IOGfxDisplayGL2.cpp:58:6: style: Condition '!createSpriteTexcoords()' is always false [knownConditionTrueFalse] freedink-109.6/src/IOGfxDisplayGL2.cpp:58:28: note: Calling function 'createSpriteTexcoords' returns 1 freedink-109.6/src/IOGfxDisplayGL2.cpp:58:6: note: Condition '!createSpriteTexcoords()' is always false freedink-109.6/src/IOGfxDisplayGL2.cpp:59:6: style: Condition '!createCroppedSpriteTexcoords()' is always false [knownConditionTrueFalse] freedink-109.6/src/IOGfxDisplayGL2.cpp:59:35: note: Calling function 'createCroppedSpriteTexcoords' returns 1 freedink-109.6/src/IOGfxDisplayGL2.cpp:59:6: note: Condition '!createCroppedSpriteTexcoords()' is always false freedink-109.6/src/IOGfxDisplayGL2.cpp:61:6: style: Condition '!createPalette()' is always false [knownConditionTrueFalse] freedink-109.6/src/IOGfxDisplayGL2.cpp:61:20: note: Calling function 'createPalette' returns 1 freedink-109.6/src/IOGfxDisplayGL2.cpp:61:6: note: Condition '!createPalette()' is always false freedink-109.6/src/IOGfxDisplayGL2.cpp:221:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxDisplayGL2.cpp:471:26: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxDisplayGL2.cpp:568:52: style:inconclusive: Function 'upload' argument 1 names different: declaration 'image' definition 'surf'. [funcArgNamesDifferent] freedink-109.6/src/IOGfxDisplayGL2.h:68:44: note: Function 'upload' argument 1 names different: declaration 'image' definition 'surf'. freedink-109.6/src/IOGfxDisplayGL2.cpp:568:52: note: Function 'upload' argument 1 names different: declaration 'image' definition 'surf'. freedink-109.6/src/IOGfxDisplayGL2.cpp:510:19: style: Variable 'surf' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/IOGfxDisplaySW.cpp:63:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HINT_RENDER_SCALE_QUALITY [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplaySW.cpp:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_RENDERER_SOFTWARE [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplaySW.cpp:244:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_RGBA8888 [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplaySW.cpp:262:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxDisplaySW.h:21:15: style: Virtual function 'close' is called from destructor '~IOGfxDisplaySW()' at line 18. Dynamic binding is not used. [virtualCallInConstructor] freedink-109.6/src/IOGfxDisplaySW.cpp:18:2: note: Calling close freedink-109.6/src/IOGfxDisplaySW.h:21:15: note: close is a virtual function freedink-109.6/src/IOGfxSurfaceSW.h:10:2: style: Class 'IOGfxSurfaceSW' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] freedink-109.6/src/IOGfxSurfaceSW.h:11:11: style: The destructor '~IOGfxSurfaceSW' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:11:11: note: Virtual destructor in base class freedink-109.6/src/IOGfxSurfaceSW.h:11:11: note: Destructor in derived class freedink-109.6/src/IOGfxSurfaceSW.h:12:15: style: The function 'fill_screen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:12:15: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceSW.h:12:15: note: Function in derived class freedink-109.6/src/IOGfxSurfaceSW.h:13:14: style: The function 'fillRect' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:13:14: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceSW.h:13:14: note: Function in derived class freedink-109.6/src/IOGfxSurfaceSW.h:14:14: style: The function 'blit' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:14:14: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceSW.h:14:14: note: Function in derived class freedink-109.6/src/IOGfxSurfaceSW.h:15:14: style: The function 'blitStretch' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:15:14: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceSW.h:15:14: note: Function in derived class freedink-109.6/src/IOGfxSurfaceSW.h:16:14: style: The function 'blitNoColorKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:16:14: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceSW.h:16:14: note: Function in derived class freedink-109.6/src/IOGfxSurfaceSW.h:17:23: style: The function 'screenshot' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:17:23: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceSW.h:17:23: note: Function in derived class freedink-109.6/src/IOGfxSurfaceSW.h:18:23: style: The function 'getMemUsage' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:18:23: note: Virtual function in base class freedink-109.6/src/IOGfxSurfaceSW.h:18:23: note: Function in derived class freedink-109.6/src/IOGfxDisplaySW.cpp:169:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxDisplaySW.cpp:180:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxDisplaySW.cpp:181:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxDisplaySW.cpp:182:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxDisplaySW.cpp:260:51: style:inconclusive: Function 'upload' argument 1 names different: declaration 's' definition 'image'. [funcArgNamesDifferent] freedink-109.6/src/IOGfxDisplaySW.h:26:44: note: Function 'upload' argument 1 names different: declaration 's' definition 'image'. freedink-109.6/src/IOGfxDisplaySW.cpp:260:51: note: Function 'upload' argument 1 names different: declaration 's' definition 'image'. freedink-109.6/src/IOGfxDisplaySW.cpp:116:20: style: Local variable 'info' shadows outer variable [shadowVariable] freedink-109.6/src/IOGfxDisplaySW.cpp:110:19: note: Shadowed declaration freedink-109.6/src/IOGfxDisplaySW.cpp:116:20: note: Shadow variable freedink-109.6/src/IOGfxGLFuncs.cpp:29:15: warning: Member variable 'IOGfxGLFuncs::ReadBuffer' is not initialized in the constructor. [uninitMemberVar] freedink-109.6/src/IOGfxGLFuncs.h:178:7: performance:inconclusive: Technically the member function 'IOGfxGLFuncs::logGetError' can be static (but you may consider moving to unnamed namespace). [functionStatic] freedink-109.6/src/IOGfxGLFuncs.cpp:93:20: note: Technically the member function 'IOGfxGLFuncs::logGetError' can be static (but you may consider moving to unnamed namespace). freedink-109.6/src/IOGfxGLFuncs.h:178:7: note: Technically the member function 'IOGfxGLFuncs::logGetError' can be static (but you may consider moving to unnamed namespace). freedink-109.6/src/IOGfxGLFuncs.cpp:30:13: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:31:11: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:32:16: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:33:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:35:10: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:36:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:37:13: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:39:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:41:16: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:42:16: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:43:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:44:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:45:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:47:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:48:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:49:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:50:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:52:13: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:53:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:54:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:55:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:56:16: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:57:21: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:58:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:59:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:61:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:62:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:63:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:64:16: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:65:22: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:66:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:68:22: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:69:23: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:71:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:72:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:73:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:74:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:75:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:76:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:77:21: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:78:21: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:80:28: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:81:24: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:82:29: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:84:20: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:85:20: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:86:25: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:87:27: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:88:23: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxGLFuncs.cpp:90:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxPrimitivesSW.cpp:40:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colors [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxPrimitivesSW.cpp:71:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colors [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxSurfaceGL2.cpp:89:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxSurfaceGL2.cpp:177:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ALPHA_TRANSPARENT [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxSurfaceGL2.cpp:258:26: style: C-style pointer casting [cstyleCast] freedink-109.6/src/IOGfxSurfaceGL2.cpp:93:47: style:inconclusive: Function 'fillRect' argument 1 names different: declaration 'rect' definition 'dstrect'. [funcArgNamesDifferent] freedink-109.6/src/IOGfxSurfaceGL2.h:44:39: note: Function 'fillRect' argument 1 names different: declaration 'rect' definition 'dstrect'. freedink-109.6/src/IOGfxSurfaceGL2.cpp:93:47: note: Function 'fillRect' argument 1 names different: declaration 'rect' definition 'dstrect'. freedink-109.6/src/IOGfxSurfaceGL2.cpp:197:19: style: Variable 'src_surf' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/IOGfxSurfaceGL2.cpp:224:19: style: Variable 'src_surf' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/IOGfxSurfaceSW.cpp:21:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_INDEX8 [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxSurfaceSW.cpp:63:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMOOTHING_OFF [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOGfxSurfaceSW.cpp:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_RLEACCEL [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOTouchDragAnywhere.cpp:23:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FINGERUP [valueFlowBailoutIncompleteVar] freedink-109.6/src/IOTouchDragAnywhere.cpp:29:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:29:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:36:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:36:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:43:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:43:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:50:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:50:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:81:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:81:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:88:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:88:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:95:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:95:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:102:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:102:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:110:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:110:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:117:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:117:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:124:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:124:15: note: Shadow variable freedink-109.6/src/IOTouchDragAnywhere.cpp:131:15: style: Local variable 'ev' shadows outer argument [shadowArgument] freedink-109.6/src/IOTouchDragAnywhere.cpp:16:51: note: Shadowed declaration freedink-109.6/src/IOTouchDragAnywhere.cpp:131:15: note: Shadow variable freedink-109.6/src/ImageLoader.cpp:22:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_INDEX8 [valueFlowBailoutIncompleteVar] freedink-109.6/src/ImageLoader.cpp:36:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/ImageLoader.cpp:58:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/ImageLoader.cpp:67:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_INDEX8 [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestEditorMap.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:64:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:78:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:86:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:249:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:296:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:339:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:408:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:551:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:605:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:646:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOGfxDisplay.cxx:138:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:144:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:147:26: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:165:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:199:16: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:234:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:280:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:322:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:406:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:508:13: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOGfxDisplay.cxx:644:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/TestIOTouchDragAnywhere.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/TestIOTouchDragAnywhere.cxx:53:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FINGERDOWN [valueFlowBailoutIncompleteVar] freedink-109.6/src/app.cpp:92:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] freedink-109.6/src/app.cpp:182:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] freedink-109.6/src/app.cpp:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] freedink-109.6/src/app.cpp:266:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] freedink-109.6/src/app.cpp:367:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_TIMER [valueFlowBailoutIncompleteVar] freedink-109.6/src/app.cpp:490:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_QUIT [valueFlowBailoutIncompleteVar] freedink-109.6/src/app.h:53:7: performance:inconclusive: Technically the member function 'App::print_version' can be static (but you may consider moving to unnamed namespace). [functionStatic] freedink-109.6/src/app.cpp:136:11: note: Technically the member function 'App::print_version' can be static (but you may consider moving to unnamed namespace). freedink-109.6/src/app.h:53:7: note: Technically the member function 'App::print_version' can be static (but you may consider moving to unnamed namespace). freedink-109.6/src/app.cpp:150:38: style: Parameter 'argv' can be declared as const array [constParameter] freedink-109.6/src/app.cpp:245:16: style: Variable 'long_options' can be declared as const array [constVariable] freedink-109.6/src/app.cpp:263:7: style: Variable 'short_options' can be declared as const array [constVariable] freedink-109.6/src/bgm.cpp:107:7: style: Condition '!exists' is always true [knownConditionTrueFalse] freedink-109.6/src/bgm.cpp:105:16: note: Assignment 'exists=0', assigned value is 0 freedink-109.6/src/bgm.cpp:107:7: note: Condition '!exists' is always true freedink-109.6/src/bgm.cpp:106:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/bgm.cpp:75:20: style:inconclusive: Function 'PlayMidi' argument 1 names different: declaration 'sFileName' definition 'midi_filename'. [funcArgNamesDifferent] freedink-109.6/src/bgm.h:30:27: note: Function 'PlayMidi' argument 1 names different: declaration 'sFileName' definition 'midi_filename'. freedink-109.6/src/bgm.cpp:75:20: note: Function 'PlayMidi' argument 1 names different: declaration 'sFileName' definition 'midi_filename'. freedink-109.6/src/bgm.cpp:227:19: style:inconclusive: Function 'loopmidi' argument 1 names different: declaration 'loop_midi' definition 'arg_loop_midi'. [funcArgNamesDifferent] freedink-109.6/src/bgm.h:38:26: note: Function 'loopmidi' argument 1 names different: declaration 'loop_midi' definition 'arg_loop_midi'. freedink-109.6/src/bgm.cpp:227:19: note: Function 'loopmidi' argument 1 names different: declaration 'loop_midi' definition 'arg_loop_midi'. freedink-109.6/src/bgm.cpp:126:14: style: Variable 'exists' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/bgm.cpp:133:14: style: Variable 'exists' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/brain.cpp:306:29: style:inconclusive: Boolean expression 'spr[h].move_dir==4' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/brain.cpp:306:54: style:inconclusive: Boolean expression 'spr[h].move_dir==7' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/brain.cpp:318:30: style:inconclusive: Boolean expression 'spr[h].move_dir==6' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/brain.cpp:318:55: style:inconclusive: Boolean expression 'spr[h].move_dir==3' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/brain.cpp:608:20: style: Condition 'cleary' is always false [knownConditionTrueFalse] freedink-109.6/src/brain.cpp:600:20: note: Assignment 'cleary=0', assigned value is 0 freedink-109.6/src/brain.cpp:608:20: note: Condition 'cleary' is always false freedink-109.6/src/brain.cpp:379:21: style: The scope of the variable 'hspeed' can be reduced. [variableScope] freedink-109.6/src/brain_keyboard.cpp:309:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_NUM_SCANCODES [valueFlowBailoutIncompleteVar] freedink-109.6/src/brain_keyboard.cpp:605:12: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:597:8: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:605:12: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:613:9: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:605:12: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:613:9: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:621:13: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:613:9: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:621:13: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:629:10: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:621:13: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:629:10: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:650:12: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:643:8: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:650:12: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:658:9: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:650:12: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:658:9: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:666:13: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:658:9: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:666:13: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:673:10: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:666:13: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:673:10: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:694:12: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:687:8: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:694:12: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:702:9: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:694:12: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:702:9: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:710:13: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:702:9: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:710:13: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:717:10: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:710:13: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:717:10: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:738:12: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:731:8: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:738:12: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:746:9: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:738:12: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:746:9: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:754:13: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:746:9: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:754:13: note: Shadow variable freedink-109.6/src/brain_keyboard.cpp:761:10: style: Local variable 'hardm' shadows outer variable [shadowVariable] freedink-109.6/src/brain_keyboard.cpp:754:13: note: Shadowed declaration freedink-109.6/src/brain_keyboard.cpp:761:10: note: Shadow variable freedink-109.6/src/brain_mouse.cpp:151:49: style:inconclusive: Boolean expression 'sjoy.button[ACTION_ATTACK]==1' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/brain_pig.cpp:16:6: style: The scope of the variable 'hold' can be reduced. [variableScope] freedink-109.6/src/dinkc.cpp:117:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] freedink-109.6/src/dinkc.cpp:180:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] freedink-109.6/src/dinkc.cpp:1217:25: error: Array 'play.func[100]' accessed at index 100, which is out of bounds. [arrayIndexOutOfBounds] freedink-109.6/src/dinkc.cpp:1207:3: note: After for loop, i has value 100 freedink-109.6/src/dinkc.cpp:1217:25: note: Array index out of bounds freedink-109.6/src/dinkc.cpp:1207:32: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] freedink-109.6/src/dinkc.cpp:2324:16: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] freedink-109.6/src/dinkc.cpp:2312:21: warning: Obsolete function 'alloca' called. [allocaCalled] freedink-109.6/src/dinkc.cpp:686:23: style: Redundant condition: prevar!=NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] freedink-109.6/src/dinkc.cpp:888:17: warning: Either the condition 'rinfo[callback[k].owner]!=NULL' is redundant or there is possible null pointer dereference: rinfo[callback[k].owner]. [nullPointerRedundantCheck] freedink-109.6/src/dinkc.cpp:887:35: note: Assuming that condition 'rinfo[callback[k].owner]!=NULL' is not redundant freedink-109.6/src/dinkc.cpp:888:17: note: Null pointer dereference freedink-109.6/src/dinkc.cpp:99:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:176:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:479:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:966:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:1951:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:1966:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:1981:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2003:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2018:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2033:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2312:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2356:36: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2362:42: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2368:44: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2374:47: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2380:49: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2386:49: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2392:51: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2398:52: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2404:54: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2410:57: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2416:62: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2422:67: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2753:24: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2759:20: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2760:6: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2776:13: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:2795:30: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc.cpp:719:8: style: The scope of the variable 'buffer' can be reduced. [variableScope] freedink-109.6/src/dinkc.cpp:326:23: style:inconclusive: Function 'load_script' argument 1 names different: declaration 'filename' definition 'script_name'. [funcArgNamesDifferent] freedink-109.6/src/dinkc.h:111:30: note: Function 'load_script' argument 1 names different: declaration 'filename' definition 'script_name'. freedink-109.6/src/dinkc.cpp:326:23: note: Function 'load_script' argument 1 names different: declaration 'filename' definition 'script_name'. freedink-109.6/src/dinkc.cpp:402:38: style:inconclusive: Function 'locate' argument 2 names different: declaration 'proc_lookup' definition 'lookup_proc'. [funcArgNamesDifferent] freedink-109.6/src/dinkc.h:114:45: note: Function 'locate' argument 2 names different: declaration 'proc_lookup' definition 'lookup_proc'. freedink-109.6/src/dinkc.cpp:402:38: note: Function 'locate' argument 2 names different: declaration 'proc_lookup' definition 'lookup_proc'. freedink-109.6/src/dinkc.cpp:116:12: style: Local variable 'c' shadows outer variable [shadowVariable] freedink-109.6/src/dinkc.cpp:103:9: note: Shadowed declaration freedink-109.6/src/dinkc.cpp:116:12: note: Shadow variable freedink-109.6/src/dinkc.cpp:969:11: style: Local variable 'k' shadows outer variable [shadowVariable] freedink-109.6/src/dinkc.cpp:947:7: note: Shadowed declaration freedink-109.6/src/dinkc.cpp:969:11: note: Shadow variable freedink-109.6/src/dinkc.cpp:2543:8: style: Local variable 'p' shadows outer variable [shadowVariable] freedink-109.6/src/dinkc.cpp:1876:13: note: Shadowed declaration freedink-109.6/src/dinkc.cpp:2543:8: note: Shadow variable freedink-109.6/src/dinkc.cpp:2589:8: style: Local variable 'p' shadows outer variable [shadowVariable] freedink-109.6/src/dinkc.cpp:1876:13: note: Shadowed declaration freedink-109.6/src/dinkc.cpp:2589:8: note: Shadow variable freedink-109.6/src/dinkc.cpp:2669:8: style: Local variable 'p' shadows outer variable [shadowVariable] freedink-109.6/src/dinkc.cpp:1876:13: note: Shadowed declaration freedink-109.6/src/dinkc.cpp:2669:8: note: Shadow variable freedink-109.6/src/dinkc.cpp:268:35: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/dinkc.cpp:675:62: style: Parameter 'prevar' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/dinkc.cpp:787:23: style: Parameter 'name' can be declared as const array [constParameter] freedink-109.6/src/dinkc.cpp:1201:25: style: Parameter 'file' can be declared as const array [constParameter] freedink-109.6/src/dinkc.cpp:1748:70: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/dinkc.cpp:1857:33: style: Parameter 'params1' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/dinkc.cpp:1857:47: style: Parameter 'params2' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/dinkc.cpp:2766:63: style: Parameter 'funcname' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/dinkc.cpp:2787:9: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/dinkc.cpp:69:7: style: struct member 'call_back::type' is never used. [unusedStructMember] freedink-109.6/src/dinkc.cpp:71:7: style: struct member 'call_back::offset' is never used. [unusedStructMember] freedink-109.6/src/dinkc.cpp:73:7: style: struct member 'call_back::lifespan' is never used. [unusedStructMember] freedink-109.6/src/dinkc.cpp:2054:6: style: Variable 'h' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/dinkc_bindings.cpp:1044:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_QUIT [valueFlowBailoutIncompleteVar] freedink-109.6/src/dinkc_bindings.cpp:854:21: error: Array 'play.mitem[8]' accessed at index -1, which is out of bounds. [negativeIndex] freedink-109.6/src/dinkc_bindings.cpp:851:11: note: Assignment 'i=0', assigned value is 0 freedink-109.6/src/dinkc_bindings.cpp:854:21: note: Negative array index freedink-109.6/src/dinkc_bindings.cpp:1725:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] freedink-109.6/src/dinkc_bindings.cpp:1736:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] freedink-109.6/src/dinkc_bindings.cpp:1747:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] freedink-109.6/src/dinkc_bindings.cpp:1765:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] freedink-109.6/src/dinkc_bindings.cpp:695:21: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:729:21: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2050:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2051:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2052:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2053:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2054:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2055:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2056:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2057:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2058:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2059:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2060:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2061:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2062:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2063:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2064:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2065:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2066:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2067:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2068:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2069:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2070:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2071:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2072:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2073:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2074:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2075:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2076:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2077:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2078:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2079:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2080:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2081:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2082:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2083:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2084:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2085:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2086:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2087:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2088:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2089:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2090:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2091:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2092:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2093:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2094:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2095:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2096:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2097:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2099:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2100:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2101:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2102:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2108:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2109:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2110:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2111:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2112:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2113:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2114:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2115:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2116:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2117:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2118:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2119:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2120:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2121:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2122:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2123:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2124:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2125:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2126:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2127:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2128:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2129:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2130:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2131:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2132:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2133:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2134:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2135:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2136:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2137:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2138:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2139:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2140:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2141:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2143:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2144:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2145:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2146:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2147:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2148:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2149:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2150:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2151:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2152:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2153:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2154:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2155:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2156:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2157:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2158:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2159:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2160:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2162:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2163:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2164:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2165:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2166:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2167:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2168:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2169:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2170:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2172:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2173:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2174:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2176:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2177:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2178:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2179:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2180:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2181:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2182:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2183:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2185:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2186:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2187:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2188:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2189:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2190:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2191:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2192:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2193:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2195:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2196:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2197:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2198:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2199:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2200:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2201:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2202:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2203:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2204:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2205:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2206:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2207:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2208:3: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2212:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2213:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2214:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2215:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2216:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2217:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2219:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2221:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2222:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2223:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2226:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2227:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2228:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2229:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2230:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2231:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2232:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2233:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2234:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2235:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2237:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2239:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2240:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2241:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2242:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2243:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2244:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2245:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2246:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2247:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2248:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2249:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2250:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2251:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2252:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2253:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2254:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:2255:7: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkc_bindings.cpp:569:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_dink_speed' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2111:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:569:41: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:569:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_dink_speed' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2111:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:569:53: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:583:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_keep_mouse' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2113:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:583:41: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:583:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_keep_mouse' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2113:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:583:53: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:875:38: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_draw_status' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2128:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:875:38: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:875:50: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_draw_status' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2128:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:875:50: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:913:38: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_preload_seq' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2139:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:913:38: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:913:50: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_preload_seq' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2139:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:913:50: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:966:42: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_draw_background' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2145:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:966:42: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:966:54: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_draw_background' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2145:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:966:54: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1033:42: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_kill_all_sounds' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2153:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1033:42: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1033:54: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_kill_all_sounds' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2153:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1033:54: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1069:33: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_stopcd' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2157:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1069:33: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1069:45: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_stopcd' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2157:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1069:45: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1074:35: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_stopmidi' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2158:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1074:35: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1074:47: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_stopmidi' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2158:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1074:47: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1080:40: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_turn_midi_off' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2159:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1080:40: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1080:52: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_turn_midi_off' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2159:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1080:52: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1085:39: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_turn_midi_on' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2160:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1085:39: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1085:51: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_turn_midi_on' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2160:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1085:51: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1182:51: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_dink_can_walk_off_screen' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2168:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1182:51: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1182:63: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_dink_can_walk_off_screen' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2168:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1182:63: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1187:38: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_push_active' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2169:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1187:38: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1187:50: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_push_active' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2169:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1187:50: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1293:44: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_sound_set_survive' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2181:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1293:44: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1293:56: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_sound_set_survive' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2181:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1293:56: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1301:40: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_sound_set_vol' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2182:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1301:40: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1301:52: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_sound_set_vol' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2182:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1301:52: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1308:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_sound_set_kill' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2183:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1308:41: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1308:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_sound_set_kill' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2183:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1308:53: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1316:36: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_save_game' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2185:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1316:36: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1316:48: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_save_game' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2185:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1316:48: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1441:38: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_kill_shadow' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2200:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1441:38: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1441:50: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_kill_shadow' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2200:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1441:50: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1535:37: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_button' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2206:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1535:37: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1535:49: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_button' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2206:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1535:49: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1723:16: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/dinkc_bindings.cpp:1734:16: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/dinkc_bindings.cpp:1745:16: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/dinkc_bindings.cpp:1763:16: style: Variable 'time_now' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/dinkc_bindings.cpp:1777:39: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_show_console' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2233:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1777:39: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1777:51: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_show_console' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2233:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1777:51: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1782:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_show_inventory' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2234:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1782:41: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1782:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_show_inventory' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2234:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1782:53: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1798:35: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_loopmidi' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2237:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1798:35: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1798:47: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_loopmidi' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2237:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1798:47: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1824:75: style: Parameter 'info' can be declared as pointer to const. However it seems that 'dc_set_save_game_info' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2243:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1824:75: note: Parameter 'info' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1936:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_font_color' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2251:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1936:41: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1936:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_font_color' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2251:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1936:53: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1963:44: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_smooth_follow' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2252:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1963:44: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1963:56: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_smooth_follow' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2252:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1963:56: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1970:45: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_dink_base_push' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2253:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1970:45: note: Parameter 'yield' can be declared as pointer to const freedink-109.6/src/dinkc_bindings.cpp:1970:57: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_dink_base_push' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2253:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1970:57: note: Parameter 'preturnint' can be declared as pointer to const freedink-109.6/src/dinkc_console.cpp:53:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] freedink-109.6/src/dinkc_console.cpp:51:43: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/dinkc_console_renderer.cpp:11:9: style: Variable 'line' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/dinkini.cpp:448:24: warning: Either the condition 'h>0' is redundant or the array 'seq[1000]' is accessed at index 1000, which is out of bounds. [arrayIndexOutOfBoundsCond] freedink-109.6/src/dinkini.cpp:445:15: note: Assuming that condition 'h>0' is not redundant freedink-109.6/src/dinkini.cpp:448:24: note: Array index out of bounds freedink-109.6/src/dinkini.cpp:56:9: style: C-style pointer casting [cstyleCast] freedink-109.6/src/dinkini.cpp:306:7: style: The scope of the variable 'special2' can be reduced. [variableScope] freedink-109.6/src/dinkini.cpp:53:23: style:inconclusive: Function 'dinkini_init' argument 1 names different: declaration 'nb_idata' definition 'nb_idata_param'. [funcArgNamesDifferent] freedink-109.6/src/dinkini.h:38:30: note: Function 'dinkini_init' argument 1 names different: declaration 'nb_idata' definition 'nb_idata_param'. freedink-109.6/src/dinkini.cpp:53:23: note: Function 'dinkini_init' argument 1 names different: declaration 'nb_idata' definition 'nb_idata_param'. freedink-109.6/src/dinkini.cpp:423:27: style:inconclusive: Function 'check_seq_status' argument 1 names different: declaration 'h' definition 'seq_no'. [funcArgNamesDifferent] freedink-109.6/src/dinkini.h:45:34: note: Function 'check_seq_status' argument 1 names different: declaration 'h' definition 'seq_no'. freedink-109.6/src/dinkini.cpp:423:27: note: Function 'check_seq_status' argument 1 names different: declaration 'h' definition 'seq_no'. freedink-109.6/src/dinkini.cpp:328:11: style: Local variable 'myseq' shadows outer variable [shadowVariable] freedink-109.6/src/dinkini.cpp:304:7: note: Shadowed declaration freedink-109.6/src/dinkini.cpp:328:11: note: Shadow variable freedink-109.6/src/dinkini.cpp:241:67: error: Uninitialized variable: hardbox [uninitvar] freedink-109.6/src/dinkini.cpp:250:63: error: Uninitialized variable: hardbox [uninitvar] freedink-109.6/src/dinkini.cpp:263:73: error: Uninitialized variable: hardbox [uninitvar] freedink-109.6/src/dinkini.cpp:241:67: error: Uninitialized struct member: hardbox.left [uninitStructMember] freedink-109.6/src/dinkini.cpp:241:67: error: Uninitialized struct member: hardbox.top [uninitStructMember] freedink-109.6/src/dinkini.cpp:241:67: error: Uninitialized struct member: hardbox.right [uninitStructMember] freedink-109.6/src/dinkini.cpp:241:67: error: Uninitialized struct member: hardbox.bottom [uninitStructMember] freedink-109.6/src/dinkini.cpp:250:63: error: Uninitialized struct member: hardbox.left [uninitStructMember] freedink-109.6/src/dinkini.cpp:250:63: error: Uninitialized struct member: hardbox.top [uninitStructMember] freedink-109.6/src/dinkini.cpp:250:63: error: Uninitialized struct member: hardbox.right [uninitStructMember] freedink-109.6/src/dinkini.cpp:250:63: error: Uninitialized struct member: hardbox.bottom [uninitStructMember] freedink-109.6/src/dinkini.cpp:263:73: error: Uninitialized struct member: hardbox.left [uninitStructMember] freedink-109.6/src/dinkini.cpp:263:73: error: Uninitialized struct member: hardbox.top [uninitStructMember] freedink-109.6/src/dinkini.cpp:263:73: error: Uninitialized struct member: hardbox.right [uninitStructMember] freedink-109.6/src/dinkini.cpp:263:73: error: Uninitialized struct member: hardbox.bottom [uninitStructMember] freedink-109.6/src/dinkini.cpp:304:13: style: Variable 'myseq' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/dinkini.cpp:304:26: style: Variable 'myframe' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/dinkini.cpp:305:15: style: Variable 'special' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/dinkini.cpp:306:16: style: Variable 'special2' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/editor_screen.cpp:211:8: style: The scope of the variable 'holdme' can be reduced. [variableScope] freedink-109.6/src/editor_screen.cpp:211:15: style: The scope of the variable 'lsize' can be reduced. [variableScope] freedink-109.6/src/editor_screen.cpp:229:12: style: Variable 'name' can be declared as const array [constVariable] freedink-109.6/src/fastfile.cpp:299:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] freedink-109.6/src/fastfile.cpp:150:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/fastfile.cpp:151:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/fastfile.cpp:250:17: style: Checking if unsigned expression 'i->off' is less than zero. [unsignedLessThanZero] freedink-109.6/src/fastfile.cpp:86:20: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/fastfile.cpp:219:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/fastfile.cpp:282:32: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/fastfile.cpp:305:31: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/freedink.cpp:364:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedink.cpp:467:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedink.cpp:110:28: style:inconclusive: Boolean expression 'spr[u].dir==2' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/freedink.cpp:110:68: style:inconclusive: Boolean expression 'spr[u].dir==8' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/freedink.cpp:85:7: style: The scope of the variable 'hardness' can be reduced. [variableScope] freedink-109.6/src/freedink.cpp:85:16: style: Variable 'hardness' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/AppFreeDink.h:7:3: style: The destructor '~AppFreeDink' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/app.h:43:11: note: Virtual destructor in base class freedink-109.6/src/AppFreeDink.h:7:3: note: Destructor in derived class freedink-109.6/src/AppFreeDink.h:8:7: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/app.h:45:15: note: Virtual function in base class freedink-109.6/src/AppFreeDink.h:8:7: note: Function in derived class freedink-109.6/src/AppFreeDink.h:9:7: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/app.h:46:15: note: Virtual function in base class freedink-109.6/src/AppFreeDink.h:9:7: note: Function in derived class freedink-109.6/src/AppFreeDink.h:10:7: style: The function 'logic' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/app.h:47:15: note: Virtual function in base class freedink-109.6/src/AppFreeDink.h:10:7: note: Function in derived class freedink-109.6/src/freedinkedit.cpp:466:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:777:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEMOTION [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:839:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SCANCODE_ESCAPE [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:1745:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SCANCODE_KP_8 [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:1874:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SCANCODE_TAB [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:4185:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_z [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:4715:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:4720:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:4734:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOWEVENT [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:4745:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYUP [valueFlowBailoutIncompleteVar] freedink-109.6/src/freedinkedit.cpp:4193:53: style:inconclusive: Boolean expression 'g_editorMode==EDITOR_MODE_SCREEN_SPRITES' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/freedinkedit.cpp:4315:27: style:inconclusive: Boolean expression 'sp_mode==1' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/freedinkedit.cpp:3470:4: warning: Buffer 'crapa' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument [argumentSize] freedink-109.6/src/freedinkedit.cpp:3470:4: note: Function 'SaySmall' is called freedink-109.6/src/gfx_fonts.h:68:27: note: Declaration of 1st function argument. freedink-109.6/src/freedinkedit.cpp:3468:9: note: Passing buffer 'crapa' to function that is declared here freedink-109.6/src/freedinkedit.cpp:3470:4: note: Buffer 'crapa' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument freedink-109.6/src/freedinkedit.cpp:4249:9: warning: Buffer 'crap5' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument [argumentSize] freedink-109.6/src/freedinkedit.cpp:4249:9: note: Function 'SaySmall' is called freedink-109.6/src/gfx_fonts.h:68:27: note: Declaration of 1st function argument. freedink-109.6/src/freedinkedit.cpp:4237:10: note: Passing buffer 'crap5' to function that is declared here freedink-109.6/src/freedinkedit.cpp:4249:9: note: Buffer 'crap5' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument freedink-109.6/src/freedinkedit.cpp:4254:9: warning: Buffer 'crap5' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument [argumentSize] freedink-109.6/src/freedinkedit.cpp:4254:9: note: Function 'SaySmall' is called freedink-109.6/src/gfx_fonts.h:68:27: note: Declaration of 1st function argument. freedink-109.6/src/freedinkedit.cpp:4237:10: note: Passing buffer 'crap5' to function that is declared here freedink-109.6/src/freedinkedit.cpp:4254:9: note: Buffer 'crap5' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument freedink-109.6/src/freedinkedit.cpp:4257:7: warning: Buffer 'cur_ed_screen.sprite[j].script' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument [argumentSize] freedink-109.6/src/freedinkedit.cpp:4257:7: note: Function 'SaySmall' is called freedink-109.6/src/gfx_fonts.h:68:27: note: Declaration of 1st function argument. freedink-109.6/src/editor_screen.h:42:8: note: Passing buffer 'script' to function that is declared here freedink-109.6/src/freedinkedit.cpp:4257:7: note: Buffer 'cur_ed_screen.sprite[j].script' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument freedink-109.6/src/freedinkedit.cpp:4261:5: warning: Buffer 'crap6' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument [argumentSize] freedink-109.6/src/freedinkedit.cpp:4261:5: note: Function 'SaySmall' is called freedink-109.6/src/gfx_fonts.h:68:27: note: Declaration of 1st function argument. freedink-109.6/src/freedinkedit.cpp:4239:24: note: Passing buffer 'crap6' to function that is declared here freedink-109.6/src/freedinkedit.cpp:4261:5: note: Buffer 'crap6' is too small, the function 'SaySmall' expects a bigger buffer in 1st argument freedink-109.6/src/freedinkedit.cpp:4457:4: warning: Buffer 'in_temp' is too small, the function 'Say' expects a bigger buffer in 1st argument [argumentSize] freedink-109.6/src/freedinkedit.cpp:4457:4: note: Function 'Say' is called freedink-109.6/src/gfx_fonts.h:69:22: note: Declaration of 1st function argument. freedink-109.6/src/freedinkedit.cpp:193:13: note: Passing buffer 'in_temp' to function that is declared here freedink-109.6/src/freedinkedit.cpp:4457:4: note: Buffer 'in_temp' is too small, the function 'Say' expects a bigger buffer in 1st argument freedink-109.6/src/AppFreeDinkedit.h:6:7: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/app.h:45:15: note: Virtual function in base class freedink-109.6/src/AppFreeDinkedit.h:6:7: note: Function in derived class freedink-109.6/src/AppFreeDinkedit.h:7:7: style: The function 'input' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/app.h:46:15: note: Virtual function in base class freedink-109.6/src/AppFreeDinkedit.h:7:7: note: Function in derived class freedink-109.6/src/AppFreeDinkedit.h:8:7: style: The function 'logic' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/app.h:47:15: note: Virtual function in base class freedink-109.6/src/AppFreeDinkedit.h:8:7: note: Function in derived class freedink-109.6/src/freedinkedit.cpp:3785:7: style: The if condition is the same as the previous if condition [duplicateCondition] freedink-109.6/src/freedinkedit.cpp:3747:7: note: First condition freedink-109.6/src/freedinkedit.cpp:3785:7: note: Second condition freedink-109.6/src/freedinkedit.cpp:3334:9: style: Condition '!load_screen_buf(buffmap.loc[(((spr[1].y+1)*32)/20)+(spr[1].x/20)])' is always false [knownConditionTrueFalse] freedink-109.6/src/freedinkedit.cpp:3334:25: note: Calling function 'load_screen_buf' returns 1 freedink-109.6/src/freedinkedit.cpp:3334:9: note: Condition '!load_screen_buf(buffmap.loc[(((spr[1].y+1)*32)/20)+(spr[1].x/20)])' is always false freedink-109.6/src/freedinkedit.cpp:4168:20: style: Variable 'rcRect.right' is reassigned a value before the old one has been used. [redundantAssignment] freedink-109.6/src/freedinkedit.cpp:3988:20: note: rcRect.right is assigned freedink-109.6/src/freedinkedit.cpp:4168:20: note: rcRect.right is overwritten freedink-109.6/src/freedinkedit.cpp:4169:21: style: Variable 'rcRect.bottom' is reassigned a value before the old one has been used. [redundantAssignment] freedink-109.6/src/freedinkedit.cpp:3990:21: note: rcRect.bottom is assigned freedink-109.6/src/freedinkedit.cpp:4169:21: note: rcRect.bottom is overwritten freedink-109.6/src/freedinkedit.cpp:813:16: style: Same expression on both sides of '-'. [duplicateExpression] freedink-109.6/src/freedinkedit.cpp:566:7: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:566:7: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:569:11: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:569:11: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:621:7: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:621:7: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:938:11: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:938:11: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:940:11: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:940:11: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:1679:7: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:1679:7: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:1682:11: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:1682:11: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:1820:7: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:1820:7: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:1823:11: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:1823:11: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:2912:9: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:2912:9: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:2914:10: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:2914:10: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:2925:9: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:2925:9: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:2927:10: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:2927:10: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:2961:9: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:2961:9: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:2963:10: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:2963:10: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:2972:9: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:2972:9: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:2974:10: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:2974:10: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:3173:8: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:3173:8: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:3182:9: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:3182:9: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:3922:11: style: Local variable 'y' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:191:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:3922:11: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:3925:8: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:3925:8: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:4152:12: style: Local variable 'x' shadows outer variable [shadowVariable] freedink-109.6/src/freedinkedit.cpp:190:12: note: Shadowed declaration freedink-109.6/src/freedinkedit.cpp:4152:12: note: Shadow variable freedink-109.6/src/freedinkedit.cpp:223:28: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/freedinkedit.cpp:223:40: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/freedinkedit.cpp:619:26: style: Parameter 'pmap' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/freedinkedit.cpp:4719:53: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/freedinkedit.cpp:3478:8: style: Variable 'xx' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/freedinkedit.cpp:3481:16: style: Variable 'Rect.right' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/freedinkedit.cpp:3482:17: style: Variable 'Rect.bottom' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/game_choice.cpp:46:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/game_choice.cpp:54:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] freedink-109.6/src/game_choice_renderer.cpp:24:6: style: The scope of the variable 'curxl' can be reduced. [variableScope] freedink-109.6/src/game_choice_renderer.cpp:25:6: style: The scope of the variable 'curxr' can be reduced. [variableScope] freedink-109.6/src/game_choice_renderer.cpp:28:6: style: The scope of the variable 'y_last' can be reduced. [variableScope] freedink-109.6/src/game_choice_renderer.cpp:28:13: style: Variable 'y_last' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/game_choice_renderer.cpp:71:29: style: Unused variable: cmds [unusedVariable] freedink-109.6/src/game_choice_renderer.cpp:95:29: style: Unused variable: cmds [unusedVariable] freedink-109.6/src/game_engine.cpp:773:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] freedink-109.6/src/game_engine.cpp:841:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] freedink-109.6/src/game_engine.cpp:526:25: style: Variable 'spr[sprite].hard' is reassigned a value before the old one has been used. [redundantAssignment] freedink-109.6/src/game_engine.cpp:515:25: note: spr[sprite].hard is assigned freedink-109.6/src/game_engine.cpp:526:25: note: spr[sprite].hard is overwritten freedink-109.6/src/game_engine.cpp:531:29: style: Variable 'spr[sprite].sp_index' is reassigned a value before the old one has been used. [redundantAssignment] freedink-109.6/src/game_engine.cpp:518:29: note: spr[sprite].sp_index is assigned freedink-109.6/src/game_engine.cpp:531:29: note: spr[sprite].sp_index is overwritten freedink-109.6/src/game_engine.cpp:327:8: style: The scope of the variable 'midi_filename' can be reduced. [variableScope] freedink-109.6/src/game_engine.cpp:352:26: style:inconclusive: Function 'game_load_screen' argument 1 names different: declaration 'num' definition 'mapdat_num'. [funcArgNamesDifferent] freedink-109.6/src/game_engine.h:110:33: note: Function 'game_load_screen' argument 1 names different: declaration 'num' definition 'mapdat_num'. freedink-109.6/src/game_engine.cpp:352:26: note: Function 'game_load_screen' argument 1 names different: declaration 'num' definition 'mapdat_num'. freedink-109.6/src/game_engine.cpp:680:7: style: Local variable 'k' shadows outer variable [shadowVariable] freedink-109.6/src/gfx_sprites.h:71:26: note: Shadowed declaration freedink-109.6/src/game_engine.cpp:680:7: note: Shadow variable freedink-109.6/src/gfx.cpp:96:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_FULLSCREEN_DESKTOP [valueFlowBailoutIncompleteVar] freedink-109.6/src/gfx_fonts.cpp:202:0: error: failed to expand 'log_error', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] freedink-109.6/src/gfx_palette.cpp:71:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] freedink-109.6/src/gfx_palette.cpp:84:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_INDEX8 [valueFlowBailoutIncompleteVar] freedink-109.6/src/gfx_palette.cpp:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] freedink-109.6/src/gfx_palette.cpp:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] freedink-109.6/src/gfx_palette.cpp:151:32: style:inconclusive: Function 'gfx_palette_set_from_bmp' argument 1 names different: declaration 'file' definition 'filename'. [funcArgNamesDifferent] freedink-109.6/src/gfx_palette.h:30:44: note: Function 'gfx_palette_set_from_bmp' argument 1 names different: declaration 'file' definition 'filename'. freedink-109.6/src/gfx_palette.cpp:151:32: note: Function 'gfx_palette_set_from_bmp' argument 1 names different: declaration 'file' definition 'filename'. freedink-109.6/src/gfx_palette.cpp:54:38: style: Parameter 'new_palette' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/gfx_sprites.cpp:236:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colors [valueFlowBailoutIncompleteVar] freedink-109.6/src/gfx_sprites.cpp:374:6: style: Condition '!exists' is always true [knownConditionTrueFalse] freedink-109.6/src/gfx_sprites.cpp:372:15: note: Assignment 'exists=0', assigned value is 0 freedink-109.6/src/gfx_sprites.cpp:374:6: note: Condition '!exists' is always true freedink-109.6/src/gfx_sprites.cpp:387:6: style: Condition '!exists' is always true [knownConditionTrueFalse] freedink-109.6/src/gfx_sprites.cpp:379:7: note: Assuming that condition 'exists' is not redundant freedink-109.6/src/gfx_sprites.cpp:387:6: note: Condition '!exists' is always true freedink-109.6/src/gfx_sprites.cpp:238:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/gfx_sprites.cpp:116:65: style:inconclusive: Function 'load_sprite_pak' argument 3 names different: declaration 'speed' definition 'delay'. [funcArgNamesDifferent] freedink-109.6/src/gfx_sprites.h:76:74: note: Function 'load_sprite_pak' argument 3 names different: declaration 'speed' definition 'delay'. freedink-109.6/src/gfx_sprites.cpp:116:65: note: Function 'load_sprite_pak' argument 3 names different: declaration 'speed' definition 'delay'. freedink-109.6/src/gfx_sprites.cpp:350:62: style:inconclusive: Function 'load_sprites' argument 3 names different: declaration 'speed' definition 'delay'. [funcArgNamesDifferent] freedink-109.6/src/gfx_sprites.h:78:71: note: Function 'load_sprites' argument 3 names different: declaration 'speed' definition 'delay'. freedink-109.6/src/gfx_sprites.cpp:350:62: note: Function 'load_sprites' argument 3 names different: declaration 'speed' definition 'delay'. freedink-109.6/src/gfx_sprites.cpp:116:27: style: Parameter 'seq_path_prefix' can be declared as const array [constParameter] freedink-109.6/src/gfx_sprites.cpp:164:9: style: Variable 'leading_zero' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/gfx_sprites.cpp:239:10: style: Variable 'last' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/gfx_sprites.cpp:429:9: style: Variable 'leading_zero' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/gfx_sprites.cpp:537:36: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/i18n.cpp:57:26: warning: Obsolete function 'alloca' called. [allocaCalled] freedink-109.6/src/i18n.cpp:58:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freedink-109.6/src/i18n.cpp:57:19: style: C-style pointer casting [cstyleCast] freedink-109.6/src/i18n.cpp:47:28: style: Parameter 'scriptname' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/input.cpp:90:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HINT_MOUSE_RELATIVE_MODE_WARP [valueFlowBailoutIncompleteVar] freedink-109.6/src/input.cpp:240:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_JOYSTICK [valueFlowBailoutIncompleteVar] freedink-109.6/src/input.cpp:294:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_NUM_SCANCODES [valueFlowBailoutIncompleteVar] freedink-109.6/src/input.cpp:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] freedink-109.6/src/input.cpp:320:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEBUTTONDOWN [valueFlowBailoutIncompleteVar] freedink-109.6/src/input.cpp:251:29: style: Same expression on both sides of '-'. [duplicateExpression] freedink-109.6/src/input.cpp:175:19: style: Local variable 'jinfo' shadows outer variable [shadowVariable] freedink-109.6/src/input.h:77:24: note: Shadowed declaration freedink-109.6/src/input.cpp:175:19: note: Shadow variable freedink-109.6/src/input.cpp:319:36: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/inventory.cpp:125:14: style: Variable 'select' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/inventory.cpp:165:14: style: Variable 'select' is assigned a value that is never used. [unreadVariable] freedink-109.6/src/io_util.cpp:154:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] freedink-109.6/src/io_util.cpp:142:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] freedink-109.6/src/io_util.cpp:105:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/io_util.cpp:111:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/io_util.cpp:135:22: style: The scope of the variable 'entry' can be reduced. [variableScope] freedink-109.6/src/io_util.cpp:135:22: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/io_util.cpp:195:17: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/live_screen.cpp:156:23: style:inconclusive: Boolean expression 'xx-20>600' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/live_screen.cpp:156:49: style:inconclusive: Boolean expression 'yy<0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] freedink-109.6/src/live_sprites_manager.cpp:226:45: warning: Either the condition 'sprite>0' is redundant or the array 'spr[300]' is accessed at index 300, which is out of bounds. [arrayIndexOutOfBoundsCond] freedink-109.6/src/live_sprites_manager.cpp:225:28: note: Assuming that condition 'sprite>0' is not redundant freedink-109.6/src/live_sprites_manager.cpp:226:45: note: Array index out of bounds freedink-109.6/src/live_sprites_manager.cpp:234:11: style: Local variable 'k' shadows outer variable [shadowVariable] freedink-109.6/src/gfx_sprites.h:71:26: note: Shadowed declaration freedink-109.6/src/live_sprites_manager.cpp:234:11: note: Shadow variable freedink-109.6/src/live_sprites_manager.cpp:311:7: style: Local variable 'k' shadows outer variable [shadowVariable] freedink-109.6/src/gfx_sprites.h:71:26: note: Shadowed declaration freedink-109.6/src/live_sprites_manager.cpp:311:7: note: Shadow variable freedink-109.6/src/log.cpp:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_LOG_PRIORITY_DEBUG [valueFlowBailoutIncompleteVar] freedink-109.6/src/log.cpp:90:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_LOG_PRIORITY_ERROR [valueFlowBailoutIncompleteVar] freedink-109.6/src/log.cpp:102:38: style:inconclusive: Function 'log_set_output_file' argument 1 names different: declaration 'filename' definition 'fn'. [funcArgNamesDifferent] freedink-109.6/src/log.h:42:45: note: Function 'log_set_output_file' argument 1 names different: declaration 'filename' definition 'fn'. freedink-109.6/src/log.cpp:102:38: note: Function 'log_set_output_file' argument 1 names different: declaration 'filename' definition 'fn'. freedink-109.6/src/paths.cpp:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] freedink-109.6/src/paths.cpp:215:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILD_DATA_DIR [valueFlowBailoutIncompleteVar] freedink-109.6/src/paths.cpp:76:5: error: Common realloc mistake: 'cwd' nulled but not freed upon failure [memleakOnRealloc] freedink-109.6/src/paths.cpp:352:2: error: Common realloc mistake: 'userappdir' nulled but not freed upon failure [memleakOnRealloc] freedink-109.6/src/paths.cpp:457:3: error: Common realloc mistake: 'savedir' nulled but not freed upon failure [memleakOnRealloc] freedink-109.6/src/paths.cpp:76:11: style: C-style pointer casting [cstyleCast] freedink-109.6/src/paths.cpp:96:12: style: C-style pointer casting [cstyleCast] freedink-109.6/src/paths.cpp:115:12: style: C-style pointer casting [cstyleCast] freedink-109.6/src/paths.cpp:294:12: style: C-style pointer casting [cstyleCast] freedink-109.6/src/paths.cpp:334:16: style: C-style pointer casting [cstyleCast] freedink-109.6/src/paths.cpp:352:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/paths.cpp:457:13: style: C-style pointer casting [cstyleCast] freedink-109.6/src/paths.cpp:346:11: style: Variable 'envhome' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/rect.cpp:57:17: warning: Function 'rect_copy' argument order different: declaration 'src, dst' definition 'dst, src' [funcArgOrderDifferent] freedink-109.6/src/rect.h:32:28: note: Function 'rect_copy' argument order different: declaration 'src, dst' definition 'dst, src' freedink-109.6/src/rect.cpp:57:17: note: Function 'rect_copy' argument order different: declaration 'src, dst' definition 'dst, src' freedink-109.6/src/rect.cpp:57:28: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/resources.cpp:44:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] freedink-109.6/src/resources.cpp:36:10: style: Condition 'in==NULL' is always true [knownConditionTrueFalse] freedink-109.6/src/resources.cpp:35:14: note: Assignment 'in=NULL', assigned value is 0 freedink-109.6/src/resources.cpp:36:10: note: Condition 'in==NULL' is always true freedink-109.6/src/resources.cpp:30:41: style:inconclusive: Function 'find_resource_as_rwops' argument 1 names different: declaration 'filename' definition 'name'. [funcArgNamesDifferent] freedink-109.6/src/resources.h:28:48: note: Function 'find_resource_as_rwops' argument 1 names different: declaration 'filename' definition 'name'. freedink-109.6/src/resources.cpp:30:41: note: Function 'find_resource_as_rwops' argument 1 names different: declaration 'filename' definition 'name'. freedink-109.6/src/resources.cpp:30:41: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/savegame.cpp:458:13: error: Invalid fputc() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] freedink-109.6/src/sfx.cpp:144:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dst_format [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:357:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:600:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:631:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:742:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:870:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:901:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:913:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:947:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:958:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] freedink-109.6/src/sfx.cpp:136:33: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:150:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:151:21: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:189:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:190:21: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:238:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:239:22: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:277:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:278:22: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:413:13: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:674:35: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:841:14: style: C-style pointer casting [cstyleCast] freedink-109.6/src/sfx.cpp:1008:7: style: The scope of the variable 'x1' can be reduced. [variableScope] freedink-109.6/src/sfx.cpp:1028:7: style: The scope of the variable 'pan2' can be reduced. [variableScope] freedink-109.6/src/sfx.cpp:345:50: style:inconclusive: Function 'CreateBufferFromWaveFile' argument 2 names different: declaration 'dwBuf' definition 'index'. [funcArgNamesDifferent] freedink-109.6/src/sfx.h:34:57: note: Function 'CreateBufferFromWaveFile' argument 2 names different: declaration 'dwBuf' definition 'index'. freedink-109.6/src/sfx.cpp:345:50: note: Function 'CreateBufferFromWaveFile' argument 2 names different: declaration 'dwBuf' definition 'index'. freedink-109.6/src/sfx.cpp:911:37: style:inconclusive: Function 'FreeRegisteredSound' argument 1 names different: declaration 'index' definition 'sound'. [funcArgNamesDifferent] freedink-109.6/src/sfx.cpp:83:37: note: Function 'FreeRegisteredSound' argument 1 names different: declaration 'index' definition 'sound'. freedink-109.6/src/sfx.cpp:911:37: note: Function 'FreeRegisteredSound' argument 1 names different: declaration 'index' definition 'sound'. freedink-109.6/src/sfx.cpp:158:15: style: Variable 'pbuf' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/sfx.cpp:197:15: style: Variable 'pbuf' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/sfx.cpp:246:16: style: Variable 'pbuf' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/sfx.cpp:285:16: style: Variable 'pbuf' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/sfx.cpp:345:36: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/status.cpp:50:38: style: Parameter 'nums' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/str_util.cpp:177:21: style: Redundant condition: The condition '*pc != '\0'' is redundant since '*pc == ' '' is sufficient. [redundantCondition] freedink-109.6/src/str_util.cpp:71:15: style: C-style pointer casting [cstyleCast] freedink-109.6/src/str_util.cpp:80:11: style: C-style pointer casting [cstyleCast] freedink-109.6/src/str_util.cpp:145:22: style: C-style pointer casting [cstyleCast] freedink-109.6/src/str_util.cpp:195:18: style: C-style pointer casting [cstyleCast] freedink-109.6/src/str_util.cpp:318:25: style: C-style pointer casting [cstyleCast] freedink-109.6/src/str_util.cpp:319:24: style: C-style pointer casting [cstyleCast] freedink-109.6/src/str_util.cpp:320:24: style: C-style pointer casting [cstyleCast] freedink-109.6/src/str_util.cpp:117:30: style:inconclusive: Function 'separate_string' argument 1 names different: declaration 'str' definition 'line'. [funcArgNamesDifferent] freedink-109.6/src/str_util.h:31:39: note: Function 'separate_string' argument 1 names different: declaration 'str' definition 'line'. freedink-109.6/src/str_util.cpp:117:30: note: Function 'separate_string' argument 1 names different: declaration 'str' definition 'line'. freedink-109.6/src/str_util.cpp:51:40: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/str_util.cpp:117:30: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/str_util.cpp:188:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/str_util.cpp:207:27: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/str_util.cpp:207:39: style: Parameter 'comp' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/str_util.cpp:321:18: style: Variable 'pcd_limit' can be declared as pointer to const [constVariablePointer] freedink-109.6/src/test_brain_text.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_dinkc.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_dinkc_bindings.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_dinkc_bindings.cxx:72:16: style: Local variable 'returnint' shadows outer variable [shadowVariable] freedink-109.6/src/dinkc.h:144:12: note: Shadowed declaration freedink-109.6/src/test_dinkc_bindings.cxx:72:16: note: Shadow variable freedink-109.6/src/test_dinkc_bindings.cxx:118:16: style: Local variable 'returnint' shadows outer variable [shadowVariable] freedink-109.6/src/dinkc.h:144:12: note: Shadowed declaration freedink-109.6/src/test_dinkc_bindings.cxx:118:16: note: Shadow variable freedink-109.6/src/test_dinkc_console.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_dinkc_console.cxx:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_dinkc_console.cxx:56:29: style: C-style pointer casting [cstyleCast] freedink-109.6/src/test_dinkini.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_dinkini.cxx:38:27: style: Parameter 'sFileName' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_dinkini.cxx:39:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_editor_screen.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_gfx_fonts.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_gfx_fonts.cxx:69:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_gfx_fonts.cxx:78:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_RGB888 [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_gfx_fonts.cxx:56:11: style: C-style pointer casting [cstyleCast] freedink-109.6/src/test_gfx_fonts.cxx:70:13: style: Same expression on both sides of '-'. [duplicateExpression] freedink-109.6/src/test_integration.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_io_util.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_io_util.cxx:91:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_io_util.cxx:91:17: style: C-style pointer casting [cstyleCast] freedink-109.6/src/test_io_util.cxx:93:24: style: C-style pointer casting [cstyleCast] freedink-109.6/src/test_io_util.cxx:94:24: style: C-style pointer casting [cstyleCast] freedink-109.6/src/test_live_sprites_manager.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_str_util.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_text.cpp:21:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _worldName [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_text.cxx:74:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] freedink-109.6/src/test_text.cxx:52:82: style: Parameter 'imgs' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_text.cxx:53:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_text.cxx:53:47: style: Parameter 'box' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_text.cxx:53:135: style: Parameter 'cmds' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_text.cxx:54:48: style: Parameter 'cmds' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_text.cxx:55:65: style: Parameter 'cmds' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_text.cxx:64:27: style: Parameter 'sFileName' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/test_text.cxx:65:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/text.cpp:181:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] freedink-109.6/src/text.cpp:43:27: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] freedink-109.6/src/update_frame.cpp:117:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SCANCODE_LCTRL [valueFlowBailoutIncompleteVar] freedink-109.6/src/update_frame.cpp:385:14: style: Variable 'get_frame' is assigned a value that is never used. [unreadVariable] diff: head freedink-109.6/contrib/ffrextract.c:197:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head freedink-109.6/contrib/ffrextract.c:215:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head freedink-109.6/contrib/ffrpack.cpp:179:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head freedink-109.6/contrib/ffrpack.cpp:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head freedink-109.6/contrib/ffrpack.cpp:54:26: style: Parameter 'argv' can be declared as const array [constParameter] head freedink-109.6/emscripten/extract.c:126:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_OK [valueFlowBailoutIncompleteVar] head freedink-109.6/emscripten/extract.c:229:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_OK [valueFlowBailoutIncompleteVar] head freedink-109.6/emscripten/extract.c:90:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_OK [valueFlowBailoutIncompleteVar] head freedink-109.6/emscripten/importexport.c:116:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZIP_RDONLY [valueFlowBailoutIncompleteVar] head freedink-109.6/emscripten/importexport.c:42:52: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] head freedink-109.6/emscripten/importexport.c:86:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZIP_CREATE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/AppFreeDink.h:7:3: style: The destructor '~AppFreeDink' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/app.h:43:11: note: Virtual destructor in base class freedink-109.6/src/AppFreeDink.h:7:3: note: Destructor in derived class head freedink-109.6/src/IOGfxDisplay.cpp:110:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_INDEX8 [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplay.cpp:117:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_FULLSCREEN [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplay.cpp:42:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplay.cpp:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOW_FULLSCREEN [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplayGL2.cpp:167:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_CONTEXT_PROFILE_MASK [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplayGL2.cpp:418:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_GL_CONTEXT_MAJOR_VERSION [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplayGL2.cpp:584:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ALPHA_OPAQUE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplayGL2.cpp:661:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ALPHA_OPAQUE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplayGL2.h:60:3: style: The destructor '~IOGfxDisplayGL2' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:20:11: note: Virtual destructor in base class freedink-109.6/src/IOGfxDisplayGL2.h:60:3: note: Destructor in derived class head freedink-109.6/src/IOGfxDisplaySW.cpp:244:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_RGBA8888 [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplaySW.cpp:262:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplaySW.cpp:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_RENDERER_SOFTWARE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxDisplaySW.h:18:11: style: The destructor '~IOGfxDisplaySW' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxDisplay.h:20:11: note: Virtual destructor in base class freedink-109.6/src/IOGfxDisplaySW.h:18:11: note: Destructor in derived class head freedink-109.6/src/IOGfxPrimitivesSW.cpp:71:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colors [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxSurfaceGL2.cpp:177:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ALPHA_TRANSPARENT [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxSurfaceGL2.h:41:11: style: The destructor '~IOGfxSurfaceGL2' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:11:11: note: Virtual destructor in base class freedink-109.6/src/IOGfxSurfaceGL2.h:41:11: note: Destructor in derived class head freedink-109.6/src/IOGfxSurfaceSW.cpp:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_RLEACCEL [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxSurfaceSW.cpp:63:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMOOTHING_OFF [valueFlowBailoutIncompleteVar] head freedink-109.6/src/IOGfxSurfaceSW.h:11:11: style: The destructor '~IOGfxSurfaceSW' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] freedink-109.6/src/IOGfxSurface.h:11:11: note: Virtual destructor in base class freedink-109.6/src/IOGfxSurfaceSW.h:11:11: note: Destructor in derived class head freedink-109.6/src/ImageLoader.cpp:36:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/ImageLoader.cpp:58:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/ImageLoader.cpp:67:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_INDEX8 [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:249:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:296:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:339:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:408:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:551:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:605:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_Color [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:646:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:78:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head freedink-109.6/src/TestIOGfxDisplay.cxx:86:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] head freedink-109.6/src/app.cpp:182:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] head freedink-109.6/src/app.cpp:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] head freedink-109.6/src/app.cpp:266:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] head freedink-109.6/src/app.cpp:367:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_TIMER [valueFlowBailoutIncompleteVar] head freedink-109.6/src/app.cpp:490:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_QUIT [valueFlowBailoutIncompleteVar] head freedink-109.6/src/dinkc.cpp:180:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head freedink-109.6/src/dinkc_bindings.cpp:1033:42: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_kill_all_sounds' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2153:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1033:42: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1033:54: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_kill_all_sounds' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2153:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1033:54: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1069:33: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_stopcd' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2157:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1069:33: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1069:45: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_stopcd' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2157:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1069:45: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1074:35: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_stopmidi' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2158:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1074:35: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1074:47: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_stopmidi' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2158:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1074:47: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1080:40: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_turn_midi_off' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2159:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1080:40: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1080:52: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_turn_midi_off' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2159:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1080:52: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1085:39: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_turn_midi_on' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2160:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1085:39: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1085:51: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_turn_midi_on' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2160:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1085:51: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1182:51: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_dink_can_walk_off_screen' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2168:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1182:51: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1182:63: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_dink_can_walk_off_screen' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2168:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1182:63: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1187:38: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_push_active' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2169:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1187:38: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1187:50: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_push_active' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2169:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1187:50: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1293:44: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_sound_set_survive' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2181:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1293:44: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1293:56: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_sound_set_survive' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2181:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1293:56: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1301:40: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_sound_set_vol' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2182:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1301:40: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1301:52: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_sound_set_vol' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2182:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1301:52: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1308:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_sound_set_kill' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2183:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1308:41: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1308:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_sound_set_kill' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2183:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1308:53: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1316:36: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_save_game' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2185:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1316:36: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1316:48: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_save_game' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2185:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1316:48: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1441:38: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_kill_shadow' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2200:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1441:38: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1441:50: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_kill_shadow' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2200:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1441:50: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1535:37: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_button' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2206:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1535:37: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1535:49: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_button' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2206:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1535:49: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1777:39: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_show_console' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2233:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1777:39: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1777:51: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_show_console' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2233:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1777:51: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1782:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_show_inventory' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2234:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1782:41: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1782:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_show_inventory' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2234:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1782:53: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1798:35: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_loopmidi' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2237:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1798:35: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1798:47: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_loopmidi' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2237:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1798:47: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1936:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_font_color' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2251:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1936:41: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1936:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_font_color' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2251:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1936:53: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1963:44: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_smooth_follow' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2252:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1963:44: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1963:56: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_smooth_follow' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2252:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1963:56: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1970:45: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_dink_base_push' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2253:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1970:45: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:1970:57: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_dink_base_push' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2253:7: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:1970:57: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:569:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_dink_speed' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2111:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:569:41: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:569:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_dink_speed' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2111:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:569:53: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:583:41: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_set_keep_mouse' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2113:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:583:41: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:583:53: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_set_keep_mouse' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2113:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:583:53: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:875:38: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_draw_status' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2128:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:875:38: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:875:50: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_draw_status' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2128:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:875:50: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:913:38: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_preload_seq' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2139:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:913:38: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:913:50: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_preload_seq' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2139:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:913:50: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:966:42: style: Parameter 'yield' can be declared as pointer to const. However it seems that 'dc_draw_background' is a callback function, if 'yield' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2145:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:966:42: note: Parameter 'yield' can be declared as pointer to const head freedink-109.6/src/dinkc_bindings.cpp:966:54: style: Parameter 'preturnint' can be declared as pointer to const. However it seems that 'dc_draw_background' is a callback function, if 'preturnint' is declared with const you might also need to cast function pointer(s). [constParameterCallback] freedink-109.6/src/dinkc_bindings.cpp:2145:3: note: You might need to cast the function pointer here freedink-109.6/src/dinkc_bindings.cpp:966:54: note: Parameter 'preturnint' can be declared as pointer to const head freedink-109.6/src/dinkini.cpp:306:7: style: The scope of the variable 'special2' can be reduced. [variableScope] head freedink-109.6/src/freedink.cpp:467:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:1745:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SCANCODE_KP_8 [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:1874:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SCANCODE_TAB [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:4185:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_z [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:4715:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_TRUE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:4720:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:4734:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_WINDOWEVENT [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:4745:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYUP [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:777:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEMOTION [valueFlowBailoutIncompleteVar] head freedink-109.6/src/freedinkedit.cpp:839:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SCANCODE_ESCAPE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/game_choice.cpp:54:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/game_engine.cpp:841:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_FALSE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/gfx_palette.cpp:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] head freedink-109.6/src/gfx_palette.cpp:136:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r [valueFlowBailoutIncompleteVar] head freedink-109.6/src/gfx_palette.cpp:84:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_INDEX8 [valueFlowBailoutIncompleteVar] head freedink-109.6/src/input.cpp:240:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_JOYSTICK [valueFlowBailoutIncompleteVar] head freedink-109.6/src/input.cpp:294:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_NUM_SCANCODES [valueFlowBailoutIncompleteVar] head freedink-109.6/src/input.cpp:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_KEYDOWN [valueFlowBailoutIncompleteVar] head freedink-109.6/src/input.cpp:320:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_MOUSEBUTTONDOWN [valueFlowBailoutIncompleteVar] head freedink-109.6/src/log.cpp:90:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_LOG_PRIORITY_ERROR [valueFlowBailoutIncompleteVar] head freedink-109.6/src/paths.cpp:215:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUILD_DATA_DIR [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:357:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:600:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:631:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:742:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:870:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_AUDIO [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:901:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:913:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buf [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:947:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] head freedink-109.6/src/sfx.cpp:958:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] 2.13.0 freedink-109.6/src/str_util.cpp:304:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_FAILURE [valueFlowBailoutIncompleteVar] head freedink-109.6/src/test_dinkini.cxx:38:27: style: Parameter 'sFileName' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_dinkini.cxx:39:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_gfx_fonts.cxx:78:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_PIXELFORMAT_RGB888 [valueFlowBailoutIncompleteVar] head freedink-109.6/src/test_text.cxx:52:82: style: Parameter 'imgs' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_text.cxx:53:135: style: Parameter 'cmds' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_text.cxx:53:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_text.cxx:53:47: style: Parameter 'box' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_text.cxx:54:48: style: Parameter 'cmds' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_text.cxx:55:65: style: Parameter 'cmds' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_text.cxx:64:27: style: Parameter 'sFileName' can be declared as pointer to const [constParameterPointer] head freedink-109.6/src/test_text.cxx:65:44: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] DONE