Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/clonekeen.spec'], chrootPath='/var/lib/mock/f31-build-16971654-1223040/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/clonekeen.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/clonekeen-0.8.4-17.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/clonekeen.spec'], chrootPath='/var/lib/mock/f31-build-16971654-1223040/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/clonekeen.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Falt8B + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf keen + /usr/bin/bzip2 -dc /builddir/build/SOURCES/clonekeen-src-84-clean.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd keen + /usr/bin/gzip -dc /builddir/build/SOURCES/clonekeen-0.8.4-data.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (clonekeen-0.8.4-noSDLmain.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .noSDLmain --fuzz=0 + sed -i 's|gcc -O2|gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection|g' src/Makefile + cp -a /builddir/build/SOURCES/extract.c /builddir/build/SOURCES/clonekeen-extract-sounds.c . + sed -i 's/\r//g' README src/changelog.txt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (clonekeen-0.8.4-noSDLmain.patch): patching file src/Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZoFVVx + umask 022 + cd /builddir/build/BUILD + cd keen + make -j12 -C src -f Makefile 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' BUILDSTDERR: sanity.c: In function 'run_sanity': BUILDSTDERR: sanity.c:140:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 140 | wheretogetit = (char)(*list)[i+2]; BUILDSTDERR: | ^ BUILDSTDERR: sanity.c:155:22: warning: comparison between pointer and integer BUILDSTDERR: 155 | if (wheretogetit == COMESWITHKEEN || 1) BUILDSTDERR: | ^~ BUILDSTDERR: sanity.c:156:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 156 | getFromWhere = kFromOriginal; BUILDSTDERR: | ^ BUILDSTDERR: sanity.c:158:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 158 | getFromWhere = kFromCloneKeen; BUILDSTDERR: | ^ BUILDSTDERR: gamedo.c: In function 'common_enemy_ai': BUILDSTDERR: sanity.c:142:29: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] BUILDSTDERR: 142 | sprintf(fullfname, "data/%s", fname); BUILDSTDERR: | ^~ ~~~~~ BUILDSTDERR: gamedo.c:683:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] BUILDSTDERR: 683 | IsStopPoint(x, (x, ((objects[o].y>>CSF)+ysize-1)), o)) BUILDSTDERR: | ^ BUILDSTDERR: gamedo.c: In function 'Render_drawdebug': BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from sanity.c:4: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: gamedo.c:953:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: 953 | sprintf(debugmsg, "p1x/y: %d/%d [%d,%d]", player[0].x, player[0].y, player[0].x>>CSF,player[0].y>>CSF); BUILDSTDERR: | ~^ ~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long unsigned int BUILDSTDERR: | %ld BUILDSTDERR: gamedo.c:953:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: 953 | sprintf(debugmsg, "p1x/y: %d/%d [%d,%d]", player[0].x, player[0].y, player[0].x>>CSF,player[0].y>>CSF); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %ld BUILDSTDERR: gamedo.c:954:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 954 | font_draw(debugmsg, 5, y+=8, drawcharacter); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:956:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 956 | font_draw(debugmsg, 5, y+=8, drawcharacter); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:958:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 958 | font_draw(debugmsg, 5, y+=8, drawcharacter); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:960:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 960 | font_draw(debugmsg, 5, y+=8, drawcharacter); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:962:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 962 | font_draw(debugmsg, 5, y+=8, drawcharacter); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:964:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 964 | font_draw(debugmsg, 5, y+=8, drawcharacter); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c: In function 'gamedo_RenderOSD': BUILDSTDERR: gamedo.c:999:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: 999 | sprintf(temp, "%d", player[p].inventory.score); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long unsigned int BUILDSTDERR: | %ld BUILDSTDERR: gamedo.c:1000:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1000 | font_draw(temp, OSD_X, y, drawcharacter_clear); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:1008:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1008 | font_draw(temp, TEXT_X, y, drawcharacter_clear); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:1020:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1020 | font_draw(temp, TEXT_X, y, drawcharacter_clear); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:1051:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1051 | font_draw(temp, x, OSD_Y, drawcharacter_clear); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c: In function 'DoMustKillYorps': BUILDSTDERR: gamedo.c:1183:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1183 | font_draw(temp, TEXT_X, y+mky.y+9, drawcharacter_clear_inversepink); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamedo.c:1185:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1185 | font_draw(temp, TEXT_X, y+mky.y+9, drawcharacter_clear); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from gamedo.c:9: BUILDSTDERR: gamedo.fdh:107:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: gamepdo_wm.c: In function 'AllowMountUnmountNessie': BUILDSTDERR: gamepdo_wm.c:376:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 376 | if (player[cp].keytable[PKRIGHT] && player[cp].blockedr || \ BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from editor/editor.c:91: BUILDSTDERR: editor/buttons.c: In function 'drawbutton': BUILDSTDERR: editor/buttons.c:7:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 7 | font_draw(txt,x+2,y+2,drawcharacter_clear); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from editor/editor.c:4: BUILDSTDERR: editor/editor.fdh:152:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 152 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: In file included from editor/editor.c:92: BUILDSTDERR: editor/ghosting.c: In function 'editor_set_do_ghosting': BUILDSTDERR: editor/ghosting.c:45:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 45 | font_draw(ptr,LASTBUTTON_X-2,LASTBUTTON_Y+BUTTON_H+6+8,drawcharacter_clear_erasebg); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from editor/editor.c:4: BUILDSTDERR: editor/editor.fdh:152:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 152 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: In file included from editor/editor.c:93: BUILDSTDERR: editor/autoblock.c: In function 'drawcurautoblock': BUILDSTDERR: editor/autoblock.c:158:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 158 | font_draw(txt, x, AB_LASTBUTTON_Y+BUTTON_H+3, drawcharacter_clear_erasebg); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from editor/editor.c:4: BUILDSTDERR: editor/editor.fdh:152:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 152 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: editor/editor.c: In function 'drawtiles': BUILDSTDERR: editor/editor.c:209:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 209 | font_draw(textbuf1, CURTILE_LEFT, CURTILE_TOP, drawcharacter_clear_erasebg); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from editor/editor.c:4: BUILDSTDERR: editor/editor.fdh:152:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 152 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: editor/editor.c: In function 'drawcurenemy': BUILDSTDERR: editor/editor.c:238:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 238 | font_draw(text,LASTBUTTON_X+2,LASTBUTTON_Y+BUTTON_H+6,drawcharacter_clear_erasebg); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from editor/editor.c:4: BUILDSTDERR: editor/editor.fdh:152:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 152 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: editor/editor.c: In function 'editor_run': BUILDSTDERR: editor/editor.c:780:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 780 | font_draw(txt, COORDS_LEFT, COORDS_TOP, drawcharacter_clear_erasebg); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from editor/editor.c:4: BUILDSTDERR: editor/editor.fdh:152:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 152 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: editor/editor.c:764:5: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 764 | int i; BUILDSTDERR: | ^ BUILDSTDERR: editor/editor.c: In function 'storemap': BUILDSTDERR: editor/editor.c:924:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 924 | for(y=0;y>TILE_S; BUILDSTDERR: | ^~ BUILDSTDERR: map.c: In function 'map_draw_hstripe': BUILDSTDERR: map.c:155:5: warning: unused variable 'xt' [-Wunused-variable] BUILDSTDERR: 155 | int xt; BUILDSTDERR: | ^~ BUILDSTDERR: map.c: In function 'map_coat_border': BUILDSTDERR: map.c:389:9: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: 389 | int x,y,c,border; BUILDSTDERR: | ^ BUILDSTDERR: editor/autolight.c: In function 'autolight': BUILDSTDERR: editor/autolight.c:21:5: warning: unused variable 'plottile' [-Wunused-variable] BUILDSTDERR: 21 | int plottile; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: editor/autolight.c: In function 'al_cast_ray': BUILDSTDERR: editor/autolight.c:124:7: warning: unused variable 't' [-Wunused-variable] BUILDSTDERR: 124 | int i,t; BUILDSTDERR: | ^ BUILDSTDERR: editor/autolight.c: In function 'al_cantundo': BUILDSTDERR: editor/autolight.c:201:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 201 | } BUILDSTDERR: | ^ BUILDSTDERR: console.c: In function 'DrawConsoleMessages': BUILDSTDERR: console.c:38:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 38 | font_draw(cmsg, CONSOLE_MESSAGE_X, CONSOLE_MESSAGE_Y, drawcharacter_clear); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from console.c:7: BUILDSTDERR: console.fdh:17:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 17 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: maploader.c: In function 'rle_compress': BUILDSTDERR: maploader.c:389:12: warning: unused variable 'lastword' [-Wunused-variable] BUILDSTDERR: 389 | uint word, lastword, readword; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: maploader.c:459:1: warning: no return statement in function returning non-void [-Wreturn-type] BUILDSTDERR: 459 | } BUILDSTDERR: | ^ BUILDSTDERR: maploader.c: In function 'AddEnemy': BUILDSTDERR: maploader.c:488:12: warning: unused variable 'rndysize' [-Wunused-variable] BUILDSTDERR: 488 | int ysize, rndysize; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: maploader.c:488:5: warning: unused variable 'ysize' [-Wunused-variable] BUILDSTDERR: 488 | int ysize, rndysize; BUILDSTDERR: | ^~~~~ BUILDSTDERR: fileio.c: In function 'fileopen': BUILDSTDERR: fileio.c:21:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 21 | strcpy(customname, levelcontrol.custom_episode_path); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fileio.c:22:11: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 22 | strcat(customname, name); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fileio.c:24:19: warning: pointer targets in passing argument 1 of 'fcaseopen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 24 | fp = fcaseopen(customname, mode); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fileio.c:6: BUILDSTDERR: fileio.fdh:8:7: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 8 | FILE *fcaseopen(char *ci_name, char *mode); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: fileio.c: In function 'fcaseopen': BUILDSTDERR: fileio.c:73:5: warning: implicit declaration of function 'stat' [-Wimplicit-function-declaration] BUILDSTDERR: 73 | stat("trying '%s'", fname); BUILDSTDERR: | ^~~~ BUILDSTDERR: fileio.c: In function 'LoadTGASprite': BUILDSTDERR: fileio.c:136:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 136 | sprintf(fname, "%s%s", GFXDIR, filename); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: fileio.c:137:14: warning: pointer targets in passing argument 1 of 'LoadTGA' differ in signedness [-Wpointer-sign] BUILDSTDERR: 137 | if (LoadTGA(fname, &image, &w, &h)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from fileio.c:6: BUILDSTDERR: fileio.fdh:52:20: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 52 | char LoadTGA(char *file, uchar **image, int *widthout, int *heightout); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: fileio.c: In function 'loadstrings': BUILDSTDERR: fileio.c:429:35: warning: pointer targets in passing argument 1 of 'loadstrings_AddAttr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 429 | if (loadstrings_AddAttr(stAttr, numStrings)) return 1; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: fileio.c:299:32: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 299 | char loadstrings_AddAttr(char *attr, int stringIndex) BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: fileio.c:438:35: warning: pointer targets in passing argument 1 of 'loadstrings_AddAttr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 438 | if (loadstrings_AddAttr(stAttr, numStrings)) return 1; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: fileio.c:299:32: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 299 | char loadstrings_AddAttr(char *attr, int stringIndex) BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: fileio.c:516:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 516 | RAMSize = strlen(stName) + strlen(stString) + 2; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fileio.c:516:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 516 | RAMSize = strlen(stName) + strlen(stString) + 2; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fileio.c:525:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 525 | strings[numStrings].name = &RAMPtr[0]; BUILDSTDERR: | ^ BUILDSTDERR: fileio.c:526:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 526 | strings[numStrings].stringptr = &RAMPtr[strlen(stName)+1]; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fileio.c:526:39: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 526 | strings[numStrings].stringptr = &RAMPtr[strlen(stName)+1]; BUILDSTDERR: | ^ BUILDSTDERR: fileio.c:529:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 529 | memcpy(strings[numStrings].name, stName, strlen(stName)+1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fileio.c:530:64: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 530 | memcpy(strings[numStrings].stringptr, stString, strlen(stString)+1); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fileio.c: In function 'getstring': BUILDSTDERR: fileio.c:585:33: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 585 | if (!strcmp(name, strings[i].name)) BUILDSTDERR: | ~~~~~~~~~~^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fileio.c:587:24: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 587 | return strings[i].stringptr; BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: fileio.c: In function 'GetStringAttribute': BUILDSTDERR: fileio.c:601:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 601 | if (!strcmp(stringName, strings[i].name)) BUILDSTDERR: | ~~~~~~~~~~^~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fileio.c:606:51: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 606 | if (!strcmp(attrName, strings[i].attrnames[j])) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fileio.c:5: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: fileio.c: In function 'DefaultOptions': BUILDSTDERR: fileio.c:624:2: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] BUILDSTDERR: 624 | memset(options, 0, NUM_OPTIONS); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from editor/editor.c:93: BUILDSTDERR: editor/editor.c: In function 'chgcurautoblock': BUILDSTDERR: editor/autoblock.c:71:9: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 71 | return &block[index]; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/autoblock.c:62:6: note: 'block' was declared here BUILDSTDERR: 62 | int *block; BUILDSTDERR: | ^~~~~ BUILDSTDERR: editor/autoblock.c:71:9: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 71 | return &block[index]; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/autoblock.c:62:6: note: 'block' was declared here BUILDSTDERR: 62 | int *block; BUILDSTDERR: | ^~~~~ BUILDSTDERR: palette.c: In function 'pal_fade': BUILDSTDERR: palette.c:79:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 79 | r = palette[c].r[isdark]; BUILDSTDERR: | ^ BUILDSTDERR: palette.c:80:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 80 | g = palette[c].g[isdark]; BUILDSTDERR: | ^ BUILDSTDERR: palette.c:81:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 81 | b = palette[c].b[isdark]; BUILDSTDERR: | ^ BUILDSTDERR: palette.c: In function 'pal_getcolor': BUILDSTDERR: palette.c:167:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 167 | if (palette[i].r[isdark]==r &&\ BUILDSTDERR: | ^ BUILDSTDERR: palette.c:168:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 168 | palette[i].g[isdark]==g &&\ BUILDSTDERR: | ^ BUILDSTDERR: palette.c:169:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 169 | palette[i].b[isdark]==b) BUILDSTDERR: | ^ BUILDSTDERR: fonts.c: In function 'font_draw': BUILDSTDERR: fonts.c:8:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 8 | int len = strlen(text); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from fonts.c:2: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: editor/autoblock.c: In function 'getautoblock': BUILDSTDERR: editor/autoblock.c:71:9: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 71 | return &block[index]; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: misc.c: In function 'drawkeensleft': BUILDSTDERR: misc.c:354:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 354 | font_draw(getstring("LIVES_LEFT_BACKGROUND"),(KEENSLEFT_X+1)*8,(boxY+1)*8,drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:10: BUILDSTDERR: misc.fdh:47:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 47 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc.c:355:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 355 | font_draw(getstring("LIVES_LEFT"),((KEENSLEFT_X+7)*8)+4,(boxY+1)*8,drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc.c:10: BUILDSTDERR: misc.fdh:47:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 47 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c: In function 'ShipEp3': BUILDSTDERR: misc_ui.c:136:8: warning: type defaults to 'int' in declaration of 'lastpick' [-Wimplicit-int] BUILDSTDERR: 136 | static lastpick = -1; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: misc_ui.c: In function 'DrawStatusBox': BUILDSTDERR: misc_ui.c:164:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 164 | font_draw(tempbuf, (statX+12-strlen(tempbuf))<<3, (statY+2)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:169:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 169 | font_draw(tempbuf, (statX+28-strlen(tempbuf))<<3, (statY+2)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c: In function 'inventory_draw_ep1': BUILDSTDERR: misc_ui.c:191:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 191 | font_draw(getstring("EP1_StatusBox"), (statX+1)<<3, (statY+1)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c: In function 'inventory_draw_ep2': BUILDSTDERR: misc_ui.c:231:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 231 | font_draw(getstring("EP2_StatusBox"), (statX+1)<<3, (statY+1)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:239:50: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 239 | if (levelcontrol.levels_completed[4]) font_draw(getstring("EP2_LVL4_TargetName"), (statX+1)<<3, (statY+8)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:240:50: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 240 | if (levelcontrol.levels_completed[6]) font_draw(getstring("EP2_LVL6_TargetName"), (statX+8)<<3, (statY+8)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:241:50: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 241 | if (levelcontrol.levels_completed[7]) font_draw(getstring("EP2_LVL7_TargetName"), (statX+1)<<3, (statY+9)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:242:51: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 242 | if (levelcontrol.levels_completed[11]) font_draw(getstring("EP2_LVL11_TargetName"), (statX+1)<<3, (statY+10)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:243:50: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 243 | if (levelcontrol.levels_completed[9]) font_draw(getstring("EP2_LVL9_TargetName"), (statX+8)<<3, (statY+10)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:244:51: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 244 | if (levelcontrol.levels_completed[13]) font_draw(getstring("EP2_LVL13_TargetName"), (statX+1)<<3, (statY+11)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:245:51: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 245 | if (levelcontrol.levels_completed[15]) font_draw(getstring("EP2_LVL15_TargetName"), (statX+8)<<3, (statY+9)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:246:51: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 246 | if (levelcontrol.levels_completed[16]) font_draw(getstring("EP2_LVL16_TargetName"), (statX+8)<<3, (statY+11)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:255:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 255 | font_draw(tempbuf, (statX+27-strlen(tempbuf))<<3, ((statY+5)<<3)-1, drawcharacter); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c: In function 'inventory_draw_ep3': BUILDSTDERR: misc_ui.c:268:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 268 | font_draw(getstring("EP3_StatusBox"), (statX+1)<<3, (statY+1)<<3, drawcharacter); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c:275:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 275 | font_draw(tempbuf, (statX+8)<<3, ((statY+8)<<3)+7, drawcharacter); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: misc_ui.c: In function 'showcharges_ep13': BUILDSTDERR: misc_ui.c:299:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 299 | font_draw(tempbuf, x, y, drawcharacter); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from misc_ui.c:3: BUILDSTDERR: misc_ui.fdh:27:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 27 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: graphicmaker.c: In function 'Make_Font_Clear': BUILDSTDERR: graphicmaker.c:88:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 88 | if (xa==-1 && x==0 || ya==-1 && y==0) goto onedge; BUILDSTDERR: | ~~~~~~~^~~~~~~ BUILDSTDERR: graphicmaker.c:89:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 89 | if (xa==1 && x==7 || ya==1 && y==7) goto onedge; BUILDSTDERR: | ~~~~~~^~~~~~~ BUILDSTDERR: game.c: In function 'keen_get_goodie': BUILDSTDERR: game.c:1156:5: warning: 'isUnknown' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1156 | if (isUnknown && !tiles[t].pickupable) BUILDSTDERR: | ^ BUILDSTDERR: ini.c: In function 'BufferIni': BUILDSTDERR: ini.c:46:9: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] BUILDSTDERR: 46 | fgets(line, sizeof(line)-1, fp); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from ini.c:4: BUILDSTDERR: /usr/include/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: ini.c:48:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 48 | while(line[strlen(line)-1]==13||line[strlen(line)-1]==10) line[strlen(line)-1]=0; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from ini.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ini.c:48:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 48 | while(line[strlen(line)-1]==13||line[strlen(line)-1]==10) line[strlen(line)-1]=0; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from ini.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ini.c:48:73: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 48 | while(line[strlen(line)-1]==13||line[strlen(line)-1]==10) line[strlen(line)-1]=0; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from ini.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ini.c:53:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 53 | if ((linebuf[nIniLines]=(char *)malloc(strlen(line) + 1))==NULL) BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from ini.c:5: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: ini.c:59:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 59 | strcpy(linebuf[nIniLines], line); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from ini.c:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ make: Entering directory '/builddir/build/BUILD/keen/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c main.c -o main.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c sanity.c -o sanity.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c game.c -o game.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c gamedo.c -o gamedo.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c gamepdo.c -o gamepdo.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c gamepdo_wm.c -o gamepdo_wm.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c editor/editor.c -o editor/editor.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c editor/autolight.c -o editor/autolight.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c console.c -o console.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c fileio.c -o fileio.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c maploader.c -o maploader.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c map.c -o map.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c graphics.c -o graphics.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c palette.c -o palette.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c fonts.c -o fonts.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c misc.c -o misc.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c misc_ui.c -o misc_ui.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c graphicmaker.c -o graphicmaker.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ini.c -o ini.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c intro.c -o intro.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c menumanager.c -o menumanager.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c menu_options.c -o menu_options.o BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-ini.c:46:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 46 | fgets(line, sizeof(line)-1, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc_ui.c: In function 'Show_Ysiym': BUILDSTDERR: misc_ui.c:64:26: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 39 [-Wformat-overflow=] BUILDSTDERR: 64 | sprintf(msgname, "%s_%d_%02x%02x", prefix, levelcontrol.curlevel, mpx, mpy); BUILDSTDERR: | ^~ BUILDSTDERR: misc_ui.c:64:22: note: using the range [0, 4294967295] for directive argument BUILDSTDERR: 64 | sprintf(msgname, "%s_%d_%02x%02x", prefix, levelcontrol.curlevel, mpx, mpy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: misc_ui.c:64:22: note: using the range [0, 4294967295] for directive argument BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from misc_ui.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 69 bytes into a destination of size 40 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc_ui.c:68:24: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 39 [-Wformat-overflow=] BUILDSTDERR: 68 | sprintf(msgname, "%s_%d", prefix, levelcontrol.curlevel); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from misc_ui.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 52 bytes into a destination of size 40 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: misc_ui.c:72:24: warning: '_DEFAULT' directive writing 8 bytes into a region of size between 1 and 40 [-Wformat-overflow=] BUILDSTDERR: 72 | sprintf(msgname, "%s_DEFAULT", prefix); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from misc_ui.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 9 and 48 bytes into a destination of size 40 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: intro.c: In function 'intro': BUILDSTDERR: intro.c:47:7: warning: unused variable 'ScrollTextErase' [-Wunused-variable] BUILDSTDERR: 47 | char *ScrollTextErase = " "; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: intro.c:34:14: warning: variable 'y4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 34 | int y1,y2,y3,y4; BUILDSTDERR: | ^~ BUILDSTDERR: intro.c:33:14: warning: variable 'x4' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 33 | int x1,x2,x3,x4; BUILDSTDERR: | ^~ BUILDSTDERR: intro.c:33:11: warning: variable 'x3' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 33 | int x1,x2,x3,x4; BUILDSTDERR: | ^~ BUILDSTDERR: intro.c:33:8: warning: variable 'x2' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 33 | int x1,x2,x3,x4; BUILDSTDERR: | ^~ BUILDSTDERR: intro.c:33:5: warning: variable 'x1' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 33 | int x1,x2,x3,x4; BUILDSTDERR: | ^~ BUILDSTDERR: intro.c:23:5: warning: unused variable 'xb' [-Wunused-variable] BUILDSTDERR: 23 | int xb,yb; BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:12:29: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 12 | uchar *option_menu[MAXM] = {(6*8)+2,2, 8, options_savestate, SaveOptions, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:12:29: note: (near initialization for 'option_menu[0]') BUILDSTDERR: menu_options.c:12:37: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 12 | uchar *option_menu[MAXM] = {(6*8)+2,2, 8, options_savestate, SaveOptions, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:12:37: note: (near initialization for 'option_menu[1]') BUILDSTDERR: menu_options.c:12:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 12 | uchar *option_menu[MAXM] = {(6*8)+2,2, 8, options_savestate, SaveOptions, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:12:41: note: (near initialization for 'option_menu[2]') BUILDSTDERR: menu_options.c:12:44: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 12 | uchar *option_menu[MAXM] = {(6*8)+2,2, 8, options_savestate, SaveOptions, NULL, NULL, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:12:44: note: (near initialization for 'option_menu[3]') BUILDSTDERR: menu_options.c:12:63: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 12 | uchar *option_menu[MAXM] = {(6*8)+2,2, 8, options_savestate, SaveOptions, NULL, NULL, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_options.c:12:63: note: (near initialization for 'option_menu[4]') BUILDSTDERR: menu_options.c:13:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 13 | "Render Mode", MNU_DYNAMICTEXT, SetRenderMode, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:13:6: note: (near initialization for 'option_menu[7]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:13:21: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 13 | "Render Mode", MNU_DYNAMICTEXT, SetRenderMode, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[8]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:13:21: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 13 | "Render Mode", MNU_DYNAMICTEXT, SetRenderMode, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:13:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, char)' [-Wincompatible-pointer-types] BUILDSTDERR: 13 | "Render Mode", MNU_DYNAMICTEXT, SetRenderMode, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:13:38: note: (near initialization for 'option_menu[9]') BUILDSTDERR: menu_options.c:14:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 14 | "Render FPS", MNU_DYNAMICTEXT, SetRenderFPS, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:14:6: note: (near initialization for 'option_menu[11]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:14:20: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 14 | "Render FPS", MNU_DYNAMICTEXT, SetRenderFPS, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[12]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:14:20: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 14 | "Render FPS", MNU_DYNAMICTEXT, SetRenderFPS, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:14:37: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, char)' [-Wincompatible-pointer-types] BUILDSTDERR: 14 | "Render FPS", MNU_DYNAMICTEXT, SetRenderFPS, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:14:37: note: (near initialization for 'option_menu[13]') BUILDSTDERR: menu_options.c:15:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 15 | "P1 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P1COLOR, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_options.c:15:6: note: (near initialization for 'option_menu[15]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:15:18: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 15 | "P1 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P1COLOR, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[16]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:15:18: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 15 | "P1 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P1COLOR, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:15:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, char)' [-Wincompatible-pointer-types] BUILDSTDERR: 15 | "P1 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P1COLOR, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menu_options.c:15:35: note: (near initialization for 'option_menu[17]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:297:24: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 297 | #define OPT_P1COLOR 18 // player 1 color BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:15:46: note: in expansion of macro 'OPT_P1COLOR' BUILDSTDERR: 15 | "P1 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P1COLOR, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: keen.h:297:24: note: (near initialization for 'option_menu[18]') BUILDSTDERR: 297 | #define OPT_P1COLOR 18 // player 1 color BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:15:46: note: in expansion of macro 'OPT_P1COLOR' BUILDSTDERR: 15 | "P1 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P1COLOR, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_options.c:16:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 16 | "P2 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P2COLOR, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_options.c:16:6: note: (near initialization for 'option_menu[19]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:16:18: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 16 | "P2 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P2COLOR, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[20]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:16:18: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 16 | "P2 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P2COLOR, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:16:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, char)' [-Wincompatible-pointer-types] BUILDSTDERR: 16 | "P2 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P2COLOR, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menu_options.c:16:35: note: (near initialization for 'option_menu[21]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:298:24: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 298 | #define OPT_P2COLOR 19 // player 2 color BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:16:46: note: in expansion of macro 'OPT_P2COLOR' BUILDSTDERR: 16 | "P2 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P2COLOR, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: keen.h:298:24: note: (near initialization for 'option_menu[22]') BUILDSTDERR: 298 | #define OPT_P2COLOR 19 // player 2 color BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:16:46: note: in expansion of macro 'OPT_P2COLOR' BUILDSTDERR: 16 | "P2 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P2COLOR, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_options.c:17:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 17 | "Input P2...", MNU_SWITCHMENU, keysetup_menu2, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:17:6: note: (near initialization for 'option_menu[23]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:17:21: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 17 | "Input P2...", MNU_SWITCHMENU, keysetup_menu2, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'option_menu[24]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:17:21: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 17 | "Input P2...", MNU_SWITCHMENU, keysetup_menu2, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:17:37: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 17 | "Input P2...", MNU_SWITCHMENU, keysetup_menu2, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:17:37: note: (near initialization for 'option_menu[25]') BUILDSTDERR: menu_options.c:18:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 18 | "Input P1...", MNU_SWITCHMENU, keysetup_menu1, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:18:6: note: (near initialization for 'option_menu[27]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:18:21: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 18 | "Input P1...", MNU_SWITCHMENU, keysetup_menu1, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'option_menu[28]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:18:21: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 18 | "Input P1...", MNU_SWITCHMENU, keysetup_menu1, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:18:37: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 18 | "Input P1...", MNU_SWITCHMENU, keysetup_menu1, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:18:37: note: (near initialization for 'option_menu[29]') BUILDSTDERR: menu_options.c:19:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 19 | " Fullscreen", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLSCREEN, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:19:6: note: (near initialization for 'option_menu[31]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:19:22: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 19 | " Fullscreen", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLSCREEN, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[32]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:19:22: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 19 | " Fullscreen", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLSCREEN, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:19:39: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 19 | " Fullscreen", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLSCREEN, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:19:39: note: (near initialization for 'option_menu[33]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:286:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 286 | #define OPT_FULLSCREEN 7 // 1=full screen mode BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:19:53: note: in expansion of macro 'OPT_FULLSCREEN' BUILDSTDERR: 19 | " Fullscreen", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLSCREEN, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: keen.h:286:33: note: (near initialization for 'option_menu[34]') BUILDSTDERR: 286 | #define OPT_FULLSCREEN 7 // 1=full screen mode BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:19:53: note: in expansion of macro 'OPT_FULLSCREEN' BUILDSTDERR: 19 | " Fullscreen", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLSCREEN, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:22:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 22 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:22:6: note: (near initialization for 'option_menu[35]') BUILDSTDERR: menu_options.c:23:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 23 | " 2-Button Firing", MNU_DYNAMICTEXT, OptionSetter, OPT_2BUTTONFIRING, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:23:6: note: (near initialization for 'option_menu[39]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:23:27: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 23 | " 2-Button Firing", MNU_DYNAMICTEXT, OptionSetter, OPT_2BUTTONFIRING, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[40]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:23:27: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 23 | " 2-Button Firing", MNU_DYNAMICTEXT, OptionSetter, OPT_2BUTTONFIRING, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:23:44: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 23 | " 2-Button Firing", MNU_DYNAMICTEXT, OptionSetter, OPT_2BUTTONFIRING, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:23:44: note: (near initialization for 'option_menu[41]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:280:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 280 | #define OPT_2BUTTONFIRING 1 // 1=standard ctrl+alt fire, 0=space fire BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:23:58: note: in expansion of macro 'OPT_2BUTTONFIRING' BUILDSTDERR: 23 | " 2-Button Firing", MNU_DYNAMICTEXT, OptionSetter, OPT_2BUTTONFIRING, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: keen.h:280:28: note: (near initialization for 'option_menu[42]') BUILDSTDERR: 280 | #define OPT_2BUTTONFIRING 1 // 1=standard ctrl+alt fire, 0=space fire BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:23:58: note: in expansion of macro 'OPT_2BUTTONFIRING' BUILDSTDERR: 23 | " 2-Button Firing", MNU_DYNAMICTEXT, OptionSetter, OPT_2BUTTONFIRING, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:24:41: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 24 | " Fully Automatic Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:24:41: note: (near initialization for 'option_menu[43]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:24:69: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 24 | " Fully Automatic Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[44]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:24:69: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 24 | " Fully Automatic Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:24:86: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 24 | " Fully Automatic Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:24:86: note: (near initialization for 'option_menu[45]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:281:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 281 | #define OPT_FULLYAUTOMATIC 2 // 1=fully automatic raygun BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:24:100: note: in expansion of macro 'OPT_FULLYAUTOMATIC' BUILDSTDERR: 24 | " Fully Automatic Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: keen.h:281:33: note: (near initialization for 'option_menu[46]') BUILDSTDERR: 281 | #define OPT_FULLYAUTOMATIC 2 // 1=fully automatic raygun BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:24:100: note: in expansion of macro 'OPT_FULLYAUTOMATIC' BUILDSTDERR: 24 | " Fully Automatic Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:25:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | " Super Pogo", MNU_DYNAMICTEXT, OptionSetter, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:25:6: note: (near initialization for 'option_menu[47]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:25:22: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 25 | " Super Pogo", MNU_DYNAMICTEXT, OptionSetter, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[48]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:25:22: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 25 | " Super Pogo", MNU_DYNAMICTEXT, OptionSetter, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:25:39: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 25 | " Super Pogo", MNU_DYNAMICTEXT, OptionSetter, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:25:39: note: (near initialization for 'option_menu[49]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:282:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 282 | #define OPT_SUPERPOGO 3 // 1=pogo jumps really high BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:25:53: note: in expansion of macro 'OPT_SUPERPOGO' BUILDSTDERR: 25 | " Super Pogo", MNU_DYNAMICTEXT, OptionSetter, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: keen.h:282:33: note: (near initialization for 'option_menu[50]') BUILDSTDERR: 282 | #define OPT_SUPERPOGO 3 // 1=pogo jumps really high BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:25:53: note: in expansion of macro 'OPT_SUPERPOGO' BUILDSTDERR: 25 | " Super Pogo", MNU_DYNAMICTEXT, OptionSetter, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:26:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 26 | " Enable Cheats", MNU_DYNAMICTEXT, OptionSetter, OPT_CHEATS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:26:6: note: (near initialization for 'option_menu[51]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:26:25: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 26 | " Enable Cheats", MNU_DYNAMICTEXT, OptionSetter, OPT_CHEATS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[52]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:26:25: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 26 | " Enable Cheats", MNU_DYNAMICTEXT, OptionSetter, OPT_CHEATS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:26:42: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 26 | " Enable Cheats", MNU_DYNAMICTEXT, OptionSetter, OPT_CHEATS, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:26:42: note: (near initialization for 'option_menu[53]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:285:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 285 | #define OPT_CHEATS 6 // 1=enable clonekeen-specific cheats BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:26:56: note: in expansion of macro 'OPT_CHEATS' BUILDSTDERR: 26 | " Enable Cheats", MNU_DYNAMICTEXT, OptionSetter, OPT_CHEATS, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: keen.h:285:33: note: (near initialization for 'option_menu[54]') BUILDSTDERR: 285 | #define OPT_CHEATS 6 // 1=enable clonekeen-specific cheats BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:26:56: note: in expansion of macro 'OPT_CHEATS' BUILDSTDERR: 26 | " Enable Cheats", MNU_DYNAMICTEXT, OptionSetter, OPT_CHEATS, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_options.c:27:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 27 | " Show Bonus Points", MNU_DYNAMICTEXT, OptionSetter, OPT_RISEBONUS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:27:6: note: (near initialization for 'option_menu[55]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:27:29: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 27 | " Show Bonus Points", MNU_DYNAMICTEXT, OptionSetter, OPT_RISEBONUS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[56]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:27:29: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 27 | " Show Bonus Points", MNU_DYNAMICTEXT, OptionSetter, OPT_RISEBONUS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:27:46: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 27 | " Show Bonus Points", MNU_DYNAMICTEXT, OptionSetter, OPT_RISEBONUS, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:27:46: note: (near initialization for 'option_menu[57]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:291:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 291 | #define OPT_RISEBONUS 12 // 1=show rising bonus points BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:27:60: note: in expansion of macro 'OPT_RISEBONUS' BUILDSTDERR: 27 | " Show Bonus Points", MNU_DYNAMICTEXT, OptionSetter, OPT_RISEBONUS, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: keen.h:291:25: note: (near initialization for 'option_menu[58]') BUILDSTDERR: 291 | #define OPT_RISEBONUS 12 // 1=show rising bonus points BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:27:60: note: in expansion of macro 'OPT_RISEBONUS' BUILDSTDERR: 27 | " Show Bonus Points", MNU_DYNAMICTEXT, OptionSetter, OPT_RISEBONUS, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:28:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 28 | " Show OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWOSD, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:28:6: note: (near initialization for 'option_menu[59]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:28:20: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 28 | " Show OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWOSD, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[60]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:28:20: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 28 | " Show OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWOSD, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:28:37: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 28 | " Show OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWOSD, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:28:37: note: (near initialization for 'option_menu[61]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:292:24: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 292 | #define OPT_SHOWOSD 13 // 1=show OSD BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:28:51: note: in expansion of macro 'OPT_SHOWOSD' BUILDSTDERR: 28 | " Show OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWOSD, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: keen.h:292:24: note: (near initialization for 'option_menu[62]') BUILDSTDERR: 292 | #define OPT_SHOWOSD 13 // 1=show OSD BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:28:51: note: in expansion of macro 'OPT_SHOWOSD' BUILDSTDERR: 28 | " Show OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWOSD, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_options.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 29 | " Show Score in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWSCORE, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:29:6: note: (near initialization for 'option_menu[63]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:29:29: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 29 | " Show Score in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWSCORE, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[64]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:29:29: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 29 | " Show Score in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWSCORE, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:29:46: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 29 | " Show Score in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWSCORE, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:29:46: note: (near initialization for 'option_menu[65]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:293:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 293 | #define OPT_SHOWSCORE 14 // 1=show score in OSD BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:29:60: note: in expansion of macro 'OPT_SHOWSCORE' BUILDSTDERR: 29 | " Show Score in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWSCORE, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: keen.h:293:25: note: (near initialization for 'option_menu[66]') BUILDSTDERR: 293 | #define OPT_SHOWSCORE 14 // 1=show score in OSD BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:29:60: note: in expansion of macro 'OPT_SHOWSCORE' BUILDSTDERR: 29 | " Show Score in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWSCORE, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:30:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 30 | " Show Cards in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWCARDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:30:6: note: (near initialization for 'option_menu[67]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:30:29: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 30 | " Show Cards in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWCARDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[68]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:30:29: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 30 | " Show Cards in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWCARDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:30:46: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 30 | " Show Cards in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWCARDS, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:30:46: note: (near initialization for 'option_menu[69]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:294:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 294 | #define OPT_SHOWCARDS 15 // 1=show cards in OSD BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:30:60: note: in expansion of macro 'OPT_SHOWCARDS' BUILDSTDERR: 30 | " Show Cards in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWCARDS, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: keen.h:294:25: note: (near initialization for 'option_menu[70]') BUILDSTDERR: 294 | #define OPT_SHOWCARDS 15 // 1=show cards in OSD BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:30:60: note: in expansion of macro 'OPT_SHOWCARDS' BUILDSTDERR: 30 | " Show Cards in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWCARDS, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:31:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 31 | " Doors Block Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:31:6: note: (near initialization for 'option_menu[71]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:31:30: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 31 | " Doors Block Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[72]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:31:30: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 31 | " Doors Block Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:31:47: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 31 | " Doors Block Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:31:47: note: (near initialization for 'option_menu[73]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:295:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 295 | #define OPT_DOORSBLOCKRAY 16 // 1=can't shoot through locked doors BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:31:61: note: in expansion of macro 'OPT_DOORSBLOCKRAY' BUILDSTDERR: 31 | " Doors Block Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: keen.h:295:28: note: (near initialization for 'option_menu[74]') BUILDSTDERR: 295 | #define OPT_DOORSBLOCKRAY 16 // 1=can't shoot through locked doors BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:31:61: note: in expansion of macro 'OPT_DOORSBLOCKRAY' BUILDSTDERR: 31 | " Doors Block Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:32:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 32 | " Quiet in Demo", MNU_DYNAMICTEXT, OptionSetter, OPT_SOUNDOFFINDEMO, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:32:6: note: (near initialization for 'option_menu[75]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:32:25: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 32 | " Quiet in Demo", MNU_DYNAMICTEXT, OptionSetter, OPT_SOUNDOFFINDEMO, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[76]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:32:25: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 32 | " Quiet in Demo", MNU_DYNAMICTEXT, OptionSetter, OPT_SOUNDOFFINDEMO, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:32:42: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 32 | " Quiet in Demo", MNU_DYNAMICTEXT, OptionSetter, OPT_SOUNDOFFINDEMO, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:32:42: note: (near initialization for 'option_menu[77]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:296:29: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 296 | #define OPT_SOUNDOFFINDEMO 17 // no sound during demo BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:32:56: note: in expansion of macro 'OPT_SOUNDOFFINDEMO' BUILDSTDERR: 32 | " Quiet in Demo", MNU_DYNAMICTEXT, OptionSetter, OPT_SOUNDOFFINDEMO, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: keen.h:296:29: note: (near initialization for 'option_menu[78]') BUILDSTDERR: 296 | #define OPT_SOUNDOFFINDEMO 17 // no sound during demo BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:32:56: note: in expansion of macro 'OPT_SOUNDOFFINDEMO' BUILDSTDERR: 32 | " Quiet in Demo", MNU_DYNAMICTEXT, OptionSetter, OPT_SOUNDOFFINDEMO, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:33:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 33 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:33:6: note: (near initialization for 'option_menu[79]') BUILDSTDERR: menu_options.c:34:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 34 | " Increase Difficulty", MNU_DYNAMICTEXT, OptionSetter, OPT_HARD, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:34:6: note: (near initialization for 'option_menu[83]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:34:31: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 34 | " Increase Difficulty", MNU_DYNAMICTEXT, OptionSetter, OPT_HARD, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[84]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:34:31: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 34 | " Increase Difficulty", MNU_DYNAMICTEXT, OptionSetter, OPT_HARD, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:34:48: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 34 | " Increase Difficulty", MNU_DYNAMICTEXT, OptionSetter, OPT_HARD, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:34:48: note: (near initialization for 'option_menu[85]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:283:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 283 | #define OPT_HARD 4 // 1=increase difficulty BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:34:62: note: in expansion of macro 'OPT_HARD' BUILDSTDERR: 34 | " Increase Difficulty", MNU_DYNAMICTEXT, OptionSetter, OPT_HARD, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: keen.h:283:33: note: (near initialization for 'option_menu[86]') BUILDSTDERR: 283 | #define OPT_HARD 4 // 1=increase difficulty BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:34:62: note: in expansion of macro 'OPT_HARD' BUILDSTDERR: 34 | " Increase Difficulty", MNU_DYNAMICTEXT, OptionSetter, OPT_HARD, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_options.c:35:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 35 | " Must Kill All Yorps", MNU_DYNAMICTEXT, OptionSetter, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:35:6: note: (near initialization for 'option_menu[87]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:35:31: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 35 | " Must Kill All Yorps", MNU_DYNAMICTEXT, OptionSetter, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[88]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:35:31: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 35 | " Must Kill All Yorps", MNU_DYNAMICTEXT, OptionSetter, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:35:48: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 35 | " Must Kill All Yorps", MNU_DYNAMICTEXT, OptionSetter, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:35:48: note: (near initialization for 'option_menu[89]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:289:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 289 | #define OPT_MUSTKILLYORPS 10 // 1=must kill yorps to leave level BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:35:62: note: in expansion of macro 'OPT_MUSTKILLYORPS' BUILDSTDERR: 35 | " Must Kill All Yorps", MNU_DYNAMICTEXT, OptionSetter, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: keen.h:289:28: note: (near initialization for 'option_menu[90]') BUILDSTDERR: 289 | #define OPT_MUSTKILLYORPS 10 // 1=must kill yorps to leave level BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:35:62: note: in expansion of macro 'OPT_MUSTKILLYORPS' BUILDSTDERR: 35 | " Must Kill All Yorps", MNU_DYNAMICTEXT, OptionSetter, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:36:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 36 | " Give Yorps Shields", MNU_DYNAMICTEXT, OptionSetter, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:36:6: note: (near initialization for 'option_menu[91]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:36:30: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 36 | " Give Yorps Shields", MNU_DYNAMICTEXT, OptionSetter, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'option_menu[92]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:36:30: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 36 | " Give Yorps Shields", MNU_DYNAMICTEXT, OptionSetter, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:36:47: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 36 | " Give Yorps Shields", MNU_DYNAMICTEXT, OptionSetter, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_options.c:36:47: note: (near initialization for 'option_menu[93]') BUILDSTDERR: In file included from menu_options.c:3: BUILDSTDERR: keen.h:290:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 290 | #define OPT_YORPFORCEFIELDS 11 // 1=must stun yorps to kill them BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:36:61: note: in expansion of macro 'OPT_YORPFORCEFIELDS' BUILDSTDERR: 36 | " Give Yorps Shields", MNU_DYNAMICTEXT, OptionSetter, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: keen.h:290:30: note: (near initialization for 'option_menu[94]') BUILDSTDERR: 290 | #define OPT_YORPFORCEFIELDS 11 // 1=must stun yorps to kill them BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:36:61: note: in expansion of macro 'OPT_YORPFORCEFIELDS' BUILDSTDERR: 36 | " Give Yorps Shields", MNU_DYNAMICTEXT, OptionSetter, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:37:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 37 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_options.c:37:6: note: (near initialization for 'option_menu[95]') BUILDSTDERR: menu_options.c:38:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 38 | "Accept", MNU_CALLFP, opthandler_accept, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_options.c:38:6: note: (near initialization for 'option_menu[99]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:38:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 38 | "Accept", MNU_CALLFP, opthandler_accept, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'option_menu[100]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:38:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 38 | "Accept", MNU_CALLFP, opthandler_accept, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_options.c:38:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 38 | "Accept", MNU_CALLFP, opthandler_accept, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:38:28: note: (near initialization for 'option_menu[101]') BUILDSTDERR: menu_options.c:39:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 39 | "Cancel", MNU_CALLFP, opthandler_cancel, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_options.c:39:6: note: (near initialization for 'option_menu[103]') BUILDSTDERR: In file included from menu_options.c:5: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:39:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 39 | "Cancel", MNU_CALLFP, opthandler_cancel, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'option_menu[104]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:39:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 39 | "Cancel", MNU_CALLFP, opthandler_cancel, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_options.c:39:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 39 | "Cancel", MNU_CALLFP, opthandler_cancel, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_options.c:39:28: note: (near initialization for 'option_menu[105]') BUILDSTDERR: menu_options.c: In function 'SetPColor': BUILDSTDERR: menu_options.c:88:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 88 | switch(options[param]) BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:101:10: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 101 | options[param]++; BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:102:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 102 | if (options[param] >= PCOLOR_LAST) options[param] = 0; BUILDSTDERR: | ^ BUILDSTDERR: menu_options.c:102:45: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 102 | if (options[param] >= PCOLOR_LAST) options[param] = 0; BUILDSTDERR: | ^ BUILDSTDERR: In file included from menu.h:92, BUILDSTDERR: from menu_options.c:5: BUILDSTDERR: menu_options.c: At top level: BUILDSTDERR: menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 36 | void static SelectCorrectMM(void); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 37 | void static DrawMenuText(void); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 42 | void static DrawLogo(void); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 45 | void static move_down(void); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 46 | void static move_up(void); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 49 | char static goto_epmenu(int numplayers); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 50 | char static mmhandler_newgame(int episode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 51 | char static mmhandler_endgame(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 52 | char static mmhandler_restartlevel(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 53 | char static mmhandler_quit(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 54 | char static mmhandler_quit2(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:16:27: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 16 | uchar *main_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:16:27: note: (near initialization for 'main_menu[0]') BUILDSTDERR: menumanager.c:16:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 16 | uchar *main_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:16:30: note: (near initialization for 'main_menu[1]') BUILDSTDERR: menumanager.c:17:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 17 | "1-Player Game", MNU_CALLFP, goto_epmenu, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:17:6: note: (near initialization for 'main_menu[7]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:17:23: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 17 | "1-Player Game", MNU_CALLFP, goto_epmenu, 1, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'main_menu[8]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:17:23: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 17 | "1-Player Game", MNU_CALLFP, goto_epmenu, 1, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:17:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 17 | "1-Player Game", MNU_CALLFP, goto_epmenu, 1, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:17:35: note: (near initialization for 'main_menu[9]') BUILDSTDERR: menumanager.c:17:48: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 17 | "1-Player Game", MNU_CALLFP, goto_epmenu, 1, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:17:48: note: (near initialization for 'main_menu[10]') BUILDSTDERR: menumanager.c:18:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 18 | "2-Player Game", MNU_CALLFP, goto_epmenu, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:18:6: note: (near initialization for 'main_menu[11]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:18:23: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 18 | "2-Player Game", MNU_CALLFP, goto_epmenu, 2, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'main_menu[12]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:18:23: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 18 | "2-Player Game", MNU_CALLFP, goto_epmenu, 2, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:18:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 18 | "2-Player Game", MNU_CALLFP, goto_epmenu, 2, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:18:35: note: (near initialization for 'main_menu[13]') BUILDSTDERR: menumanager.c:18:48: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 18 | "2-Player Game", MNU_CALLFP, goto_epmenu, 2, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:18:48: note: (near initialization for 'main_menu[14]') BUILDSTDERR: menumanager.c:19:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 19 | "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menumanager.c:19:6: note: (near initialization for 'main_menu[15]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:19:16: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 19 | "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'main_menu[16]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:19:16: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 19 | "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:19:32: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 19 | "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:19:32: note: (near initialization for 'main_menu[17]') BUILDSTDERR: menumanager.c:20:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 20 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:20:6: note: (near initialization for 'main_menu[19]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:20:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 20 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'main_menu[20]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:20:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 20 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:20:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 20 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:20:35: note: (near initialization for 'main_menu[21]') BUILDSTDERR: menumanager.c:21:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 21 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.c:21:6: note: (near initialization for 'main_menu[23]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:21:17: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 21 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'main_menu[24]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:21:17: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 21 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:21:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 21 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:21:33: note: (near initialization for 'main_menu[25]') BUILDSTDERR: menumanager.c:22:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 22 | "About", MNU_SWITCHMENU, about_menu, 0, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menumanager.c:22:6: note: (near initialization for 'main_menu[27]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:22:15: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 22 | "About", MNU_SWITCHMENU, about_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'main_menu[28]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:22:15: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 22 | "About", MNU_SWITCHMENU, about_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:22:31: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 22 | "About", MNU_SWITCHMENU, about_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:22:31: note: (near initialization for 'main_menu[29]') BUILDSTDERR: menumanager.c:23:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 23 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:23:6: note: (near initialization for 'main_menu[31]') BUILDSTDERR: menumanager.c:24:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 24 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menumanager.c:24:6: note: (near initialization for 'main_menu[35]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:24:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 24 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'main_menu[36]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:24:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 24 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:24:26: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 24 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:24:26: note: (near initialization for 'main_menu[37]') BUILDSTDERR: menumanager.c:28:29: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 28 | uchar *ingame_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:28:29: note: (near initialization for 'ingame_menu[0]') BUILDSTDERR: menumanager.c:28:32: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 28 | uchar *ingame_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:28:32: note: (near initialization for 'ingame_menu[1]') BUILDSTDERR: menumanager.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 29 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:29:6: note: (near initialization for 'ingame_menu[7]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:29:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 29 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu[8]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:29:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 29 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:29:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 29 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:29:34: note: (near initialization for 'ingame_menu[9]') BUILDSTDERR: menumanager.c:30:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 30 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:30:6: note: (near initialization for 'ingame_menu[11]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:30:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 30 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu[12]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:30:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 30 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:30:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 30 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:30:35: note: (near initialization for 'ingame_menu[13]') BUILDSTDERR: menumanager.c:31:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 31 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:31:6: note: (near initialization for 'ingame_menu[15]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:31:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 31 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu[16]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:31:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 31 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:31:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 31 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:31:35: note: (near initialization for 'ingame_menu[17]') BUILDSTDERR: menumanager.c:32:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 32 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.c:32:6: note: (near initialization for 'ingame_menu[19]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:32:17: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 32 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu[20]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:32:17: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 32 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:32:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 32 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:32:33: note: (near initialization for 'ingame_menu[21]') BUILDSTDERR: menumanager.c:33:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 33 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:33:6: note: (near initialization for 'ingame_menu[23]') BUILDSTDERR: menumanager.c:34:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 34 | "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:34:6: note: (near initialization for 'ingame_menu[27]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:34:19: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 34 | "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'ingame_menu[28]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:34:19: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 34 | "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:34:31: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 34 | "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:34:31: note: (near initialization for 'ingame_menu[29]') BUILDSTDERR: menumanager.c:34:55: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 34 | "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:34:55: note: (near initialization for 'ingame_menu[30]') BUILDSTDERR: menumanager.c:35:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 35 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:35:6: note: (near initialization for 'ingame_menu[31]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:35:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 35 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu[32]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:35:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 35 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:35:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 35 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menumanager.c:35:34: note: (near initialization for 'ingame_menu[33]') BUILDSTDERR: menumanager.c:36:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 36 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menumanager.c:36:6: note: (near initialization for 'ingame_menu[35]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:36:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 36 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'ingame_menu[36]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:36:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 36 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:36:26: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 36 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:36:26: note: (near initialization for 'ingame_menu[37]') BUILDSTDERR: menumanager.c:40:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 40 | uchar *ingame_menu_norestart[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:40:39: note: (near initialization for 'ingame_menu_norestart[0]') BUILDSTDERR: menumanager.c:40:42: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 40 | uchar *ingame_menu_norestart[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:40:42: note: (near initialization for 'ingame_menu_norestart[1]') BUILDSTDERR: menumanager.c:41:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 41 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:41:6: note: (near initialization for 'ingame_menu_norestart[7]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:41:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 41 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[8]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:41:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 41 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:41:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 41 | "New Game", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:41:34: note: (near initialization for 'ingame_menu_norestart[9]') BUILDSTDERR: menumanager.c:42:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 42 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:42:6: note: (near initialization for 'ingame_menu_norestart[11]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:42:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 42 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[12]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:42:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 42 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:42:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 42 | "Save Game", MNU_SWITCHMENU, savegame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:42:35: note: (near initialization for 'ingame_menu_norestart[13]') BUILDSTDERR: menumanager.c:43:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 43 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:43:6: note: (near initialization for 'ingame_menu_norestart[15]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:43:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 43 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[16]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:43:19: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 43 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:43:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 43 | "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:43:35: note: (near initialization for 'ingame_menu_norestart[17]') BUILDSTDERR: menumanager.c:44:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 44 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.c:44:6: note: (near initialization for 'ingame_menu_norestart[19]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:44:17: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 44 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[20]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:44:17: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 44 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:44:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 44 | "Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.c:44:33: note: (near initialization for 'ingame_menu_norestart[21]') BUILDSTDERR: menumanager.c:45:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 45 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:45:6: note: (near initialization for 'ingame_menu_norestart[23]') BUILDSTDERR: menumanager.c:46:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 46 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:46:6: note: (near initialization for 'ingame_menu_norestart[27]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:46:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 46 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[28]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:46:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 46 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:46:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 46 | "End Game", MNU_SWITCHMENU, endgame_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menumanager.c:46:34: note: (near initialization for 'ingame_menu_norestart[29]') BUILDSTDERR: menumanager.c:47:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 47 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menumanager.c:47:6: note: (near initialization for 'ingame_menu_norestart[31]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:47:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 47 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'ingame_menu_norestart[32]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:47:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 47 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:47:26: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 47 | "Quit", MNU_CALLFP, mmhandler_quit, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:47:26: note: (near initialization for 'ingame_menu_norestart[33]') BUILDSTDERR: menumanager.c:51:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 51 | uchar *endgame_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:51:30: note: (near initialization for 'endgame_menu[0]') BUILDSTDERR: menumanager.c:51:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 51 | uchar *endgame_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~~ BUILDSTDERR: menumanager.c:51:33: note: (near initialization for 'endgame_menu[1]') BUILDSTDERR: menumanager.c:52:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 52 | "End the Game", MNU_CALLFP, mmhandler_endgame, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:52:6: note: (near initialization for 'endgame_menu[7]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:52:22: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 52 | "End the Game", MNU_CALLFP, mmhandler_endgame, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'endgame_menu[8]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:52:22: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 52 | "End the Game", MNU_CALLFP, mmhandler_endgame, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:52:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 52 | "End the Game", MNU_CALLFP, mmhandler_endgame, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:52:34: note: (near initialization for 'endgame_menu[9]') BUILDSTDERR: menumanager.c:53:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 53 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:53:6: note: (near initialization for 'endgame_menu[11]') BUILDSTDERR: menumanager.c:54:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 54 | "Play on!", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:54:6: note: (near initialization for 'endgame_menu[15]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:54:18: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 54 | "Play on!", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'endgame_menu[16]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:54:18: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 54 | "Play on!", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:54:30: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 54 | "Play on!", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menumanager.c:54:30: note: (near initialization for 'endgame_menu[17]') BUILDSTDERR: menumanager.c:58:27: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 58 | uchar *quit_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:58:27: note: (near initialization for 'quit_menu[0]') BUILDSTDERR: menumanager.c:58:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 58 | uchar *quit_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~~ BUILDSTDERR: menumanager.c:58:30: note: (near initialization for 'quit_menu[1]') BUILDSTDERR: menumanager.c:59:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 59 | "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:59:6: note: (near initialization for 'quit_menu[7]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:59:26: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 59 | "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'quit_menu[8]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:59:26: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 59 | "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:59:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 59 | "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:59:38: note: (near initialization for 'quit_menu[9]') BUILDSTDERR: menumanager.c:60:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 60 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:60:6: note: (near initialization for 'quit_menu[11]') BUILDSTDERR: menumanager.c:61:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 61 | "Play on!", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:61:6: note: (near initialization for 'quit_menu[15]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:61:18: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 61 | "Play on!", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'quit_menu[16]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:61:18: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 61 | "Play on!", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:61:30: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 61 | "Play on!", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menumanager.c:61:30: note: (near initialization for 'quit_menu[17]') BUILDSTDERR: menumanager.c:65:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 65 | uchar *selectep_menu[MAXM] = {5*8,90, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:65:31: note: (near initialization for 'selectep_menu[0]') BUILDSTDERR: menumanager.c:65:35: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 65 | uchar *selectep_menu[MAXM] = {5*8,90, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:65:35: note: (near initialization for 'selectep_menu[1]') BUILDSTDERR: menumanager.c:66:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 66 | "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:66:6: note: (near initialization for 'selectep_menu[7]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:66:35: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 66 | "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'selectep_menu[8]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:66:35: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 66 | "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:66:47: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 66 | "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:66:47: note: (near initialization for 'selectep_menu[9]') BUILDSTDERR: menumanager.c:66:66: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 66 | "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:66:66: note: (near initialization for 'selectep_menu[10]') BUILDSTDERR: menumanager.c:67:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 67 | "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:67:6: note: (near initialization for 'selectep_menu[11]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:67:28: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 67 | "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'selectep_menu[12]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:67:28: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 67 | "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:67:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 67 | "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:67:40: note: (near initialization for 'selectep_menu[13]') BUILDSTDERR: menumanager.c:67:59: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 67 | "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:67:59: note: (near initialization for 'selectep_menu[14]') BUILDSTDERR: menumanager.c:68:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 68 | "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:68:6: note: (near initialization for 'selectep_menu[15]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:68:24: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 68 | "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'selectep_menu[16]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:68:24: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 68 | "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menumanager.c:68:36: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 68 | "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:68:36: note: (near initialization for 'selectep_menu[17]') BUILDSTDERR: menumanager.c:68:55: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 68 | "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:68:55: note: (near initialization for 'selectep_menu[18]') BUILDSTDERR: menumanager.c:69:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 69 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:69:6: note: (near initialization for 'selectep_menu[19]') BUILDSTDERR: menumanager.c:70:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 70 | "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:70:6: note: (near initialization for 'selectep_menu[23]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:70:23: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 70 | "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'selectep_menu[24]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:70:23: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 70 | "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:70:39: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 70 | "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:70:39: note: (near initialization for 'selectep_menu[25]') BUILDSTDERR: menumanager.c:71:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 71 | "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:71:6: note: (near initialization for 'selectep_menu[27]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:71:27: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 71 | "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'selectep_menu[28]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:71:27: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 71 | "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:71:43: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 71 | "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.c:71:43: note: (near initialization for 'selectep_menu[29]') BUILDSTDERR: menumanager.c:71:54: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 71 | "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:71:54: note: (near initialization for 'selectep_menu[30]') BUILDSTDERR: menumanager.c:75:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 75 | uchar *about_menu[MAXM] = {-3,60, 0xff, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:75:28: note: (near initialization for 'about_menu[0]') BUILDSTDERR: menumanager.c:75:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 75 | uchar *about_menu[MAXM] = {-3,60, 0xff, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:75:31: note: (near initialization for 'about_menu[1]') BUILDSTDERR: menumanager.c:75:36: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 75 | uchar *about_menu[MAXM] = {-3,60, 0xff, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~~~ BUILDSTDERR: menumanager.c:75:36: note: (near initialization for 'about_menu[2]') BUILDSTDERR: In file included from menumanager.c:8: BUILDSTDERR: keen.h:8:20: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 8 | #define REVISION "CloneKeen version 8.4" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:76:6: note: in expansion of macro 'REVISION' BUILDSTDERR: 76 | REVISION, MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: keen.h:8:20: note: (near initialization for 'about_menu[7]') BUILDSTDERR: 8 | #define REVISION "CloneKeen version 8.4" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:76:6: note: in expansion of macro 'REVISION' BUILDSTDERR: 76 | REVISION, MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menumanager.c:77:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 77 | "by Caitlin Shaw", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:77:6: note: (near initialization for 'about_menu[11]') BUILDSTDERR: menumanager.c:78:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 78 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:78:6: note: (near initialization for 'about_menu[15]') BUILDSTDERR: In file included from menumanager.c:8: BUILDSTDERR: keen.h:17:21: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 17 | #define PORTEDBY1 "" BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:79:6: note: in expansion of macro 'PORTEDBY1' BUILDSTDERR: 79 | PORTEDBY1, MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: keen.h:17:21: note: (near initialization for 'about_menu[19]') BUILDSTDERR: 17 | #define PORTEDBY1 "" BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:79:6: note: in expansion of macro 'PORTEDBY1' BUILDSTDERR: 79 | PORTEDBY1, MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: keen.h:21:20: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 21 | #define PORTEDBY2 "" BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:80:6: note: in expansion of macro 'PORTEDBY2' BUILDSTDERR: 80 | PORTEDBY2, MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: keen.h:21:20: note: (near initialization for 'about_menu[23]') BUILDSTDERR: 21 | #define PORTEDBY2 "" BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:80:6: note: in expansion of macro 'PORTEDBY2' BUILDSTDERR: 80 | PORTEDBY2, MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.c:81:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 81 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:81:6: note: (near initialization for 'about_menu[27]') BUILDSTDERR: menumanager.c:82:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 82 | "Based on \"Invasion of the Vorticons\"", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:82:6: note: (near initialization for 'about_menu[31]') BUILDSTDERR: menumanager.c:83:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 83 | "by ID Software. All \"Commander Keen\"", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:83:6: note: (near initialization for 'about_menu[35]') BUILDSTDERR: menumanager.c:84:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 84 | "datafiles are (c)1991 ID Software.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:84:6: note: (near initialization for 'about_menu[39]') BUILDSTDERR: menumanager.c:85:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 85 | "CloneKeen is an original game engine", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:85:6: note: (near initialization for 'about_menu[43]') BUILDSTDERR: menumanager.c:86:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 86 | "which is compatible with these data", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:86:6: note: (near initialization for 'about_menu[47]') BUILDSTDERR: menumanager.c:87:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 87 | "files.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menumanager.c:87:6: note: (near initialization for 'about_menu[51]') BUILDSTDERR: menumanager.c:88:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 88 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:88:6: note: (near initialization for 'about_menu[55]') BUILDSTDERR: menumanager.c:89:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 89 | "This program is free software under", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:89:6: note: (near initialization for 'about_menu[59]') BUILDSTDERR: menumanager.c:90:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 90 | "the GNU General Public License.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:90:6: note: (near initialization for 'about_menu[63]') BUILDSTDERR: menumanager.c:91:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 91 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:91:6: note: (near initialization for 'about_menu[67]') BUILDSTDERR: menumanager.c:92:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 92 | "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:92:6: note: (near initialization for 'about_menu[71]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:92:22: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 92 | "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'about_menu[72]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:92:22: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 92 | "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:92:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 92 | "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.c:92:38: note: (near initialization for 'about_menu[73]') BUILDSTDERR: menumanager.c:95:35: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 95 | uchar *cant_play_ep_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:95:35: note: (near initialization for 'cant_play_ep_menu[0]') BUILDSTDERR: menumanager.c:95:38: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 95 | uchar *cant_play_ep_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:95:38: note: (near initialization for 'cant_play_ep_menu[1]') BUILDSTDERR: menumanager.c:95:43: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 95 | uchar *cant_play_ep_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~~ BUILDSTDERR: menumanager.c:95:43: note: (near initialization for 'cant_play_ep_menu[2]') BUILDSTDERR: menumanager.c:96:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 96 | "You can't play this episode.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:96:6: note: (near initialization for 'cant_play_ep_menu[7]') BUILDSTDERR: menumanager.c:97:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 97 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:97:6: note: (near initialization for 'cant_play_ep_menu[11]') BUILDSTDERR: menumanager.c:98:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 98 | "You are missing the data files", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:98:6: note: (near initialization for 'cant_play_ep_menu[15]') BUILDSTDERR: menumanager.c:99:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 99 | "from the original game, which", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:99:6: note: (near initialization for 'cant_play_ep_menu[19]') BUILDSTDERR: menumanager.c:100:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 100 | "you need to play it.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:100:6: note: (near initialization for 'cant_play_ep_menu[23]') BUILDSTDERR: menumanager.c:101:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 101 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:101:6: note: (near initialization for 'cant_play_ep_menu[27]') BUILDSTDERR: menumanager.c:102:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 102 | "Obtain the original version of", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:102:6: note: (near initialization for 'cant_play_ep_menu[31]') BUILDSTDERR: menumanager.c:103:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 103 | "this episode, copy all it's", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:103:6: note: (near initialization for 'cant_play_ep_menu[35]') BUILDSTDERR: menumanager.c:104:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 104 | "files into the \"data\" subdir,", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:104:6: note: (near initialization for 'cant_play_ep_menu[39]') BUILDSTDERR: menumanager.c:105:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 105 | "and restart CloneKeen.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:105:6: note: (near initialization for 'cant_play_ep_menu[43]') BUILDSTDERR: menumanager.c:106:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 106 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:106:6: note: (near initialization for 'cant_play_ep_menu[47]') BUILDSTDERR: menumanager.c:107:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 107 | "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:107:6: note: (near initialization for 'cant_play_ep_menu[51]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:107:25: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 107 | "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'cant_play_ep_menu[52]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:107:25: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 107 | "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:107:41: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 107 | "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:107:41: note: (near initialization for 'cant_play_ep_menu[53]') BUILDSTDERR: menumanager.c:110:40: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 110 | uchar *cant_play_usermap_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:110:40: note: (near initialization for 'cant_play_usermap_menu[0]') BUILDSTDERR: menumanager.c:110:43: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 110 | uchar *cant_play_usermap_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:110:43: note: (near initialization for 'cant_play_usermap_menu[1]') BUILDSTDERR: menumanager.c:110:48: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 110 | uchar *cant_play_usermap_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~~ BUILDSTDERR: menumanager.c:110:48: note: (near initialization for 'cant_play_usermap_menu[2]') BUILDSTDERR: menumanager.c:111:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 111 | "You can't play this user map.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:111:6: note: (near initialization for 'cant_play_usermap_menu[7]') BUILDSTDERR: menumanager.c:112:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 112 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:112:6: note: (near initialization for 'cant_play_usermap_menu[11]') BUILDSTDERR: menumanager.c:113:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 113 | "This user map requires the", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:113:6: note: (near initialization for 'cant_play_usermap_menu[15]') BUILDSTDERR: menumanager.c:114:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 114 | "registered version of Keen.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:114:6: note: (near initialization for 'cant_play_usermap_menu[19]') BUILDSTDERR: menumanager.c:115:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 115 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:115:6: note: (near initialization for 'cant_play_usermap_menu[23]') BUILDSTDERR: menumanager.c:116:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 116 | "Obtain the original version of", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:116:6: note: (near initialization for 'cant_play_usermap_menu[27]') BUILDSTDERR: menumanager.c:117:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 117 | "the episode, copy all it's", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:117:6: note: (near initialization for 'cant_play_usermap_menu[31]') BUILDSTDERR: menumanager.c:118:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 118 | "files into the \"data\" subdir,", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:118:6: note: (near initialization for 'cant_play_usermap_menu[35]') BUILDSTDERR: menumanager.c:119:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 119 | "and restart CloneKeen.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:119:6: note: (near initialization for 'cant_play_usermap_menu[39]') BUILDSTDERR: menumanager.c:120:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 120 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:120:6: note: (near initialization for 'cant_play_usermap_menu[43]') BUILDSTDERR: menumanager.c:121:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 121 | "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:121:6: note: (near initialization for 'cant_play_usermap_menu[47]') BUILDSTDERR: In file included from menumanager.c:10: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:121:25: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 121 | "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'cant_play_usermap_menu[48]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:121:25: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 121 | "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c:121:41: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 121 | "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.c:121:41: note: (near initialization for 'cant_play_usermap_menu[49]') BUILDSTDERR: menumanager.c: In function 'SelectCorrectMM': BUILDSTDERR: menumanager.c:149:20: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: 149 | if (menu.curmenu != editor_menu) BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:150:18: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 150 | Menu_InitMenu(editor_menu); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: In file included from menumanager.c:9: BUILDSTDERR: menumanager.fdh:39:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 39 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: menumanager.c:160:21: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: 160 | if (menu.curmenu != ingame_menu_norestart) BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:162:19: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 162 | Menu_InitMenu(ingame_menu_norestart); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: In file included from menumanager.c:9: BUILDSTDERR: menumanager.fdh:39:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 39 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: menumanager.c:167:21: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: 167 | if (menu.curmenu != ingame_menu) BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:169:19: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 169 | Menu_InitMenu(ingame_menu); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: In file included from menumanager.c:9: BUILDSTDERR: menumanager.fdh:39:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 39 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: menumanager.c:173:24: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: 173 | else if (menu.curmenu != main_menu) BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:174:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 174 | Menu_InitMenu(main_menu); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: In file included from menumanager.c:9: BUILDSTDERR: menumanager.fdh:39:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 39 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: menumanager.c: In function 'DrawMenuText': BUILDSTDERR: menumanager.c:181:18: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char * (*)[150]' [-Wincompatible-pointer-types] BUILDSTDERR: 181 | uchar *curmenu = menu.curmenu; BUILDSTDERR: | ^~~~ BUILDSTDERR: menumanager.c:186:18: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: 186 | if (menu.curmenu==main_menu || \ BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:187:15: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: 187 | menu.curmenu==ingame_menu || \ BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:188:15: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: 188 | menu.curmenu==ingame_menu_norestart) BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:193:4: warning: assignment to 'int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 193 | x = (*menu.curmenu)[HD_X]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:194:4: warning: assignment to 'int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 194 | y = (*menu.curmenu)[HD_Y]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:201:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 201 | text = (*menu.curmenu)[index]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:202:39: warning: comparison between pointer and integer BUILDSTDERR: 202 | if ((*menu.curmenu)[index+ITM_TYPE] == MNU_DYNAMICTEXT) BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c:204:12: warning: assignment to 'char * (*)(unsigned char *, char, unsigned char)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] BUILDSTDERR: 204 | dyn_ptr = (*menu.curmenu)[index+ITM_PTR]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:205:22: warning: pointer targets in passing argument 1 of 'dyn_ptr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 205 | text = (*dyn_ptr)(text, 0, (*menu.curmenu)[index+ITM_FLAGS]); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: menumanager.c:205:22: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: menumanager.c:205:46: warning: passing argument 3 of 'dyn_ptr' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 205 | text = (*dyn_ptr)(text, 0, (*menu.curmenu)[index+ITM_FLAGS]); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: menumanager.c:205:46: note: expected 'unsigned char' but argument is of type 'unsigned char *' BUILDSTDERR: menumanager.c:207:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 207 | font_draw(text, x, y, drawcharacter_clear); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from menumanager.c:9: BUILDSTDERR: menumanager.fdh:20:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 20 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: menumanager.c:211:37: warning: passing argument 1 of 'twirly_draw' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 211 | twirly_draw((*menu.curmenu)[HD_X]+8, y+menu.twirly_yoff, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from menumanager.c:9: BUILDSTDERR: menumanager.fdh:61:22: note: expected 'int' but argument is of type 'unsigned char *' BUILDSTDERR: 61 | void twirly_draw(int x, int y, int *frame); BUILDSTDERR: | ~~~~^ BUILDSTDERR: menumanager.c:181:8: warning: unused variable 'curmenu' [-Wunused-variable] BUILDSTDERR: 181 | uchar *curmenu = menu.curmenu; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menumanager.c: In function 'Menu_CallDismissalFunc': BUILDSTDERR: menumanager.c:227:11: warning: assignment to 'void (*)(void)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] BUILDSTDERR: 227 | funcptr = (*menu.curmenu)[HD_DISMISSALFUNC]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c: In function 'Menu_InitMenu': BUILDSTDERR: menumanager.c:242:15: warning: assignment to 'unsigned char * (*)[150]' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] BUILDSTDERR: 242 | menu.curmenu = whichmenu; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:243:17: warning: assignment to 'int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 243 | menu.curoption = (*menu.curmenu)[HD_STARTINGOPT]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:265:10: warning: assignment to 'void (*)(void)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] BUILDSTDERR: 265 | funcptr = (*menu.curmenu)[HD_ENTERFUNC]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c: In function 'Menu_ToMain': BUILDSTDERR: menumanager.c:271:16: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 271 | Menu_InitMenu(main_menu); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 235 | void Menu_InitMenu(uchar *whichmenu) BUILDSTDERR: menumanager.c: In function 'Menu_SelectOption': BUILDSTDERR: menumanager.c:278:16: warning: initialization of 'unsigned char' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 278 | uchar action = (*menu.curmenu)[index+ITM_TYPE]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:279:13: warning: initialization of 'unsigned char' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 279 | uchar arg = (*menu.curmenu)[index+ITM_FLAGS]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:289:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 289 | newmenu = (*menu.curmenu)[index+ITM_PTR]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:290:18: warning: pointer targets in passing argument 1 of 'Menu_InitMenu' differ in signedness [-Wpointer-sign] BUILDSTDERR: 290 | Menu_InitMenu(newmenu); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 235 | void Menu_InitMenu(uchar *whichmenu) BUILDSTDERR: menumanager.c:294:12: warning: assignment to 'char (*)(int)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] BUILDSTDERR: 294 | funcptr = (*menu.curmenu)[index+ITM_PTR]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:303:12: warning: assignment to 'char (*)(char *, char, unsigned char)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] BUILDSTDERR: 303 | dyn_ptr = (*menu.curmenu)[index+ITM_PTR]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c:304:30: warning: pointer targets in passing argument 1 of 'dyn_ptr' differ in signedness [-Wpointer-sign] BUILDSTDERR: 304 | (*dyn_ptr)((*menu.curmenu)[index], 1, (*menu.curmenu)[index+ITM_FLAGS]); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: menumanager.c:304:30: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: menumanager.c:304:57: warning: passing argument 3 of 'dyn_ptr' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 304 | (*dyn_ptr)((*menu.curmenu)[index], 1, (*menu.curmenu)[index+ITM_FLAGS]); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: menumanager.c:304:57: note: expected 'unsigned char' but argument is of type 'unsigned char *' BUILDSTDERR: menumanager.c: In function 'Menu_DrawMenu': BUILDSTDERR: menumanager.c:334:19: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: 334 | if (menu.curmenu != option_menu) BUILDSTDERR: | ^~ BUILDSTDERR: menumanager.c: In function 'menu_gettype': BUILDSTDERR: menumanager.c:346:24: warning: returning 'unsigned char *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: 346 | return (*menu.curmenu)[index+ITM_TYPE]; BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.c: In function 'move_down': BUILDSTDERR: menumanager.c:370:14: warning: assignment to 'char (*)(char)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] BUILDSTDERR: 370 | scrollfunc = (*menu.curmenu)[HD_SCROLLFUNC]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c: In function 'move_up': BUILDSTDERR: menumanager.c:400:14: warning: assignment to 'char (*)(char)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] BUILDSTDERR: 400 | scrollfunc = (*menu.curmenu)[HD_SCROLLFUNC]; BUILDSTDERR: | ^ BUILDSTDERR: menumanager.c: In function 'goto_epmenu': BUILDSTDERR: menumanager.c:516:16: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 516 | Menu_InitMenu(&selectep_menu); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * (*)[150] BUILDSTDERR: menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' BUILDSTDERR: 235 | void Menu_InitMenu(uchar *whichmenu) BUILDSTDERR: menumanager.c: In function 'mmhandler_newgame': BUILDSTDERR: menumanager.c:530:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 530 | Menu_InitMenu(&cant_play_ep_menu); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * (*)[150] BUILDSTDERR: menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' BUILDSTDERR: 235 | void Menu_InitMenu(uchar *whichmenu) BUILDSTDERR: menumanager.c: In function 'mmhandler_restartlevel': BUILDSTDERR: menumanager.c:543:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 543 | Menu_InitMenu(&endgame_menu); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * (*)[150] BUILDSTDERR: menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' BUILDSTDERR: 235 | void Menu_InitMenu(uchar *whichmenu) BUILDSTDERR: menumanager.c: In function 'mmhandler_quit': BUILDSTDERR: menumanager.c:563:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 563 | Menu_InitMenu(quit_menu); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 235 | void Menu_InitMenu(uchar *whichmenu) BUILDSTDERR: menu_keysetup.c:9:32: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 9 | uchar *keysetup_menu1[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:9:32: note: (near initialization for 'keysetup_menu1[0]') BUILDSTDERR: menu_keysetup.c:9:35: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 9 | uchar *keysetup_menu1[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:9:35: note: (near initialization for 'keysetup_menu1[1]') BUILDSTDERR: menu_keysetup.c:9:43: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 9 | uchar *keysetup_menu1[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:9:43: note: (near initialization for 'keysetup_menu1[2]') BUILDSTDERR: menu_keysetup.c:9:46: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 9 | uchar *keysetup_menu1[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:9:46: note: (near initialization for 'keysetup_menu1[3]') BUILDSTDERR: menu_keysetup.c:10:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 10 | "PLAYER 1 SETUP", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:10:6: note: (near initialization for 'keysetup_menu1[7]') BUILDSTDERR: menu_keysetup.c:11:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 11 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:11:6: note: (near initialization for 'keysetup_menu1[11]') BUILDSTDERR: menu_keysetup.c:12:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 12 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:12:6: note: (near initialization for 'keysetup_menu1[15]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:12:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 12 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu1[16]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:12:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 12 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:12:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 12 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:12:40: note: (near initialization for 'keysetup_menu1[17]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:7:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 7 | #define KLEFT 2 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:12:50: note: in expansion of macro 'KLEFT' BUILDSTDERR: 12 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT, BUILDSTDERR: | ^~~~~ BUILDSTDERR: keys.h:7:23: note: (near initialization for 'keysetup_menu1[18]') BUILDSTDERR: 7 | #define KLEFT 2 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:12:50: note: in expansion of macro 'KLEFT' BUILDSTDERR: 12 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT, BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:13:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 13 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:13:6: note: (near initialization for 'keysetup_menu1[19]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:13:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 13 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu1[20]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:13:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 13 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:13:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 13 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:13:40: note: (near initialization for 'keysetup_menu1[21]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:8:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 8 | #define KRIGHT 3 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:13:50: note: in expansion of macro 'KRIGHT' BUILDSTDERR: 13 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: keys.h:8:23: note: (near initialization for 'keysetup_menu1[22]') BUILDSTDERR: 8 | #define KRIGHT 3 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:13:50: note: in expansion of macro 'KRIGHT' BUILDSTDERR: 13 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu_keysetup.c:14:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 14 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:14:6: note: (near initialization for 'keysetup_menu1[23]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:14:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 14 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu1[24]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:14:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 14 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:14:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 14 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:14:40: note: (near initialization for 'keysetup_menu1[25]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:9:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 9 | #define KUP 4 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:14:50: note: in expansion of macro 'KUP' BUILDSTDERR: 14 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP, BUILDSTDERR: | ^~~ BUILDSTDERR: keys.h:9:23: note: (near initialization for 'keysetup_menu1[26]') BUILDSTDERR: 9 | #define KUP 4 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:14:50: note: in expansion of macro 'KUP' BUILDSTDERR: 14 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_keysetup.c:15:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 15 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:15:6: note: (near initialization for 'keysetup_menu1[27]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:15:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 15 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu1[28]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:15:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 15 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:15:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 15 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:15:40: note: (near initialization for 'keysetup_menu1[29]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:10:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 10 | #define KDOWN 5 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:15:50: note: in expansion of macro 'KDOWN' BUILDSTDERR: 15 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN, BUILDSTDERR: | ^~~~~ BUILDSTDERR: keys.h:10:23: note: (near initialization for 'keysetup_menu1[30]') BUILDSTDERR: 10 | #define KDOWN 5 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:15:50: note: in expansion of macro 'KDOWN' BUILDSTDERR: 15 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN, BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:16:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 16 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:16:6: note: (near initialization for 'keysetup_menu1[31]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:16:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 16 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu1[32]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:16:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 16 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:16:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 16 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:16:40: note: (near initialization for 'keysetup_menu1[33]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:11:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 11 | #define KCTRL 6 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:16:50: note: in expansion of macro 'KCTRL' BUILDSTDERR: 16 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL, BUILDSTDERR: | ^~~~~ BUILDSTDERR: keys.h:11:23: note: (near initialization for 'keysetup_menu1[34]') BUILDSTDERR: 11 | #define KCTRL 6 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:16:50: note: in expansion of macro 'KCTRL' BUILDSTDERR: 16 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL, BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:17:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 17 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:17:6: note: (near initialization for 'keysetup_menu1[35]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:17:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 17 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu1[36]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:17:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 17 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:17:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 17 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:17:40: note: (near initialization for 'keysetup_menu1[37]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:12:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 12 | #define KALT 7 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:17:50: note: in expansion of macro 'KALT' BUILDSTDERR: 17 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT, BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.h:12:23: note: (near initialization for 'keysetup_menu1[38]') BUILDSTDERR: 12 | #define KALT 7 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:17:50: note: in expansion of macro 'KALT' BUILDSTDERR: 17 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT, BUILDSTDERR: | ^~~~ BUILDSTDERR: menu_keysetup.c:18:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 18 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:18:6: note: (near initialization for 'keysetup_menu1[39]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:18:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 18 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu1[40]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:18:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 18 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:18:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 18 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:18:40: note: (near initialization for 'keysetup_menu1[41]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:14:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 14 | #define KSPACE 9 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:18:50: note: in expansion of macro 'KSPACE' BUILDSTDERR: 18 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: keys.h:14:23: note: (near initialization for 'keysetup_menu1[42]') BUILDSTDERR: 14 | #define KSPACE 9 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:18:50: note: in expansion of macro 'KSPACE' BUILDSTDERR: 18 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu_keysetup.c:19:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 19 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:19:6: note: (near initialization for 'keysetup_menu1[43]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:19:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 19 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu1[44]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:19:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 19 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:19:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 19 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:19:40: note: (near initialization for 'keysetup_menu1[45]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:13:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 13 | #define KENTER 8 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:19:50: note: in expansion of macro 'KENTER' BUILDSTDERR: 19 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: keys.h:13:23: note: (near initialization for 'keysetup_menu1[46]') BUILDSTDERR: 13 | #define KENTER 8 BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:19:50: note: in expansion of macro 'KENTER' BUILDSTDERR: 19 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu_keysetup.c:20:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 20 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:20:6: note: (near initialization for 'keysetup_menu1[47]') BUILDSTDERR: menu_keysetup.c:21:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 21 | "Save", MNU_CALLFP, SaveKeys, 0, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu_keysetup.c:21:6: note: (near initialization for 'keysetup_menu1[51]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:21:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 21 | "Save", MNU_CALLFP, SaveKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'keysetup_menu1[52]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:21:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 21 | "Save", MNU_CALLFP, SaveKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:21:26: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 21 | "Save", MNU_CALLFP, SaveKeys, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:21:26: note: (near initialization for 'keysetup_menu1[53]') BUILDSTDERR: menu_keysetup.c:22:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 22 | "Cancel", MNU_CALLFP, CancelKeys, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:22:6: note: (near initialization for 'keysetup_menu1[55]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:22:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 22 | "Cancel", MNU_CALLFP, CancelKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'keysetup_menu1[56]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:22:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 22 | "Cancel", MNU_CALLFP, CancelKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:22:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 22 | "Cancel", MNU_CALLFP, CancelKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:22:28: note: (near initialization for 'keysetup_menu1[57]') BUILDSTDERR: menu_keysetup.c:23:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 23 | "Defaults", MNU_CALLFP, SetDefaults, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:23:6: note: (near initialization for 'keysetup_menu1[59]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:23:18: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 23 | "Defaults", MNU_CALLFP, SetDefaults, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'keysetup_menu1[60]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:23:18: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 23 | "Defaults", MNU_CALLFP, SetDefaults, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:23:30: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 23 | "Defaults", MNU_CALLFP, SetDefaults, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:23:30: note: (near initialization for 'keysetup_menu1[61]') BUILDSTDERR: menu_keysetup.c:25:32: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 25 | uchar *keysetup_menu2[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:25:32: note: (near initialization for 'keysetup_menu2[0]') BUILDSTDERR: menu_keysetup.c:25:35: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 25 | uchar *keysetup_menu2[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:25:35: note: (near initialization for 'keysetup_menu2[1]') BUILDSTDERR: menu_keysetup.c:25:43: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 25 | uchar *keysetup_menu2[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:25:43: note: (near initialization for 'keysetup_menu2[2]') BUILDSTDERR: menu_keysetup.c:25:46: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 25 | uchar *keysetup_menu2[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:25:46: note: (near initialization for 'keysetup_menu2[3]') BUILDSTDERR: menu_keysetup.c:26:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 26 | "PLAYER 2 SETUP", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:26:6: note: (near initialization for 'keysetup_menu2[7]') BUILDSTDERR: menu_keysetup.c:27:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 27 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:27:6: note: (near initialization for 'keysetup_menu2[11]') BUILDSTDERR: menu_keysetup.c:28:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 28 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:28:6: note: (near initialization for 'keysetup_menu2[15]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:28:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 28 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu2[16]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:28:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 28 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:28:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 28 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT2, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:28:40: note: (near initialization for 'keysetup_menu2[17]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:27:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 27 | #define KLEFT2 20 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:28:50: note: in expansion of macro 'KLEFT2' BUILDSTDERR: 28 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT2, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: keys.h:27:23: note: (near initialization for 'keysetup_menu2[18]') BUILDSTDERR: 27 | #define KLEFT2 20 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:28:50: note: in expansion of macro 'KLEFT2' BUILDSTDERR: 28 | "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT2, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu_keysetup.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 29 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:29:6: note: (near initialization for 'keysetup_menu2[19]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:29:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 29 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu2[20]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:29:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 29 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:29:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 29 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT2, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:29:40: note: (near initialization for 'keysetup_menu2[21]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:28:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 28 | #define KRIGHT2 21 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:29:50: note: in expansion of macro 'KRIGHT2' BUILDSTDERR: 29 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT2, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: keys.h:28:23: note: (near initialization for 'keysetup_menu2[22]') BUILDSTDERR: 28 | #define KRIGHT2 21 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:29:50: note: in expansion of macro 'KRIGHT2' BUILDSTDERR: 29 | "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT2, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu_keysetup.c:30:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 30 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:30:6: note: (near initialization for 'keysetup_menu2[23]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:30:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 30 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu2[24]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:30:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 30 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:30:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 30 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP2, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:30:40: note: (near initialization for 'keysetup_menu2[25]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:29:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 29 | #define KUP2 22 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:30:50: note: in expansion of macro 'KUP2' BUILDSTDERR: 30 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP2, BUILDSTDERR: | ^~~~ BUILDSTDERR: keys.h:29:23: note: (near initialization for 'keysetup_menu2[26]') BUILDSTDERR: 29 | #define KUP2 22 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:30:50: note: in expansion of macro 'KUP2' BUILDSTDERR: 30 | "UP ", MNU_DYNAMICTEXT, KeySetup, KUP2, BUILDSTDERR: | ^~~~ BUILDSTDERR: menu_keysetup.c:31:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 31 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:31:6: note: (near initialization for 'keysetup_menu2[27]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:31:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 31 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu2[28]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:31:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 31 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:31:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 31 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN2, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:31:40: note: (near initialization for 'keysetup_menu2[29]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:30:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 30 | #define KDOWN2 23 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:31:50: note: in expansion of macro 'KDOWN2' BUILDSTDERR: 31 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN2, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: keys.h:30:23: note: (near initialization for 'keysetup_menu2[30]') BUILDSTDERR: 30 | #define KDOWN2 23 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:31:50: note: in expansion of macro 'KDOWN2' BUILDSTDERR: 31 | "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN2, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu_keysetup.c:32:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 32 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:32:6: note: (near initialization for 'keysetup_menu2[31]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:32:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 32 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu2[32]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:32:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 32 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:32:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 32 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL2, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:32:40: note: (near initialization for 'keysetup_menu2[33]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:31:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 31 | #define KCTRL2 24 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:32:50: note: in expansion of macro 'KCTRL2' BUILDSTDERR: 32 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL2, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: keys.h:31:23: note: (near initialization for 'keysetup_menu2[34]') BUILDSTDERR: 31 | #define KCTRL2 24 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:32:50: note: in expansion of macro 'KCTRL2' BUILDSTDERR: 32 | "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL2, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu_keysetup.c:33:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 33 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:33:6: note: (near initialization for 'keysetup_menu2[35]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:33:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 33 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu2[36]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:33:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 33 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:33:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 33 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT2, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:33:40: note: (near initialization for 'keysetup_menu2[37]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:32:23: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 32 | #define KALT2 25 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:33:50: note: in expansion of macro 'KALT2' BUILDSTDERR: 33 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT2, BUILDSTDERR: | ^~~~~ BUILDSTDERR: keys.h:32:23: note: (near initialization for 'keysetup_menu2[38]') BUILDSTDERR: 32 | #define KALT2 25 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:33:50: note: in expansion of macro 'KALT2' BUILDSTDERR: 33 | "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT2, BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:34:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 34 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:34:6: note: (near initialization for 'keysetup_menu2[39]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:34:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 34 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu2[40]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:34:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 34 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:34:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 34 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE2, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:34:40: note: (near initialization for 'keysetup_menu2[41]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:34:20: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 34 | #define KSPACE2 27 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:34:50: note: in expansion of macro 'KSPACE2' BUILDSTDERR: 34 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE2, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: keys.h:34:20: note: (near initialization for 'keysetup_menu2[42]') BUILDSTDERR: 34 | #define KSPACE2 27 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:34:50: note: in expansion of macro 'KSPACE2' BUILDSTDERR: 34 | "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE2, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu_keysetup.c:35:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 35 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:35:6: note: (near initialization for 'keysetup_menu2[43]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:35:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 35 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'keysetup_menu2[44]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:35:23: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 35 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:35:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 35 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER2, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:35:40: note: (near initialization for 'keysetup_menu2[45]') BUILDSTDERR: In file included from keen.h:61, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: keys.h:33:20: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 33 | #define KENTER2 26 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:35:50: note: in expansion of macro 'KENTER2' BUILDSTDERR: 35 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER2, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: keys.h:33:20: note: (near initialization for 'keysetup_menu2[46]') BUILDSTDERR: 33 | #define KENTER2 26 BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:35:50: note: in expansion of macro 'KENTER2' BUILDSTDERR: 35 | "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER2, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu_keysetup.c:36:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 36 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_keysetup.c:36:6: note: (near initialization for 'keysetup_menu2[47]') BUILDSTDERR: menu_keysetup.c:37:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 37 | "Save", MNU_CALLFP, SaveKeys, 0, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: menu_keysetup.c:37:6: note: (near initialization for 'keysetup_menu2[51]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:37:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 37 | "Save", MNU_CALLFP, SaveKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'keysetup_menu2[52]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:37:14: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 37 | "Save", MNU_CALLFP, SaveKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:37:26: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 37 | "Save", MNU_CALLFP, SaveKeys, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:37:26: note: (near initialization for 'keysetup_menu2[53]') BUILDSTDERR: menu_keysetup.c:38:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 38 | "Cancel", MNU_CALLFP, CancelKeys, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_keysetup.c:38:6: note: (near initialization for 'keysetup_menu2[55]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:38:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 38 | "Cancel", MNU_CALLFP, CancelKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'keysetup_menu2[56]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:38:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 38 | "Cancel", MNU_CALLFP, CancelKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:38:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 38 | "Cancel", MNU_CALLFP, CancelKeys, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:38:28: note: (near initialization for 'keysetup_menu2[57]') BUILDSTDERR: menu_keysetup.c:39:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 39 | "Defaults", MNU_CALLFP, SetDefaults, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:39:6: note: (near initialization for 'keysetup_menu2[59]') BUILDSTDERR: In file included from menu_keysetup.c:4: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:39:18: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 39 | "Defaults", MNU_CALLFP, SetDefaults, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'keysetup_menu2[60]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:39:18: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 39 | "Defaults", MNU_CALLFP, SetDefaults, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:39:30: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 39 | "Defaults", MNU_CALLFP, SetDefaults, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_keysetup.c:39:30: note: (near initialization for 'keysetup_menu2[61]') BUILDSTDERR: menu_keysetup.c: In function 'KeySetup': BUILDSTDERR: menu_keysetup.c:54:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 54 | strcpy(tempbuf, MenuText); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:55:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | strcat(tempbuf, KeyDrv_GetKeyMapping(key, 0)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:55:19: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | strcat(tempbuf, KeyDrv_GetKeyMapping(key, 0)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:56:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 56 | k2 = KeyDrv_GetKeyMapping(key, 1); BUILDSTDERR: | ^ BUILDSTDERR: menu_keysetup.c:59:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 59 | while(strlen(tempbuf)<20) strcat(tempbuf, " "); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from keen.h:3, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: menu_keysetup.c:59:37: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 59 | while(strlen(tempbuf)<20) strcat(tempbuf, " "); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:60:11: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 60 | strcat(tempbuf, " / "); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:61:11: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: 61 | strcat(tempbuf, k2); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_keysetup.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_keysetup.c:64:10: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 64 | return tempbuf; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu_keysetup.c: In function 'CancelKeys': BUILDSTDERR: menu_keysetup.c:88:16: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 88 | Menu_InitMenu(&main_menu); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * (*)[150] BUILDSTDERR: In file included from menu_keysetup.c:3: BUILDSTDERR: menu_keysetup.fdh:7:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' BUILDSTDERR: 7 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: In file included from menu.h:92, BUILDSTDERR: from menu_keysetup.c:4: BUILDSTDERR: menu_keysetup.c: At top level: BUILDSTDERR: menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 36 | void static SelectCorrectMM(void); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 37 | void static DrawMenuText(void); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 42 | void static DrawLogo(void); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 45 | void static move_down(void); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 46 | void static move_up(void); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 49 | char static goto_epmenu(int numplayers); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 50 | char static mmhandler_newgame(int episode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 51 | char static mmhandler_endgame(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 52 | char static mmhandler_restartlevel(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 53 | char static mmhandler_quit(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 54 | char static mmhandler_quit2(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:10:32: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 10 | uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:10:32: note: (near initialization for 'custommap_menu[0]') BUILDSTDERR: menu_custommap.c:10:40: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 10 | uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menu_custommap.c:10:40: note: (near initialization for 'custommap_menu[1]') BUILDSTDERR: menu_custommap.c:10:48: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 10 | uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_custommap.c:10:48: note: (near initialization for 'custommap_menu[3]') BUILDSTDERR: menu_custommap.c:10:60: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 10 | uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menu_custommap.c:10:60: note: (near initialization for 'custommap_menu[4]') BUILDSTDERR: menu_custommap.c:10:71: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(char)' [-Wincompatible-pointer-types] BUILDSTDERR: 10 | uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:10:71: note: (near initialization for 'custommap_menu[5]') BUILDSTDERR: menu_custommap.c:11:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 11 | "0", MNU_DYNAMICTEXT, getcmapname, 0, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:11:6: note: (near initialization for 'custommap_menu[7]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:11:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 11 | "0", MNU_DYNAMICTEXT, getcmapname, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[8]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:11:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 11 | "0", MNU_DYNAMICTEXT, getcmapname, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:11:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 11 | "0", MNU_DYNAMICTEXT, getcmapname, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:11:28: note: (near initialization for 'custommap_menu[9]') BUILDSTDERR: menu_custommap.c:12:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 12 | "1", MNU_DYNAMICTEXT, getcmapname, 1, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:12:6: note: (near initialization for 'custommap_menu[11]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:12:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 12 | "1", MNU_DYNAMICTEXT, getcmapname, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[12]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:12:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 12 | "1", MNU_DYNAMICTEXT, getcmapname, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:12:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 12 | "1", MNU_DYNAMICTEXT, getcmapname, 1, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:12:28: note: (near initialization for 'custommap_menu[13]') BUILDSTDERR: menu_custommap.c:12:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 12 | "1", MNU_DYNAMICTEXT, getcmapname, 1, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:12:41: note: (near initialization for 'custommap_menu[14]') BUILDSTDERR: menu_custommap.c:13:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 13 | "2", MNU_DYNAMICTEXT, getcmapname, 2, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:13:6: note: (near initialization for 'custommap_menu[15]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:13:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 13 | "2", MNU_DYNAMICTEXT, getcmapname, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[16]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:13:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 13 | "2", MNU_DYNAMICTEXT, getcmapname, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:13:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 13 | "2", MNU_DYNAMICTEXT, getcmapname, 2, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:13:28: note: (near initialization for 'custommap_menu[17]') BUILDSTDERR: menu_custommap.c:13:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 13 | "2", MNU_DYNAMICTEXT, getcmapname, 2, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:13:41: note: (near initialization for 'custommap_menu[18]') BUILDSTDERR: menu_custommap.c:14:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 14 | "3", MNU_DYNAMICTEXT, getcmapname, 3, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:14:6: note: (near initialization for 'custommap_menu[19]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:14:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 14 | "3", MNU_DYNAMICTEXT, getcmapname, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[20]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:14:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 14 | "3", MNU_DYNAMICTEXT, getcmapname, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:14:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 14 | "3", MNU_DYNAMICTEXT, getcmapname, 3, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:14:28: note: (near initialization for 'custommap_menu[21]') BUILDSTDERR: menu_custommap.c:14:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 14 | "3", MNU_DYNAMICTEXT, getcmapname, 3, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:14:41: note: (near initialization for 'custommap_menu[22]') BUILDSTDERR: menu_custommap.c:15:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 15 | "4", MNU_DYNAMICTEXT, getcmapname, 4, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:15:6: note: (near initialization for 'custommap_menu[23]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:15:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 15 | "4", MNU_DYNAMICTEXT, getcmapname, 4, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[24]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:15:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 15 | "4", MNU_DYNAMICTEXT, getcmapname, 4, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:15:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 15 | "4", MNU_DYNAMICTEXT, getcmapname, 4, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:15:28: note: (near initialization for 'custommap_menu[25]') BUILDSTDERR: menu_custommap.c:15:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 15 | "4", MNU_DYNAMICTEXT, getcmapname, 4, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:15:41: note: (near initialization for 'custommap_menu[26]') BUILDSTDERR: menu_custommap.c:16:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 16 | "5", MNU_DYNAMICTEXT, getcmapname, 5, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:16:6: note: (near initialization for 'custommap_menu[27]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:16:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 16 | "5", MNU_DYNAMICTEXT, getcmapname, 5, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[28]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:16:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 16 | "5", MNU_DYNAMICTEXT, getcmapname, 5, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:16:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 16 | "5", MNU_DYNAMICTEXT, getcmapname, 5, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:16:28: note: (near initialization for 'custommap_menu[29]') BUILDSTDERR: menu_custommap.c:16:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 16 | "5", MNU_DYNAMICTEXT, getcmapname, 5, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:16:41: note: (near initialization for 'custommap_menu[30]') BUILDSTDERR: menu_custommap.c:17:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 17 | "6", MNU_DYNAMICTEXT, getcmapname, 6, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:17:6: note: (near initialization for 'custommap_menu[31]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:17:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 17 | "6", MNU_DYNAMICTEXT, getcmapname, 6, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[32]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:17:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 17 | "6", MNU_DYNAMICTEXT, getcmapname, 6, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:17:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 17 | "6", MNU_DYNAMICTEXT, getcmapname, 6, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:17:28: note: (near initialization for 'custommap_menu[33]') BUILDSTDERR: menu_custommap.c:17:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 17 | "6", MNU_DYNAMICTEXT, getcmapname, 6, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:17:41: note: (near initialization for 'custommap_menu[34]') BUILDSTDERR: menu_custommap.c:18:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 18 | "7", MNU_DYNAMICTEXT, getcmapname, 7, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:18:6: note: (near initialization for 'custommap_menu[35]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:18:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 18 | "7", MNU_DYNAMICTEXT, getcmapname, 7, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[36]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:18:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 18 | "7", MNU_DYNAMICTEXT, getcmapname, 7, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:18:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 18 | "7", MNU_DYNAMICTEXT, getcmapname, 7, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:18:28: note: (near initialization for 'custommap_menu[37]') BUILDSTDERR: menu_custommap.c:18:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 18 | "7", MNU_DYNAMICTEXT, getcmapname, 7, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:18:41: note: (near initialization for 'custommap_menu[38]') BUILDSTDERR: menu_custommap.c:19:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 19 | "8", MNU_DYNAMICTEXT, getcmapname, 8, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:19:6: note: (near initialization for 'custommap_menu[39]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:19:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 19 | "8", MNU_DYNAMICTEXT, getcmapname, 8, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[40]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:19:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 19 | "8", MNU_DYNAMICTEXT, getcmapname, 8, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:19:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 19 | "8", MNU_DYNAMICTEXT, getcmapname, 8, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:19:28: note: (near initialization for 'custommap_menu[41]') BUILDSTDERR: menu_custommap.c:19:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 19 | "8", MNU_DYNAMICTEXT, getcmapname, 8, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:19:41: note: (near initialization for 'custommap_menu[42]') BUILDSTDERR: menu_custommap.c:20:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 20 | "9", MNU_DYNAMICTEXT, getcmapname, 9, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:20:6: note: (near initialization for 'custommap_menu[43]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:20:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 20 | "9", MNU_DYNAMICTEXT, getcmapname, 9, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[44]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:20:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 20 | "9", MNU_DYNAMICTEXT, getcmapname, 9, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:20:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 20 | "9", MNU_DYNAMICTEXT, getcmapname, 9, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:20:28: note: (near initialization for 'custommap_menu[45]') BUILDSTDERR: menu_custommap.c:20:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 20 | "9", MNU_DYNAMICTEXT, getcmapname, 9, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:20:41: note: (near initialization for 'custommap_menu[46]') BUILDSTDERR: menu_custommap.c:21:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 21 | "10", MNU_DYNAMICTEXT, getcmapname, 10, BUILDSTDERR: | ^~~~ BUILDSTDERR: menu_custommap.c:21:6: note: (near initialization for 'custommap_menu[47]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:21:12: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 21 | "10", MNU_DYNAMICTEXT, getcmapname, 10, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'custommap_menu[48]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:21:12: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 21 | "10", MNU_DYNAMICTEXT, getcmapname, 10, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:21:29: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 21 | "10", MNU_DYNAMICTEXT, getcmapname, 10, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:21:29: note: (near initialization for 'custommap_menu[49]') BUILDSTDERR: menu_custommap.c:21:42: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 21 | "10", MNU_DYNAMICTEXT, getcmapname, 10, BUILDSTDERR: | ^~ BUILDSTDERR: menu_custommap.c:21:42: note: (near initialization for 'custommap_menu[50]') BUILDSTDERR: menu_custommap.c:24:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 24 | uchar *badlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:24:31: note: (near initialization for 'badlevel_menu[0]') BUILDSTDERR: menu_custommap.c:24:37: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 24 | uchar *badlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menu_custommap.c:24:37: note: (near initialization for 'badlevel_menu[1]') BUILDSTDERR: menu_custommap.c:24:42: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 24 | uchar *badlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_custommap.c:24:42: note: (near initialization for 'badlevel_menu[2]') BUILDSTDERR: menu_custommap.c:25:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | "I don't know how to open", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:25:6: note: (near initialization for 'badlevel_menu[7]') BUILDSTDERR: menu_custommap.c:26:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 26 | "this file!", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:26:6: note: (near initialization for 'badlevel_menu[11]') BUILDSTDERR: menu_custommap.c:27:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 27 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_custommap.c:27:6: note: (near initialization for 'badlevel_menu[15]') BUILDSTDERR: menu_custommap.c:28:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 28 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_custommap.c:28:6: note: (near initialization for 'badlevel_menu[19]') BUILDSTDERR: menu_custommap.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 29 | "Ok", MNU_SWITCHMENU, custommap_menu, 0, BUILDSTDERR: | ^~~~ BUILDSTDERR: menu_custommap.c:29:6: note: (near initialization for 'badlevel_menu[23]') BUILDSTDERR: In file included from menu_custommap.c:3: BUILDSTDERR: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:29:12: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 29 | "Ok", MNU_SWITCHMENU, custommap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu.h:60:25: note: (near initialization for 'badlevel_menu[24]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:29:12: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 29 | "Ok", MNU_SWITCHMENU, custommap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:29:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 29 | "Ok", MNU_SWITCHMENU, custommap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:29:28: note: (near initialization for 'badlevel_menu[25]') BUILDSTDERR: menu_custommap.c: In function 'cmap_exit': BUILDSTDERR: menu_custommap.c:49:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 49 | Menu_InitMenu(selectep_menu); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: In file included from menu_custommap.c:2: BUILDSTDERR: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 19 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: menu_custommap.c: In function 'editor_loadmap_exit': BUILDSTDERR: menu_custommap.c:59:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 59 | Menu_InitMenu(main_menu); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: In file included from menu_custommap.c:2: BUILDSTDERR: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 19 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: menu_custommap.c: In function 'getcmapname': BUILDSTDERR: menu_custommap.c:106:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 106 | fname = GetFileAtIndex(cm_scrolloffset + i); BUILDSTDERR: | ^ BUILDSTDERR: menu_custommap.c:142:22: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 142 | Menu_InitMenu(cant_play_usermap_menu); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char ** BUILDSTDERR: In file included from menu_custommap.c:2: BUILDSTDERR: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' BUILDSTDERR: 19 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: menu_savegames.c:8:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 8 | uchar *loadgame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:8:31: note: (near initialization for 'loadgame_menu[0]') BUILDSTDERR: menu_savegames.c:8:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 8 | uchar *loadgame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menu_savegames.c:8:39: note: (near initialization for 'loadgame_menu[1]') BUILDSTDERR: menu_savegames.c:8:47: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 8 | uchar *loadgame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:8:47: note: (near initialization for 'loadgame_menu[3]') BUILDSTDERR: menu_savegames.c:9:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 9 | "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:9:6: note: (near initialization for 'loadgame_menu[7]') BUILDSTDERR: menu_custommap.c:174:20: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 174 | Menu_InitMenu(&badlevel_menu); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * (*)[150] BUILDSTDERR: In file included from menu_custommap.c:2: BUILDSTDERR: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' BUILDSTDERR: 19 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:9:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 9 | "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_custommap.c:176:20: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 176 | Menu_InitMenu(&edbadlevel_menu); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * (*)[150] BUILDSTDERR: In file included from menu_custommap.c:2: BUILDSTDERR: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' BUILDSTDERR: 19 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[8]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:9:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 9 | "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:9:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 9 | "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:9:28: note: (near initialization for 'loadgame_menu[9]') BUILDSTDERR: menu_savegames.c:9:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 9 | "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:9:50: note: (near initialization for 'loadgame_menu[10]') BUILDSTDERR: menu_savegames.c:10:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 10 | "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:10:6: note: (near initialization for 'loadgame_menu[11]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:10:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 10 | "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[12]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:10:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 10 | "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:10:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 10 | "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:10:28: note: (near initialization for 'loadgame_menu[13]') BUILDSTDERR: menu_savegames.c:10:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 10 | "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:10:50: note: (near initialization for 'loadgame_menu[14]') BUILDSTDERR: menu_savegames.c:11:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 11 | "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:11:6: note: (near initialization for 'loadgame_menu[15]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:11:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 11 | "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[16]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:11:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 11 | "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:11:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 11 | "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:11:28: note: (near initialization for 'loadgame_menu[17]') BUILDSTDERR: menu_savegames.c:11:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 11 | "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:11:50: note: (near initialization for 'loadgame_menu[18]') BUILDSTDERR: menu_savegames.c:12:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 12 | "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:12:6: note: (near initialization for 'loadgame_menu[19]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:12:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 12 | "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[20]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:12:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 12 | "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:12:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 12 | "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:12:28: note: (near initialization for 'loadgame_menu[21]') BUILDSTDERR: menu_savegames.c:12:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 12 | "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:12:50: note: (near initialization for 'loadgame_menu[22]') BUILDSTDERR: menu_savegames.c:13:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 13 | "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:13:6: note: (near initialization for 'loadgame_menu[23]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:13:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 13 | "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[24]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:13:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 13 | "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:13:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 13 | "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:13:28: note: (near initialization for 'loadgame_menu[25]') BUILDSTDERR: menu_savegames.c:13:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 13 | "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:13:50: note: (near initialization for 'loadgame_menu[26]') BUILDSTDERR: menu_savegames.c:14:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 14 | "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:14:6: note: (near initialization for 'loadgame_menu[27]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:14:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 14 | "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[28]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:14:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 14 | "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:14:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 14 | "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from menu.h:92, BUILDSTDERR: from menu_custommap.c:3: BUILDSTDERR: menu_custommap.c: At top level: BUILDSTDERR: menu_savegames.c:14:28: note: (near initialization for 'loadgame_menu[29]') BUILDSTDERR: menu_savegames.c:14:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 14 | "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:14:50: note: (near initialization for 'loadgame_menu[30]') BUILDSTDERR: menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 36 | void static SelectCorrectMM(void); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 37 | void static DrawMenuText(void); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:15:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 15 | "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, BUILDSTDERR: | ^~~ BUILDSTDERR: menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 42 | void static DrawLogo(void); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_savegames.c:15:6: note: (near initialization for 'loadgame_menu[31]') BUILDSTDERR: menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 45 | void static move_down(void); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 46 | void static move_up(void); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 49 | char static goto_epmenu(int numplayers); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 50 | char static mmhandler_newgame(int episode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 51 | char static mmhandler_endgame(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 52 | char static mmhandler_restartlevel(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 53 | char static mmhandler_quit(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:15:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 15 | "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 54 | char static mmhandler_quit2(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[32]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:15:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 15 | "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:15:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 15 | "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:15:28: note: (near initialization for 'loadgame_menu[33]') BUILDSTDERR: menu_savegames.c:15:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 15 | "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:15:50: note: (near initialization for 'loadgame_menu[34]') BUILDSTDERR: menu_savegames.c:16:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 16 | "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:16:6: note: (near initialization for 'loadgame_menu[35]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:16:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 16 | "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[36]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:16:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 16 | "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:16:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 16 | "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:16:28: note: (near initialization for 'loadgame_menu[37]') BUILDSTDERR: menu_savegames.c:16:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 16 | "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:16:50: note: (near initialization for 'loadgame_menu[38]') BUILDSTDERR: menu_savegames.c:17:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 17 | "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:17:6: note: (near initialization for 'loadgame_menu[39]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:17:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 17 | "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'loadgame_menu[40]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:17:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 17 | "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:17:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 17 | "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:17:28: note: (near initialization for 'loadgame_menu[41]') BUILDSTDERR: menu_savegames.c:17:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 17 | "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:17:50: note: (near initialization for 'loadgame_menu[42]') BUILDSTDERR: menu_savegames.c:18:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 18 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_savegames.c:18:6: note: (near initialization for 'loadgame_menu[43]') BUILDSTDERR: menu_savegames.c:19:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 19 | "Cancel", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_savegames.c:19:6: note: (near initialization for 'loadgame_menu[47]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:19:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 19 | "Cancel", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'loadgame_menu[48]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:19:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 19 | "Cancel", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_savegames.c:19:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 19 | "Cancel", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:19:28: note: (near initialization for 'loadgame_menu[49]') BUILDSTDERR: menu_savegames.c:21:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 21 | uchar *savegame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:21:31: note: (near initialization for 'savegame_menu[0]') BUILDSTDERR: menu_savegames.c:21:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 21 | uchar *savegame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menu_savegames.c:21:39: note: (near initialization for 'savegame_menu[1]') BUILDSTDERR: menu_savegames.c:21:47: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 21 | uchar *savegame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:21:47: note: (near initialization for 'savegame_menu[3]') BUILDSTDERR: menu_savegames.c:22:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 22 | "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:22:6: note: (near initialization for 'savegame_menu[7]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:22:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 22 | "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[8]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:22:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 22 | "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:22:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 22 | "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:22:28: note: (near initialization for 'savegame_menu[9]') BUILDSTDERR: menu_savegames.c:22:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 22 | "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:22:50: note: (near initialization for 'savegame_menu[10]') BUILDSTDERR: menu_savegames.c:23:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 23 | "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:23:6: note: (near initialization for 'savegame_menu[11]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:23:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 23 | "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[12]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:23:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 23 | "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:23:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 23 | "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:23:28: note: (near initialization for 'savegame_menu[13]') BUILDSTDERR: menu_savegames.c:23:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 23 | "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:23:50: note: (near initialization for 'savegame_menu[14]') BUILDSTDERR: menu_savegames.c:24:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 24 | "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:24:6: note: (near initialization for 'savegame_menu[15]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:24:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 24 | "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[16]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:24:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 24 | "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:24:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 24 | "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:24:28: note: (near initialization for 'savegame_menu[17]') BUILDSTDERR: menu_savegames.c:24:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 24 | "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:24:50: note: (near initialization for 'savegame_menu[18]') BUILDSTDERR: menu_savegames.c:25:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:25:6: note: (near initialization for 'savegame_menu[19]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:25:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 25 | "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[20]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:25:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 25 | "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:25:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 25 | "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:25:28: note: (near initialization for 'savegame_menu[21]') BUILDSTDERR: menu_savegames.c:25:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 25 | "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:25:50: note: (near initialization for 'savegame_menu[22]') BUILDSTDERR: menu_savegames.c:26:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 26 | "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:26:6: note: (near initialization for 'savegame_menu[23]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:26:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 26 | "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[24]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:26:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 26 | "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:26:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 26 | "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:26:28: note: (near initialization for 'savegame_menu[25]') BUILDSTDERR: menu_savegames.c:26:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 26 | "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:26:50: note: (near initialization for 'savegame_menu[26]') BUILDSTDERR: menu_savegames.c:27:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 27 | "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:27:6: note: (near initialization for 'savegame_menu[27]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:27:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 27 | "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[28]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:27:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 27 | "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:27:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 27 | "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:27:28: note: (near initialization for 'savegame_menu[29]') BUILDSTDERR: menu_savegames.c:27:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 27 | "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:27:50: note: (near initialization for 'savegame_menu[30]') BUILDSTDERR: menu_savegames.c:28:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 28 | "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:28:6: note: (near initialization for 'savegame_menu[31]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:28:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 28 | "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[32]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:28:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 28 | "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:28:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 28 | "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:28:28: note: (near initialization for 'savegame_menu[33]') BUILDSTDERR: menu_savegames.c:28:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 28 | "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:28:50: note: (near initialization for 'savegame_menu[34]') BUILDSTDERR: menu_savegames.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 29 | "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:29:6: note: (near initialization for 'savegame_menu[35]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:29:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 29 | "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[36]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:29:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 29 | "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:29:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 29 | "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:29:28: note: (near initialization for 'savegame_menu[37]') BUILDSTDERR: menu_savegames.c:29:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 29 | "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:29:50: note: (near initialization for 'savegame_menu[38]') BUILDSTDERR: menu_savegames.c:30:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 30 | "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:30:6: note: (near initialization for 'savegame_menu[39]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:30:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 30 | "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu.h:62:26: note: (near initialization for 'savegame_menu[40]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:30:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 30 | "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:30:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 30 | "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:30:28: note: (near initialization for 'savegame_menu[41]') BUILDSTDERR: menu_savegames.c:30:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 30 | "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:30:50: note: (near initialization for 'savegame_menu[42]') BUILDSTDERR: menu_savegames.c:31:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 31 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_savegames.c:31:6: note: (near initialization for 'savegame_menu[43]') BUILDSTDERR: menu_savegames.c:32:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 32 | "Cancel", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menu_savegames.c:32:6: note: (near initialization for 'savegame_menu[47]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:32:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 32 | "Cancel", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'savegame_menu[48]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:32:16: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 32 | "Cancel", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_savegames.c:32:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 32 | "Cancel", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:32:28: note: (near initialization for 'savegame_menu[49]') BUILDSTDERR: menu_savegames.c:35:34: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 35 | uchar *savegame_failure[MAXM] = {4,94, 255, NULL, BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:35:34: note: (near initialization for 'savegame_failure[0]') BUILDSTDERR: menu_savegames.c:35:36: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 35 | uchar *savegame_failure[MAXM] = {4,94, 255, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: menu_savegames.c:35:36: note: (near initialization for 'savegame_failure[1]') BUILDSTDERR: menu_savegames.c:35:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 35 | uchar *savegame_failure[MAXM] = {4,94, 255, NULL, BUILDSTDERR: | ^~~ BUILDSTDERR: menu_savegames.c:35:41: note: (near initialization for 'savegame_failure[2]') BUILDSTDERR: menu_savegames.c:36:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 36 | "Failure-- Unable to save the game.", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:36:6: note: (near initialization for 'savegame_failure[4]') BUILDSTDERR: menu_savegames.c:37:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 37 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: menu_savegames.c:37:6: note: (near initialization for 'savegame_failure[8]') BUILDSTDERR: menu_savegames.c:38:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 38 | "Ok", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~ BUILDSTDERR: menu_savegames.c:38:6: note: (near initialization for 'savegame_failure[12]') BUILDSTDERR: In file included from menu_savegames.c:3: BUILDSTDERR: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:38:12: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 38 | "Ok", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu.h:61:22: note: (near initialization for 'savegame_failure[13]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: menu_savegames.c:38:12: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 38 | "Ok", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: menu_savegames.c:38:24: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 38 | "Ok", MNU_CALLFP, dismiss_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menu_savegames.c:38:24: note: (near initialization for 'savegame_failure[14]') BUILDSTDERR: menu_savegames.c: In function 'loadsavegamenames': BUILDSTDERR: menu_savegames.c:74:36: warning: pointer targets in passing argument 6 of 'savegame_readheader' differ in signedness [-Wpointer-sign] BUILDSTDERR: 74 | &savegames[i].numplayers, &savegames[i].iscustom); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from menu_savegames.c:2: BUILDSTDERR: menu_savegames.fdh:42:107: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 42 | void savegame_readheader(FILE *fp, uchar *episode, uchar *level, uchar *lives, uchar *num_players, uchar *is_custom); BUILDSTDERR: menu_savegames.c: In function 'getsgstr': BUILDSTDERR: menu_savegames.c:94:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 94 | font_draw("Use DEL to delete games", x, 222, drawcharacter_clear); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from menu_savegames.c:2: BUILDSTDERR: menu_savegames.fdh:19:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 19 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: menu_savegames.c:100:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] BUILDSTDERR: 100 | font_draw("Use DEL to delete games", x, 390, drawcharacter_clear_erasebg); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from menu_savegames.c:2: BUILDSTDERR: menu_savegames.fdh:19:31: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 19 | void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~ BUILDSTDERR: menu_savegames.c:109:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 109 | sprintf(tempbuf, "[USERM - %d lives %cp]", savegames[slot].lives, savegames[slot].numplayers+'0'); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_savegames.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_savegames.c:114:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 114 | sprintf(tempbuf, "[E%d WM - %d lives %cp]", savegames[slot].episode, savegames[slot].lives, savegames[slot].numplayers+'0'); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_savegames.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_savegames.c:116:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 116 | sprintf(tempbuf, "[E%dL%02d - %d lives %cp]", savegames[slot].episode, savegames[slot].level, savegames[slot].lives, savegames[slot].numplayers+'0'); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_savegames.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_savegames.c:127:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 127 | strcpy(tempbuf, BLANKGAME); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_savegames.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_savegames.c:136:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 136 | strcpy(tempbuf, XXXGAME); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from menu_savegames.c:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: menu_savegames.c:154:14: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 154 | return tempbuf; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu_savegames.c:165:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 165 | return tempbuf; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menu_savegames.c: In function 'savegame_getgamename': BUILDSTDERR: menu_savegames.c:197:18: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: 197 | Menu_InitMenu(&savegame_failure); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * (*)[150] BUILDSTDERR: In file included from menu_savegames.c:2: BUILDSTDERR: menu_savegames.fdh:26:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' BUILDSTDERR: 26 | void Menu_InitMenu(uchar *whichmenu); BUILDSTDERR: In file included from menu.h:92, BUILDSTDERR: from menu_savegames.c:3: BUILDSTDERR: menu_savegames.c: At top level: BUILDSTDERR: menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 36 | void static SelectCorrectMM(void); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 37 | void static DrawMenuText(void); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 42 | void static DrawLogo(void); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 45 | void static move_down(void); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 46 | void static move_up(void); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 49 | char static goto_epmenu(int numplayers); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 50 | char static mmhandler_newgame(int episode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 51 | char static mmhandler_endgame(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 52 | char static mmhandler_restartlevel(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 53 | char static mmhandler_quit(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 54 | char static mmhandler_quit2(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: customepisode.c: In function 'LoadFlagsIni': BUILDSTDERR: customepisode.c:32:52: warning: implicit declaration of function 'LoadVGASprites' [-Wimplicit-function-declaration] BUILDSTDERR: 32 | if (Ini_GetNumericKeyDef(iname, "VGASprites", 0)) LoadVGASprites(); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: customepisode.c:33:50: warning: implicit declaration of function 'LoadVGATiles' [-Wimplicit-function-declaration] BUILDSTDERR: 33 | if (Ini_GetNumericKeyDef(iname, "VGATiles", 0)) LoadVGATiles(); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:23:34: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 23 | uchar *editor_misc_menu[MAXM] = {64,72, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:23:34: note: (near initialization for 'editor_misc_menu[0]') BUILDSTDERR: editor/menu_editor.c:23:37: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 23 | uchar *editor_misc_menu[MAXM] = {64,72, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:23:37: note: (near initialization for 'editor_misc_menu[1]') BUILDSTDERR: editor/menu_editor.c:24:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 24 | "Set Time Limit", MNU_CALLFP, me_timelimit, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:24:6: note: (near initialization for 'editor_misc_menu[7]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:24:24: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 24 | "Set Time Limit", MNU_CALLFP, me_timelimit, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_misc_menu[8]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:24:24: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 24 | "Set Time Limit", MNU_CALLFP, me_timelimit, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:24:36: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 24 | "Set Time Limit", MNU_CALLFP, me_timelimit, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:24:36: note: (near initialization for 'editor_misc_menu[9]') BUILDSTDERR: editor/menu_editor.c:25:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 25 | " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:25:6: note: (near initialization for 'editor_misc_menu[11]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:25:33: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 25 | " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[12]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:25:33: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 25 | " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:25:50: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 25 | " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:25:50: note: (near initialization for 'editor_misc_menu[13]') BUILDSTDERR: editor/menu_editor.c:26:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 26 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:26:6: note: (near initialization for 'editor_misc_menu[15]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:26:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 26 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[16]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:26:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 26 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:26:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 26 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:26:27: note: (near initialization for 'editor_misc_menu[17]') BUILDSTDERR: In file included from editor/menu_editor.c:1: BUILDSTDERR: editor/../keen.h:283:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 283 | #define OPT_HARD 4 // 1=increase difficulty BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:26:44: note: in expansion of macro 'OPT_HARD' BUILDSTDERR: 26 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: editor/../keen.h:283:33: note: (near initialization for 'editor_misc_menu[18]') BUILDSTDERR: 283 | #define OPT_HARD 4 // 1=increase difficulty BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:26:44: note: in expansion of macro 'OPT_HARD' BUILDSTDERR: 26 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: editor/menu_editor.c:27:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 27 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:27:6: note: (near initialization for 'editor_misc_menu[19]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:27:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 27 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[20]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:27:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 27 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:27:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 27 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:27:27: note: (near initialization for 'editor_misc_menu[21]') BUILDSTDERR: In file included from editor/menu_editor.c:1: BUILDSTDERR: editor/../keen.h:289:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 289 | #define OPT_MUSTKILLYORPS 10 // 1=must kill yorps to leave level BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:27:44: note: in expansion of macro 'OPT_MUSTKILLYORPS' BUILDSTDERR: 27 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/../keen.h:289:28: note: (near initialization for 'editor_misc_menu[22]') BUILDSTDERR: 289 | #define OPT_MUSTKILLYORPS 10 // 1=must kill yorps to leave level BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:27:44: note: in expansion of macro 'OPT_MUSTKILLYORPS' BUILDSTDERR: 27 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:28:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 28 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:28:6: note: (near initialization for 'editor_misc_menu[23]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:28:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 28 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[24]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:28:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 28 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:28:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 28 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:28:27: note: (near initialization for 'editor_misc_menu[25]') BUILDSTDERR: In file included from editor/menu_editor.c:1: BUILDSTDERR: editor/../keen.h:290:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 290 | #define OPT_YORPFORCEFIELDS 11 // 1=must stun yorps to kill them BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:28:44: note: in expansion of macro 'OPT_YORPFORCEFIELDS' BUILDSTDERR: 28 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/../keen.h:290:30: note: (near initialization for 'editor_misc_menu[26]') BUILDSTDERR: 290 | #define OPT_YORPFORCEFIELDS 11 // 1=must stun yorps to kill them BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:28:44: note: in expansion of macro 'OPT_YORPFORCEFIELDS' BUILDSTDERR: 28 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 29 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:29:6: note: (near initialization for 'editor_misc_menu[27]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:29:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 29 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[28]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:29:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 29 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:29:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 29 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:29:27: note: (near initialization for 'editor_misc_menu[29]') BUILDSTDERR: In file included from editor/menu_editor.c:1: BUILDSTDERR: editor/../keen.h:281:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 281 | #define OPT_FULLYAUTOMATIC 2 // 1=fully automatic raygun BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:29:44: note: in expansion of macro 'OPT_FULLYAUTOMATIC' BUILDSTDERR: 29 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/../keen.h:281:33: note: (near initialization for 'editor_misc_menu[30]') BUILDSTDERR: 281 | #define OPT_FULLYAUTOMATIC 2 // 1=fully automatic raygun BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:29:44: note: in expansion of macro 'OPT_FULLYAUTOMATIC' BUILDSTDERR: 29 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:30:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 30 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:30:6: note: (near initialization for 'editor_misc_menu[31]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:30:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 30 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[32]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:30:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 30 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:30:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 30 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:30:27: note: (near initialization for 'editor_misc_menu[33]') BUILDSTDERR: In file included from editor/menu_editor.c:1: BUILDSTDERR: editor/../keen.h:282:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 282 | #define OPT_SUPERPOGO 3 // 1=pogo jumps really high BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:30:44: note: in expansion of macro 'OPT_SUPERPOGO' BUILDSTDERR: 30 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/../keen.h:282:33: note: (near initialization for 'editor_misc_menu[34]') BUILDSTDERR: 282 | #define OPT_SUPERPOGO 3 // 1=pogo jumps really high BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:30:44: note: in expansion of macro 'OPT_SUPERPOGO' BUILDSTDERR: 30 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:31:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 31 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:31:6: note: (near initialization for 'editor_misc_menu[35]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:31:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 31 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[36]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:31:10: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 31 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:31:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 31 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:31:27: note: (near initialization for 'editor_misc_menu[37]') BUILDSTDERR: In file included from editor/menu_editor.c:1: BUILDSTDERR: editor/../keen.h:295:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 295 | #define OPT_DOORSBLOCKRAY 16 // 1=can't shoot through locked doors BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:31:44: note: in expansion of macro 'OPT_DOORSBLOCKRAY' BUILDSTDERR: 31 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/../keen.h:295:28: note: (near initialization for 'editor_misc_menu[38]') BUILDSTDERR: 295 | #define OPT_DOORSBLOCKRAY 16 // 1=can't shoot through locked doors BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:31:44: note: in expansion of macro 'OPT_DOORSBLOCKRAY' BUILDSTDERR: 31 | "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:32:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 32 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:32:6: note: (near initialization for 'editor_misc_menu[39]') BUILDSTDERR: editor/menu_editor.c:33:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 33 | "Add Border", MNU_CALLFP, me_addborder, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:33:6: note: (near initialization for 'editor_misc_menu[43]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:33:20: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 33 | "Add Border", MNU_CALLFP, me_addborder, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_misc_menu[44]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:33:20: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 33 | "Add Border", MNU_CALLFP, me_addborder, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:33:32: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 33 | "Add Border", MNU_CALLFP, me_addborder, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:33:32: note: (near initialization for 'editor_misc_menu[45]') BUILDSTDERR: editor/menu_editor.c:34:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 34 | "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:34:6: note: (near initialization for 'editor_misc_menu[47]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:34:26: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 34 | "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_misc_menu[48]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:34:26: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 34 | "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:34:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 34 | "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:34:38: note: (near initialization for 'editor_misc_menu[49]') BUILDSTDERR: editor/menu_editor.c:35:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 35 | " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:35:6: note: (near initialization for 'editor_misc_menu[51]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:35:36: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 35 | " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[52]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:35:36: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 35 | " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:35:53: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 35 | " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:35:53: note: (near initialization for 'editor_misc_menu[53]') BUILDSTDERR: editor/menu_editor.c:36:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 36 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:36:6: note: (near initialization for 'editor_misc_menu[55]') BUILDSTDERR: editor/menu_editor.c:37:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 37 | "<< Back", MNU_SWITCHMENU, editor_menu, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:37:6: note: (near initialization for 'editor_misc_menu[59]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:37:17: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 37 | "<< Back", MNU_SWITCHMENU, editor_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:60:25: note: (near initialization for 'editor_misc_menu[60]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:37:17: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 37 | "<< Back", MNU_SWITCHMENU, editor_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:37:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 37 | "<< Back", MNU_SWITCHMENU, editor_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:37:33: note: (near initialization for 'editor_misc_menu[61]') BUILDSTDERR: editor/menu_editor.c:41:29: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 41 | uchar *editor_menu[MAXM] = {75+8,61, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:41:29: note: (near initialization for 'editor_menu[0]') BUILDSTDERR: editor/menu_editor.c:41:34: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 41 | uchar *editor_menu[MAXM] = {75+8,61, 0, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:41:34: note: (near initialization for 'editor_menu[1]') BUILDSTDERR: editor/menu_editor.c:42:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 42 | "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:42:6: note: (near initialization for 'editor_menu[7]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:42:23: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 42 | "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_menu[8]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:42:23: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 42 | "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:42:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 42 | "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:42:35: note: (near initialization for 'editor_menu[9]') BUILDSTDERR: editor/menu_editor.c:43:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 43 | "[x] Reset", MNU_CALLFP, me_resetmap, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:43:6: note: (near initialization for 'editor_menu[11]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:43:20: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 43 | "[x] Reset", MNU_CALLFP, me_resetmap, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_menu[12]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:43:20: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 43 | "[x] Reset", MNU_CALLFP, me_resetmap, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:43:32: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 43 | "[x] Reset", MNU_CALLFP, me_resetmap, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:43:32: note: (near initialization for 'editor_menu[13]') BUILDSTDERR: editor/menu_editor.c:44:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 44 | " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:44:6: note: (near initialization for 'editor_menu[15]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:44:24: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 44 | " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:60:25: note: (near initialization for 'editor_menu[16]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:44:24: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 44 | " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:44:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 44 | " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:44:40: note: (near initialization for 'editor_menu[17]') BUILDSTDERR: editor/menu_editor.c:45:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 45 | "[e] Change Episode", MNU_CALLFP, me_nextep, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:45:6: note: (near initialization for 'editor_menu[19]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:45:29: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 45 | "[e] Change Episode", MNU_CALLFP, me_nextep, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_menu[20]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:45:29: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 45 | "[e] Change Episode", MNU_CALLFP, me_nextep, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:45:41: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 45 | "[e] Change Episode", MNU_CALLFP, me_nextep, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:45:41: note: (near initialization for 'editor_menu[21]') BUILDSTDERR: editor/menu_editor.c:46:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 46 | "[F1] Save", MNU_CALLFP, me_save, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:46:6: note: (near initialization for 'editor_menu[23]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:46:19: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 46 | "[F1] Save", MNU_CALLFP, me_save, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_menu[24]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:46:19: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 46 | "[F1] Save", MNU_CALLFP, me_save, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:46:31: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 46 | "[F1] Save", MNU_CALLFP, me_save, 0, BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: editor/menu_editor.c:46:31: note: (near initialization for 'editor_menu[25]') BUILDSTDERR: editor/menu_editor.c:47:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 47 | "[F2] Save As...", MNU_CALLFP, me_saveas, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:47:6: note: (near initialization for 'editor_menu[27]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:47:25: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 47 | "[F2] Save As...", MNU_CALLFP, me_saveas, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_menu[28]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:47:25: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 47 | "[F2] Save As...", MNU_CALLFP, me_saveas, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: customepisode.c: In function 'GuessWhichEpisode': BUILDSTDERR: editor/menu_editor.c:47:37: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 47 | "[F2] Save As...", MNU_CALLFP, me_saveas, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:47:37: note: (near initialization for 'editor_menu[29]') BUILDSTDERR: customepisode.c:68:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 68 | fname = GetFileAtIndex(i); BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:48:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 48 | "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, BUILDSTDERR: | ^~~~~~ BUILDSTDERR: editor/menu_editor.c:48:6: note: (near initialization for 'editor_menu[31]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:48:14: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 48 | "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:60:25: note: (near initialization for 'editor_menu[32]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:48:14: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 48 | "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:48:30: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 48 | "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:48:30: note: (near initialization for 'editor_menu[33]') BUILDSTDERR: editor/menu_editor.c:49:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 49 | "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:49:6: note: (near initialization for 'editor_menu[35]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:49:29: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 49 | "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:60:25: note: (near initialization for 'editor_menu[36]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:49:29: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 49 | "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:49:45: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 49 | "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:49:45: note: (near initialization for 'editor_menu[37]') BUILDSTDERR: editor/menu_editor.c:50:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 50 | "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:50:6: note: (near initialization for 'editor_menu[39]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:50:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 50 | "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:60:25: note: (near initialization for 'editor_menu[40]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:50:18: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 50 | "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:50:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 50 | "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:50:34: note: (near initialization for 'editor_menu[41]') BUILDSTDERR: editor/menu_editor.c:51:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 51 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:51:6: note: (near initialization for 'editor_menu[43]') BUILDSTDERR: editor/menu_editor.c:52:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 52 | "Exit Editor", MNU_CALLFP, me_exit_ed, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:52:6: note: (near initialization for 'editor_menu[47]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:52:21: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 52 | "Exit Editor", MNU_CALLFP, me_exit_ed, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'editor_menu[48]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:52:21: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 52 | "Exit Editor", MNU_CALLFP, me_exit_ed, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:52:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 52 | "Exit Editor", MNU_CALLFP, me_exit_ed, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:52:33: note: (near initialization for 'editor_menu[49]') BUILDSTDERR: editor/menu_editor.c:53:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 53 | "Exit Program", MNU_SWITCHMENU, quit_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:53:6: note: (near initialization for 'editor_menu[51]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:53:22: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 53 | "Exit Program", MNU_SWITCHMENU, quit_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: customepisode.c:59:5: warning: unused variable 'ep' [-Wunused-variable] BUILDSTDERR: 59 | int ep; BUILDSTDERR: | ^~ BUILDSTDERR: editor/../menu.h:60:25: note: (near initialization for 'editor_menu[52]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:53:22: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 53 | "Exit Program", MNU_SWITCHMENU, quit_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:53:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 53 | "Exit Program", MNU_SWITCHMENU, quit_menu, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:53:38: note: (near initialization for 'editor_menu[53]') BUILDSTDERR: editor/menu_editor.c:54:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 54 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:54:6: note: (near initialization for 'editor_menu[55]') BUILDSTDERR: editor/menu_editor.c:55:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 55 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:55:6: note: (near initialization for 'editor_menu[59]') BUILDSTDERR: editor/menu_editor.c:56:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 56 | "q - Set Start Pos", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:56:6: note: (near initialization for 'editor_menu[63]') BUILDSTDERR: editor/menu_editor.c:57:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 57 | "b, ALT+b - Block/Pat Fill", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:57:6: note: (near initialization for 'editor_menu[67]') BUILDSTDERR: editor/menu_editor.c:58:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 58 | "SHIFT - Pickup Tile", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:58:6: note: (near initialization for 'editor_menu[71]') BUILDSTDERR: editor/menu_editor.c:59:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 59 | "W,A,S,D - Move Selector", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:59:6: note: (near initialization for 'editor_menu[75]') BUILDSTDERR: editor/menu_editor.c:63:36: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 63 | uchar *edverifyclear_menu[MAXM] = {92,100,0,NULL,NULL,NULL,NULL, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:63:36: note: (near initialization for 'edverifyclear_menu[0]') BUILDSTDERR: editor/menu_editor.c:63:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 63 | uchar *edverifyclear_menu[MAXM] = {92,100,0,NULL,NULL,NULL,NULL, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:63:39: note: (near initialization for 'edverifyclear_menu[1]') BUILDSTDERR: editor/menu_editor.c:64:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 64 | "Erase Map!", MNU_CALLFP, me_newmap, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:64:6: note: (near initialization for 'edverifyclear_menu[7]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:64:20: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 64 | "Erase Map!", MNU_CALLFP, me_newmap, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'edverifyclear_menu[8]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:64:20: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 64 | "Erase Map!", MNU_CALLFP, me_newmap, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:64:32: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 64 | "Erase Map!", MNU_CALLFP, me_newmap, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:64:32: note: (near initialization for 'edverifyclear_menu[9]') BUILDSTDERR: editor/menu_editor.c:65:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 65 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:65:6: note: (near initialization for 'edverifyclear_menu[11]') BUILDSTDERR: editor/menu_editor.c:66:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 66 | "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:66:6: note: (near initialization for 'edverifyclear_menu[15]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:66:21: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 66 | "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:60:25: note: (near initialization for 'edverifyclear_menu[16]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:66:21: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 66 | "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:66:37: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 66 | "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:66:37: note: (near initialization for 'edverifyclear_menu[17]') BUILDSTDERR: editor/menu_editor.c:71:32: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 71 | uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:71:32: note: (near initialization for 'edloadmap_menu[0]') BUILDSTDERR: editor/menu_editor.c:71:40: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 71 | uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:71:40: note: (near initialization for 'edloadmap_menu[1]') BUILDSTDERR: editor/menu_editor.c:71:48: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 71 | uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:71:48: note: (near initialization for 'edloadmap_menu[3]') BUILDSTDERR: editor/menu_editor.c:71:60: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] BUILDSTDERR: 71 | uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:71:60: note: (near initialization for 'edloadmap_menu[4]') BUILDSTDERR: editor/menu_editor.c:71:81: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(char)' [-Wincompatible-pointer-types] BUILDSTDERR: 71 | uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:71:81: note: (near initialization for 'edloadmap_menu[5]') BUILDSTDERR: editor/menu_editor.c:72:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 72 | "", MNU_CALLFP, me_newmap, 0, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:72:6: note: (near initialization for 'edloadmap_menu[7]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:72:19: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 72 | "", MNU_CALLFP, me_newmap, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/../menu.h:61:22: note: (near initialization for 'edloadmap_menu[8]') BUILDSTDERR: 61 | #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:72:19: note: in expansion of macro 'MNU_CALLFP' BUILDSTDERR: 72 | "", MNU_CALLFP, me_newmap, 0, BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:72:31: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] BUILDSTDERR: 72 | "", MNU_CALLFP, me_newmap, 0, BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:72:31: note: (near initialization for 'edloadmap_menu[9]') BUILDSTDERR: editor/menu_editor.c:73:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 73 | "0", MNU_DYNAMICTEXT, getcmapname, 100, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:73:6: note: (near initialization for 'edloadmap_menu[11]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:73:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 73 | "0", MNU_DYNAMICTEXT, getcmapname, 100, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[12]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:73:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 73 | "0", MNU_DYNAMICTEXT, getcmapname, 100, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:73:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 73 | "0", MNU_DYNAMICTEXT, getcmapname, 100, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:73:28: note: (near initialization for 'edloadmap_menu[13]') BUILDSTDERR: editor/menu_editor.c:73:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 73 | "0", MNU_DYNAMICTEXT, getcmapname, 100, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:73:41: note: (near initialization for 'edloadmap_menu[14]') BUILDSTDERR: editor/menu_editor.c:74:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 74 | "1", MNU_DYNAMICTEXT, getcmapname, 101, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:74:6: note: (near initialization for 'edloadmap_menu[15]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:74:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 74 | "1", MNU_DYNAMICTEXT, getcmapname, 101, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[16]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:74:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 74 | "1", MNU_DYNAMICTEXT, getcmapname, 101, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:74:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 74 | "1", MNU_DYNAMICTEXT, getcmapname, 101, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:74:28: note: (near initialization for 'edloadmap_menu[17]') BUILDSTDERR: editor/menu_editor.c:74:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 74 | "1", MNU_DYNAMICTEXT, getcmapname, 101, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:74:41: note: (near initialization for 'edloadmap_menu[18]') BUILDSTDERR: editor/menu_editor.c:75:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 75 | "2", MNU_DYNAMICTEXT, getcmapname, 102, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:75:6: note: (near initialization for 'edloadmap_menu[19]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:75:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 75 | "2", MNU_DYNAMICTEXT, getcmapname, 102, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[20]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:75:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 75 | "2", MNU_DYNAMICTEXT, getcmapname, 102, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:75:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 75 | "2", MNU_DYNAMICTEXT, getcmapname, 102, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:75:28: note: (near initialization for 'edloadmap_menu[21]') BUILDSTDERR: editor/menu_editor.c:75:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 75 | "2", MNU_DYNAMICTEXT, getcmapname, 102, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:75:41: note: (near initialization for 'edloadmap_menu[22]') BUILDSTDERR: editor/menu_editor.c:76:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 76 | "3", MNU_DYNAMICTEXT, getcmapname, 103, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:76:6: note: (near initialization for 'edloadmap_menu[23]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:76:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 76 | "3", MNU_DYNAMICTEXT, getcmapname, 103, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[24]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:76:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 76 | "3", MNU_DYNAMICTEXT, getcmapname, 103, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:76:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 76 | "3", MNU_DYNAMICTEXT, getcmapname, 103, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:76:28: note: (near initialization for 'edloadmap_menu[25]') BUILDSTDERR: editor/menu_editor.c:76:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 76 | "3", MNU_DYNAMICTEXT, getcmapname, 103, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:76:41: note: (near initialization for 'edloadmap_menu[26]') BUILDSTDERR: editor/menu_editor.c:77:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 77 | "4", MNU_DYNAMICTEXT, getcmapname, 104, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:77:6: note: (near initialization for 'edloadmap_menu[27]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:77:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 77 | "4", MNU_DYNAMICTEXT, getcmapname, 104, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[28]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:77:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 77 | "4", MNU_DYNAMICTEXT, getcmapname, 104, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:77:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 77 | "4", MNU_DYNAMICTEXT, getcmapname, 104, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:77:28: note: (near initialization for 'edloadmap_menu[29]') BUILDSTDERR: editor/menu_editor.c:77:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 77 | "4", MNU_DYNAMICTEXT, getcmapname, 104, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:77:41: note: (near initialization for 'edloadmap_menu[30]') BUILDSTDERR: editor/menu_editor.c:78:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 78 | "5", MNU_DYNAMICTEXT, getcmapname, 105, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:78:6: note: (near initialization for 'edloadmap_menu[31]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:78:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 78 | "5", MNU_DYNAMICTEXT, getcmapname, 105, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[32]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:78:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 78 | "5", MNU_DYNAMICTEXT, getcmapname, 105, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:78:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 78 | "5", MNU_DYNAMICTEXT, getcmapname, 105, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:78:28: note: (near initialization for 'edloadmap_menu[33]') BUILDSTDERR: editor/menu_editor.c:78:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 78 | "5", MNU_DYNAMICTEXT, getcmapname, 105, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:78:41: note: (near initialization for 'edloadmap_menu[34]') BUILDSTDERR: editor/menu_editor.c:79:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 79 | "6", MNU_DYNAMICTEXT, getcmapname, 106, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:79:6: note: (near initialization for 'edloadmap_menu[35]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:79:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 79 | "6", MNU_DYNAMICTEXT, getcmapname, 106, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[36]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:79:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 79 | "6", MNU_DYNAMICTEXT, getcmapname, 106, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:79:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 79 | "6", MNU_DYNAMICTEXT, getcmapname, 106, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:79:28: note: (near initialization for 'edloadmap_menu[37]') BUILDSTDERR: editor/menu_editor.c:79:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 79 | "6", MNU_DYNAMICTEXT, getcmapname, 106, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:79:41: note: (near initialization for 'edloadmap_menu[38]') BUILDSTDERR: editor/menu_editor.c:80:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | "7", MNU_DYNAMICTEXT, getcmapname, 107, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:80:6: note: (near initialization for 'edloadmap_menu[39]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:80:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 80 | "7", MNU_DYNAMICTEXT, getcmapname, 107, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[40]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:80:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 80 | "7", MNU_DYNAMICTEXT, getcmapname, 107, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:80:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 80 | "7", MNU_DYNAMICTEXT, getcmapname, 107, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:80:28: note: (near initialization for 'edloadmap_menu[41]') BUILDSTDERR: editor/menu_editor.c:80:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 80 | "7", MNU_DYNAMICTEXT, getcmapname, 107, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:80:41: note: (near initialization for 'edloadmap_menu[42]') BUILDSTDERR: editor/menu_editor.c:81:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 81 | "8", MNU_DYNAMICTEXT, getcmapname, 108, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:81:6: note: (near initialization for 'edloadmap_menu[43]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:81:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 81 | "8", MNU_DYNAMICTEXT, getcmapname, 108, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[44]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:81:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 81 | "8", MNU_DYNAMICTEXT, getcmapname, 108, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:81:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 81 | "8", MNU_DYNAMICTEXT, getcmapname, 108, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:81:28: note: (near initialization for 'edloadmap_menu[45]') BUILDSTDERR: editor/menu_editor.c:81:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 81 | "8", MNU_DYNAMICTEXT, getcmapname, 108, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:81:41: note: (near initialization for 'edloadmap_menu[46]') BUILDSTDERR: editor/menu_editor.c:82:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 82 | "9", MNU_DYNAMICTEXT, getcmapname, 109, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:82:6: note: (near initialization for 'edloadmap_menu[47]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:82:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 82 | "9", MNU_DYNAMICTEXT, getcmapname, 109, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[48]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:82:11: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 82 | "9", MNU_DYNAMICTEXT, getcmapname, 109, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:82:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 82 | "9", MNU_DYNAMICTEXT, getcmapname, 109, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:82:28: note: (near initialization for 'edloadmap_menu[49]') BUILDSTDERR: editor/menu_editor.c:82:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 82 | "9", MNU_DYNAMICTEXT, getcmapname, 109, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:82:41: note: (near initialization for 'edloadmap_menu[50]') BUILDSTDERR: editor/menu_editor.c:83:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 83 | "10", MNU_DYNAMICTEXT, getcmapname, 110, BUILDSTDERR: | ^~~~ BUILDSTDERR: editor/menu_editor.c:83:6: note: (near initialization for 'edloadmap_menu[51]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:83:12: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 83 | "10", MNU_DYNAMICTEXT, getcmapname, 110, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[52]') BUILDSTDERR: 62 | #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:83:12: note: in expansion of macro 'MNU_DYNAMICTEXT' BUILDSTDERR: 83 | "10", MNU_DYNAMICTEXT, getcmapname, 110, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:83:29: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] BUILDSTDERR: 83 | "10", MNU_DYNAMICTEXT, getcmapname, 110, BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:83:29: note: (near initialization for 'edloadmap_menu[53]') BUILDSTDERR: editor/menu_editor.c:83:42: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 83 | "10", MNU_DYNAMICTEXT, getcmapname, 110, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:83:42: note: (near initialization for 'edloadmap_menu[54]') BUILDSTDERR: editor/menu_editor.c:85:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 85 | uchar *edbadlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:85:33: note: (near initialization for 'edbadlevel_menu[0]') BUILDSTDERR: editor/menu_editor.c:85:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 85 | uchar *edbadlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:85:39: note: (near initialization for 'edbadlevel_menu[1]') BUILDSTDERR: editor/menu_editor.c:85:44: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 85 | uchar *edbadlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, BUILDSTDERR: | ^~~ BUILDSTDERR: editor/menu_editor.c:85:44: note: (near initialization for 'edbadlevel_menu[2]') BUILDSTDERR: editor/menu_editor.c:86:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 86 | "I don't know how to open", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:86:6: note: (near initialization for 'edbadlevel_menu[7]') BUILDSTDERR: editor/menu_editor.c:87:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 87 | "that file!", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:87:6: note: (near initialization for 'edbadlevel_menu[11]') BUILDSTDERR: editor/menu_editor.c:88:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 88 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:88:6: note: (near initialization for 'edbadlevel_menu[15]') BUILDSTDERR: editor/menu_editor.c:89:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 89 | "", MNU_SEPERATOR, NULL, 0, BUILDSTDERR: | ^~ BUILDSTDERR: editor/menu_editor.c:89:6: note: (near initialization for 'edbadlevel_menu[19]') BUILDSTDERR: editor/menu_editor.c:90:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 90 | "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~ BUILDSTDERR: editor/menu_editor.c:90:6: note: (near initialization for 'edbadlevel_menu[23]') BUILDSTDERR: In file included from editor/menu_editor.c:3: BUILDSTDERR: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:90:12: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 90 | "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/../menu.h:60:25: note: (near initialization for 'edbadlevel_menu[24]') BUILDSTDERR: 60 | #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c:90:12: note: in expansion of macro 'MNU_SWITCHMENU' BUILDSTDERR: 90 | "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:90:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] BUILDSTDERR: 90 | "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c:90:28: note: (near initialization for 'edbadlevel_menu[25]') BUILDSTDERR: editor/menu_editor.c: In function 'me_resetmap': BUILDSTDERR: editor/menu_editor.c:103:36: warning: implicit declaration of function 'editor_resetmap' [-Wimplicit-function-declaration] BUILDSTDERR: 103 | char static me_resetmap(int arg) { editor_resetmap(); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c: In function 'me_addborder': BUILDSTDERR: editor/menu_editor.c:110:37: warning: implicit declaration of function 'editor_addborder'; did you mean 'me_addborder'? [-Wimplicit-function-declaration] BUILDSTDERR: 110 | char static me_addborder(int arg) { editor_addborder(); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | me_addborder BUILDSTDERR: editor/editor.c: In function 'editor_run': BUILDSTDERR: editor/autoblock.c:71:9: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 71 | return &block[index]; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/autoblock.c:62:6: note: 'block' was declared here BUILDSTDERR: 62 | int *block; BUILDSTDERR: | ^~~~~ BUILDSTDERR: editor/autoblock.c:71:9: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 71 | return &block[index]; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/autoblock.c:62:6: note: 'block' was declared here BUILDSTDERR: 62 | int *block; BUILDSTDERR: | ^~~~~ BUILDSTDERR: customepisode.c: In function 'LoadFlagsIni': BUILDSTDERR: customepisode.c:14:20: warning: '%s' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] BUILDSTDERR: 14 | sprintf(iname, "%s%s", levelcontrol.custom_episode_path, EPCONFIG_NAME); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from customepisode.c:2: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c: In function 'me_nextep': BUILDSTDERR: editor/menu_editor.c:111:34: warning: implicit declaration of function 'editor_nextep'; did you mean 'editor_enter'? [-Wimplicit-function-declaration] BUILDSTDERR: 111 | char static me_nextep(int arg) { editor_nextep(); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | editor_enter BUILDSTDERR: editor/menu_editor.c: In function 'me_save': BUILDSTDERR: editor/menu_editor.c:112:32: warning: implicit declaration of function 'editor_save'; did you mean 'editor_enter'? [-Wimplicit-function-declaration] BUILDSTDERR: 112 | char static me_save(int arg) { editor_save(); return 1; } BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | editor_enter BUILDSTDERR: editor/menu_editor.c: In function 'me_saveas': BUILDSTDERR: editor/menu_editor.c:113:34: warning: implicit declaration of function 'editor_saveas' [-Wimplicit-function-declaration] BUILDSTDERR: 113 | char static me_saveas(int arg) { editor_saveas(); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c: In function 'me_exit_ed': BUILDSTDERR: editor/menu_editor.c:114:35: warning: implicit declaration of function 'editor_exit'; did you mean 'editor_enter'? [-Wimplicit-function-declaration] BUILDSTDERR: 114 | char static me_exit_ed(int arg) { editor_exit(); return 1; } BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | editor_enter BUILDSTDERR: editor/menu_editor.c: In function 'me_resizemap': BUILDSTDERR: editor/menu_editor.c:115:37: warning: implicit declaration of function 'editor_resizemap'; did you mean 'me_resizemap'? [-Wimplicit-function-declaration] BUILDSTDERR: 115 | char static me_resizemap(int arg) { editor_resizemap(); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | me_resizemap BUILDSTDERR: editor/menu_editor.c: In function 'me_timelimit': BUILDSTDERR: editor/menu_editor.c:116:37: warning: implicit declaration of function 'editor_settimelimit' [-Wimplicit-function-declaration] BUILDSTDERR: 116 | char static me_timelimit(int arg) { editor_settimelimit(); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from editor/../menu.h:92, BUILDSTDERR: from editor/menu_editor.c:3: BUILDSTDERR: editor/menu_editor.c: At top level: BUILDSTDERR: editor/../menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 36 | void static SelectCorrectMM(void); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 37 | void static DrawMenuText(void); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 42 | void static DrawLogo(void); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 45 | void static move_down(void); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 46 | void static move_up(void); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 49 | char static goto_epmenu(int numplayers); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 50 | char static mmhandler_newgame(int episode); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 51 | char static mmhandler_endgame(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 52 | char static mmhandler_restartlevel(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 53 | char static mmhandler_quit(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: editor/../menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 54 | char static mmhandler_quit2(int dummy); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: editor/menu_editor.c: In function 'ToggleGhosting': BUILDSTDERR: editor/menu_editor.c:152:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 152 | } BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c: In function 'SetForcedOption': BUILDSTDERR: editor/menu_editor.c:204:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 204 | } BUILDSTDERR: | ^ BUILDSTDERR: editor/menu_editor.c: In function 'SetGameOverOnTimeOut': BUILDSTDERR: editor/menu_editor.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 138 | } BUILDSTDERR: | ^ BUILDSTDERR: gamedo.c:1173:21: warning: 'yadj' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1173 | drawsprite(OSD_X, y+yadj+mky.y, yorpspr); BUILDSTDERR: | ~^~~~~ BUILDSTDERR: gamedo.c:1173:2: warning: 'yorpspr' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1173 | drawsprite(OSD_X, y+yadj+mky.y, yorpspr); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: latch.c: In function 'latch_loadlatch': BUILDSTDERR: latch.c:224:33: warning: pointer targets in passing argument 2 of 'lz_decompress' differ in signedness [-Wpointer-sign] BUILDSTDERR: 224 | ok = lz_decompress(latchfile, RawData); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from latch.c:7: BUILDSTDERR: latch.fdh:38:49: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 38 | char lz_decompress(FILE *lzfile, unsigned char *outbuffer); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: latch.c:352:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 352 | bitmaps[b].bmptr = bmdataptr; BUILDSTDERR: | ^ BUILDSTDERR: latch.c: In function 'latch_loadsprites': BUILDSTDERR: latch.c:409:32: warning: pointer targets in passing argument 2 of 'lz_decompress' differ in signedness [-Wpointer-sign] BUILDSTDERR: 409 | if (lz_decompress(spritfile, RawData)) return 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from latch.c:7: BUILDSTDERR: latch.fdh:38:49: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 38 | char lz_decompress(FILE *lzfile, unsigned char *outbuffer); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: latch.c: In function 'latch_loadlatch': BUILDSTDERR: latch.c:231:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 231 | fread(RawData, RawDataSize, 1, latchfile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: latch.c: In function 'latch_loadsprites': BUILDSTDERR: latch.c:414:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 414 | fread(RawData, RawDataSize, 1, spritfile); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from vgatiles.c:4: BUILDSTDERR: tga.c: In function 'LoadTGA': BUILDSTDERR: tga.c:52:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 52 | fread(*image, imgdatasize, 1, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cinematics/e1ending.c: In function 'BackAtHisShip_Start': BUILDSTDERR: cinematics/e1ending.c:78:5: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 78 | int i; BUILDSTDERR: | ^ BUILDSTDERR: cinematics/e1ending.c: In function 'BackAtHome_Do': BUILDSTDERR: cinematics/e1ending.c:324:24: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 324 | else message(bahtext[++curtext], dlgX, dlgY, dlgW, dlgH, 1, 0); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: message.c: In function 'message': BUILDSTDERR: message.c:51:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 51 | strcpy(msg, newmsg); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from message.c:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: message.c:57:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 57 | strcpy(vismsg, newmsg); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from message.c:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: message.c:32:5: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: 32 | int len = strlen(newmsg); BUILDSTDERR: | ^~~ BUILDSTDERR: message.c: In function 'message_do': BUILDSTDERR: message.c:153:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 153 | strcpy(vismsg, msg); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from message.c:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: message.c:153:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 153 | strcpy(vismsg, msg); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from keen.h:2, BUILDSTDERR: from message.c:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: message.c:135:6: warning: unused variable 'btn_down' [-Wunused-variable] BUILDSTDERR: 135 | char btn_down = 0; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: cinematics/seqcommon.c: In function 'showmapatpos': BUILDSTDERR: cinematics/seqcommon.c:71:6: warning: unused variable 'levelname' [-Wunused-variable] BUILDSTDERR: 71 | char levelname[80]; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: cinematics/blowupworld.c: In function 'blow_up_world': BUILDSTDERR: cinematics/blowupworld.c:79:28: warning: implicit declaration of function 'endlevel' [-Wimplicit-function-declaration] BUILDSTDERR: 79 | void blow_up_world(void) { endlevel(HIT_TANTALUS_SWITCH); } BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: cinematics/e3ending.c: In function 'TakingPictures_Start': BUILDSTDERR: cinematics/e3ending.c:45:5: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 45 | int i; BUILDSTDERR: | ^ BUILDSTDERR: cinematics/e3ending.c: In function 'TheEnd_Start': BUILDSTDERR: cinematics/e3ending.c:203:6: warning: unused variable 'pagename' [-Wunused-variable] BUILDSTDERR: 203 | char pagename[80]; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: cinematics/e3ending.c:202:5: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 202 | int i; BUILDSTDERR: | ^ switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c menu_keysetup.c -o menu_keysetup.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c menu_savegames.c -o menu_savegames.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c menu_custommap.c -o menu_custommap.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c editor/menu_editor.c -o editor/menu_editor.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c customepisode.c -o customepisode.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c savegame.c -o savegame.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c twirly.c -o twirly.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c sgrle.c -o sgrle.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c lprintf.c -o lprintf.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c vgatiles.c -o vgatiles.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c latch.c -o latch.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c lz.c -o lz.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c message.c -o message.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c cinematics/seqcommon.c -o cinematics/seqcommon.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c cinematics/e1ending.c -o cinematics/e1ending.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c cinematics/e3ending.c -o cinematics/e3ending.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c cinematics/blowupworld.c -o cinematics/blowupworld.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c cinematics/mortimer.c -o cinematics/mortimer.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c cinematics/TBC.c -o cinematics/TBC.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c FinaleScreenLoader.c -o FinaleScreenLoader.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c globals.c -o globals.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/yorp.c -o ai/yorp.o BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switchai/ray.c: In function 'ray_ai': BUILDSTDERR: ai/ray.c:44:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 44 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: ai/ray.c:48:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 48 | switch(objects[o].ai.ray.state) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ai/rope.c: In function 'rope_ai': BUILDSTDERR: ai/rope.c:21:5: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 21 | int i,x; BUILDSTDERR: | ^ BUILDSTDERR: ai/rope.c: In function 'rope_movestone': BUILDSTDERR: ai/rope.c:76:5: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 76 | int i; BUILDSTDERR: | ^ BUILDSTDERR: ai/rope.c:75:10: warning: unused variable 'ypix' [-Wunused-variable] BUILDSTDERR: 75 | int xpix,ypix; BUILDSTDERR: | ^~~~ BUILDSTDERR: ai/rope.c:75:5: warning: unused variable 'xpix' [-Wunused-variable] BUILDSTDERR: 75 | int xpix,ypix; BUILDSTDERR: | ^~~~ BUILDSTDERR: ai/platvert.c: In function 'platvert_ai': BUILDSTDERR: ai/platvert.c:19:5: warning: unused variable 'needtokick' [-Wunused-variable] BUILDSTDERR: 19 | int needtokick; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: ai/baby.c: In function 'baby_ai': BUILDSTDERR: ai/baby.c:175:38: warning: bitwise comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 175 | if ((rnd()&BABY_BOUNCE_PROB)==BABY_BOUNCE_PROB/2) baby_jump(o, BABY_JUMP_BIG); BUILDSTDERR: | ^~ BUILDSTDERR: ai/baby.c:188:38: warning: bitwise comparison always evaluates to false [-Wtautological-compare] BUILDSTDERR: 188 | if ((rnd()&BABY_BOUNCE_PROB)==BABY_BOUNCE_PROB/2) baby_jump(o, BABY_JUMP_BIG); BUILDSTDERR: | ^~ BUILDSTDERR: ai/walker.c: In function 'walker_ai': BUILDSTDERR: ai/walker.c:84:17: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 84 | player[i].psupportingobject!=o) BUILDSTDERR: | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ es -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/garg.c -o ai/garg.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/vort.c -o ai/vort.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/butler.c -o ai/butler.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/tank.c -o ai/tank.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/door.c -o ai/door.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/ray.c -o ai/ray.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/icecannon.c -o ai/icecannon.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/teleport.c -o ai/teleport.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/rope.c -o ai/rope.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/walker.c -o ai/walker.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/tankep2.c -o ai/tankep2.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/platform.c -o ai/platform.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/platvert.c -o ai/platvert.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/vortelite.c -o ai/vortelite.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/se.c -o ai/se.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/baby.c -o ai/baby.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/earth.c -o ai/earth.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/foob.c -o ai/foob.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/ninja.c -o ai/ninja.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/meep.c -o ai/meep.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/sndwave.c -o ai/sndwave.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/mother.c -o ai/mother.o BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstasdl/keydrv.c: In function 'KeyDrv_GetKeyMapping': BUILDSTDERR: sdl/keydrv.c:176:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 176 | return beingset; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: sdl/keydrv.c:180:20: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 180 | if (!ksym) return noksym; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sdl/keydrv.c:187:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 187 | return knbuf; BUILDSTDERR: | ^~~~~ BUILDSTDERR: sdl/keydrv.c:192:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 192 | return knbuf; BUILDSTDERR: | ^~~~~ BUILDSTDERR: sdl/keydrv.c:194:9: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 194 | return kname; BUILDSTDERR: | ^~~~~ BUILDSTDERR: scale2x/scale2x.c:353:13: warning: 'scale2x_32_def_whole' defined but not used [-Wunused-function] BUILDSTDERR: 353 | static void scale2x_32_def_whole(scale2x_uint32* restrict dst0, scale2x_uint32* restrict dst1, const scale2x_uint32* restrict src0, const scale2x_uint32* restrict src1, const scale2x_uint32* restrict src2, unsigned count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scale2x/scale2x.c:204:13: warning: 'scale2x_16_def_whole' defined but not used [-Wunused-function] BUILDSTDERR: 204 | static void scale2x_16_def_whole(scale2x_uint16* restrict dst0, scale2x_uint16* restrict dst1, const scale2x_uint16* restrict src0, const scale2x_uint16* restrict src1, const scale2x_uint16* restrict src2, unsigned count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scale2x/scale2x.c:55:13: warning: 'scale2x_8_def_whole' defined but not used [-Wunused-function] BUILDSTDERR: 55 | static void scale2x_8_def_whole(scale2x_uint8* restrict dst0, scale2x_uint8* restrict dst1, const scale2x_uint8* restrict src0, const scale2x_uint8* restrict src1, const scale2x_uint8* restrict src2, unsigned count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sdl/snddrv.c: In function 'sound_load': BUILDSTDERR: sdl/snddrv.c:176:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 176 | sounds[loadnum].sounddata[i] = SOUND_FREQ_DIVISOR / sndbyte; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:180:10: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 180 | sounds[loadnum].sounddata[i] = sndbyte; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:184:12: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 184 | sounds[loadnum].priority = priority; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c: In function 'SoundDrv_GenWaveform': BUILDSTDERR: sdl/snddrv.c:288:35: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 288 | Chan->desiredfreq = sounds[Chan->current_sound].sounddata[Chan->sound_ptr]; BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: sdl/snddrv.c: In function 'sound_play': BUILDSTDERR: sdl/snddrv.c:466:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 466 | if (SndChannels[chnl].sound_playing) BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:468:31: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 468 | if (sounds[SndChannels[chnl].current_sound].priority > sounds[snd].priority) BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:468:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 468 | if (sounds[SndChannels[chnl].current_sound].priority > sounds[snd].priority) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: sdl/snddrv.c:481:21: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 481 | if (!SndChannels[chnl].sound_playing) BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:490:27: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 490 | if (sounds[SndChannels[chnl].current_sound].priority <= sounds[snd].priority) BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:490:33: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 490 | if (sounds[SndChannels[chnl].current_sound].priority <= sounds[snd].priority) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: sdl/snddrv.c:516:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 516 | SndChannels[chnl].current_sound = snd; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:517:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 517 | SndChannels[chnl].sound_ptr = 0; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:518:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 518 | SndChannels[chnl].sound_timer = 0; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:519:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 519 | SndChannels[chnl].sound_playing = 1; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:520:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 520 | SndChannels[chnl].waveState = WAVE_IN; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:521:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 521 | SndChannels[chnl].freqtimer = 0; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:522:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 522 | SndChannels[chnl].sound_forced = 0; BUILDSTDERR: | ^ BUILDSTDERR: sdl/snddrv.c:524:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 524 | SndChannels[chnl].sound_forced = 1; BUILDSTDERR: | ^ BUILDSTDERR: scale2x/scale3x.c:441:13: warning: 'scale3x_32_def_whole' defined but not used [-Wunused-function] BUILDSTDERR: 441 | static void scale3x_32_def_whole(scale3x_uint32* restrict dst0, scale3x_uint32* restrict dst1, scale3x_uint32* restrict dst2, const scale3x_uint32* restrict src0, const scale3x_uint32* restrict src1, const scale3x_uint32* restrict src2, unsigned count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scale2x/scale3x.c:248:13: warning: 'scale3x_16_def_whole' defined but not used [-Wunused-function] BUILDSTDERR: 248 | static void scale3x_16_def_whole(scale3x_uint16* restrict dst0, scale3x_uint16* restrict dst1, scale3x_uint16* restrict dst2, const scale3x_uint16* restrict src0, const scale3x_uint16* restrict src1, const scale3x_uint16* restrict src2, unsigned count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: scale2x/scale3x.c:55:13: warning: 'scale3x_8_def_whole' defined but not used [-Wunused-function] BUILDSTDERR: 55 | static void scale3x_8_def_whole(scale3x_uint8* restrict dst0, scale3x_uint8* restrict dst1, scale3x_uint8* restrict dst2, const scale3x_uint8* restrict src0, const scale3x_uint8* restrict src1, const scale3x_uint8* restrict src2, unsigned count) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ + gcc -o clonekeen-extract -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection extract.c -ldynamite + gcc -o clonekeen-extract-sounds -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection clonekeen-extract-sounds.c BUILDSTDERR: clonekeen-extract-sounds.c: In function 'main': BUILDSTDERR: clonekeen-extract-sounds.c:167:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: 167 | if (strcmp(&buf[sounds_start], "SND")) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from clonekeen-extract-sounds.c:24: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: | ~~~~~~~~~~~~^~~~ BUILDSTDERR: clonekeen-extract-sounds.c:132:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 132 | fread(tmp, 1, 2, fin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ck-clash-protection -c ai/fireball.c -o ai/fireball.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/balljack.c -o ai/balljack.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/nessie.c -o ai/nessie.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/autoray.c -o ai/autoray.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c ai/gotpoints.c -o ai/gotpoints.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c sdl/keydrv.c -o sdl/keydrv.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c sdl/snddrv.c -o sdl/snddrv.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c sdl/timedrv.c -o sdl/timedrv.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c sdl/viddrv.c -o sdl/viddrv.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c scale2x/scalebit.c -o scale2x/scalebit.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c scale2x/scale2x.c -o scale2x/scale2x.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c scale2x/scale3x.c -o scale2x/scale3x.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c scale2x/pixel.c -o scale2x/pixel.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c platform.cpp -o platform.o gcc -o keen \ main.o sanity.o game.o gamedo.o \ gamepdo.o gamepdo_wm.o editor/editor.o editor/autolight.o console.o \ fileio.o maploader.o map.o graphics.o palette.o \ fonts.o misc.o misc_ui.o graphicmaker.o ini.o \ intro.o menumanager.o menu_options.o menu_keysetup.o menu_savegames.o \ menu_custommap.o editor/menu_editor.o customepisode.o savegame.o twirly.o \ sgrle.o lprintf.o vgatiles.o latch.o lz.o \ message.o cinematics/seqcommon.o cinematics/e1ending.o cinematics/e3ending.o cinematics/blowupworld.o \ cinematics/mortimer.o cinematics/TBC.o FinaleScreenLoader.o globals.o ai/yorp.o \ ai/garg.o ai/vort.o ai/butler.o ai/tank.o ai/door.o \ ai/ray.o ai/icecannon.o ai/teleport.o ai/rope.o ai/walker.o \ ai/tankep2.o ai/platform.o ai/platvert.o ai/vortelite.o ai/se.o \ ai/baby.o ai/earth.o ai/foob.o ai/ninja.o ai/meep.o \ ai/sndwave.o ai/mother.o ai/fireball.o ai/balljack.o ai/nessie.o \ ai/autoray.o ai/gotpoints.o sdl/keydrv.o sdl/snddrv.o sdl/timedrv.o \ sdl/viddrv.o scale2x/scalebit.o scale2x/scale2x.o scale2x/scale3x.o scale2x/pixel.o \ platform.o \ -lSDL -lstdc++ -lm make: Leaving directory '/builddir/build/BUILD/keen/src' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NkFOOz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le + cd keen + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/bin + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/clonekeen/data + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/clonekeen/gfx + install -m 755 src/keen /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec/clonekeen + install -m 755 clonekeen-extract /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec + install -m 755 clonekeen-extract-sounds /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec + install -p -m 755 /builddir/build/SOURCES/clonekeen.sh /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/bin/clonekeen + install -p -m 644 /builddir/build/SOURCES/clonekeen.autodlrc /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/clonekeen + install -p -m 644 bin/demo.dat bin/ep1attr.dat bin/ep1demo1.dat bin/ep1demo2.dat bin/ep1demo3.dat bin/ep2attr.dat bin/ep2demo1.dat bin/ep2demo2.dat bin/ep2demo3.dat bin/ep3attr.dat bin/ep3demo1.dat bin/ep3demo2.dat bin/ep3demo3.dat bin/ep3demo4.dat bin/strings.dat /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/clonekeen + install -p -m 644 bin/flags.ini bin/palette.ini /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/clonekeen + install -p -m 644 bin/gfx/100.tga bin/gfx/1000.tga bin/gfx/200.tga bin/gfx/500.tga bin/gfx/5000.tga bin/gfx/arrowd.tga bin/gfx/arrowlr.tga bin/gfx/arrowu.tga bin/gfx/arrowud.tga bin/gfx/arrowul.tga bin/gfx/arrowur.tga bin/gfx/cklogo1.tga bin/gfx/cklogo2.tga bin/gfx/demobox.tga bin/gfx/gunup.tga bin/gfx/shotup.tga bin/gfx/tile185.tga bin/gfx/tile190.tga bin/gfx/version.tga bin/gfx/yorpshield.tga /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/clonekeen/gfx + install -p -m 644 bin/data/level17.ck1 bin/data/level18.ck2 bin/data/level19.ck2 /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/clonekeen/data + install -p -m 644 bin/demolvl.ck1 /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/clonekeen + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/applications /builddir/build/SOURCES/clonekeen.desktop + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/icons/hicolor/24x24/apps + install -p -m 644 /builddir/build/SOURCES/clonekeen.png /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/icons/hicolor/24x24/apps + /usr/lib/rpm/find-debuginfo.sh -j12 --strict-build-id -m -i --build-id-seed 0.8.4-17.fc31 --unique-debug-suffix -0.8.4-17.fc31.ppc64le --unique-debug-src-base clonekeen-0.8.4-17.fc31.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/keen BUILDSTDERR: 1700 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec/clonekeen extracting debug info from /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec/clonekeen explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec/clonekeen-extract explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec/clonekeen-extract-sounds extracting debug info from /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec/clonekeen-extract-sounds extracting debug info from /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/libexec/clonekeen-extract original debug info size: 1780kB, size after compression: 1056kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/clonekeen from /bin/bash to #!/usr/bin/bash Processing files: clonekeen-0.8.4-17.fc31.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Tj2LbC + umask 022 + cd /builddir/build/BUILD + cd keen + DOCDIR=/builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/doc/clonekeen + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/doc/clonekeen + cp -pr README /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/doc/clonekeen + cp -pr src/changelog.txt /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le/usr/share/doc/clonekeen + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(clonekeen.desktop) clonekeen = 0.8.4-17.fc31 clonekeen(ppc-64) = 0.8.4-17.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash libSDL-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdynamite.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: clonekeen-debugsource-0.8.4-17.fc31.ppc64le Provides: clonekeen-debugsource = 0.8.4-17.fc31 clonekeen-debugsource(ppc-64) = 0.8.4-17.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clonekeen-debuginfo-0.8.4-17.fc31.ppc64le Provides: clonekeen-debuginfo = 0.8.4-17.fc31 clonekeen-debuginfo(ppc-64) = 0.8.4-17.fc31 debuginfo(build-id) = 76d49ecf41a21ba27ca293519e7950b71aa64115 debuginfo(build-id) = 9b8f4366692e10b5f34d55f8bbe9ca2275afdaa9 debuginfo(build-id) = f938192d7731f5b02aa3e1d11a3e9bb23de215c3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clonekeen-debugsource(ppc-64) = 0.8.4-17.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le Wrote: /builddir/build/RPMS/clonekeen-0.8.4-17.fc31.ppc64le.rpm Wrote: /builddir/build/RPMS/clonekeen-debuginfo-0.8.4-17.fc31.ppc64le.rpm Wrote: /builddir/build/RPMS/clonekeen-debugsource-0.8.4-17.fc31.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0xQzby + umask 022 + cd /builddir/build/BUILD + cd keen + /usr/bin/rm -rf /builddir/build/BUILDROOT/clonekeen-0.8.4-17.fc31.ppc64le + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0