<86>Apr 9 01:24:35 userdel[81158]: delete user 'rooter' <86>Apr 9 01:24:35 userdel[81158]: removed group 'rooter' owned by 'rooter' <86>Apr 9 01:24:35 userdel[81158]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 9 01:24:35 groupadd[81194]: group added to /etc/group: name=rooter, GID=591 <86>Apr 9 01:24:35 groupadd[81194]: group added to /etc/gshadow: name=rooter <86>Apr 9 01:24:35 groupadd[81194]: new group: name=rooter, GID=591 <86>Apr 9 01:24:35 useradd[81234]: new user: name=rooter, UID=591, GID=591, home=/root, shell=/bin/bash <86>Apr 9 01:24:35 userdel[81284]: delete user 'builder' <86>Apr 9 01:24:35 userdel[81284]: removed group 'builder' owned by 'builder' <86>Apr 9 01:24:35 userdel[81284]: removed shadow group 'builder' owned by 'builder' <86>Apr 9 01:24:35 groupadd[81325]: group added to /etc/group: name=builder, GID=592 <86>Apr 9 01:24:35 groupadd[81325]: group added to /etc/gshadow: name=builder <86>Apr 9 01:24:35 groupadd[81325]: new group: name=builder, GID=592 <86>Apr 9 01:24:35 useradd[81357]: new user: name=builder, UID=592, GID=592, home=/usr/src, shell=/bin/bash <13>Apr 9 01:24:38 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Apr 9 01:24:38 rpmi: libogg-1.3.3-alt1 sisyphus+221902.4000.4.1 1550598413 installed <13>Apr 9 01:24:38 rpmi: libflac8-1.3.2-alt2 sisyphus+220898.4400.11.1 1551972983 installed <13>Apr 9 01:24:38 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Apr 9 01:24:38 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed <13>Apr 9 01:24:38 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Apr 9 01:24:38 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Apr 9 01:24:38 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Apr 9 01:24:38 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Apr 9 01:24:38 rpmi: libdynamite-0.1.1-alt2 1324469011 installed <13>Apr 9 01:24:38 rpmi: libmad-0.15.1b-alt9 sisyphus+222614.100.1.1 1550890148 installed <13>Apr 9 01:24:38 rpmi: timidity-instruments-1:1.0-alt1 1166705614 installed <13>Apr 9 01:24:38 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Apr 9 01:24:38 rpmi: libsndfile-1.0.28-alt2 sisyphus.212728.100 1536333060 installed <13>Apr 9 01:24:38 rpmi: liblz4-1:1.8.3-alt2 sisyphus+221902.4200.4.1 1550599364 installed <13>Apr 9 01:24:39 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Apr 9 01:24:39 rpmi: libgcrypt20-1.8.4-alt1 sisyphus+225621.500.1.1 1553521566 installed <13>Apr 9 01:24:39 rpmi: libsystemd-1:241-alt4 sisyphus+226361.200.3.1 1554170380 installed <13>Apr 9 01:24:39 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Apr 9 01:24:39 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Apr 9 01:24:39 rpmi: libalsa-1:1.1.8-alt2 sisyphus+221894.200.4.1 1550583282 installed <13>Apr 9 01:24:39 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Apr 9 01:24:39 rpmi: libX11-locales-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Apr 9 01:24:39 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Apr 9 01:24:39 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Apr 9 01:24:39 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Apr 9 01:24:39 rpmi: libX11-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Apr 9 01:24:39 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Apr 9 01:24:39 rpmi: libpulseaudio-12.2-alt1 1535623578 installed <13>Apr 9 01:24:39 rpmi: libmikmod-3.3.11.1-alt2 1502706813 installed <13>Apr 9 01:24:39 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Apr 9 01:24:39 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Apr 9 01:24:39 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Apr 9 01:24:39 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Apr 9 01:24:39 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Apr 9 01:24:39 rpmi: libSDL-1.2.14-alt7 1483707267 installed <13>Apr 9 01:24:39 rpmi: libSDL_mixer-1.2.12-alt1 1421435872 installed <13>Apr 9 01:24:40 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Apr 9 01:24:40 rpmi: libX11-devel-3:1.6.7-alt1 sisyphus+226735.100.2.2 1554615009 installed <13>Apr 9 01:24:40 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Apr 9 01:24:40 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Apr 9 01:24:40 rpmi: libdrm-1:2.4.97-alt1 sisyphus+220483.100.1.1 1549270237 installed <13>Apr 9 01:24:40 rpmi: libGLX-mesa-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553769419 installed <13>Apr 9 01:24:40 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Apr 9 01:24:40 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Apr 9 01:24:40 rpmi: libGLU-4:9.0.0-alt1 1347643776 installed <13>Apr 9 01:24:40 rpmi: libgbm-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553769419 installed <13>Apr 9 01:24:40 rpmi: libEGL-mesa-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553769419 installed <13>Apr 9 01:24:40 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Apr 9 01:24:40 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Apr 9 01:24:40 rpmi: libEGL-devel-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553769419 installed <13>Apr 9 01:24:40 rpmi: libGL-devel-4:19.0.1-alt1 sisyphus+225820.100.1.1 1553769419 installed <13>Apr 9 01:24:40 rpmi: libGLU-devel-4:9.0.0-alt1 1347643776 installed <13>Apr 9 01:24:40 rpmi: libSDL-devel-1.2.14-alt7 1483707267 installed <13>Apr 9 01:24:40 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Apr 9 01:24:41 rpmi: libstdc++8-devel-8.3.1-alt2 sisyphus+224979.100.1.1 1552540102 installed <13>Apr 9 01:24:42 rpmi: gcc8-c++-8.3.1-alt2 sisyphus+224979.100.1.1 1552540102 installed <13>Apr 9 01:24:42 rpmi: gcc-c++-8-alt1 sisyphus+222164.100.1.1 1550685957 installed <13>Apr 9 01:24:42 rpmi: libSDL_mixer-devel-1.2.12-alt1 1421435872 installed <13>Apr 9 01:24:42 rpmi: libdynamite-devel-0.1.1-alt2 1324469011 installed <13>Apr 9 01:24:42 rpmi: desktop-file-utils-0.23-alt2 sisyphus+226879.100.1.1 1554744353 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/clonekeen-0.8.4-alt1_13.nosrc.rpm Installing clonekeen-0.8.4-alt1_13.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.51235 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf keen + echo 'Source #0 (clonekeen-src-84-clean.tar.gz):' Source #0 (clonekeen-src-84-clean.tar.gz): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/clonekeen-src-84-clean.tar.gz + /bin/tar -xf - + cd keen + echo 'Source #1 (clonekeen-0.8.4-data.tar.gz):' Source #1 (clonekeen-0.8.4-data.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/clonekeen-0.8.4-data.tar.gz + /bin/tar -xf - + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (clonekeen-0.8.4-noSDLmain.patch):' Patch #0 (clonekeen-0.8.4-noSDLmain.patch): + /usr/bin/patch -p1 -b --suffix .noSDLmain patching file src/Makefile + sed -i 's|gcc -O2|gcc -pipe -frecord-gcc-switches -Wall -g -O2|g' src/Makefile + cp -a /usr/src/RPM/SOURCES/extract.c /usr/src/RPM/SOURCES/clonekeen-extract-sounds.c . + sed -i 's/\r//g' README src/changelog.txt + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.51235 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd keen + make -j8 -C src -f Makefile 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c main.c -o main.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c sanity.c -o sanity.o sanity.c: In function 'run_sanity': sanity.c:140:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wheretogetit = (char)(*list)[i+2]; ^ sanity.c:155:22: warning: comparison between pointer and integer if (wheretogetit == COMESWITHKEEN || 1) ^~ sanity.c:156:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] getFromWhere = kFromOriginal; ^ sanity.c:158:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] getFromWhere = kFromCloneKeen; ^ sanity.c:142:29: warning: '%s' directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=] sprintf(fullfname, "data/%s", fname); ^~ ~~~~~ In file included from /usr/include/stdio.h:862, from keen.h:2, from sanity.c:4: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c editor/autolight.c -o editor/autolight.o editor/autolight.c: In function 'autolight': editor/autolight.c:21:5: warning: unused variable 'plottile' [-Wunused-variable] int plottile; ^~~~~~~~ editor/autolight.c: In function 'al_cast_ray': editor/autolight.c:124:7: warning: unused variable 't' [-Wunused-variable] int i,t; ^ editor/autolight.c: In function 'al_cantundo': editor/autolight.c:201:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c console.c -o console.o console.c: In function 'DrawConsoleMessages': console.c:38:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(cmsg, CONSOLE_MESSAGE_X, CONSOLE_MESSAGE_Y, drawcharacter_clear); ^~~~ In file included from console.c:7: console.fdh:17:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c gamepdo_wm.c -o gamepdo_wm.o gamepdo_wm.c: In function 'AllowMountUnmountNessie': gamepdo_wm.c:376:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (player[cp].keytable[PKRIGHT] && player[cp].blockedr || \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c gamedo.c -o gamedo.o gamedo.c: In function 'common_enemy_ai': gamedo.c:683:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] IsStopPoint(x, (x, ((objects[o].y>>CSF)+ysize-1)), o)) ^ gamedo.c: In function 'Render_drawdebug': gamedo.c:953:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(debugmsg, "p1x/y: %d/%d [%d,%d]", player[0].x, player[0].y, player[0].x>>CSF,player[0].y>>CSF); ~^ ~~~~~~~~~~~ %ld gamedo.c:953:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] sprintf(debugmsg, "p1x/y: %d/%d [%d,%d]", player[0].x, player[0].y, player[0].x>>CSF,player[0].y>>CSF); ~^ %ld gamedo.c:954:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(debugmsg, 5, y+=8, drawcharacter); ^~~~~~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:956:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(debugmsg, 5, y+=8, drawcharacter); ^~~~~~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:958:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(debugmsg, 5, y+=8, drawcharacter); ^~~~~~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:960:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(debugmsg, 5, y+=8, drawcharacter); ^~~~~~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:962:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(debugmsg, 5, y+=8, drawcharacter); ^~~~~~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:964:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(debugmsg, 5, y+=8, drawcharacter); ^~~~~~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c: In function 'gamedo_RenderOSD': gamedo.c:999:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(temp, "%d", player[p].inventory.score); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ %ld gamedo.c:1000:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(temp, OSD_X, y, drawcharacter_clear); ^~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:1008:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(temp, TEXT_X, y, drawcharacter_clear); ^~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:1020:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(temp, TEXT_X, y, drawcharacter_clear); ^~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:1051:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(temp, x, OSD_Y, drawcharacter_clear); ^~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c: In function 'DoMustKillYorps': gamedo.c:1183:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(temp, TEXT_X, y+mky.y+9, drawcharacter_clear_inversepink); ^~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:1185:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(temp, TEXT_X, y+mky.y+9, drawcharacter_clear); ^~~~ In file included from gamedo.c:9: gamedo.fdh:107:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ gamedo.c:1173:21: warning: 'yadj' may be used uninitialized in this function [-Wmaybe-uninitialized] drawsprite(OSD_X, y+yadj+mky.y, yorpspr); ~^~~~~ gamedo.c:1173:2: warning: 'yorpspr' may be used uninitialized in this function [-Wmaybe-uninitialized] drawsprite(OSD_X, y+yadj+mky.y, yorpspr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c game.c -o game.o game.c: In function 'keen_get_goodie': game.c:1156:5: warning: 'isUnknown' may be used uninitialized in this function [-Wmaybe-uninitialized] if (isUnknown && !tiles[t].pickupable) ^ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c map.c -o map.o map.c: In function 'map_draw_vstripe': map.c:122:5: warning: unused variable 'xt' [-Wunused-variable] int xt=x>>TILE_S; ^~ map.c: In function 'map_draw_hstripe': map.c:155:5: warning: unused variable 'xt' [-Wunused-variable] int xt; ^~ map.c: In function 'map_coat_border': map.c:389:9: warning: unused variable 'c' [-Wunused-variable] int x,y,c,border; ^ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c editor/editor.c -o editor/editor.o In file included from editor/editor.c:91: editor/buttons.c: In function 'drawbutton': editor/buttons.c:7:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(txt,x+2,y+2,drawcharacter_clear); ^~~ In file included from editor/editor.c:4: editor/editor.fdh:152:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ In file included from editor/editor.c:92: editor/ghosting.c: In function 'editor_set_do_ghosting': editor/ghosting.c:45:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(ptr,LASTBUTTON_X-2,LASTBUTTON_Y+BUTTON_H+6+8,drawcharacter_clear_erasebg); ^~~ In file included from editor/editor.c:4: editor/editor.fdh:152:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ In file included from editor/editor.c:93: editor/autoblock.c: In function 'drawcurautoblock': editor/autoblock.c:158:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(txt, x, AB_LASTBUTTON_Y+BUTTON_H+3, drawcharacter_clear_erasebg); ^~~ In file included from editor/editor.c:4: editor/editor.fdh:152:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ editor/editor.c: In function 'drawtiles': editor/editor.c:209:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(textbuf1, CURTILE_LEFT, CURTILE_TOP, drawcharacter_clear_erasebg); ^~~~~~~~ In file included from editor/editor.c:4: editor/editor.fdh:152:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ editor/editor.c: In function 'drawcurenemy': editor/editor.c:238:12: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(text,LASTBUTTON_X+2,LASTBUTTON_Y+BUTTON_H+6,drawcharacter_clear_erasebg); ^~~~ In file included from editor/editor.c:4: editor/editor.fdh:152:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ editor/editor.c: In function 'editor_run': editor/editor.c:780:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(txt, COORDS_LEFT, COORDS_TOP, drawcharacter_clear_erasebg); ^~~ In file included from editor/editor.c:4: editor/editor.fdh:152:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ editor/editor.c:764:5: warning: unused variable 'i' [-Wunused-variable] int i; ^ editor/editor.c: In function 'storemap': editor/editor.c:924:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(y=0;y= PCOLOR_LAST) options[param] = 0; ^ menu_options.c:102:45: warning: array subscript has type 'char' [-Wchar-subscripts] if (options[param] >= PCOLOR_LAST) options[param] = 0; ^ In file included from menu.h:92, from menu_options.c:5: menu_options.c: At top level: menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] void static SelectCorrectMM(void); ^~~~~~~~~~~~~~~ menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] void static DrawMenuText(void); ^~~~~~~~~~~~ menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] void static DrawLogo(void); ^~~~~~~~ menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] void static move_down(void); ^~~~~~~~~ menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] void static move_up(void); ^~~~~~~ menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] char static goto_epmenu(int numplayers); ^~~~~~~~~~~ menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] char static mmhandler_newgame(int episode); ^~~~~~~~~~~~~~~~~ menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] char static mmhandler_endgame(int dummy); ^~~~~~~~~~~~~~~~~ menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] char static mmhandler_restartlevel(int dummy); ^~~~~~~~~~~~~~~~~~~~~~ menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] char static mmhandler_quit(int dummy); ^~~~~~~~~~~~~~ menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] char static mmhandler_quit2(int dummy); ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c menu_savegames.c -o menu_savegames.o menu_savegames.c:8:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *loadgame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^ menu_savegames.c:8:31: note: (near initialization for 'loadgame_menu[0]') menu_savegames.c:8:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *loadgame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^~ menu_savegames.c:8:39: note: (near initialization for 'loadgame_menu[1]') menu_savegames.c:8:47: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] uchar *loadgame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^~~~~~~~~~~~~~~~~ menu_savegames.c:8:47: note: (near initialization for 'loadgame_menu[3]') menu_savegames.c:9:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, ^~~ menu_savegames.c:9:6: note: (near initialization for 'loadgame_menu[7]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:9:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[8]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:9:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, ^~~~~~~~~~~~~~~ menu_savegames.c:9:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:9:28: note: (near initialization for 'loadgame_menu[9]') menu_savegames.c:9:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, ^ menu_savegames.c:9:50: note: (near initialization for 'loadgame_menu[10]') menu_savegames.c:10:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, ^~~ menu_savegames.c:10:6: note: (near initialization for 'loadgame_menu[11]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:10:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[12]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:10:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, ^~~~~~~~~~~~~~~ menu_savegames.c:10:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:10:28: note: (near initialization for 'loadgame_menu[13]') menu_savegames.c:10:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, ^ menu_savegames.c:10:50: note: (near initialization for 'loadgame_menu[14]') menu_savegames.c:11:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, ^~~ menu_savegames.c:11:6: note: (near initialization for 'loadgame_menu[15]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:11:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[16]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:11:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, ^~~~~~~~~~~~~~~ menu_savegames.c:11:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:11:28: note: (near initialization for 'loadgame_menu[17]') menu_savegames.c:11:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, ^ menu_savegames.c:11:50: note: (near initialization for 'loadgame_menu[18]') menu_savegames.c:12:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, ^~~ menu_savegames.c:12:6: note: (near initialization for 'loadgame_menu[19]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:12:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[20]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:12:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, ^~~~~~~~~~~~~~~ menu_savegames.c:12:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:12:28: note: (near initialization for 'loadgame_menu[21]') menu_savegames.c:12:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, ^ menu_savegames.c:12:50: note: (near initialization for 'loadgame_menu[22]') menu_savegames.c:13:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, ^~~ menu_savegames.c:13:6: note: (near initialization for 'loadgame_menu[23]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:13:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[24]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:13:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, ^~~~~~~~~~~~~~~ menu_savegames.c:13:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:13:28: note: (near initialization for 'loadgame_menu[25]') menu_savegames.c:13:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, ^ menu_savegames.c:13:50: note: (near initialization for 'loadgame_menu[26]') menu_savegames.c:14:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, ^~~ menu_savegames.c:14:6: note: (near initialization for 'loadgame_menu[27]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:14:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[28]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:14:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, ^~~~~~~~~~~~~~~ menu_savegames.c:14:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:14:28: note: (near initialization for 'loadgame_menu[29]') menu_savegames.c:14:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, ^ menu_savegames.c:14:50: note: (near initialization for 'loadgame_menu[30]') menu_savegames.c:15:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, ^~~ menu_savegames.c:15:6: note: (near initialization for 'loadgame_menu[31]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:15:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[32]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:15:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, ^~~~~~~~~~~~~~~ menu_savegames.c:15:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:15:28: note: (near initialization for 'loadgame_menu[33]') menu_savegames.c:15:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, ^ menu_savegames.c:15:50: note: (near initialization for 'loadgame_menu[34]') menu_savegames.c:16:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, ^~~ menu_savegames.c:16:6: note: (near initialization for 'loadgame_menu[35]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:16:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[36]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:16:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, ^~~~~~~~~~~~~~~ menu_savegames.c:16:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:16:28: note: (near initialization for 'loadgame_menu[37]') menu_savegames.c:16:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, ^ menu_savegames.c:16:50: note: (near initialization for 'loadgame_menu[38]') menu_savegames.c:17:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, ^~~ menu_savegames.c:17:6: note: (near initialization for 'loadgame_menu[39]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:17:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'loadgame_menu[40]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:17:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, ^~~~~~~~~~~~~~~ menu_savegames.c:17:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:17:28: note: (near initialization for 'loadgame_menu[41]') menu_savegames.c:17:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, ^ menu_savegames.c:17:50: note: (near initialization for 'loadgame_menu[42]') menu_savegames.c:18:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menu_savegames.c:18:6: note: (near initialization for 'loadgame_menu[43]') menu_savegames.c:19:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~ menu_savegames.c:19:6: note: (near initialization for 'loadgame_menu[47]') In file included from menu_savegames.c:3: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menu_savegames.c:19:16: note: in expansion of macro 'MNU_CALLFP' "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'loadgame_menu[48]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menu_savegames.c:19:16: note: in expansion of macro 'MNU_CALLFP' "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menu_savegames.c:19:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menu_savegames.c:19:28: note: (near initialization for 'loadgame_menu[49]') menu_savegames.c:21:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *savegame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^ menu_savegames.c:21:31: note: (near initialization for 'savegame_menu[0]') menu_savegames.c:21:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *savegame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^~ menu_savegames.c:21:39: note: (near initialization for 'savegame_menu[1]') menu_savegames.c:21:47: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] uchar *savegame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^~~~~~~~~~~~~~~~~ menu_savegames.c:21:47: note: (near initialization for 'savegame_menu[3]') menu_savegames.c:22:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, ^~~ menu_savegames.c:22:6: note: (near initialization for 'savegame_menu[7]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:22:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[8]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:22:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, ^~~~~~~~~~~~~~~ menu_savegames.c:22:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:22:28: note: (near initialization for 'savegame_menu[9]') menu_savegames.c:22:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, ^ menu_savegames.c:22:50: note: (near initialization for 'savegame_menu[10]') menu_savegames.c:23:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, ^~~ menu_savegames.c:23:6: note: (near initialization for 'savegame_menu[11]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:23:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[12]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:23:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, ^~~~~~~~~~~~~~~ menu_savegames.c:23:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:23:28: note: (near initialization for 'savegame_menu[13]') menu_savegames.c:23:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, ^ menu_savegames.c:23:50: note: (near initialization for 'savegame_menu[14]') menu_savegames.c:24:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, ^~~ menu_savegames.c:24:6: note: (near initialization for 'savegame_menu[15]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:24:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[16]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:24:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, ^~~~~~~~~~~~~~~ menu_savegames.c:24:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:24:28: note: (near initialization for 'savegame_menu[17]') menu_savegames.c:24:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, ^ menu_savegames.c:24:50: note: (near initialization for 'savegame_menu[18]') menu_savegames.c:25:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, ^~~ menu_savegames.c:25:6: note: (near initialization for 'savegame_menu[19]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:25:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[20]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:25:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, ^~~~~~~~~~~~~~~ menu_savegames.c:25:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:25:28: note: (near initialization for 'savegame_menu[21]') menu_savegames.c:25:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, ^ menu_savegames.c:25:50: note: (near initialization for 'savegame_menu[22]') menu_savegames.c:26:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, ^~~ menu_savegames.c:26:6: note: (near initialization for 'savegame_menu[23]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:26:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[24]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:26:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, ^~~~~~~~~~~~~~~ menu_savegames.c:26:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:26:28: note: (near initialization for 'savegame_menu[25]') menu_savegames.c:26:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, ^ menu_savegames.c:26:50: note: (near initialization for 'savegame_menu[26]') menu_savegames.c:27:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, ^~~ menu_savegames.c:27:6: note: (near initialization for 'savegame_menu[27]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:27:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[28]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:27:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, ^~~~~~~~~~~~~~~ menu_savegames.c:27:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:27:28: note: (near initialization for 'savegame_menu[29]') menu_savegames.c:27:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, ^ menu_savegames.c:27:50: note: (near initialization for 'savegame_menu[30]') menu_savegames.c:28:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, ^~~ menu_savegames.c:28:6: note: (near initialization for 'savegame_menu[31]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:28:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[32]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:28:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, ^~~~~~~~~~~~~~~ menu_savegames.c:28:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:28:28: note: (near initialization for 'savegame_menu[33]') menu_savegames.c:28:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, ^ menu_savegames.c:28:50: note: (near initialization for 'savegame_menu[34]') menu_savegames.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, ^~~ menu_savegames.c:29:6: note: (near initialization for 'savegame_menu[35]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:29:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[36]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:29:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, ^~~~~~~~~~~~~~~ menu_savegames.c:29:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:29:28: note: (near initialization for 'savegame_menu[37]') menu_savegames.c:29:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, ^ menu_savegames.c:29:50: note: (near initialization for 'savegame_menu[38]') menu_savegames.c:30:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, ^~~ menu_savegames.c:30:6: note: (near initialization for 'savegame_menu[39]') In file included from menu_savegames.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:30:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'savegame_menu[40]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_savegames.c:30:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, ^~~~~~~~~~~~~~~ menu_savegames.c:30:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:30:28: note: (near initialization for 'savegame_menu[41]') menu_savegames.c:30:50: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, ^ menu_savegames.c:30:50: note: (near initialization for 'savegame_menu[42]') menu_savegames.c:31:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menu_savegames.c:31:6: note: (near initialization for 'savegame_menu[43]') menu_savegames.c:32:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~ menu_savegames.c:32:6: note: (near initialization for 'savegame_menu[47]') In file included from menu_savegames.c:3: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menu_savegames.c:32:16: note: in expansion of macro 'MNU_CALLFP' "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'savegame_menu[48]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menu_savegames.c:32:16: note: in expansion of macro 'MNU_CALLFP' "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menu_savegames.c:32:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menu_savegames.c:32:28: note: (near initialization for 'savegame_menu[49]') menu_savegames.c:35:34: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *savegame_failure[MAXM] = {4,94, 255, NULL, ^ menu_savegames.c:35:34: note: (near initialization for 'savegame_failure[0]') menu_savegames.c:35:36: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *savegame_failure[MAXM] = {4,94, 255, NULL, ^~ menu_savegames.c:35:36: note: (near initialization for 'savegame_failure[1]') menu_savegames.c:35:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *savegame_failure[MAXM] = {4,94, 255, NULL, ^~~ menu_savegames.c:35:41: note: (near initialization for 'savegame_failure[2]') menu_savegames.c:36:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Failure-- Unable to save the game.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu_savegames.c:36:6: note: (near initialization for 'savegame_failure[4]') menu_savegames.c:37:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menu_savegames.c:37:6: note: (near initialization for 'savegame_failure[8]') menu_savegames.c:38:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Ok", MNU_CALLFP, dismiss_menu, 0, ^~~~ menu_savegames.c:38:6: note: (near initialization for 'savegame_failure[12]') In file included from menu_savegames.c:3: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menu_savegames.c:38:12: note: in expansion of macro 'MNU_CALLFP' "Ok", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'savegame_failure[13]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menu_savegames.c:38:12: note: in expansion of macro 'MNU_CALLFP' "Ok", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menu_savegames.c:38:24: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Ok", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menu_savegames.c:38:24: note: (near initialization for 'savegame_failure[14]') menu_savegames.c: In function 'loadsavegamenames': menu_savegames.c:74:36: warning: pointer targets in passing argument 6 of 'savegame_readheader' differ in signedness [-Wpointer-sign] &savegames[i].numplayers, &savegames[i].iscustom); ^~~~~~~~~~~~~~~~~~~~~~ In file included from menu_savegames.c:2: menu_savegames.fdh:42:6: note: expected 'unsigned char *' but argument is of type 'char *' void savegame_readheader(FILE *fp, uchar *episode, uchar *level, uchar *lives, uchar *num_players, uchar *is_custom); ^~~~~~~~~~~~~~~~~~~ menu_savegames.c: In function 'getsgstr': menu_savegames.c:94:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw("Use DEL to delete games", x, 222, drawcharacter_clear); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from menu.h:92, from menu_savegames.c:3: menumanager.fdh:20:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ menu_savegames.c:100:14: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw("Use DEL to delete games", x, 390, drawcharacter_clear_erasebg); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from menu.h:92, from menu_savegames.c:3: menumanager.fdh:20:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ menu_savegames.c:109:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tempbuf, "[USERM - %d lives %cp]", savegames[slot].lives, savegames[slot].numplayers+'0'); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from menu_savegames.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ menu_savegames.c:114:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tempbuf, "[E%d WM - %d lives %cp]", savegames[slot].episode, savegames[slot].lives, savegames[slot].numplayers+'0'); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from menu_savegames.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ menu_savegames.c:116:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tempbuf, "[E%dL%02d - %d lives %cp]", savegames[slot].episode, savegames[slot].level, savegames[slot].lives, savegames[slot].numplayers+'0'); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from menu_savegames.c:1: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ menu_savegames.c:127:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tempbuf, BLANKGAME); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from menu_savegames.c:1: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ menu_savegames.c:136:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tempbuf, XXXGAME); ^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from menu_savegames.c:1: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ menu_savegames.c:154:14: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return tempbuf; ^~~~~~~ menu_savegames.c:165:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] return tempbuf; ^~~~~~~ menu_savegames.c: In function 'savegame_getgamename': menu_savegames.c:197:18: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(&savegame_failure); ^~~~~~~~~~~~~~~~~ In file included from menu_savegames.c:2: menu_savegames.fdh:26:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu); In file included from menu.h:92, from menu_savegames.c:3: menu_savegames.c: At top level: menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] void static SelectCorrectMM(void); ^~~~~~~~~~~~~~~ menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] void static DrawMenuText(void); ^~~~~~~~~~~~ menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] void static DrawLogo(void); ^~~~~~~~ menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] void static move_down(void); ^~~~~~~~~ menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] void static move_up(void); ^~~~~~~ menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] char static goto_epmenu(int numplayers); ^~~~~~~~~~~ menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] char static mmhandler_newgame(int episode); ^~~~~~~~~~~~~~~~~ menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] char static mmhandler_endgame(int dummy); ^~~~~~~~~~~~~~~~~ menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] char static mmhandler_restartlevel(int dummy); ^~~~~~~~~~~~~~~~~~~~~~ menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] char static mmhandler_quit(int dummy); ^~~~~~~~~~~~~~ menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] char static mmhandler_quit2(int dummy); ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c customepisode.c -o customepisode.o customepisode.c: In function 'LoadFlagsIni': customepisode.c:32:52: warning: implicit declaration of function 'LoadVGASprites' [-Wimplicit-function-declaration] if (Ini_GetNumericKeyDef(iname, "VGASprites", 0)) LoadVGASprites(); ^~~~~~~~~~~~~~ customepisode.c:33:50: warning: implicit declaration of function 'LoadVGATiles' [-Wimplicit-function-declaration] if (Ini_GetNumericKeyDef(iname, "VGATiles", 0)) LoadVGATiles(); ^~~~~~~~~~~~ customepisode.c: In function 'GuessWhichEpisode': customepisode.c:68:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] fname = GetFileAtIndex(i); ^ customepisode.c:59:5: warning: unused variable 'ep' [-Wunused-variable] int ep; ^~ customepisode.c: In function 'LoadFlagsIni': customepisode.c:14:20: warning: '%s' directive writing 9 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(iname, "%s%s", levelcontrol.custom_episode_path, EPCONFIG_NAME); ^~ In file included from /usr/include/stdio.h:862, from keen.h:2, from customepisode.c:2: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1033 bytes into a destination of size 1024 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c intro.c -o intro.o intro.c: In function 'intro': intro.c:47:7: warning: unused variable 'ScrollTextErase' [-Wunused-variable] char *ScrollTextErase = " "; ^~~~~~~~~~~~~~~ intro.c:34:14: warning: variable 'y4' set but not used [-Wunused-but-set-variable] int y1,y2,y3,y4; ^~ intro.c:33:14: warning: variable 'x4' set but not used [-Wunused-but-set-variable] int x1,x2,x3,x4; ^~ intro.c:33:11: warning: variable 'x3' set but not used [-Wunused-but-set-variable] int x1,x2,x3,x4; ^~ intro.c:33:8: warning: variable 'x2' set but not used [-Wunused-but-set-variable] int x1,x2,x3,x4; ^~ intro.c:33:5: warning: variable 'x1' set but not used [-Wunused-but-set-variable] int x1,x2,x3,x4; ^~ intro.c:23:5: warning: unused variable 'xb' [-Wunused-variable] int xb,yb; ^~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c twirly.c -o twirly.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c menumanager.c -o menumanager.o menumanager.c:16:27: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *main_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:16:27: note: (near initialization for 'main_menu[0]') menumanager.c:16:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *main_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:16:30: note: (near initialization for 'main_menu[1]') menumanager.c:17:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "1-Player Game", MNU_CALLFP, goto_epmenu, 1, ^~~~~~~~~~~~~~~ menumanager.c:17:6: note: (near initialization for 'main_menu[7]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:17:23: note: in expansion of macro 'MNU_CALLFP' "1-Player Game", MNU_CALLFP, goto_epmenu, 1, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'main_menu[8]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:17:23: note: in expansion of macro 'MNU_CALLFP' "1-Player Game", MNU_CALLFP, goto_epmenu, 1, ^~~~~~~~~~ menumanager.c:17:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "1-Player Game", MNU_CALLFP, goto_epmenu, 1, ^~~~~~~~~~~ menumanager.c:17:35: note: (near initialization for 'main_menu[9]') menumanager.c:17:48: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "1-Player Game", MNU_CALLFP, goto_epmenu, 1, ^ menumanager.c:17:48: note: (near initialization for 'main_menu[10]') menumanager.c:18:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "2-Player Game", MNU_CALLFP, goto_epmenu, 2, ^~~~~~~~~~~~~~~ menumanager.c:18:6: note: (near initialization for 'main_menu[11]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:18:23: note: in expansion of macro 'MNU_CALLFP' "2-Player Game", MNU_CALLFP, goto_epmenu, 2, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'main_menu[12]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:18:23: note: in expansion of macro 'MNU_CALLFP' "2-Player Game", MNU_CALLFP, goto_epmenu, 2, ^~~~~~~~~~ menumanager.c:18:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "2-Player Game", MNU_CALLFP, goto_epmenu, 2, ^~~~~~~~~~~ menumanager.c:18:35: note: (near initialization for 'main_menu[13]') menumanager.c:18:48: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "2-Player Game", MNU_CALLFP, goto_epmenu, 2, ^ menumanager.c:18:48: note: (near initialization for 'main_menu[14]') menumanager.c:19:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~ menumanager.c:19:6: note: (near initialization for 'main_menu[15]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:19:16: note: in expansion of macro 'MNU_SWITCHMENU' "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'main_menu[16]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:19:16: note: in expansion of macro 'MNU_SWITCHMENU' "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:19:32: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:19:32: note: (near initialization for 'main_menu[17]') menumanager.c:20:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~ menumanager.c:20:6: note: (near initialization for 'main_menu[19]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:20:19: note: in expansion of macro 'MNU_SWITCHMENU' "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'main_menu[20]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:20:19: note: in expansion of macro 'MNU_SWITCHMENU' "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:20:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:20:35: note: (near initialization for 'main_menu[21]') menumanager.c:21:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~ menumanager.c:21:6: note: (near initialization for 'main_menu[23]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:21:17: note: in expansion of macro 'MNU_SWITCHMENU' "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'main_menu[24]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:21:17: note: in expansion of macro 'MNU_SWITCHMENU' "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:21:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~ menumanager.c:21:33: note: (near initialization for 'main_menu[25]') menumanager.c:22:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "About", MNU_SWITCHMENU, about_menu, 0, ^~~~~~~ menumanager.c:22:6: note: (near initialization for 'main_menu[27]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:22:15: note: in expansion of macro 'MNU_SWITCHMENU' "About", MNU_SWITCHMENU, about_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'main_menu[28]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:22:15: note: in expansion of macro 'MNU_SWITCHMENU' "About", MNU_SWITCHMENU, about_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:22:31: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "About", MNU_SWITCHMENU, about_menu, 0, ^~~~~~~~~~ menumanager.c:22:31: note: (near initialization for 'main_menu[29]') menumanager.c:23:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:23:6: note: (near initialization for 'main_menu[31]') menumanager.c:24:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~ menumanager.c:24:6: note: (near initialization for 'main_menu[35]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:24:14: note: in expansion of macro 'MNU_CALLFP' "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'main_menu[36]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:24:14: note: in expansion of macro 'MNU_CALLFP' "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~ menumanager.c:24:26: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~~~~~ menumanager.c:24:26: note: (near initialization for 'main_menu[37]') menumanager.c:28:29: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *ingame_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:28:29: note: (near initialization for 'ingame_menu[0]') menumanager.c:28:32: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *ingame_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:28:32: note: (near initialization for 'ingame_menu[1]') menumanager.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~ menumanager.c:29:6: note: (near initialization for 'ingame_menu[7]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:29:18: note: in expansion of macro 'MNU_SWITCHMENU' "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu[8]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:29:18: note: in expansion of macro 'MNU_SWITCHMENU' "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:29:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~ menumanager.c:29:34: note: (near initialization for 'ingame_menu[9]') menumanager.c:30:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~ menumanager.c:30:6: note: (near initialization for 'ingame_menu[11]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:30:19: note: in expansion of macro 'MNU_SWITCHMENU' "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu[12]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:30:19: note: in expansion of macro 'MNU_SWITCHMENU' "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:30:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:30:35: note: (near initialization for 'ingame_menu[13]') menumanager.c:31:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~ menumanager.c:31:6: note: (near initialization for 'ingame_menu[15]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:31:19: note: in expansion of macro 'MNU_SWITCHMENU' "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu[16]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:31:19: note: in expansion of macro 'MNU_SWITCHMENU' "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:31:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:31:35: note: (near initialization for 'ingame_menu[17]') menumanager.c:32:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~ menumanager.c:32:6: note: (near initialization for 'ingame_menu[19]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:32:17: note: in expansion of macro 'MNU_SWITCHMENU' "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu[20]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:32:17: note: in expansion of macro 'MNU_SWITCHMENU' "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:32:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~ menumanager.c:32:33: note: (near initialization for 'ingame_menu[21]') menumanager.c:33:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:33:6: note: (near initialization for 'ingame_menu[23]') menumanager.c:34:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, ^~~~~~~~~~~ menumanager.c:34:6: note: (near initialization for 'ingame_menu[27]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:34:19: note: in expansion of macro 'MNU_CALLFP' "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'ingame_menu[28]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:34:19: note: in expansion of macro 'MNU_CALLFP' "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, ^~~~~~~~~~ menumanager.c:34:31: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, ^~~~~~~~~~~~~~~~~~~~~~ menumanager.c:34:31: note: (near initialization for 'ingame_menu[29]') menumanager.c:34:55: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, ^ menumanager.c:34:55: note: (near initialization for 'ingame_menu[30]') menumanager.c:35:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~ menumanager.c:35:6: note: (near initialization for 'ingame_menu[31]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:35:18: note: in expansion of macro 'MNU_SWITCHMENU' "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu[32]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:35:18: note: in expansion of macro 'MNU_SWITCHMENU' "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:35:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~~~ menumanager.c:35:34: note: (near initialization for 'ingame_menu[33]') menumanager.c:36:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~ menumanager.c:36:6: note: (near initialization for 'ingame_menu[35]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:36:14: note: in expansion of macro 'MNU_CALLFP' "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'ingame_menu[36]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:36:14: note: in expansion of macro 'MNU_CALLFP' "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~ menumanager.c:36:26: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~~~~~ menumanager.c:36:26: note: (near initialization for 'ingame_menu[37]') menumanager.c:40:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *ingame_menu_norestart[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:40:39: note: (near initialization for 'ingame_menu_norestart[0]') menumanager.c:40:42: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *ingame_menu_norestart[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:40:42: note: (near initialization for 'ingame_menu_norestart[1]') menumanager.c:41:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~ menumanager.c:41:6: note: (near initialization for 'ingame_menu_norestart[7]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:41:18: note: in expansion of macro 'MNU_SWITCHMENU' "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[8]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:41:18: note: in expansion of macro 'MNU_SWITCHMENU' "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:41:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~ menumanager.c:41:34: note: (near initialization for 'ingame_menu_norestart[9]') menumanager.c:42:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~ menumanager.c:42:6: note: (near initialization for 'ingame_menu_norestart[11]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:42:19: note: in expansion of macro 'MNU_SWITCHMENU' "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[12]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:42:19: note: in expansion of macro 'MNU_SWITCHMENU' "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:42:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:42:35: note: (near initialization for 'ingame_menu_norestart[13]') menumanager.c:43:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~ menumanager.c:43:6: note: (near initialization for 'ingame_menu_norestart[15]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:43:19: note: in expansion of macro 'MNU_SWITCHMENU' "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[16]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:43:19: note: in expansion of macro 'MNU_SWITCHMENU' "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:43:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:43:35: note: (near initialization for 'ingame_menu_norestart[17]') menumanager.c:44:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~ menumanager.c:44:6: note: (near initialization for 'ingame_menu_norestart[19]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:44:17: note: in expansion of macro 'MNU_SWITCHMENU' "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[20]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:44:17: note: in expansion of macro 'MNU_SWITCHMENU' "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:44:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~ menumanager.c:44:33: note: (near initialization for 'ingame_menu_norestart[21]') menumanager.c:45:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:45:6: note: (near initialization for 'ingame_menu_norestart[23]') menumanager.c:46:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~ menumanager.c:46:6: note: (near initialization for 'ingame_menu_norestart[27]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:46:18: note: in expansion of macro 'MNU_SWITCHMENU' "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'ingame_menu_norestart[28]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:46:18: note: in expansion of macro 'MNU_SWITCHMENU' "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:46:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~~~ menumanager.c:46:34: note: (near initialization for 'ingame_menu_norestart[29]') menumanager.c:47:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~ menumanager.c:47:6: note: (near initialization for 'ingame_menu_norestart[31]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:47:14: note: in expansion of macro 'MNU_CALLFP' "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'ingame_menu_norestart[32]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:47:14: note: in expansion of macro 'MNU_CALLFP' "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~ menumanager.c:47:26: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~~~~~ menumanager.c:47:26: note: (near initialization for 'ingame_menu_norestart[33]') menumanager.c:51:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *endgame_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:51:30: note: (near initialization for 'endgame_menu[0]') menumanager.c:51:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *endgame_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, ^~~ menumanager.c:51:33: note: (near initialization for 'endgame_menu[1]') menumanager.c:52:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "End the Game", MNU_CALLFP, mmhandler_endgame, 0, ^~~~~~~~~~~~~~ menumanager.c:52:6: note: (near initialization for 'endgame_menu[7]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:52:22: note: in expansion of macro 'MNU_CALLFP' "End the Game", MNU_CALLFP, mmhandler_endgame, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'endgame_menu[8]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:52:22: note: in expansion of macro 'MNU_CALLFP' "End the Game", MNU_CALLFP, mmhandler_endgame, 0, ^~~~~~~~~~ menumanager.c:52:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "End the Game", MNU_CALLFP, mmhandler_endgame, 0, ^~~~~~~~~~~~~~~~~ menumanager.c:52:34: note: (near initialization for 'endgame_menu[9]') menumanager.c:53:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:53:6: note: (near initialization for 'endgame_menu[11]') menumanager.c:54:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menumanager.c:54:6: note: (near initialization for 'endgame_menu[15]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:54:18: note: in expansion of macro 'MNU_CALLFP' "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'endgame_menu[16]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:54:18: note: in expansion of macro 'MNU_CALLFP' "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menumanager.c:54:30: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menumanager.c:54:30: note: (near initialization for 'endgame_menu[17]') menumanager.c:58:27: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *quit_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:58:27: note: (near initialization for 'quit_menu[0]') menumanager.c:58:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *quit_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, ^~~ menumanager.c:58:30: note: (near initialization for 'quit_menu[1]') menumanager.c:59:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, ^~~~~~~~~~~~~~~~~~ menumanager.c:59:6: note: (near initialization for 'quit_menu[7]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:59:26: note: in expansion of macro 'MNU_CALLFP' "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'quit_menu[8]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:59:26: note: in expansion of macro 'MNU_CALLFP' "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, ^~~~~~~~~~ menumanager.c:59:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, ^~~~~~~~~~~~~~~ menumanager.c:59:38: note: (near initialization for 'quit_menu[9]') menumanager.c:60:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:60:6: note: (near initialization for 'quit_menu[11]') menumanager.c:61:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menumanager.c:61:6: note: (near initialization for 'quit_menu[15]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:61:18: note: in expansion of macro 'MNU_CALLFP' "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'quit_menu[16]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:61:18: note: in expansion of macro 'MNU_CALLFP' "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~ menumanager.c:61:30: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menumanager.c:61:30: note: (near initialization for 'quit_menu[17]') menumanager.c:65:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *selectep_menu[MAXM] = {5*8,90, 0, NULL, NULL, NULL, NULL, ^ menumanager.c:65:31: note: (near initialization for 'selectep_menu[0]') menumanager.c:65:35: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *selectep_menu[MAXM] = {5*8,90, 0, NULL, NULL, NULL, NULL, ^~ menumanager.c:65:35: note: (near initialization for 'selectep_menu[1]') menumanager.c:66:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:66:6: note: (near initialization for 'selectep_menu[7]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:66:35: note: in expansion of macro 'MNU_CALLFP' "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'selectep_menu[8]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:66:35: note: in expansion of macro 'MNU_CALLFP' "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, ^~~~~~~~~~ menumanager.c:66:47: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, ^~~~~~~~~~~~~~~~~ menumanager.c:66:47: note: (near initialization for 'selectep_menu[9]') menumanager.c:66:66: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, ^ menumanager.c:66:66: note: (near initialization for 'selectep_menu[10]') menumanager.c:67:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, ^~~~~~~~~~~~~~~~~~~~ menumanager.c:67:6: note: (near initialization for 'selectep_menu[11]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:67:28: note: in expansion of macro 'MNU_CALLFP' "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'selectep_menu[12]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:67:28: note: in expansion of macro 'MNU_CALLFP' "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, ^~~~~~~~~~ menumanager.c:67:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, ^~~~~~~~~~~~~~~~~ menumanager.c:67:40: note: (near initialization for 'selectep_menu[13]') menumanager.c:67:59: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, ^ menumanager.c:67:59: note: (near initialization for 'selectep_menu[14]') menumanager.c:68:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, ^~~~~~~~~~~~~~~~ menumanager.c:68:6: note: (near initialization for 'selectep_menu[15]') In file included from menumanager.c:10: menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:68:24: note: in expansion of macro 'MNU_CALLFP' "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, ^~~~~~~~~~ menu.h:61:22: note: (near initialization for 'selectep_menu[16]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ menumanager.c:68:24: note: in expansion of macro 'MNU_CALLFP' "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, ^~~~~~~~~~ menumanager.c:68:36: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, ^~~~~~~~~~~~~~~~~ menumanager.c:68:36: note: (near initialization for 'selectep_menu[17]') menumanager.c:68:55: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, ^ menumanager.c:68:55: note: (near initialization for 'selectep_menu[18]') menumanager.c:69:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:69:6: note: (near initialization for 'selectep_menu[19]') menumanager.c:70:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~~ menumanager.c:70:6: note: (near initialization for 'selectep_menu[23]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:70:23: note: in expansion of macro 'MNU_SWITCHMENU' "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'selectep_menu[24]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:70:23: note: in expansion of macro 'MNU_SWITCHMENU' "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:70:39: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:70:39: note: (near initialization for 'selectep_menu[25]') menumanager.c:71:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, ^~~~~~~~~~~~~~~~~~~ menumanager.c:71:6: note: (near initialization for 'selectep_menu[27]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:71:27: note: in expansion of macro 'MNU_SWITCHMENU' "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'selectep_menu[28]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:71:27: note: in expansion of macro 'MNU_SWITCHMENU' "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, ^~~~~~~~~~~~~~ menumanager.c:71:43: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, ^~~~~~~~~ menumanager.c:71:43: note: (near initialization for 'selectep_menu[29]') menumanager.c:71:54: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, ^ menumanager.c:71:54: note: (near initialization for 'selectep_menu[30]') menumanager.c:75:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *about_menu[MAXM] = {-3,60, 0xff, NULL, NULL, NULL, NULL, ^ menumanager.c:75:28: note: (near initialization for 'about_menu[0]') menumanager.c:75:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *about_menu[MAXM] = {-3,60, 0xff, NULL, NULL, NULL, NULL, ^~ menumanager.c:75:31: note: (near initialization for 'about_menu[1]') menumanager.c:75:36: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *about_menu[MAXM] = {-3,60, 0xff, NULL, NULL, NULL, NULL, ^~~~ menumanager.c:75:36: note: (near initialization for 'about_menu[2]') In file included from menumanager.c:8: keen.h:8:20: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define REVISION "CloneKeen version 8.4" ^~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:76:6: note: in expansion of macro 'REVISION' REVISION, MNU_SEPERATOR, NULL, 0, ^~~~~~~~ keen.h:8:20: note: (near initialization for 'about_menu[7]') #define REVISION "CloneKeen version 8.4" ^~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:76:6: note: in expansion of macro 'REVISION' REVISION, MNU_SEPERATOR, NULL, 0, ^~~~~~~~ menumanager.c:77:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "by Caitlin Shaw", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~ menumanager.c:77:6: note: (near initialization for 'about_menu[11]') menumanager.c:78:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:78:6: note: (near initialization for 'about_menu[15]') In file included from menumanager.c:8: keen.h:17:21: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define PORTEDBY1 "" ^~ menumanager.c:79:6: note: in expansion of macro 'PORTEDBY1' PORTEDBY1, MNU_SEPERATOR, NULL, 0, ^~~~~~~~~ keen.h:17:21: note: (near initialization for 'about_menu[19]') #define PORTEDBY1 "" ^~ menumanager.c:79:6: note: in expansion of macro 'PORTEDBY1' PORTEDBY1, MNU_SEPERATOR, NULL, 0, ^~~~~~~~~ keen.h:21:20: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] #define PORTEDBY2 "" ^~ menumanager.c:80:6: note: in expansion of macro 'PORTEDBY2' PORTEDBY2, MNU_SEPERATOR, NULL, 0, ^~~~~~~~~ keen.h:21:20: note: (near initialization for 'about_menu[23]') #define PORTEDBY2 "" ^~ menumanager.c:80:6: note: in expansion of macro 'PORTEDBY2' PORTEDBY2, MNU_SEPERATOR, NULL, 0, ^~~~~~~~~ menumanager.c:81:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:81:6: note: (near initialization for 'about_menu[27]') menumanager.c:82:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Based on \"Invasion of the Vorticons\"", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:82:6: note: (near initialization for 'about_menu[31]') menumanager.c:83:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "by ID Software. All \"Commander Keen\"", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:83:6: note: (near initialization for 'about_menu[35]') menumanager.c:84:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "datafiles are (c)1991 ID Software.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:84:6: note: (near initialization for 'about_menu[39]') menumanager.c:85:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "CloneKeen is an original game engine", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:85:6: note: (near initialization for 'about_menu[43]') menumanager.c:86:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "which is compatible with these data", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:86:6: note: (near initialization for 'about_menu[47]') menumanager.c:87:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "files.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~ menumanager.c:87:6: note: (near initialization for 'about_menu[51]') menumanager.c:88:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:88:6: note: (near initialization for 'about_menu[55]') menumanager.c:89:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "This program is free software under", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:89:6: note: (near initialization for 'about_menu[59]') menumanager.c:90:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "the GNU General Public License.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:90:6: note: (near initialization for 'about_menu[63]') menumanager.c:91:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:91:6: note: (near initialization for 'about_menu[67]') menumanager.c:92:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 ^~~~~~~~~~~~~~ menumanager.c:92:6: note: (near initialization for 'about_menu[71]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:92:22: note: in expansion of macro 'MNU_SWITCHMENU' "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'about_menu[72]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:92:22: note: in expansion of macro 'MNU_SWITCHMENU' "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 ^~~~~~~~~~~~~~ menumanager.c:92:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 ^~~~~~~~~ menumanager.c:92:38: note: (near initialization for 'about_menu[73]') menumanager.c:95:35: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *cant_play_ep_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, ^~ menumanager.c:95:35: note: (near initialization for 'cant_play_ep_menu[0]') menumanager.c:95:38: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *cant_play_ep_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, ^~ menumanager.c:95:38: note: (near initialization for 'cant_play_ep_menu[1]') menumanager.c:95:43: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *cant_play_ep_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, ^~~ menumanager.c:95:43: note: (near initialization for 'cant_play_ep_menu[2]') menumanager.c:96:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "You can't play this episode.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:96:6: note: (near initialization for 'cant_play_ep_menu[7]') menumanager.c:97:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:97:6: note: (near initialization for 'cant_play_ep_menu[11]') menumanager.c:98:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "You are missing the data files", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:98:6: note: (near initialization for 'cant_play_ep_menu[15]') menumanager.c:99:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "from the original game, which", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:99:6: note: (near initialization for 'cant_play_ep_menu[19]') menumanager.c:100:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "you need to play it.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~ menumanager.c:100:6: note: (near initialization for 'cant_play_ep_menu[23]') menumanager.c:101:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:101:6: note: (near initialization for 'cant_play_ep_menu[27]') menumanager.c:102:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Obtain the original version of", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:102:6: note: (near initialization for 'cant_play_ep_menu[31]') menumanager.c:103:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "this episode, copy all it's", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:103:6: note: (near initialization for 'cant_play_ep_menu[35]') menumanager.c:104:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "files into the \"data\" subdir,", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:104:6: note: (near initialization for 'cant_play_ep_menu[39]') menumanager.c:105:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "and restart CloneKeen.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:105:6: note: (near initialization for 'cant_play_ep_menu[43]') menumanager.c:106:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:106:6: note: (near initialization for 'cant_play_ep_menu[47]') menumanager.c:107:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~~~~~ menumanager.c:107:6: note: (near initialization for 'cant_play_ep_menu[51]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:107:25: note: in expansion of macro 'MNU_SWITCHMENU' "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'cant_play_ep_menu[52]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:107:25: note: in expansion of macro 'MNU_SWITCHMENU' "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:107:41: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~ menumanager.c:107:41: note: (near initialization for 'cant_play_ep_menu[53]') menumanager.c:110:40: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *cant_play_usermap_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, ^~ menumanager.c:110:40: note: (near initialization for 'cant_play_usermap_menu[0]') menumanager.c:110:43: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *cant_play_usermap_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, ^~ menumanager.c:110:43: note: (near initialization for 'cant_play_usermap_menu[1]') menumanager.c:110:48: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *cant_play_usermap_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, ^~~ menumanager.c:110:48: note: (near initialization for 'cant_play_usermap_menu[2]') menumanager.c:111:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "You can't play this user map.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:111:6: note: (near initialization for 'cant_play_usermap_menu[7]') menumanager.c:112:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:112:6: note: (near initialization for 'cant_play_usermap_menu[11]') menumanager.c:113:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "This user map requires the", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:113:6: note: (near initialization for 'cant_play_usermap_menu[15]') menumanager.c:114:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "registered version of Keen.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:114:6: note: (near initialization for 'cant_play_usermap_menu[19]') menumanager.c:115:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:115:6: note: (near initialization for 'cant_play_usermap_menu[23]') menumanager.c:116:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Obtain the original version of", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:116:6: note: (near initialization for 'cant_play_usermap_menu[27]') menumanager.c:117:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "the episode, copy all it's", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:117:6: note: (near initialization for 'cant_play_usermap_menu[31]') menumanager.c:118:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "files into the \"data\" subdir,", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:118:6: note: (near initialization for 'cant_play_usermap_menu[35]') menumanager.c:119:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "and restart CloneKeen.", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:119:6: note: (near initialization for 'cant_play_usermap_menu[39]') menumanager.c:120:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menumanager.c:120:6: note: (near initialization for 'cant_play_usermap_menu[43]') menumanager.c:121:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, ^~~~~~~~~~~~~~~~~ menumanager.c:121:6: note: (near initialization for 'cant_play_usermap_menu[47]') In file included from menumanager.c:10: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:121:25: note: in expansion of macro 'MNU_SWITCHMENU' "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'cant_play_usermap_menu[48]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menumanager.c:121:25: note: in expansion of macro 'MNU_SWITCHMENU' "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:121:41: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, ^~~~~~~~~ menumanager.c:121:41: note: (near initialization for 'cant_play_usermap_menu[49]') menumanager.c: In function 'SelectCorrectMM': menumanager.c:149:20: warning: comparison of distinct pointer types lacks a cast if (menu.curmenu != editor_menu) ^~ menumanager.c:150:18: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(editor_menu); ^~~~~~~~~~~ In file included from menumanager.c:9: menumanager.fdh:39:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu); menumanager.c:160:21: warning: comparison of distinct pointer types lacks a cast if (menu.curmenu != ingame_menu_norestart) ^~ menumanager.c:162:19: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(ingame_menu_norestart); ^~~~~~~~~~~~~~~~~~~~~ In file included from menumanager.c:9: menumanager.fdh:39:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu); menumanager.c:167:21: warning: comparison of distinct pointer types lacks a cast if (menu.curmenu != ingame_menu) ^~ menumanager.c:169:19: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(ingame_menu); ^~~~~~~~~~~ In file included from menumanager.c:9: menumanager.fdh:39:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu); menumanager.c:173:24: warning: comparison of distinct pointer types lacks a cast else if (menu.curmenu != main_menu) ^~ menumanager.c:174:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(main_menu); ^~~~~~~~~ In file included from menumanager.c:9: menumanager.fdh:39:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu); menumanager.c: In function 'DrawMenuText': menumanager.c:181:18: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char * (*)[150]' [-Wincompatible-pointer-types] uchar *curmenu = menu.curmenu; ^~~~ menumanager.c:186:18: warning: comparison of distinct pointer types lacks a cast if (menu.curmenu==main_menu || \ ^~ menumanager.c:187:15: warning: comparison of distinct pointer types lacks a cast menu.curmenu==ingame_menu || \ ^~ menumanager.c:188:15: warning: comparison of distinct pointer types lacks a cast menu.curmenu==ingame_menu_norestart) ^~ menumanager.c:193:4: warning: assignment to 'int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] x = (*menu.curmenu)[HD_X]; ^ menumanager.c:194:4: warning: assignment to 'int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] y = (*menu.curmenu)[HD_Y]; ^ menumanager.c:201:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] text = (*menu.curmenu)[index]; ^ menumanager.c:202:39: warning: comparison between pointer and integer if ((*menu.curmenu)[index+ITM_TYPE] == MNU_DYNAMICTEXT) ^~ menumanager.c:204:12: warning: assignment to 'char * (*)(unsigned char *, char, unsigned char)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] dyn_ptr = (*menu.curmenu)[index+ITM_PTR]; ^ menumanager.c:205:22: warning: pointer targets in passing argument 1 of 'dyn_ptr' differ in signedness [-Wpointer-sign] text = (*dyn_ptr)(text, 0, (*menu.curmenu)[index+ITM_FLAGS]); ^~~~ menumanager.c:205:22: note: expected 'unsigned char *' but argument is of type 'char *' menumanager.c:205:46: warning: passing argument 3 of 'dyn_ptr' makes integer from pointer without a cast [-Wint-conversion] text = (*dyn_ptr)(text, 0, (*menu.curmenu)[index+ITM_FLAGS]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ menumanager.c:205:46: note: expected 'unsigned char' but argument is of type 'unsigned char *' menumanager.c:207:13: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(text, x, y, drawcharacter_clear); ^~~~ In file included from menu.h:92, from menumanager.c:10: menumanager.fdh:20:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^~~~~~~~~ menumanager.c:211:37: warning: passing argument 1 of 'twirly_draw' makes integer from pointer without a cast [-Wint-conversion] twirly_draw((*menu.curmenu)[HD_X]+8, y+menu.twirly_yoff, ~~~~~~~~~~~~~~~~~~~~~^~ In file included from menumanager.c:9: menumanager.fdh:61:22: note: expected 'int' but argument is of type 'unsigned char *' void twirly_draw(int x, int y, int *frame); ~~~~^ menumanager.c:181:8: warning: unused variable 'curmenu' [-Wunused-variable] uchar *curmenu = menu.curmenu; ^~~~~~~ menumanager.c: In function 'Menu_CallDismissalFunc': menumanager.c:227:11: warning: assignment to 'void (*)(void)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] funcptr = (*menu.curmenu)[HD_DISMISSALFUNC]; ^ menumanager.c: In function 'Menu_InitMenu': menumanager.c:242:15: warning: assignment to 'unsigned char * (*)[150]' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] menu.curmenu = whichmenu; ^ menumanager.c:243:17: warning: assignment to 'int' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] menu.curoption = (*menu.curmenu)[HD_STARTINGOPT]; ^ menumanager.c:265:10: warning: assignment to 'void (*)(void)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] funcptr = (*menu.curmenu)[HD_ENTERFUNC]; ^ menumanager.c: In function 'Menu_ToMain': menumanager.c:271:16: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(main_menu); ^~~~~~~~~ menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu) menumanager.c: In function 'Menu_SelectOption': menumanager.c:278:16: warning: initialization of 'unsigned char' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] uchar action = (*menu.curmenu)[index+ITM_TYPE]; ^ menumanager.c:279:13: warning: initialization of 'unsigned char' from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion] uchar arg = (*menu.curmenu)[index+ITM_FLAGS]; ^ menumanager.c:289:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] newmenu = (*menu.curmenu)[index+ITM_PTR]; ^ menumanager.c:290:18: warning: pointer targets in passing argument 1 of 'Menu_InitMenu' differ in signedness [-Wpointer-sign] Menu_InitMenu(newmenu); ^~~~~~~ menumanager.c:235:6: note: expected 'unsigned char *' but argument is of type 'char *' void Menu_InitMenu(uchar *whichmenu) ^~~~~~~~~~~~~ menumanager.c:294:12: warning: assignment to 'char (*)(int)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] funcptr = (*menu.curmenu)[index+ITM_PTR]; ^ menumanager.c:303:12: warning: assignment to 'char (*)(char *, char, unsigned char)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] dyn_ptr = (*menu.curmenu)[index+ITM_PTR]; ^ menumanager.c:304:30: warning: pointer targets in passing argument 1 of 'dyn_ptr' differ in signedness [-Wpointer-sign] (*dyn_ptr)((*menu.curmenu)[index], 1, (*menu.curmenu)[index+ITM_FLAGS]); ~~~~~~~~~~~~~~~^~~~~~~ menumanager.c:304:30: note: expected 'char *' but argument is of type 'unsigned char *' menumanager.c:304:57: warning: passing argument 3 of 'dyn_ptr' makes integer from pointer without a cast [-Wint-conversion] (*dyn_ptr)((*menu.curmenu)[index], 1, (*menu.curmenu)[index+ITM_FLAGS]); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ menumanager.c:304:57: note: expected 'unsigned char' but argument is of type 'unsigned char *' menumanager.c: In function 'Menu_DrawMenu': menumanager.c:334:19: warning: comparison of distinct pointer types lacks a cast if (menu.curmenu != option_menu) ^~ menumanager.c: In function 'menu_gettype': menumanager.c:346:24: warning: returning 'unsigned char *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] return (*menu.curmenu)[index+ITM_TYPE]; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menumanager.c: In function 'move_down': menumanager.c:370:14: warning: assignment to 'char (*)(char)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] scrollfunc = (*menu.curmenu)[HD_SCROLLFUNC]; ^ menumanager.c: In function 'move_up': menumanager.c:400:14: warning: assignment to 'char (*)(char)' from incompatible pointer type 'unsigned char *' [-Wincompatible-pointer-types] scrollfunc = (*menu.curmenu)[HD_SCROLLFUNC]; ^ menumanager.c: In function 'goto_epmenu': menumanager.c:516:16: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(&selectep_menu); ^~~~~~~~~~~~~~ menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu) menumanager.c: In function 'mmhandler_newgame': menumanager.c:530:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(&cant_play_ep_menu); ^~~~~~~~~~~~~~~~~~ menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu) menumanager.c: In function 'mmhandler_restartlevel': menumanager.c:543:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(&endgame_menu); ^~~~~~~~~~~~~ menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu) menumanager.c: In function 'mmhandler_quit': menumanager.c:563:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(quit_menu); ^~~~~~~~~ menumanager.c:235:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu) make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c menu_custommap.c -o menu_custommap.o menu_custommap.c:10:32: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^ menu_custommap.c:10:32: note: (near initialization for 'custommap_menu[0]') menu_custommap.c:10:40: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^~ menu_custommap.c:10:40: note: (near initialization for 'custommap_menu[1]') menu_custommap.c:10:48: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^~~~~~~~~~ menu_custommap.c:10:48: note: (near initialization for 'custommap_menu[3]') menu_custommap.c:10:60: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^~~~~~~~~ menu_custommap.c:10:60: note: (near initialization for 'custommap_menu[4]') menu_custommap.c:10:71: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(char)' [-Wincompatible-pointer-types] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^~~~~~~~~~~ menu_custommap.c:10:71: note: (near initialization for 'custommap_menu[5]') menu_custommap.c:11:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "0", MNU_DYNAMICTEXT, getcmapname, 0, ^~~ menu_custommap.c:11:6: note: (near initialization for 'custommap_menu[7]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:11:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "0", MNU_DYNAMICTEXT, getcmapname, 0, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[8]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:11:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "0", MNU_DYNAMICTEXT, getcmapname, 0, ^~~~~~~~~~~~~~~ menu_custommap.c:11:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "0", MNU_DYNAMICTEXT, getcmapname, 0, ^~~~~~~~~~~ menu_custommap.c:11:28: note: (near initialization for 'custommap_menu[9]') menu_custommap.c:12:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "1", MNU_DYNAMICTEXT, getcmapname, 1, ^~~ menu_custommap.c:12:6: note: (near initialization for 'custommap_menu[11]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:12:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "1", MNU_DYNAMICTEXT, getcmapname, 1, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[12]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:12:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "1", MNU_DYNAMICTEXT, getcmapname, 1, ^~~~~~~~~~~~~~~ menu_custommap.c:12:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "1", MNU_DYNAMICTEXT, getcmapname, 1, ^~~~~~~~~~~ menu_custommap.c:12:28: note: (near initialization for 'custommap_menu[13]') menu_custommap.c:12:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "1", MNU_DYNAMICTEXT, getcmapname, 1, ^ menu_custommap.c:12:41: note: (near initialization for 'custommap_menu[14]') menu_custommap.c:13:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "2", MNU_DYNAMICTEXT, getcmapname, 2, ^~~ menu_custommap.c:13:6: note: (near initialization for 'custommap_menu[15]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:13:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "2", MNU_DYNAMICTEXT, getcmapname, 2, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[16]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:13:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "2", MNU_DYNAMICTEXT, getcmapname, 2, ^~~~~~~~~~~~~~~ menu_custommap.c:13:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "2", MNU_DYNAMICTEXT, getcmapname, 2, ^~~~~~~~~~~ menu_custommap.c:13:28: note: (near initialization for 'custommap_menu[17]') menu_custommap.c:13:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "2", MNU_DYNAMICTEXT, getcmapname, 2, ^ menu_custommap.c:13:41: note: (near initialization for 'custommap_menu[18]') menu_custommap.c:14:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "3", MNU_DYNAMICTEXT, getcmapname, 3, ^~~ menu_custommap.c:14:6: note: (near initialization for 'custommap_menu[19]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:14:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "3", MNU_DYNAMICTEXT, getcmapname, 3, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[20]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:14:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "3", MNU_DYNAMICTEXT, getcmapname, 3, ^~~~~~~~~~~~~~~ menu_custommap.c:14:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "3", MNU_DYNAMICTEXT, getcmapname, 3, ^~~~~~~~~~~ menu_custommap.c:14:28: note: (near initialization for 'custommap_menu[21]') menu_custommap.c:14:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "3", MNU_DYNAMICTEXT, getcmapname, 3, ^ menu_custommap.c:14:41: note: (near initialization for 'custommap_menu[22]') menu_custommap.c:15:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "4", MNU_DYNAMICTEXT, getcmapname, 4, ^~~ menu_custommap.c:15:6: note: (near initialization for 'custommap_menu[23]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:15:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "4", MNU_DYNAMICTEXT, getcmapname, 4, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[24]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:15:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "4", MNU_DYNAMICTEXT, getcmapname, 4, ^~~~~~~~~~~~~~~ menu_custommap.c:15:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "4", MNU_DYNAMICTEXT, getcmapname, 4, ^~~~~~~~~~~ menu_custommap.c:15:28: note: (near initialization for 'custommap_menu[25]') menu_custommap.c:15:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "4", MNU_DYNAMICTEXT, getcmapname, 4, ^ menu_custommap.c:15:41: note: (near initialization for 'custommap_menu[26]') menu_custommap.c:16:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "5", MNU_DYNAMICTEXT, getcmapname, 5, ^~~ menu_custommap.c:16:6: note: (near initialization for 'custommap_menu[27]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:16:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "5", MNU_DYNAMICTEXT, getcmapname, 5, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[28]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:16:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "5", MNU_DYNAMICTEXT, getcmapname, 5, ^~~~~~~~~~~~~~~ menu_custommap.c:16:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "5", MNU_DYNAMICTEXT, getcmapname, 5, ^~~~~~~~~~~ menu_custommap.c:16:28: note: (near initialization for 'custommap_menu[29]') menu_custommap.c:16:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "5", MNU_DYNAMICTEXT, getcmapname, 5, ^ menu_custommap.c:16:41: note: (near initialization for 'custommap_menu[30]') menu_custommap.c:17:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "6", MNU_DYNAMICTEXT, getcmapname, 6, ^~~ menu_custommap.c:17:6: note: (near initialization for 'custommap_menu[31]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:17:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "6", MNU_DYNAMICTEXT, getcmapname, 6, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[32]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:17:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "6", MNU_DYNAMICTEXT, getcmapname, 6, ^~~~~~~~~~~~~~~ menu_custommap.c:17:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "6", MNU_DYNAMICTEXT, getcmapname, 6, ^~~~~~~~~~~ menu_custommap.c:17:28: note: (near initialization for 'custommap_menu[33]') menu_custommap.c:17:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "6", MNU_DYNAMICTEXT, getcmapname, 6, ^ menu_custommap.c:17:41: note: (near initialization for 'custommap_menu[34]') menu_custommap.c:18:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "7", MNU_DYNAMICTEXT, getcmapname, 7, ^~~ menu_custommap.c:18:6: note: (near initialization for 'custommap_menu[35]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:18:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "7", MNU_DYNAMICTEXT, getcmapname, 7, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[36]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:18:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "7", MNU_DYNAMICTEXT, getcmapname, 7, ^~~~~~~~~~~~~~~ menu_custommap.c:18:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "7", MNU_DYNAMICTEXT, getcmapname, 7, ^~~~~~~~~~~ menu_custommap.c:18:28: note: (near initialization for 'custommap_menu[37]') menu_custommap.c:18:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "7", MNU_DYNAMICTEXT, getcmapname, 7, ^ menu_custommap.c:18:41: note: (near initialization for 'custommap_menu[38]') menu_custommap.c:19:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "8", MNU_DYNAMICTEXT, getcmapname, 8, ^~~ menu_custommap.c:19:6: note: (near initialization for 'custommap_menu[39]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:19:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "8", MNU_DYNAMICTEXT, getcmapname, 8, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[40]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:19:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "8", MNU_DYNAMICTEXT, getcmapname, 8, ^~~~~~~~~~~~~~~ menu_custommap.c:19:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "8", MNU_DYNAMICTEXT, getcmapname, 8, ^~~~~~~~~~~ menu_custommap.c:19:28: note: (near initialization for 'custommap_menu[41]') menu_custommap.c:19:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "8", MNU_DYNAMICTEXT, getcmapname, 8, ^ menu_custommap.c:19:41: note: (near initialization for 'custommap_menu[42]') menu_custommap.c:20:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "9", MNU_DYNAMICTEXT, getcmapname, 9, ^~~ menu_custommap.c:20:6: note: (near initialization for 'custommap_menu[43]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:20:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "9", MNU_DYNAMICTEXT, getcmapname, 9, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[44]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:20:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "9", MNU_DYNAMICTEXT, getcmapname, 9, ^~~~~~~~~~~~~~~ menu_custommap.c:20:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "9", MNU_DYNAMICTEXT, getcmapname, 9, ^~~~~~~~~~~ menu_custommap.c:20:28: note: (near initialization for 'custommap_menu[45]') menu_custommap.c:20:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "9", MNU_DYNAMICTEXT, getcmapname, 9, ^ menu_custommap.c:20:41: note: (near initialization for 'custommap_menu[46]') menu_custommap.c:21:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "10", MNU_DYNAMICTEXT, getcmapname, 10, ^~~~ menu_custommap.c:21:6: note: (near initialization for 'custommap_menu[47]') In file included from menu_custommap.c:3: menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:21:12: note: in expansion of macro 'MNU_DYNAMICTEXT' "10", MNU_DYNAMICTEXT, getcmapname, 10, ^~~~~~~~~~~~~~~ menu.h:62:26: note: (near initialization for 'custommap_menu[48]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ menu_custommap.c:21:12: note: in expansion of macro 'MNU_DYNAMICTEXT' "10", MNU_DYNAMICTEXT, getcmapname, 10, ^~~~~~~~~~~~~~~ menu_custommap.c:21:29: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "10", MNU_DYNAMICTEXT, getcmapname, 10, ^~~~~~~~~~~ menu_custommap.c:21:29: note: (near initialization for 'custommap_menu[49]') menu_custommap.c:21:42: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "10", MNU_DYNAMICTEXT, getcmapname, 10, ^~ menu_custommap.c:21:42: note: (near initialization for 'custommap_menu[50]') menu_custommap.c:24:31: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *badlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, ^ menu_custommap.c:24:31: note: (near initialization for 'badlevel_menu[0]') menu_custommap.c:24:37: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *badlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, ^~ menu_custommap.c:24:37: note: (near initialization for 'badlevel_menu[1]') menu_custommap.c:24:42: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *badlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, ^~~ menu_custommap.c:24:42: note: (near initialization for 'badlevel_menu[2]') menu_custommap.c:25:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "I don't know how to open", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~ menu_custommap.c:25:6: note: (near initialization for 'badlevel_menu[7]') menu_custommap.c:26:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "this file!", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~ menu_custommap.c:26:6: note: (near initialization for 'badlevel_menu[11]') menu_custommap.c:27:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menu_custommap.c:27:6: note: (near initialization for 'badlevel_menu[15]') menu_custommap.c:28:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ menu_custommap.c:28:6: note: (near initialization for 'badlevel_menu[19]') menu_custommap.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Ok", MNU_SWITCHMENU, custommap_menu, 0, ^~~~ menu_custommap.c:29:6: note: (near initialization for 'badlevel_menu[23]') In file included from menu_custommap.c:3: menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menu_custommap.c:29:12: note: in expansion of macro 'MNU_SWITCHMENU' "Ok", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~ menu.h:60:25: note: (near initialization for 'badlevel_menu[24]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ menu_custommap.c:29:12: note: in expansion of macro 'MNU_SWITCHMENU' "Ok", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~ menu_custommap.c:29:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Ok", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~ menu_custommap.c:29:28: note: (near initialization for 'badlevel_menu[25]') menu_custommap.c: In function 'cmap_exit': menu_custommap.c:49:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(selectep_menu); ^~~~~~~~~~~~~ In file included from menu_custommap.c:2: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu); menu_custommap.c: In function 'editor_loadmap_exit': menu_custommap.c:59:17: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(main_menu); ^~~~~~~~~ In file included from menu_custommap.c:2: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu); menu_custommap.c: In function 'getcmapname': menu_custommap.c:106:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] fname = GetFileAtIndex(cm_scrolloffset + i); ^ menu_custommap.c:142:22: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(cant_play_usermap_menu); ^~~~~~~~~~~~~~~~~~~~~~ In file included from menu_custommap.c:2: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu); menu_custommap.c:174:20: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(&badlevel_menu); ^~~~~~~~~~~~~~ In file included from menu_custommap.c:2: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu); menu_custommap.c:176:20: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [-Wincompatible-pointer-types] Menu_InitMenu(&edbadlevel_menu); ^~~~~~~~~~~~~~~~ In file included from menu_custommap.c:2: menu_custommap.fdh:19:27: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu); In file included from menu.h:92, from menu_custommap.c:3: menu_custommap.c: At top level: menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] void static SelectCorrectMM(void); ^~~~~~~~~~~~~~~ menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] void static DrawMenuText(void); ^~~~~~~~~~~~ menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] void static DrawLogo(void); ^~~~~~~~ menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] void static move_down(void); ^~~~~~~~~ menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] void static move_up(void); ^~~~~~~ menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] char static goto_epmenu(int numplayers); ^~~~~~~~~~~ menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] char static mmhandler_newgame(int episode); ^~~~~~~~~~~~~~~~~ menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] char static mmhandler_endgame(int dummy); ^~~~~~~~~~~~~~~~~ menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] char static mmhandler_restartlevel(int dummy); ^~~~~~~~~~~~~~~~~~~~~~ menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] char static mmhandler_quit(int dummy); ^~~~~~~~~~~~~~ menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] char static mmhandler_quit2(int dummy); ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c editor/menu_editor.c -o editor/menu_editor.o editor/menu_editor.c:23:34: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *editor_misc_menu[MAXM] = {64,72, 0, NULL, NULL, NULL, NULL, ^~ editor/menu_editor.c:23:34: note: (near initialization for 'editor_misc_menu[0]') editor/menu_editor.c:23:37: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *editor_misc_menu[MAXM] = {64,72, 0, NULL, NULL, NULL, NULL, ^~ editor/menu_editor.c:23:37: note: (near initialization for 'editor_misc_menu[1]') editor/menu_editor.c:24:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Set Time Limit", MNU_CALLFP, me_timelimit, 0, ^~~~~~~~~~~~~~~~ editor/menu_editor.c:24:6: note: (near initialization for 'editor_misc_menu[7]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:24:24: note: in expansion of macro 'MNU_CALLFP' "Set Time Limit", MNU_CALLFP, me_timelimit, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_misc_menu[8]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:24:24: note: in expansion of macro 'MNU_CALLFP' "Set Time Limit", MNU_CALLFP, me_timelimit, 0, ^~~~~~~~~~ editor/menu_editor.c:24:36: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Set Time Limit", MNU_CALLFP, me_timelimit, 0, ^~~~~~~~~~~~ editor/menu_editor.c:24:36: note: (near initialization for 'editor_misc_menu[9]') editor/menu_editor.c:25:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:25:6: note: (near initialization for 'editor_misc_menu[11]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:25:33: note: in expansion of macro 'MNU_DYNAMICTEXT' " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[12]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:25:33: note: in expansion of macro 'MNU_DYNAMICTEXT' " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, ^~~~~~~~~~~~~~~ editor/menu_editor.c:25:50: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, ^~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:25:50: note: (near initialization for 'editor_misc_menu[13]') editor/menu_editor.c:26:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, ^~ editor/menu_editor.c:26:6: note: (near initialization for 'editor_misc_menu[15]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:26:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[16]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:26:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, ^~~~~~~~~~~~~~~ editor/menu_editor.c:26:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, ^~~~~~~~~~~~~~~ editor/menu_editor.c:26:27: note: (near initialization for 'editor_misc_menu[17]') In file included from editor/menu_editor.c:1: editor/../keen.h:283:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define OPT_HARD 4 // 1=increase difficulty ^ editor/menu_editor.c:26:44: note: in expansion of macro 'OPT_HARD' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, ^~~~~~~~ editor/../keen.h:283:33: note: (near initialization for 'editor_misc_menu[18]') #define OPT_HARD 4 // 1=increase difficulty ^ editor/menu_editor.c:26:44: note: in expansion of macro 'OPT_HARD' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, ^~~~~~~~ editor/menu_editor.c:27:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, ^~ editor/menu_editor.c:27:6: note: (near initialization for 'editor_misc_menu[19]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:27:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[20]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:27:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, ^~~~~~~~~~~~~~~ editor/menu_editor.c:27:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, ^~~~~~~~~~~~~~~ editor/menu_editor.c:27:27: note: (near initialization for 'editor_misc_menu[21]') In file included from editor/menu_editor.c:1: editor/../keen.h:289:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define OPT_MUSTKILLYORPS 10 // 1=must kill yorps to leave level ^~ editor/menu_editor.c:27:44: note: in expansion of macro 'OPT_MUSTKILLYORPS' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, ^~~~~~~~~~~~~~~~~ editor/../keen.h:289:28: note: (near initialization for 'editor_misc_menu[22]') #define OPT_MUSTKILLYORPS 10 // 1=must kill yorps to leave level ^~ editor/menu_editor.c:27:44: note: in expansion of macro 'OPT_MUSTKILLYORPS' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, ^~~~~~~~~~~~~~~~~ editor/menu_editor.c:28:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, ^~ editor/menu_editor.c:28:6: note: (near initialization for 'editor_misc_menu[23]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:28:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[24]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:28:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, ^~~~~~~~~~~~~~~ editor/menu_editor.c:28:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, ^~~~~~~~~~~~~~~ editor/menu_editor.c:28:27: note: (near initialization for 'editor_misc_menu[25]') In file included from editor/menu_editor.c:1: editor/../keen.h:290:30: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define OPT_YORPFORCEFIELDS 11 // 1=must stun yorps to kill them ^~ editor/menu_editor.c:28:44: note: in expansion of macro 'OPT_YORPFORCEFIELDS' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, ^~~~~~~~~~~~~~~~~~~ editor/../keen.h:290:30: note: (near initialization for 'editor_misc_menu[26]') #define OPT_YORPFORCEFIELDS 11 // 1=must stun yorps to kill them ^~ editor/menu_editor.c:28:44: note: in expansion of macro 'OPT_YORPFORCEFIELDS' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, ^~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:29:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, ^~ editor/menu_editor.c:29:6: note: (near initialization for 'editor_misc_menu[27]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:29:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[28]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:29:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, ^~~~~~~~~~~~~~~ editor/menu_editor.c:29:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, ^~~~~~~~~~~~~~~ editor/menu_editor.c:29:27: note: (near initialization for 'editor_misc_menu[29]') In file included from editor/menu_editor.c:1: editor/../keen.h:281:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define OPT_FULLYAUTOMATIC 2 // 1=fully automatic raygun ^ editor/menu_editor.c:29:44: note: in expansion of macro 'OPT_FULLYAUTOMATIC' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, ^~~~~~~~~~~~~~~~~~ editor/../keen.h:281:33: note: (near initialization for 'editor_misc_menu[30]') #define OPT_FULLYAUTOMATIC 2 // 1=fully automatic raygun ^ editor/menu_editor.c:29:44: note: in expansion of macro 'OPT_FULLYAUTOMATIC' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, ^~~~~~~~~~~~~~~~~~ editor/menu_editor.c:30:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, ^~ editor/menu_editor.c:30:6: note: (near initialization for 'editor_misc_menu[31]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:30:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[32]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:30:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, ^~~~~~~~~~~~~~~ editor/menu_editor.c:30:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, ^~~~~~~~~~~~~~~ editor/menu_editor.c:30:27: note: (near initialization for 'editor_misc_menu[33]') In file included from editor/menu_editor.c:1: editor/../keen.h:282:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define OPT_SUPERPOGO 3 // 1=pogo jumps really high ^ editor/menu_editor.c:30:44: note: in expansion of macro 'OPT_SUPERPOGO' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, ^~~~~~~~~~~~~ editor/../keen.h:282:33: note: (near initialization for 'editor_misc_menu[34]') #define OPT_SUPERPOGO 3 // 1=pogo jumps really high ^ editor/menu_editor.c:30:44: note: in expansion of macro 'OPT_SUPERPOGO' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, ^~~~~~~~~~~~~ editor/menu_editor.c:31:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, ^~ editor/menu_editor.c:31:6: note: (near initialization for 'editor_misc_menu[35]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:31:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[36]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:31:10: note: in expansion of macro 'MNU_DYNAMICTEXT' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, ^~~~~~~~~~~~~~~ editor/menu_editor.c:31:27: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, ^~~~~~~~~~~~~~~ editor/menu_editor.c:31:27: note: (near initialization for 'editor_misc_menu[37]') In file included from editor/menu_editor.c:1: editor/../keen.h:295:28: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define OPT_DOORSBLOCKRAY 16 // 1=can't shoot through locked doors ^~ editor/menu_editor.c:31:44: note: in expansion of macro 'OPT_DOORSBLOCKRAY' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, ^~~~~~~~~~~~~~~~~ editor/../keen.h:295:28: note: (near initialization for 'editor_misc_menu[38]') #define OPT_DOORSBLOCKRAY 16 // 1=can't shoot through locked doors ^~ editor/menu_editor.c:31:44: note: in expansion of macro 'OPT_DOORSBLOCKRAY' "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, ^~~~~~~~~~~~~~~~~ editor/menu_editor.c:32:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ editor/menu_editor.c:32:6: note: (near initialization for 'editor_misc_menu[39]') editor/menu_editor.c:33:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Add Border", MNU_CALLFP, me_addborder, 0, ^~~~~~~~~~~~ editor/menu_editor.c:33:6: note: (near initialization for 'editor_misc_menu[43]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:33:20: note: in expansion of macro 'MNU_CALLFP' "Add Border", MNU_CALLFP, me_addborder, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_misc_menu[44]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:33:20: note: in expansion of macro 'MNU_CALLFP' "Add Border", MNU_CALLFP, me_addborder, 0, ^~~~~~~~~~ editor/menu_editor.c:33:32: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Add Border", MNU_CALLFP, me_addborder, 0, ^~~~~~~~~~~~ editor/menu_editor.c:33:32: note: (near initialization for 'editor_misc_menu[45]') editor/menu_editor.c:34:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, ^~~~~~~~~~~~~~~~~~ editor/menu_editor.c:34:6: note: (near initialization for 'editor_misc_menu[47]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:34:26: note: in expansion of macro 'MNU_CALLFP' "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_misc_menu[48]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:34:26: note: in expansion of macro 'MNU_CALLFP' "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, ^~~~~~~~~~ editor/menu_editor.c:34:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, ^~~~~~~~~~~~ editor/menu_editor.c:34:38: note: (near initialization for 'editor_misc_menu[49]') editor/menu_editor.c:35:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:35:6: note: (near initialization for 'editor_misc_menu[51]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:35:36: note: in expansion of macro 'MNU_DYNAMICTEXT' " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'editor_misc_menu[52]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:35:36: note: in expansion of macro 'MNU_DYNAMICTEXT' " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, ^~~~~~~~~~~~~~~ editor/menu_editor.c:35:53: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:35:53: note: (near initialization for 'editor_misc_menu[53]') editor/menu_editor.c:36:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ editor/menu_editor.c:36:6: note: (near initialization for 'editor_misc_menu[55]') editor/menu_editor.c:37:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "<< Back", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~ editor/menu_editor.c:37:6: note: (near initialization for 'editor_misc_menu[59]') In file included from editor/menu_editor.c:3: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:37:17: note: in expansion of macro 'MNU_SWITCHMENU' "<< Back", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~~~~ editor/../menu.h:60:25: note: (near initialization for 'editor_misc_menu[60]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:37:17: note: in expansion of macro 'MNU_SWITCHMENU' "<< Back", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:37:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "<< Back", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~ editor/menu_editor.c:37:33: note: (near initialization for 'editor_misc_menu[61]') editor/menu_editor.c:41:29: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *editor_menu[MAXM] = {75+8,61, 0, NULL, NULL, NULL, NULL, ^~ editor/menu_editor.c:41:29: note: (near initialization for 'editor_menu[0]') editor/menu_editor.c:41:34: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *editor_menu[MAXM] = {75+8,61, 0, NULL, NULL, NULL, NULL, ^~ editor/menu_editor.c:41:34: note: (near initialization for 'editor_menu[1]') editor/menu_editor.c:42:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, ^~~~~~~~~~~~~~~ editor/menu_editor.c:42:6: note: (near initialization for 'editor_menu[7]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:42:23: note: in expansion of macro 'MNU_CALLFP' "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_menu[8]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:42:23: note: in expansion of macro 'MNU_CALLFP' "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, ^~~~~~~~~~ editor/menu_editor.c:42:35: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, ^~~~~~~~~~~~~~~~ editor/menu_editor.c:42:35: note: (near initialization for 'editor_menu[9]') editor/menu_editor.c:43:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "[x] Reset", MNU_CALLFP, me_resetmap, 0, ^~~~~~~~~~~~ editor/menu_editor.c:43:6: note: (near initialization for 'editor_menu[11]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:43:20: note: in expansion of macro 'MNU_CALLFP' "[x] Reset", MNU_CALLFP, me_resetmap, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_menu[12]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:43:20: note: in expansion of macro 'MNU_CALLFP' "[x] Reset", MNU_CALLFP, me_resetmap, 0, ^~~~~~~~~~ editor/menu_editor.c:43:32: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "[x] Reset", MNU_CALLFP, me_resetmap, 0, ^~~~~~~~~~~ editor/menu_editor.c:43:32: note: (near initialization for 'editor_menu[13]') editor/menu_editor.c:44:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, ^~~~~~~~~~~~~~~~ editor/menu_editor.c:44:6: note: (near initialization for 'editor_menu[15]') In file included from editor/menu_editor.c:3: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:44:24: note: in expansion of macro 'MNU_SWITCHMENU' " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, ^~~~~~~~~~~~~~ editor/../menu.h:60:25: note: (near initialization for 'editor_menu[16]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:44:24: note: in expansion of macro 'MNU_SWITCHMENU' " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:44:40: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, ^~~~~~~~~~~~~~~~~~ editor/menu_editor.c:44:40: note: (near initialization for 'editor_menu[17]') editor/menu_editor.c:45:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "[e] Change Episode", MNU_CALLFP, me_nextep, 0, ^~~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:45:6: note: (near initialization for 'editor_menu[19]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:45:29: note: in expansion of macro 'MNU_CALLFP' "[e] Change Episode", MNU_CALLFP, me_nextep, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_menu[20]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:45:29: note: in expansion of macro 'MNU_CALLFP' "[e] Change Episode", MNU_CALLFP, me_nextep, 0, ^~~~~~~~~~ editor/menu_editor.c:45:41: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "[e] Change Episode", MNU_CALLFP, me_nextep, 0, ^~~~~~~~~ editor/menu_editor.c:45:41: note: (near initialization for 'editor_menu[21]') editor/menu_editor.c:46:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "[F1] Save", MNU_CALLFP, me_save, 0, ^~~~~~~~~~~ editor/menu_editor.c:46:6: note: (near initialization for 'editor_menu[23]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:46:19: note: in expansion of macro 'MNU_CALLFP' "[F1] Save", MNU_CALLFP, me_save, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_menu[24]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:46:19: note: in expansion of macro 'MNU_CALLFP' "[F1] Save", MNU_CALLFP, me_save, 0, ^~~~~~~~~~ editor/menu_editor.c:46:31: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "[F1] Save", MNU_CALLFP, me_save, 0, ^~~~~~~ editor/menu_editor.c:46:31: note: (near initialization for 'editor_menu[25]') editor/menu_editor.c:47:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "[F2] Save As...", MNU_CALLFP, me_saveas, 0, ^~~~~~~~~~~~~~~~~ editor/menu_editor.c:47:6: note: (near initialization for 'editor_menu[27]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:47:25: note: in expansion of macro 'MNU_CALLFP' "[F2] Save As...", MNU_CALLFP, me_saveas, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_menu[28]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:47:25: note: in expansion of macro 'MNU_CALLFP' "[F2] Save As...", MNU_CALLFP, me_saveas, 0, ^~~~~~~~~~ editor/menu_editor.c:47:37: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "[F2] Save As...", MNU_CALLFP, me_saveas, 0, ^~~~~~~~~ editor/menu_editor.c:47:37: note: (near initialization for 'editor_menu[29]') editor/menu_editor.c:48:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, ^~~~~~ editor/menu_editor.c:48:6: note: (near initialization for 'editor_menu[31]') In file included from editor/menu_editor.c:3: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:48:14: note: in expansion of macro 'MNU_SWITCHMENU' "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, ^~~~~~~~~~~~~~ editor/../menu.h:60:25: note: (near initialization for 'editor_menu[32]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:48:14: note: in expansion of macro 'MNU_SWITCHMENU' "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:48:30: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, ^~~~~~~~~~~~~~~~ editor/menu_editor.c:48:30: note: (near initialization for 'editor_menu[33]') editor/menu_editor.c:49:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:49:6: note: (near initialization for 'editor_menu[35]') In file included from editor/menu_editor.c:3: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:49:29: note: in expansion of macro 'MNU_SWITCHMENU' "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~ editor/../menu.h:60:25: note: (near initialization for 'editor_menu[36]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:49:29: note: in expansion of macro 'MNU_SWITCHMENU' "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:49:45: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~ editor/menu_editor.c:49:45: note: (near initialization for 'editor_menu[37]') editor/menu_editor.c:50:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~ editor/menu_editor.c:50:6: note: (near initialization for 'editor_menu[39]') In file included from editor/menu_editor.c:3: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:50:18: note: in expansion of macro 'MNU_SWITCHMENU' "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ editor/../menu.h:60:25: note: (near initialization for 'editor_menu[40]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:50:18: note: in expansion of macro 'MNU_SWITCHMENU' "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:50:34: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:50:34: note: (near initialization for 'editor_menu[41]') editor/menu_editor.c:51:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ editor/menu_editor.c:51:6: note: (near initialization for 'editor_menu[43]') editor/menu_editor.c:52:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Exit Editor", MNU_CALLFP, me_exit_ed, 0, ^~~~~~~~~~~~~ editor/menu_editor.c:52:6: note: (near initialization for 'editor_menu[47]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:52:21: note: in expansion of macro 'MNU_CALLFP' "Exit Editor", MNU_CALLFP, me_exit_ed, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'editor_menu[48]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:52:21: note: in expansion of macro 'MNU_CALLFP' "Exit Editor", MNU_CALLFP, me_exit_ed, 0, ^~~~~~~~~~ editor/menu_editor.c:52:33: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Exit Editor", MNU_CALLFP, me_exit_ed, 0, ^~~~~~~~~~ editor/menu_editor.c:52:33: note: (near initialization for 'editor_menu[49]') editor/menu_editor.c:53:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Exit Program", MNU_SWITCHMENU, quit_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:53:6: note: (near initialization for 'editor_menu[51]') In file included from editor/menu_editor.c:3: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:53:22: note: in expansion of macro 'MNU_SWITCHMENU' "Exit Program", MNU_SWITCHMENU, quit_menu, 0, ^~~~~~~~~~~~~~ editor/../menu.h:60:25: note: (near initialization for 'editor_menu[52]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:53:22: note: in expansion of macro 'MNU_SWITCHMENU' "Exit Program", MNU_SWITCHMENU, quit_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:53:38: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Exit Program", MNU_SWITCHMENU, quit_menu, 0, ^~~~~~~~~ editor/menu_editor.c:53:38: note: (near initialization for 'editor_menu[53]') editor/menu_editor.c:54:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ editor/menu_editor.c:54:6: note: (near initialization for 'editor_menu[55]') editor/menu_editor.c:55:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ editor/menu_editor.c:55:6: note: (near initialization for 'editor_menu[59]') editor/menu_editor.c:56:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "q - Set Start Pos", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:56:6: note: (near initialization for 'editor_menu[63]') editor/menu_editor.c:57:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "b, ALT+b - Block/Pat Fill", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:57:6: note: (near initialization for 'editor_menu[67]') editor/menu_editor.c:58:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "SHIFT - Pickup Tile", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:58:6: note: (near initialization for 'editor_menu[71]') editor/menu_editor.c:59:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "W,A,S,D - Move Selector", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:59:6: note: (near initialization for 'editor_menu[75]') editor/menu_editor.c:63:36: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *edverifyclear_menu[MAXM] = {92,100,0,NULL,NULL,NULL,NULL, ^~ editor/menu_editor.c:63:36: note: (near initialization for 'edverifyclear_menu[0]') editor/menu_editor.c:63:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *edverifyclear_menu[MAXM] = {92,100,0,NULL,NULL,NULL,NULL, ^~~ editor/menu_editor.c:63:39: note: (near initialization for 'edverifyclear_menu[1]') editor/menu_editor.c:64:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Erase Map!", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~~~~ editor/menu_editor.c:64:6: note: (near initialization for 'edverifyclear_menu[7]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:64:20: note: in expansion of macro 'MNU_CALLFP' "Erase Map!", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'edverifyclear_menu[8]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:64:20: note: in expansion of macro 'MNU_CALLFP' "Erase Map!", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~~ editor/menu_editor.c:64:32: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "Erase Map!", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~ editor/menu_editor.c:64:32: note: (near initialization for 'edverifyclear_menu[9]') editor/menu_editor.c:65:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ editor/menu_editor.c:65:6: note: (near initialization for 'edverifyclear_menu[11]') editor/menu_editor.c:66:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~~~ editor/menu_editor.c:66:6: note: (near initialization for 'edverifyclear_menu[15]') In file included from editor/menu_editor.c:3: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:66:21: note: in expansion of macro 'MNU_SWITCHMENU' "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~~~~ editor/../menu.h:60:25: note: (near initialization for 'edverifyclear_menu[16]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:66:21: note: in expansion of macro 'MNU_SWITCHMENU' "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:66:37: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~ editor/menu_editor.c:66:37: note: (near initialization for 'edverifyclear_menu[17]') editor/menu_editor.c:71:32: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^ editor/menu_editor.c:71:32: note: (near initialization for 'edloadmap_menu[0]') editor/menu_editor.c:71:40: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^~ editor/menu_editor.c:71:40: note: (near initialization for 'edloadmap_menu[1]') editor/menu_editor.c:71:48: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^~~~~~~~~~ editor/menu_editor.c:71:48: note: (near initialization for 'edloadmap_menu[3]') editor/menu_editor.c:71:60: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:71:60: note: (near initialization for 'edloadmap_menu[4]') editor/menu_editor.c:71:81: warning: initialization of 'unsigned char *' from incompatible pointer type 'void (*)(char)' [-Wincompatible-pointer-types] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^~~~~~~~~~~ editor/menu_editor.c:71:81: note: (near initialization for 'edloadmap_menu[5]') editor/menu_editor.c:72:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~~~ editor/menu_editor.c:72:6: note: (near initialization for 'edloadmap_menu[7]') In file included from editor/menu_editor.c:3: editor/../menu.h:61:22: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:72:19: note: in expansion of macro 'MNU_CALLFP' "", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~~ editor/../menu.h:61:22: note: (near initialization for 'edloadmap_menu[8]') #define MNU_CALLFP 2 // 3rd arg is a funcpointer to call when selected ^ editor/menu_editor.c:72:19: note: in expansion of macro 'MNU_CALLFP' "", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~~ editor/menu_editor.c:72:31: warning: initialization of 'unsigned char *' from incompatible pointer type 'char (*)(int)' [-Wincompatible-pointer-types] "", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~ editor/menu_editor.c:72:31: note: (near initialization for 'edloadmap_menu[9]') editor/menu_editor.c:73:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "0", MNU_DYNAMICTEXT, getcmapname, 100, ^~~ editor/menu_editor.c:73:6: note: (near initialization for 'edloadmap_menu[11]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:73:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "0", MNU_DYNAMICTEXT, getcmapname, 100, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[12]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:73:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "0", MNU_DYNAMICTEXT, getcmapname, 100, ^~~~~~~~~~~~~~~ editor/menu_editor.c:73:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "0", MNU_DYNAMICTEXT, getcmapname, 100, ^~~~~~~~~~~ editor/menu_editor.c:73:28: note: (near initialization for 'edloadmap_menu[13]') editor/menu_editor.c:73:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "0", MNU_DYNAMICTEXT, getcmapname, 100, ^~~ editor/menu_editor.c:73:41: note: (near initialization for 'edloadmap_menu[14]') editor/menu_editor.c:74:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "1", MNU_DYNAMICTEXT, getcmapname, 101, ^~~ editor/menu_editor.c:74:6: note: (near initialization for 'edloadmap_menu[15]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:74:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "1", MNU_DYNAMICTEXT, getcmapname, 101, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[16]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:74:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "1", MNU_DYNAMICTEXT, getcmapname, 101, ^~~~~~~~~~~~~~~ editor/menu_editor.c:74:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "1", MNU_DYNAMICTEXT, getcmapname, 101, ^~~~~~~~~~~ editor/menu_editor.c:74:28: note: (near initialization for 'edloadmap_menu[17]') editor/menu_editor.c:74:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "1", MNU_DYNAMICTEXT, getcmapname, 101, ^~~ editor/menu_editor.c:74:41: note: (near initialization for 'edloadmap_menu[18]') editor/menu_editor.c:75:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "2", MNU_DYNAMICTEXT, getcmapname, 102, ^~~ editor/menu_editor.c:75:6: note: (near initialization for 'edloadmap_menu[19]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:75:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "2", MNU_DYNAMICTEXT, getcmapname, 102, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[20]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:75:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "2", MNU_DYNAMICTEXT, getcmapname, 102, ^~~~~~~~~~~~~~~ editor/menu_editor.c:75:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "2", MNU_DYNAMICTEXT, getcmapname, 102, ^~~~~~~~~~~ editor/menu_editor.c:75:28: note: (near initialization for 'edloadmap_menu[21]') editor/menu_editor.c:75:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "2", MNU_DYNAMICTEXT, getcmapname, 102, ^~~ editor/menu_editor.c:75:41: note: (near initialization for 'edloadmap_menu[22]') editor/menu_editor.c:76:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "3", MNU_DYNAMICTEXT, getcmapname, 103, ^~~ editor/menu_editor.c:76:6: note: (near initialization for 'edloadmap_menu[23]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:76:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "3", MNU_DYNAMICTEXT, getcmapname, 103, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[24]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:76:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "3", MNU_DYNAMICTEXT, getcmapname, 103, ^~~~~~~~~~~~~~~ editor/menu_editor.c:76:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "3", MNU_DYNAMICTEXT, getcmapname, 103, ^~~~~~~~~~~ editor/menu_editor.c:76:28: note: (near initialization for 'edloadmap_menu[25]') editor/menu_editor.c:76:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "3", MNU_DYNAMICTEXT, getcmapname, 103, ^~~ editor/menu_editor.c:76:41: note: (near initialization for 'edloadmap_menu[26]') editor/menu_editor.c:77:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "4", MNU_DYNAMICTEXT, getcmapname, 104, ^~~ editor/menu_editor.c:77:6: note: (near initialization for 'edloadmap_menu[27]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:77:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "4", MNU_DYNAMICTEXT, getcmapname, 104, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[28]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:77:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "4", MNU_DYNAMICTEXT, getcmapname, 104, ^~~~~~~~~~~~~~~ editor/menu_editor.c:77:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "4", MNU_DYNAMICTEXT, getcmapname, 104, ^~~~~~~~~~~ editor/menu_editor.c:77:28: note: (near initialization for 'edloadmap_menu[29]') editor/menu_editor.c:77:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "4", MNU_DYNAMICTEXT, getcmapname, 104, ^~~ editor/menu_editor.c:77:41: note: (near initialization for 'edloadmap_menu[30]') editor/menu_editor.c:78:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "5", MNU_DYNAMICTEXT, getcmapname, 105, ^~~ editor/menu_editor.c:78:6: note: (near initialization for 'edloadmap_menu[31]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:78:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "5", MNU_DYNAMICTEXT, getcmapname, 105, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[32]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:78:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "5", MNU_DYNAMICTEXT, getcmapname, 105, ^~~~~~~~~~~~~~~ editor/menu_editor.c:78:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "5", MNU_DYNAMICTEXT, getcmapname, 105, ^~~~~~~~~~~ editor/menu_editor.c:78:28: note: (near initialization for 'edloadmap_menu[33]') editor/menu_editor.c:78:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "5", MNU_DYNAMICTEXT, getcmapname, 105, ^~~ editor/menu_editor.c:78:41: note: (near initialization for 'edloadmap_menu[34]') editor/menu_editor.c:79:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "6", MNU_DYNAMICTEXT, getcmapname, 106, ^~~ editor/menu_editor.c:79:6: note: (near initialization for 'edloadmap_menu[35]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:79:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "6", MNU_DYNAMICTEXT, getcmapname, 106, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[36]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:79:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "6", MNU_DYNAMICTEXT, getcmapname, 106, ^~~~~~~~~~~~~~~ editor/menu_editor.c:79:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "6", MNU_DYNAMICTEXT, getcmapname, 106, ^~~~~~~~~~~ editor/menu_editor.c:79:28: note: (near initialization for 'edloadmap_menu[37]') editor/menu_editor.c:79:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "6", MNU_DYNAMICTEXT, getcmapname, 106, ^~~ editor/menu_editor.c:79:41: note: (near initialization for 'edloadmap_menu[38]') editor/menu_editor.c:80:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "7", MNU_DYNAMICTEXT, getcmapname, 107, ^~~ editor/menu_editor.c:80:6: note: (near initialization for 'edloadmap_menu[39]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:80:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "7", MNU_DYNAMICTEXT, getcmapname, 107, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[40]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:80:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "7", MNU_DYNAMICTEXT, getcmapname, 107, ^~~~~~~~~~~~~~~ editor/menu_editor.c:80:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "7", MNU_DYNAMICTEXT, getcmapname, 107, ^~~~~~~~~~~ editor/menu_editor.c:80:28: note: (near initialization for 'edloadmap_menu[41]') editor/menu_editor.c:80:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "7", MNU_DYNAMICTEXT, getcmapname, 107, ^~~ editor/menu_editor.c:80:41: note: (near initialization for 'edloadmap_menu[42]') editor/menu_editor.c:81:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "8", MNU_DYNAMICTEXT, getcmapname, 108, ^~~ editor/menu_editor.c:81:6: note: (near initialization for 'edloadmap_menu[43]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:81:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "8", MNU_DYNAMICTEXT, getcmapname, 108, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[44]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:81:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "8", MNU_DYNAMICTEXT, getcmapname, 108, ^~~~~~~~~~~~~~~ editor/menu_editor.c:81:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "8", MNU_DYNAMICTEXT, getcmapname, 108, ^~~~~~~~~~~ editor/menu_editor.c:81:28: note: (near initialization for 'edloadmap_menu[45]') editor/menu_editor.c:81:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "8", MNU_DYNAMICTEXT, getcmapname, 108, ^~~ editor/menu_editor.c:81:41: note: (near initialization for 'edloadmap_menu[46]') editor/menu_editor.c:82:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "9", MNU_DYNAMICTEXT, getcmapname, 109, ^~~ editor/menu_editor.c:82:6: note: (near initialization for 'edloadmap_menu[47]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:82:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "9", MNU_DYNAMICTEXT, getcmapname, 109, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[48]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:82:11: note: in expansion of macro 'MNU_DYNAMICTEXT' "9", MNU_DYNAMICTEXT, getcmapname, 109, ^~~~~~~~~~~~~~~ editor/menu_editor.c:82:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "9", MNU_DYNAMICTEXT, getcmapname, 109, ^~~~~~~~~~~ editor/menu_editor.c:82:28: note: (near initialization for 'edloadmap_menu[49]') editor/menu_editor.c:82:41: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "9", MNU_DYNAMICTEXT, getcmapname, 109, ^~~ editor/menu_editor.c:82:41: note: (near initialization for 'edloadmap_menu[50]') editor/menu_editor.c:83:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "10", MNU_DYNAMICTEXT, getcmapname, 110, ^~~~ editor/menu_editor.c:83:6: note: (near initialization for 'edloadmap_menu[51]') In file included from editor/menu_editor.c:3: editor/../menu.h:62:26: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:83:12: note: in expansion of macro 'MNU_DYNAMICTEXT' "10", MNU_DYNAMICTEXT, getcmapname, 110, ^~~~~~~~~~~~~~~ editor/../menu.h:62:26: note: (near initialization for 'edloadmap_menu[52]') #define MNU_DYNAMICTEXT 3 // 3rd arg is a funcpointer to get text ^ editor/menu_editor.c:83:12: note: in expansion of macro 'MNU_DYNAMICTEXT' "10", MNU_DYNAMICTEXT, getcmapname, 110, ^~~~~~~~~~~~~~~ editor/menu_editor.c:83:29: warning: initialization of 'unsigned char *' from incompatible pointer type 'char * (*)(char *, char, unsigned char)' [-Wincompatible-pointer-types] "10", MNU_DYNAMICTEXT, getcmapname, 110, ^~~~~~~~~~~ editor/menu_editor.c:83:29: note: (near initialization for 'edloadmap_menu[53]') editor/menu_editor.c:83:42: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] "10", MNU_DYNAMICTEXT, getcmapname, 110, ^~~ editor/menu_editor.c:83:42: note: (near initialization for 'edloadmap_menu[54]') editor/menu_editor.c:85:33: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *edbadlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, ^ editor/menu_editor.c:85:33: note: (near initialization for 'edbadlevel_menu[0]') editor/menu_editor.c:85:39: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *edbadlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, ^~ editor/menu_editor.c:85:39: note: (near initialization for 'edbadlevel_menu[1]') editor/menu_editor.c:85:44: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] uchar *edbadlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, ^~~ editor/menu_editor.c:85:44: note: (near initialization for 'edbadlevel_menu[2]') editor/menu_editor.c:86:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "I don't know how to open", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:86:6: note: (near initialization for 'edbadlevel_menu[7]') editor/menu_editor.c:87:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "that file!", MNU_SEPERATOR, NULL, 0, ^~~~~~~~~~~~ editor/menu_editor.c:87:6: note: (near initialization for 'edbadlevel_menu[11]') editor/menu_editor.c:88:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ editor/menu_editor.c:88:6: note: (near initialization for 'edbadlevel_menu[15]') editor/menu_editor.c:89:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^~ editor/menu_editor.c:89:6: note: (near initialization for 'edbadlevel_menu[19]') editor/menu_editor.c:90:6: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~ editor/menu_editor.c:90:6: note: (near initialization for 'edbadlevel_menu[23]') In file included from editor/menu_editor.c:3: editor/../menu.h:60:25: warning: initialization of 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:90:12: note: in expansion of macro 'MNU_SWITCHMENU' "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ editor/../menu.h:60:25: note: (near initialization for 'edbadlevel_menu[24]') #define MNU_SWITCHMENU 1 // 3rd arg is address of a submenu ^ editor/menu_editor.c:90:12: note: in expansion of macro 'MNU_SWITCHMENU' "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:90:28: warning: initialization of 'unsigned char *' from incompatible pointer type 'unsigned char **' [-Wincompatible-pointer-types] "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:90:28: note: (near initialization for 'edbadlevel_menu[25]') editor/menu_editor.c: In function 'me_resetmap': editor/menu_editor.c:103:36: warning: implicit declaration of function 'editor_resetmap'; did you mean 'me_resetmap'? [-Wimplicit-function-declaration] char static me_resetmap(int arg) { editor_resetmap(); return 1; } ^~~~~~~~~~~~~~~ me_resetmap editor/menu_editor.c: In function 'me_addborder': editor/menu_editor.c:110:37: warning: implicit declaration of function 'editor_addborder'; did you mean 'me_addborder'? [-Wimplicit-function-declaration] char static me_addborder(int arg) { editor_addborder(); return 1; } ^~~~~~~~~~~~~~~~ me_addborder editor/menu_editor.c: In function 'me_nextep': editor/menu_editor.c:111:34: warning: implicit declaration of function 'editor_nextep'; did you mean 'editor_enter'? [-Wimplicit-function-declaration] char static me_nextep(int arg) { editor_nextep(); return 1; } ^~~~~~~~~~~~~ editor_enter editor/menu_editor.c: In function 'me_save': editor/menu_editor.c:112:32: warning: implicit declaration of function 'editor_save'; did you mean 'editor_enter'? [-Wimplicit-function-declaration] char static me_save(int arg) { editor_save(); return 1; } ^~~~~~~~~~~ editor_enter editor/menu_editor.c: In function 'me_saveas': editor/menu_editor.c:113:34: warning: implicit declaration of function 'editor_saveas'; did you mean 'editor_enter'? [-Wimplicit-function-declaration] char static me_saveas(int arg) { editor_saveas(); return 1; } ^~~~~~~~~~~~~ editor_enter editor/menu_editor.c: In function 'me_exit_ed': editor/menu_editor.c:114:35: warning: implicit declaration of function 'editor_exit'; did you mean 'editor_enter'? [-Wimplicit-function-declaration] char static me_exit_ed(int arg) { editor_exit(); return 1; } ^~~~~~~~~~~ editor_enter editor/menu_editor.c: In function 'me_resizemap': editor/menu_editor.c:115:37: warning: implicit declaration of function 'editor_resizemap'; did you mean 'me_resizemap'? [-Wimplicit-function-declaration] char static me_resizemap(int arg) { editor_resizemap(); return 1; } ^~~~~~~~~~~~~~~~ me_resizemap editor/menu_editor.c: In function 'me_timelimit': editor/menu_editor.c:116:37: warning: implicit declaration of function 'editor_settimelimit'; did you mean 'me_timelimit'? [-Wimplicit-function-declaration] char static me_timelimit(int arg) { editor_settimelimit(); return 1; } ^~~~~~~~~~~~~~~~~~~ me_timelimit In file included from editor/../menu.h:92, from editor/menu_editor.c:3: editor/menu_editor.c: At top level: editor/../menumanager.fdh:36:13: warning: 'SelectCorrectMM' declared 'static' but never defined [-Wunused-function] void static SelectCorrectMM(void); ^~~~~~~~~~~~~~~ editor/../menumanager.fdh:37:13: warning: 'DrawMenuText' declared 'static' but never defined [-Wunused-function] void static DrawMenuText(void); ^~~~~~~~~~~~ editor/../menumanager.fdh:42:13: warning: 'DrawLogo' declared 'static' but never defined [-Wunused-function] void static DrawLogo(void); ^~~~~~~~ editor/../menumanager.fdh:45:13: warning: 'move_down' declared 'static' but never defined [-Wunused-function] void static move_down(void); ^~~~~~~~~ editor/../menumanager.fdh:46:13: warning: 'move_up' declared 'static' but never defined [-Wunused-function] void static move_up(void); ^~~~~~~ editor/../menumanager.fdh:49:13: warning: 'goto_epmenu' declared 'static' but never defined [-Wunused-function] char static goto_epmenu(int numplayers); ^~~~~~~~~~~ editor/../menumanager.fdh:50:13: warning: 'mmhandler_newgame' declared 'static' but never defined [-Wunused-function] char static mmhandler_newgame(int episode); ^~~~~~~~~~~~~~~~~ editor/../menumanager.fdh:51:13: warning: 'mmhandler_endgame' declared 'static' but never defined [-Wunused-function] char static mmhandler_endgame(int dummy); ^~~~~~~~~~~~~~~~~ editor/../menumanager.fdh:52:13: warning: 'mmhandler_restartlevel' declared 'static' but never defined [-Wunused-function] char static mmhandler_restartlevel(int dummy); ^~~~~~~~~~~~~~~~~~~~~~ editor/../menumanager.fdh:53:13: warning: 'mmhandler_quit' declared 'static' but never defined [-Wunused-function] char static mmhandler_quit(int dummy); ^~~~~~~~~~~~~~ editor/../menumanager.fdh:54:13: warning: 'mmhandler_quit2' declared 'static' but never defined [-Wunused-function] char static mmhandler_quit2(int dummy); ^~~~~~~~~~~~~~~ editor/menu_editor.c: In function 'ToggleGhosting': editor/menu_editor.c:152:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ editor/menu_editor.c: In function 'SetForcedOption': editor/menu_editor.c:204:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ editor/menu_editor.c: In function 'SetGameOverOnTimeOut': editor/menu_editor.c:138:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c lprintf.c -o lprintf.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c graphicmaker.c -o graphicmaker.o graphicmaker.c: In function 'Make_Font_Clear': graphicmaker.c:88:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (xa==-1 && x==0 || ya==-1 && y==0) goto onedge; ~~~~~~~^~~~~~~ graphicmaker.c:89:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (xa==1 && x==7 || ya==1 && y==7) goto onedge; ~~~~~~^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c lz.c -o lz.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c savegame.c -o savegame.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c sgrle.c -o sgrle.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c vgatiles.c -o vgatiles.o In file included from vgatiles.c:4: tga.c: In function 'LoadTGA': tga.c:52:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(*image, imgdatasize, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c message.c -o message.o message.c: In function 'message': message.c:51:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(msg, newmsg); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from message.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ message.c:57:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(vismsg, newmsg); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from message.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ message.c:32:5: warning: unused variable 'len' [-Wunused-variable] int len = strlen(newmsg); ^~~ message.c: In function 'message_do': message.c:153:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(vismsg, msg); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from message.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ message.c:153:21: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(vismsg, msg); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from keen.h:2, from message.c:5: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^~~~~ message.c:135:6: warning: unused variable 'btn_down' [-Wunused-variable] char btn_down = 0; ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c cinematics/seqcommon.c -o cinematics/seqcommon.o cinematics/seqcommon.c: In function 'showmapatpos': cinematics/seqcommon.c:71:6: warning: unused variable 'levelname' [-Wunused-variable] char levelname[80]; ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c cinematics/e1ending.c -o cinematics/e1ending.o cinematics/e1ending.c: In function 'BackAtHisShip_Start': cinematics/e1ending.c:78:5: warning: unused variable 'i' [-Wunused-variable] int i; ^ cinematics/e1ending.c: In function 'BackAtHome_Do': cinematics/e1ending.c:324:23: warning: array subscript has type 'char' [-Wchar-subscripts] else message(bahtext[++curtext], dlgX, dlgY, dlgW, dlgH, 1, 0); ^ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c cinematics/e3ending.c -o cinematics/e3ending.o cinematics/e3ending.c: In function 'TakingPictures_Start': cinematics/e3ending.c:45:5: warning: unused variable 'i' [-Wunused-variable] int i; ^ cinematics/e3ending.c: In function 'TheEnd_Start': cinematics/e3ending.c:203:6: warning: unused variable 'pagename' [-Wunused-variable] char pagename[80]; ^~~~~~~~ cinematics/e3ending.c:202:5: warning: unused variable 'i' [-Wunused-variable] int i; ^ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c latch.c -o latch.o latch.c: In function 'latch_loadlatch': latch.c:224:33: warning: pointer targets in passing argument 2 of 'lz_decompress' differ in signedness [-Wpointer-sign] ok = lz_decompress(latchfile, RawData); ^~~~~~~ In file included from latch.c:7: latch.fdh:38:6: note: expected 'unsigned char *' but argument is of type 'char *' char lz_decompress(FILE *lzfile, unsigned char *outbuffer); ^~~~~~~~~~~~~ latch.c:352:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] bitmaps[b].bmptr = bmdataptr; ^ latch.c: In function 'latch_loadsprites': latch.c:409:32: warning: pointer targets in passing argument 2 of 'lz_decompress' differ in signedness [-Wpointer-sign] if (lz_decompress(spritfile, RawData)) return 1; ^~~~~~~ In file included from latch.c:7: latch.fdh:38:6: note: expected 'unsigned char *' but argument is of type 'char *' char lz_decompress(FILE *lzfile, unsigned char *outbuffer); ^~~~~~~~~~~~~ latch.c: In function 'latch_loadlatch': latch.c:231:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(RawData, RawDataSize, 1, latchfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ latch.c: In function 'latch_loadsprites': latch.c:414:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(RawData, RawDataSize, 1, spritfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c cinematics/mortimer.c -o cinematics/mortimer.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c cinematics/TBC.c -o cinematics/TBC.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c globals.c -o globals.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c FinaleScreenLoader.c -o FinaleScreenLoader.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/yorp.c -o ai/yorp.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c cinematics/blowupworld.c -o cinematics/blowupworld.o cinematics/blowupworld.c: In function 'blow_up_world': cinematics/blowupworld.c:79:28: warning: implicit declaration of function 'endlevel' [-Wimplicit-function-declaration] void blow_up_world(void) { endlevel(HIT_TANTALUS_SWITCH); } ^~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/garg.c -o ai/garg.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/butler.c -o ai/butler.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/icecannon.c -o ai/icecannon.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/teleport.c -o ai/teleport.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/door.c -o ai/door.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/ray.c -o ai/ray.o ai/ray.c: In function 'ray_ai': ai/ray.c:44:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ai/ray.c:48:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' switch(objects[o].ai.ray.state) ^~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/rope.c -o ai/rope.o ai/rope.c: In function 'rope_ai': ai/rope.c:21:5: warning: unused variable 'i' [-Wunused-variable] int i,x; ^ ai/rope.c: In function 'rope_movestone': ai/rope.c:76:5: warning: unused variable 'i' [-Wunused-variable] int i; ^ ai/rope.c:75:10: warning: unused variable 'ypix' [-Wunused-variable] int xpix,ypix; ^~~~ ai/rope.c:75:5: warning: unused variable 'xpix' [-Wunused-variable] int xpix,ypix; ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/tank.c -o ai/tank.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/vort.c -o ai/vort.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/vortelite.c -o ai/vortelite.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/platform.c -o ai/platform.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/tankep2.c -o ai/tankep2.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/platvert.c -o ai/platvert.o ai/platvert.c: In function 'platvert_ai': ai/platvert.c:19:5: warning: unused variable 'needtokick' [-Wunused-variable] int needtokick; ^~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/sndwave.c -o ai/sndwave.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/meep.c -o ai/meep.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/earth.c -o ai/earth.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/foob.c -o ai/foob.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/fireball.c -o ai/fireball.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/mother.c -o ai/mother.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/balljack.c -o ai/balljack.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/autoray.c -o ai/autoray.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/baby.c -o ai/baby.o ai/baby.c: In function 'baby_ai': ai/baby.c:175:38: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ((rnd()&BABY_BOUNCE_PROB)==BABY_BOUNCE_PROB/2) baby_jump(o, BABY_JUMP_BIG); ^~ ai/baby.c:188:38: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ((rnd()&BABY_BOUNCE_PROB)==BABY_BOUNCE_PROB/2) baby_jump(o, BABY_JUMP_BIG); ^~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/gotpoints.c -o ai/gotpoints.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/walker.c -o ai/walker.o ai/walker.c: In function 'walker_ai': ai/walker.c:84:17: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized] player[i].psupportingobject!=o) ~~~~~~~~~^~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/ninja.c -o ai/ninja.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/nessie.c -o ai/nessie.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c sdl/timedrv.c -o sdl/timedrv.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c sdl/keydrv.c -o sdl/keydrv.o sdl/keydrv.c: In function 'KeyDrv_GetKeyMapping': sdl/keydrv.c:176:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return beingset; ^~~~~~~~ sdl/keydrv.c:180:20: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] if (!ksym) return noksym; ^~~~~~ sdl/keydrv.c:187:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return knbuf; ^~~~~ sdl/keydrv.c:192:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return knbuf; ^~~~~ sdl/keydrv.c:194:9: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] return kname; ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c ai/se.c -o ai/se.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c sdl/viddrv.c -o sdl/viddrv.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c scale2x/pixel.c -o scale2x/pixel.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c scale2x/scale3x.c -o scale2x/scale3x.o scale2x/scale3x.c:441:13: warning: 'scale3x_32_def_whole' defined but not used [-Wunused-function] 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) ^~~~~~~~~~~~~~~~~~~~ scale2x/scale3x.c:248:13: warning: 'scale3x_16_def_whole' defined but not used [-Wunused-function] 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) ^~~~~~~~~~~~~~~~~~~~ scale2x/scale3x.c:55:13: warning: 'scale3x_8_def_whole' defined but not used [-Wunused-function] 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) ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c platform.cpp -o platform.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c sdl/snddrv.c -o sdl/snddrv.o sdl/snddrv.c: In function 'sound_load': sdl/snddrv.c:176:16: warning: array subscript has type 'char' [-Wchar-subscripts] sounds[loadnum].sounddata[i] = SOUND_FREQ_DIVISOR / sndbyte; ^ sdl/snddrv.c:180:10: warning: array subscript has type 'char' [-Wchar-subscripts] sounds[loadnum].sounddata[i] = sndbyte; ^ sdl/snddrv.c:184:12: warning: array subscript has type 'char' [-Wchar-subscripts] sounds[loadnum].priority = priority; ^ sdl/snddrv.c: In function 'SoundDrv_GenWaveform': sdl/snddrv.c:288:30: warning: array subscript has type 'char' [-Wchar-subscripts] Chan->desiredfreq = sounds[Chan->current_sound].sounddata[Chan->sound_ptr]; ^ sdl/snddrv.c: In function 'sound_play': sdl/snddrv.c:466:22: warning: array subscript has type 'char' [-Wchar-subscripts] if (SndChannels[chnl].sound_playing) ^ sdl/snddrv.c:468:31: warning: array subscript has type 'char' [-Wchar-subscripts] if (sounds[SndChannels[chnl].current_sound].priority > sounds[snd].priority) ^ sdl/snddrv.c:468:19: warning: array subscript has type 'char' [-Wchar-subscripts] if (sounds[SndChannels[chnl].current_sound].priority > sounds[snd].priority) ^ sdl/snddrv.c:481:21: warning: array subscript has type 'char' [-Wchar-subscripts] if (!SndChannels[chnl].sound_playing) ^ sdl/snddrv.c:490:27: warning: array subscript has type 'char' [-Wchar-subscripts] if (sounds[SndChannels[chnl].current_sound].priority <= sounds[snd].priority) ^ sdl/snddrv.c:490:15: warning: array subscript has type 'char' [-Wchar-subscripts] if (sounds[SndChannels[chnl].current_sound].priority <= sounds[snd].priority) ^ sdl/snddrv.c:516:14: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].current_sound = snd; ^ sdl/snddrv.c:517:14: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_ptr = 0; ^ sdl/snddrv.c:518:14: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_timer = 0; ^ sdl/snddrv.c:519:14: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_playing = 1; ^ sdl/snddrv.c:520:14: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].waveState = WAVE_IN; ^ sdl/snddrv.c:521:14: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].freqtimer = 0; ^ sdl/snddrv.c:522:14: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_forced = 0; ^ sdl/snddrv.c:524:17: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_forced = 1; ^ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c scale2x/scalebit.c -o scale2x/scalebit.o make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -c scale2x/scale2x.c -o scale2x/scale2x.o scale2x/scale2x.c:353:13: warning: 'scale2x_32_def_whole' defined but not used [-Wunused-function] 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) ^~~~~~~~~~~~~~~~~~~~ scale2x/scale2x.c:204:13: warning: 'scale2x_16_def_whole' defined but not used [-Wunused-function] 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) ^~~~~~~~~~~~~~~~~~~~ scale2x/scale2x.c:55:13: warning: 'scale2x_8_def_whole' defined but not used [-Wunused-function] 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) ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/keen/src' make: Entering directory '/usr/src/RPM/BUILD/keen/src' 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 '/usr/src/RPM/BUILD/keen/src' + gcc -o clonekeen-extract -pipe -frecord-gcc-switches -Wall -g -O2 extract.c -ldynamite + gcc -o clonekeen-extract-sounds -pipe -frecord-gcc-switches -Wall -g -O2 clonekeen-extract-sounds.c clonekeen-extract-sounds.c: In function 'main': clonekeen-extract-sounds.c:167:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(&buf[sounds_start], "SND")) ^~~~~~~~~~~~~~~~~~ In file included from clonekeen-extract-sounds.c:24: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ clonekeen-extract-sounds.c:132:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp, 1, 2, fin); ^~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.50358 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/clonekeen-buildroot + : + /bin/rm -rf -- /usr/src/tmp/clonekeen-buildroot + cd keen + mkdir -p /usr/src/tmp/clonekeen-buildroot/usr/bin + mkdir -p /usr/src/tmp/clonekeen-buildroot/usr/lib + mkdir -p /usr/src/tmp/clonekeen-buildroot/usr/share/clonekeen/data + mkdir -p /usr/src/tmp/clonekeen-buildroot/usr/share/clonekeen/gfx + install -m 755 src/keen /usr/src/tmp/clonekeen-buildroot/usr/lib/clonekeen + install -m 755 clonekeen-extract /usr/src/tmp/clonekeen-buildroot/usr/lib + install -m 755 clonekeen-extract-sounds /usr/src/tmp/clonekeen-buildroot/usr/lib + install -p -m 755 /usr/src/RPM/SOURCES/clonekeen.sh /usr/src/tmp/clonekeen-buildroot/usr/bin/clonekeen + install -p -m 644 /usr/src/RPM/SOURCES/clonekeen.autodlrc /usr/src/tmp/clonekeen-buildroot/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 /usr/src/tmp/clonekeen-buildroot/usr/share/clonekeen + install -p -m 644 bin/flags.ini bin/palette.ini /usr/src/tmp/clonekeen-buildroot/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 /usr/src/tmp/clonekeen-buildroot/usr/share/clonekeen/gfx + install -p -m 644 bin/data/level17.ck1 bin/data/level18.ck2 bin/data/level19.ck2 /usr/src/tmp/clonekeen-buildroot/usr/share/clonekeen/data + install -p -m 644 bin/demolvl.ck1 /usr/src/tmp/clonekeen-buildroot/usr/share/clonekeen + mkdir -p /usr/src/tmp/clonekeen-buildroot/usr/share/applications + desktop-file-install --dir /usr/src/tmp/clonekeen-buildroot/usr/share/applications /usr/src/RPM/SOURCES/clonekeen.desktop + mkdir -p /usr/src/tmp/clonekeen-buildroot/usr/share/icons/hicolor/24x24/apps + install -p -m 644 /usr/src/RPM/SOURCES/clonekeen.png /usr/src/tmp/clonekeen-buildroot/usr/share/icons/hicolor/24x24/apps + sed -i s,/usr/libexec,/usr/lib,g /usr/src/tmp/clonekeen-buildroot/usr/lib/clonekeen /usr/src/tmp/clonekeen-buildroot/usr/lib/clonekeen-extract /usr/src/tmp/clonekeen-buildroot/usr/lib/clonekeen-extract-sounds /usr/src/tmp/clonekeen-buildroot/usr/bin/clonekeen + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/clonekeen-buildroot (auto) Verifying and fixing files in /usr/src/tmp/clonekeen-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/clonekeen-buildroot/ (default) Compressing files in /usr/src/tmp/clonekeen-buildroot (auto) Adjusting library links in /usr/src/tmp/clonekeen-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/clonekeen-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: clonekeen-0.8.4-alt1_13 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.94276 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd keen + DOCDIR=/usr/src/tmp/clonekeen-buildroot/usr/share/doc/clonekeen-0.8.4 + export DOCDIR + rm -rf /usr/src/tmp/clonekeen-buildroot/usr/share/doc/clonekeen-0.8.4 + /bin/mkdir -p /usr/src/tmp/clonekeen-buildroot/usr/share/doc/clonekeen-0.8.4 + cp -prL README src/changelog.txt /usr/src/tmp/clonekeen-buildroot/usr/share/doc/clonekeen-0.8.4 + chmod -R go-w /usr/src/tmp/clonekeen-buildroot/usr/share/doc/clonekeen-0.8.4 + chmod -R a+rX /usr/src/tmp/clonekeen-buildroot/usr/share/doc/clonekeen-0.8.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ngyq34 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JLaXcu find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) shell.req: /usr/src/tmp/clonekeen-buildroot/usr/bin/clonekeen: /usr/share/autodl/AutoDL.py -> /usr/share/autodl/AutoDL.py (raw, not installed) find-requires: FINDPACKAGE-COMMANDS: cp mkdir rm unzip Requires: icon-theme-hicolor, autodownloader, /bin/bash, /lib64/ld-linux-x86-64.so.2, /usr/share/autodl/AutoDL.py, coreutils, libSDL-1.2.so.0()(64bit) >= set:lg0OuAA2Mm5ZhAiovOnYyMLiUNXJe2jRL2VXGIJVby1cTKNNjC9O4, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libdynamite.so.0()(64bit) >= set:dcm3, libm.so.6(GLIBC_2.2.5)(64bit), rtld(GNU_HASH), unzip Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BFbPEW Creating clonekeen-debuginfo package Processing files: clonekeen-debuginfo-0.8.4-alt1_13 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zgtDus find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zEZXP1 find-requires: running scripts (debuginfo) Requires: clonekeen = 0.8.4-alt1_13, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libSDL-1.2.so.0), debug64(libc.so.6), debug64(libdynamite.so.0), debug64(libm.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/clonekeen-0.8.4-alt1_13.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/clonekeen-debuginfo-0.8.4-alt1_13.x86_64.rpm 11.98user 1.73system 0:11.83elapsed 115%CPU (0avgtext+0avgdata 41500maxresident)k 0inputs+0outputs (0major+778106minor)pagefaults 0swaps 19.24user 4.52system 0:23.51elapsed 101%CPU (0avgtext+0avgdata 116708maxresident)k 32inputs+0outputs (0major+1105254minor)pagefaults 0swaps --- clonekeen-0.8.4-alt1_13.x86_64.rpm.repo 2018-02-04 16:37:47.000000000 +0000 +++ clonekeen-0.8.4-alt1_13.x86_64.rpm.hasher 2019-04-09 01:24:57.104342990 +0000 @@ -67,3 +67,3 @@ Requires: libc.so.6(GLIBC_2.4)(64bit) -Requires: libdynamite.so.0()(64bit) >= set:edHh +Requires: libdynamite.so.0()(64bit) >= set:dcm3 Requires: libm.so.6(GLIBC_2.2.5)(64bit)