Mock Version: 1.1.28 Mock Version: 1.1.28 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/clonekeen.spec'], False, '/var/lib/mock/f19-build-1581864-270953/root/', None, 86400, True, False, 500, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/clonekeen.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/clonekeen-0.8.4-3.fc19.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/clonekeen.spec'], False, '/var/lib/mock/f19-build-1581864-270953/root/', None, 86400, True, False, 500, 425, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/clonekeen.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d5ZSgU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf keen + /usr/bin/bzip2 -dc /builddir/build/SOURCES/clonekeen-src-84-clean.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd keen + /usr/bin/gzip -dc /builddir/build/SOURCES/clonekeen-0.8.4-data.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (clonekeen-0.8.4-noSDLmain.patch): + echo 'Patch #0 (clonekeen-0.8.4-noSDLmain.patch):' + /usr/bin/cat /builddir/build/SOURCES/clonekeen-0.8.4-noSDLmain.patch + /usr/bin/patch -p1 -b --suffix .noSDLmain --fuzz=0 patching file src/Makefile + sed -i 's|gcc -O2|gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic|g' src/Makefile + cp -a /builddir/build/SOURCES/extract.c /builddir/build/SOURCES/clonekeen-extract-sounds.c . + sed -i 's/\r//g' README src/changelog.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MGgoMC + umask 022 + cd /builddir/build/BUILD + cd keen + make -j3 -C src -f Makefile 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' make: Entering directory `/builddir/build/BUILD/keen/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c main.c -o main.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c sanity.c -o sanity.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c game.c -o game.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 [enabled by default] if (wheretogetit == COMESWITHKEEN || 1) ^ sanity.c:156:19: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] getFromWhere = kFromOriginal; ^ sanity.c:158:19: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] getFromWhere = kFromCloneKeen; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c gamedo.c -o gamedo.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c gamepdo.c -o gamepdo.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:3: 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); ^ gamedo.c:953:3: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] gamedo.c:954:3: 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:0: 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:3: 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:0: 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:3: 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:0: 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:3: 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:0: 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:3: 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:0: 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:3: 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:0: 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:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(temp, "%d", player[p].inventory.score); ^ gamedo.c:1000:3: 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:0: 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:3: 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:0: 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:3: 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:0: 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:3: 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:0: 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:4: 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:0: 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:4: 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:0: 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:1079:5: warning: 'yorpspr' may be used uninitialized in this function [-Wmaybe-uninitialized] int yorpspr, yadj; ^ gamedo.c:1173:21: warning: 'yadj' may be used uninitialized in this function [-Wmaybe-uninitialized] drawsprite(OSD_X, y+yadj+mky.y, yorpspr); ^ 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) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c gamepdo_wm.c -o gamepdo_wm.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c editor/editor.c -o editor/editor.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 || \ ^ In file included from editor/editor.c:91:0: editor/buttons.c: In function 'drawbutton': editor/buttons.c:7:2: 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:0: 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:0: editor/ghosting.c: In function 'editor_set_do_ghosting': editor/ghosting.c:45:2: 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:0: 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:0: editor/autoblock.c: In function 'drawcurautoblock': editor/autoblock.c:158:2: 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:0: 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:2: 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:0: 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:2: 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:0: 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:4: 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:0: 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 'showrunstop': editor/editor.c:992:3: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw("RUN", RS_LEFT+4, RS_TOP, drawcharacter_clear); ^ In file included from editor/editor.c:4:0: 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:996:3: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw("STOP", RS_LEFT, RS_TOP, drawcharacter_clear_erasebg); ^ In file included from editor/editor.c:4:0: 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)()); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c editor/autolight.c -o editor/autolight.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c console.c -o console.o In file included from editor/editor.c:93:0: editor/editor.c: In function 'chgcurautoblock': editor/autoblock.c:71:2: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] return &block[index]; ^ editor/autoblock.c:62:6: note: 'block' was declared here int *block; ^ editor/autoblock.c:71:2: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] return &block[index]; ^ editor/autoblock.c:62:6: note: 'block' was declared here int *block; ^ 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] } ^ editor/autoblock.c: In function 'getautoblock': editor/autoblock.c:71:2: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] return &block[index]; ^ console.c: In function 'DrawConsoleMessages': console.c:38:3: 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:0: 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)()); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c fileio.c -o fileio.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c maploader.c -o maploader.o maploader.c: In function 'rle_compress': maploader.c:389:12: warning: unused variable 'lastword' [-Wunused-variable] uint word, lastword, readword; ^ maploader.c:459:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ maploader.c: In function 'AddEnemy': maploader.c:488:12: warning: unused variable 'rndysize' [-Wunused-variable] int ysize, rndysize; ^ maploader.c:488:5: warning: unused variable 'ysize' [-Wunused-variable] int ysize, rndysize; ^ fileio.c: In function 'fileopen': fileio.c:21:4: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(customname, levelcontrol.custom_episode_path); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from fileio.c:5: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ fileio.c:22:4: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(customname, name); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from fileio.c:5: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ fileio.c:24:4: warning: pointer targets in passing argument 1 of 'fcaseopen' differ in signedness [-Wpointer-sign] fp = fcaseopen(customname, mode); ^ In file included from fileio.c:6:0: fileio.fdh:8:7: note: expected 'char *' but argument is of type 'unsigned char *' FILE *fcaseopen(char *ci_name, char *mode); ^ fileio.c: In function 'fcaseopen': fileio.c:73:5: warning: implicit declaration of function 'stat' [-Wimplicit-function-declaration] stat("trying '%s'", fname); ^ fileio.c: In function 'LoadTGASprite': fileio.c:136:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(fname, "%s%s", GFXDIR, filename); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from fileio.c:5: /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, ...)) ^ fileio.c:137:2: warning: pointer targets in passing argument 1 of 'LoadTGA' differ in signedness [-Wpointer-sign] if (LoadTGA(fname, &image, &w, &h)) ^ In file included from fileio.c:6:0: fileio.fdh:52:6: note: expected 'char *' but argument is of type 'unsigned char *' char LoadTGA(char *file, uchar **image, int *widthout, int *heightout); ^ fileio.c: In function 'loadstrings': fileio.c:429:11: warning: pointer targets in passing argument 1 of 'loadstrings_AddAttr' differ in signedness [-Wpointer-sign] if (loadstrings_AddAttr(stAttr, numStrings)) return 1; ^ fileio.c:299:6: note: expected 'char *' but argument is of type 'unsigned char *' char loadstrings_AddAttr(char *attr, int stringIndex) ^ fileio.c:438:11: warning: pointer targets in passing argument 1 of 'loadstrings_AddAttr' differ in signedness [-Wpointer-sign] if (loadstrings_AddAttr(stAttr, numStrings)) return 1; ^ fileio.c:299:6: note: expected 'char *' but argument is of type 'unsigned char *' char loadstrings_AddAttr(char *attr, int stringIndex) ^ fileio.c:516:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] RAMSize = strlen(stName) + strlen(stString) + 2; ^ In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:516:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] RAMSize = strlen(stName) + strlen(stString) + 2; ^ In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:525:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] strings[numStrings].name = &RAMPtr[0]; ^ fileio.c:526:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strings[numStrings].stringptr = &RAMPtr[strlen(stName)+1]; ^ In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:526:39: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] strings[numStrings].stringptr = &RAMPtr[strlen(stName)+1]; ^ fileio.c:529:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(strings[numStrings].name, stName, strlen(stName)+1); ^ In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:530:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(strings[numStrings].stringptr, stString, strlen(stString)+1); ^ In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c: In function 'getstring': fileio.c:585:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(name, strings[i].name)) ^ In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:585:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(name, strings[i].name)) ^ fileio.c:585:5: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:585:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] fileio.c:585:5: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:585:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:585:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(name, strings[i].name)) ^ fileio.c:585:5: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:585:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] fileio.c:585:5: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:587:7: warning: pointer targets in return differ in signedness [-Wpointer-sign] return strings[i].stringptr; ^ fileio.c: In function 'GetStringAttribute': fileio.c:601:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(stringName, strings[i].name)) ^ In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:601:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(stringName, strings[i].name)) ^ fileio.c:601:5: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:601:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] fileio.c:601:5: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:601:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:601:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(stringName, strings[i].name)) ^ fileio.c:601:5: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:601:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] fileio.c:601:5: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:606:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp(attrName, strings[i].attrnames[j])) ^ In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:606:9: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(attrName, strings[i].attrnames[j])) ^ fileio.c:606:9: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:606:9: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] fileio.c:606:9: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:606:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from keen.h:3:0, from fileio.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ fileio.c:606:9: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(attrName, strings[i].attrnames[j])) ^ fileio.c:606:9: note: expected 'const char *' but argument is of type 'unsigned char *' fileio.c:606:9: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] fileio.c:606:9: note: expected 'const char *' but argument is of type 'unsigned char *' editor/editor.c: In function 'editor_run': editor/autoblock.c:71:2: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/autoblock.c:62:6: note: 'block' was declared here int *block; ^ editor/autoblock.c:71:2: warning: 'block' may be used uninitialized in this function [-Wmaybe-uninitialized] return &block[index]; ^ editor/autoblock.c:62:6: note: 'block' was declared here int *block; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c map.c -o map.o fileio.c: In function 'loadstrings': fileio.c:437:29: warning: 'attrIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] stAttr[attrIndex] = 0; // null-terminate ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c graphics.c -o graphics.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; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c palette.c -o palette.o palette.c: In function 'pal_fade': palette.c:79:3: warning: array subscript has type 'char' [-Wchar-subscripts] r = palette[c].r[isdark]; ^ palette.c:80:3: warning: array subscript has type 'char' [-Wchar-subscripts] g = palette[c].g[isdark]; ^ palette.c:81:3: warning: array subscript has type 'char' [-Wchar-subscripts] b = palette[c].b[isdark]; ^ palette.c: In function 'pal_getcolor': palette.c:167:3: warning: array subscript has type 'char' [-Wchar-subscripts] if (palette[i].r[isdark]==r &&\ ^ palette.c:167:3: warning: array subscript has type 'char' [-Wchar-subscripts] palette.c:167:3: warning: array subscript has type 'char' [-Wchar-subscripts] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c fonts.c -o fonts.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c misc.c -o misc.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c misc_ui.c -o misc_ui.o misc.c: In function 'drawkeensleft': misc.c:354:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(getstring("LIVES_LEFT_BACKGROUND"),(KEENSLEFT_X+1)*8,(boxY+1)*8,drawcharacter); ^ In file included from misc.c:10:0: misc.fdh:47:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc.c:355:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(getstring("LIVES_LEFT"),((KEENSLEFT_X+7)*8)+4,(boxY+1)*8,drawcharacter); ^ In file included from misc.c:10:0: misc.fdh:47:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ fonts.c: In function 'font_draw': fonts.c:8:1: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] int len = strlen(text); ^ In file included from keen.h:3:0, from fonts.c:2: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ misc_ui.c: In function 'ShipEp3': misc_ui.c:136:8: warning: type defaults to 'int' in declaration of 'lastpick' [-Wimplicit-int] static lastpick = -1; ^ misc_ui.c: In function 'DrawStatusBox': misc_ui.c:164:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(tempbuf, (statX+12-strlen(tempbuf))<<3, (statY+2)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:169:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(tempbuf, (statX+28-strlen(tempbuf))<<3, (statY+2)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c: In function 'inventory_draw_ep1': misc_ui.c:191:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(getstring("EP1_StatusBox"), (statX+1)<<3, (statY+1)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c: In function 'inventory_draw_ep2': misc_ui.c:231:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(getstring("EP2_StatusBox"), (statX+1)<<3, (statY+1)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:239:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] if (levelcontrol.levels_completed[4]) font_draw(getstring("EP2_LVL4_TargetName"), (statX+1)<<3, (statY+8)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:240:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] if (levelcontrol.levels_completed[6]) font_draw(getstring("EP2_LVL6_TargetName"), (statX+8)<<3, (statY+8)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:241:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] if (levelcontrol.levels_completed[7]) font_draw(getstring("EP2_LVL7_TargetName"), (statX+1)<<3, (statY+9)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:242:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] if (levelcontrol.levels_completed[11]) font_draw(getstring("EP2_LVL11_TargetName"), (statX+1)<<3, (statY+10)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:243:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] if (levelcontrol.levels_completed[9]) font_draw(getstring("EP2_LVL9_TargetName"), (statX+8)<<3, (statY+10)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:244:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] if (levelcontrol.levels_completed[13]) font_draw(getstring("EP2_LVL13_TargetName"), (statX+1)<<3, (statY+11)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:245:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] if (levelcontrol.levels_completed[15]) font_draw(getstring("EP2_LVL15_TargetName"), (statX+8)<<3, (statY+9)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:246:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] if (levelcontrol.levels_completed[16]) font_draw(getstring("EP2_LVL16_TargetName"), (statX+8)<<3, (statY+11)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:255:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(tempbuf, (statX+27-strlen(tempbuf))<<3, ((statY+5)<<3)-1, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c: In function 'inventory_draw_ep3': misc_ui.c:268:3: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(getstring("EP3_StatusBox"), (statX+1)<<3, (statY+1)<<3, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c:275:3: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(tempbuf, (statX+8)<<3, ((statY+8)<<3)+7, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ misc_ui.c: In function 'showcharges_ep13': misc_ui.c:299:2: warning: pointer targets in passing argument 1 of 'font_draw' differ in signedness [-Wpointer-sign] font_draw(tempbuf, x, y, drawcharacter); ^ In file included from misc_ui.c:3:0: misc_ui.fdh:27:6: note: expected 'unsigned char *' but argument is of type 'char *' void font_draw(unsigned char *text, int xs, int y, void (*drawingfunc)()); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c graphicmaker.c -o graphicmaker.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ini.c -o ini.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; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c intro.c -o intro.o ini.c: In function 'BufferIni': ini.c:46:3: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] fgets(line, sizeof(line)-1, fp); ^ In file included from /usr/include/stdio.h:937:0, from ini.c:4: /usr/include/bits/stdio2.h:253:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ ini.c:48:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while(line[strlen(line)-1]==13||line[strlen(line)-1]==10) line[strlen(line)-1]=0; ^ In file included from keen.h:3:0, from ini.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ini.c:48:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while(line[strlen(line)-1]==13||line[strlen(line)-1]==10) line[strlen(line)-1]=0; ^ In file included from keen.h:3:0, from ini.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ini.c:48:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while(line[strlen(line)-1]==13||line[strlen(line)-1]==10) line[strlen(line)-1]=0; ^ In file included from keen.h:3:0, from ini.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ini.c:53:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((linebuf[nIniLines]=(char *)malloc(strlen(line) + 1))==NULL) ^ In file included from keen.h:3:0, from ini.c:5: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ini.c:59:3: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(linebuf[nIniLines], line); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from ini.c:4: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ini.c:46:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(line, sizeof(line)-1, fp); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c menumanager.c -o menumanager.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; ^ menumanager.c:16:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *main_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^ menumanager.c:16:1: warning: (near initialization for 'main_menu[0]') [enabled by default] menumanager.c:16:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:16:1: warning: (near initialization for 'main_menu[1]') [enabled by default] menumanager.c:17:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "1-Player Game", MNU_CALLFP, goto_epmenu, 1, ^ menumanager.c:17:6: warning: (near initialization for 'main_menu[7]') [-Wpointer-sign] menumanager.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:17:6: warning: (near initialization for 'main_menu[8]') [enabled by default] menumanager.c:17:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:17:6: warning: (near initialization for 'main_menu[9]') [enabled by default] menumanager.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:17:6: warning: (near initialization for 'main_menu[10]') [enabled by default] menumanager.c:18:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "2-Player Game", MNU_CALLFP, goto_epmenu, 2, ^ menumanager.c:18:6: warning: (near initialization for 'main_menu[11]') [-Wpointer-sign] menumanager.c:18:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:18:6: warning: (near initialization for 'main_menu[12]') [enabled by default] menumanager.c:18:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:18:6: warning: (near initialization for 'main_menu[13]') [enabled by default] menumanager.c:18:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:18:6: warning: (near initialization for 'main_menu[14]') [enabled by default] menumanager.c:19:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, ^ menumanager.c:19:6: warning: (near initialization for 'main_menu[15]') [-Wpointer-sign] menumanager.c:19:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:19:6: warning: (near initialization for 'main_menu[16]') [enabled by default] menumanager.c:19:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:19:6: warning: (near initialization for 'main_menu[17]') [enabled by default] menumanager.c:20:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^ menumanager.c:20:6: warning: (near initialization for 'main_menu[19]') [-Wpointer-sign] menumanager.c:20:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:20:6: warning: (near initialization for 'main_menu[20]') [enabled by default] menumanager.c:20:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:20:6: warning: (near initialization for 'main_menu[21]') [enabled by default] menumanager.c:21:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Options", MNU_SWITCHMENU, option_menu, 0, ^ menumanager.c:21:6: warning: (near initialization for 'main_menu[23]') [-Wpointer-sign] menumanager.c:21:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:21:6: warning: (near initialization for 'main_menu[24]') [enabled by default] menumanager.c:21:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:21:6: warning: (near initialization for 'main_menu[25]') [enabled by default] menumanager.c:22:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "About", MNU_SWITCHMENU, about_menu, 0, ^ menumanager.c:22:6: warning: (near initialization for 'main_menu[27]') [-Wpointer-sign] menumanager.c:22:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:22:6: warning: (near initialization for 'main_menu[28]') [enabled by default] menumanager.c:22:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:22:6: warning: (near initialization for 'main_menu[29]') [enabled by default] menumanager.c:23:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:23:6: warning: (near initialization for 'main_menu[31]') [-Wpointer-sign] menumanager.c:24:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^ menumanager.c:24:6: warning: (near initialization for 'main_menu[35]') [-Wpointer-sign] menumanager.c:24:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:24:6: warning: (near initialization for 'main_menu[36]') [enabled by default] menumanager.c:24:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:24:6: warning: (near initialization for 'main_menu[37]') [enabled by default] menumanager.c:28:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *ingame_menu[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^ menumanager.c:28:1: warning: (near initialization for 'ingame_menu[0]') [enabled by default] menumanager.c:28:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:28:1: warning: (near initialization for 'ingame_menu[1]') [enabled by default] menumanager.c:29:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^ menumanager.c:29:6: warning: (near initialization for 'ingame_menu[7]') [-Wpointer-sign] menumanager.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:29:6: warning: (near initialization for 'ingame_menu[8]') [enabled by default] menumanager.c:29:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:29:6: warning: (near initialization for 'ingame_menu[9]') [enabled by default] menumanager.c:30:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^ menumanager.c:30:6: warning: (near initialization for 'ingame_menu[11]') [-Wpointer-sign] menumanager.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:30:6: warning: (near initialization for 'ingame_menu[12]') [enabled by default] menumanager.c:30:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:30:6: warning: (near initialization for 'ingame_menu[13]') [enabled by default] menumanager.c:31:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^ menumanager.c:31:6: warning: (near initialization for 'ingame_menu[15]') [-Wpointer-sign] menumanager.c:31:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:31:6: warning: (near initialization for 'ingame_menu[16]') [enabled by default] menumanager.c:31:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:31:6: warning: (near initialization for 'ingame_menu[17]') [enabled by default] menumanager.c:32:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Options", MNU_SWITCHMENU, option_menu, 0, ^ menumanager.c:32:6: warning: (near initialization for 'ingame_menu[19]') [-Wpointer-sign] menumanager.c:32:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:32:6: warning: (near initialization for 'ingame_menu[20]') [enabled by default] menumanager.c:32:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:32:6: warning: (near initialization for 'ingame_menu[21]') [enabled by default] menumanager.c:33:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:33:6: warning: (near initialization for 'ingame_menu[23]') [-Wpointer-sign] menumanager.c:34:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, ^ menumanager.c:34:6: warning: (near initialization for 'ingame_menu[27]') [-Wpointer-sign] menumanager.c:34:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:34:6: warning: (near initialization for 'ingame_menu[28]') [enabled by default] menumanager.c:34:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:34:6: warning: (near initialization for 'ingame_menu[29]') [enabled by default] menumanager.c:34:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:34:6: warning: (near initialization for 'ingame_menu[30]') [enabled by default] menumanager.c:35:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^ menumanager.c:35:6: warning: (near initialization for 'ingame_menu[31]') [-Wpointer-sign] menumanager.c:35:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:35:6: warning: (near initialization for 'ingame_menu[32]') [enabled by default] menumanager.c:35:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:35:6: warning: (near initialization for 'ingame_menu[33]') [enabled by default] menumanager.c:36:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^ menumanager.c:36:6: warning: (near initialization for 'ingame_menu[35]') [-Wpointer-sign] menumanager.c:36:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:36:6: warning: (near initialization for 'ingame_menu[36]') [enabled by default] menumanager.c:36:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:36:6: warning: (near initialization for 'ingame_menu[37]') [enabled by default] menumanager.c:40:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *ingame_menu_norestart[MAXM] = {88,79, 0, NULL, NULL, NULL, NULL, ^ menumanager.c:40:1: warning: (near initialization for 'ingame_menu_norestart[0]') [enabled by default] menumanager.c:40:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:40:1: warning: (near initialization for 'ingame_menu_norestart[1]') [enabled by default] menumanager.c:41:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^ menumanager.c:41:6: warning: (near initialization for 'ingame_menu_norestart[7]') [-Wpointer-sign] menumanager.c:41:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:41:6: warning: (near initialization for 'ingame_menu_norestart[8]') [enabled by default] menumanager.c:41:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:41:6: warning: (near initialization for 'ingame_menu_norestart[9]') [enabled by default] menumanager.c:42:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^ menumanager.c:42:6: warning: (near initialization for 'ingame_menu_norestart[11]') [-Wpointer-sign] menumanager.c:42:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:42:6: warning: (near initialization for 'ingame_menu_norestart[12]') [enabled by default] menumanager.c:42:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:42:6: warning: (near initialization for 'ingame_menu_norestart[13]') [enabled by default] menumanager.c:43:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^ menumanager.c:43:6: warning: (near initialization for 'ingame_menu_norestart[15]') [-Wpointer-sign] menumanager.c:43:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:43:6: warning: (near initialization for 'ingame_menu_norestart[16]') [enabled by default] menumanager.c:43:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:43:6: warning: (near initialization for 'ingame_menu_norestart[17]') [enabled by default] menumanager.c:44:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Options", MNU_SWITCHMENU, option_menu, 0, ^ menumanager.c:44:6: warning: (near initialization for 'ingame_menu_norestart[19]') [-Wpointer-sign] menumanager.c:44:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:44:6: warning: (near initialization for 'ingame_menu_norestart[20]') [enabled by default] menumanager.c:44:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:44:6: warning: (near initialization for 'ingame_menu_norestart[21]') [enabled by default] menumanager.c:45:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:45:6: warning: (near initialization for 'ingame_menu_norestart[23]') [-Wpointer-sign] menumanager.c:46:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^ menumanager.c:46:6: warning: (near initialization for 'ingame_menu_norestart[27]') [-Wpointer-sign] menumanager.c:46:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:46:6: warning: (near initialization for 'ingame_menu_norestart[28]') [enabled by default] menumanager.c:46:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:46:6: warning: (near initialization for 'ingame_menu_norestart[29]') [enabled by default] menumanager.c:47:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^ menumanager.c:47:6: warning: (near initialization for 'ingame_menu_norestart[31]') [-Wpointer-sign] menumanager.c:47:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:47:6: warning: (near initialization for 'ingame_menu_norestart[32]') [enabled by default] menumanager.c:47:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:47:6: warning: (near initialization for 'ingame_menu_norestart[33]') [enabled by default] menumanager.c:51:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *endgame_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, ^ menumanager.c:51:1: warning: (near initialization for 'endgame_menu[0]') [enabled by default] menumanager.c:51:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:51:1: warning: (near initialization for 'endgame_menu[1]') [enabled by default] menumanager.c:52:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "End the Game", MNU_CALLFP, mmhandler_endgame, 0, ^ menumanager.c:52:6: warning: (near initialization for 'endgame_menu[7]') [-Wpointer-sign] menumanager.c:52:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:52:6: warning: (near initialization for 'endgame_menu[8]') [enabled by default] menumanager.c:52:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:52:6: warning: (near initialization for 'endgame_menu[9]') [enabled by default] menumanager.c:53:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:53:6: warning: (near initialization for 'endgame_menu[11]') [-Wpointer-sign] menumanager.c:54:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Play on!", MNU_CALLFP, dismiss_menu, 0, ^ menumanager.c:54:6: warning: (near initialization for 'endgame_menu[15]') [-Wpointer-sign] menumanager.c:54:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:54:6: warning: (near initialization for 'endgame_menu[16]') [enabled by default] menumanager.c:54:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:54:6: warning: (near initialization for 'endgame_menu[17]') [enabled by default] menumanager.c:58:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *quit_menu[MAXM] = {90,100, 0, NULL, NULL, NULL, NULL, ^ menumanager.c:58:1: warning: (near initialization for 'quit_menu[0]') [enabled by default] menumanager.c:58:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:58:1: warning: (near initialization for 'quit_menu[1]') [enabled by default] menumanager.c:59:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, ^ menumanager.c:59:6: warning: (near initialization for 'quit_menu[7]') [-Wpointer-sign] menumanager.c:59:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:59:6: warning: (near initialization for 'quit_menu[8]') [enabled by default] menumanager.c:59:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:59:6: warning: (near initialization for 'quit_menu[9]') [enabled by default] menumanager.c:60:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:60:6: warning: (near initialization for 'quit_menu[11]') [-Wpointer-sign] menumanager.c:61:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Play on!", MNU_CALLFP, dismiss_menu, 0, ^ menumanager.c:61:6: warning: (near initialization for 'quit_menu[15]') [-Wpointer-sign] menumanager.c:61:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:61:6: warning: (near initialization for 'quit_menu[16]') [enabled by default] menumanager.c:61:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:61:6: warning: (near initialization for 'quit_menu[17]') [enabled by default] menumanager.c:65:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *selectep_menu[MAXM] = {5*8,90, 0, NULL, NULL, NULL, NULL, ^ menumanager.c:65:1: warning: (near initialization for 'selectep_menu[0]') [enabled by default] menumanager.c:65:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:65:1: warning: (near initialization for 'selectep_menu[1]') [enabled by default] menumanager.c:66:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, ^ menumanager.c:66:6: warning: (near initialization for 'selectep_menu[7]') [-Wpointer-sign] menumanager.c:66:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:66:6: warning: (near initialization for 'selectep_menu[8]') [enabled by default] menumanager.c:66:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:66:6: warning: (near initialization for 'selectep_menu[9]') [enabled by default] menumanager.c:66:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:66:6: warning: (near initialization for 'selectep_menu[10]') [enabled by default] menumanager.c:67:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, ^ menumanager.c:67:6: warning: (near initialization for 'selectep_menu[11]') [-Wpointer-sign] menumanager.c:67:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:67:6: warning: (near initialization for 'selectep_menu[12]') [enabled by default] menumanager.c:67:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:67:6: warning: (near initialization for 'selectep_menu[13]') [enabled by default] menumanager.c:67:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:67:6: warning: (near initialization for 'selectep_menu[14]') [enabled by default] menumanager.c:68:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, ^ menumanager.c:68:6: warning: (near initialization for 'selectep_menu[15]') [-Wpointer-sign] menumanager.c:68:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:68:6: warning: (near initialization for 'selectep_menu[16]') [enabled by default] menumanager.c:68:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:68:6: warning: (near initialization for 'selectep_menu[17]') [enabled by default] menumanager.c:68:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:68:6: warning: (near initialization for 'selectep_menu[18]') [enabled by default] menumanager.c:69:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:69:6: warning: (near initialization for 'selectep_menu[19]') [-Wpointer-sign] menumanager.c:70:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, ^ menumanager.c:70:6: warning: (near initialization for 'selectep_menu[23]') [-Wpointer-sign] menumanager.c:70:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:70:6: warning: (near initialization for 'selectep_menu[24]') [enabled by default] menumanager.c:70:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:70:6: warning: (near initialization for 'selectep_menu[25]') [enabled by default] menumanager.c:71:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, ^ menumanager.c:71:6: warning: (near initialization for 'selectep_menu[27]') [-Wpointer-sign] menumanager.c:71:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:71:6: warning: (near initialization for 'selectep_menu[28]') [enabled by default] menumanager.c:71:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:71:6: warning: (near initialization for 'selectep_menu[29]') [enabled by default] menumanager.c:71:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:71:6: warning: (near initialization for 'selectep_menu[30]') [enabled by default] menumanager.c:75:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *about_menu[MAXM] = {-3,60, 0xff, NULL, NULL, NULL, NULL, ^ menumanager.c:75:1: warning: (near initialization for 'about_menu[0]') [enabled by default] menumanager.c:75:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:75:1: warning: (near initialization for 'about_menu[1]') [enabled by default] menumanager.c:75:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:75:1: warning: (near initialization for 'about_menu[2]') [enabled by default] menumanager.c:76:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] REVISION, MNU_SEPERATOR, NULL, 0, ^ menumanager.c:76:6: warning: (near initialization for 'about_menu[7]') [-Wpointer-sign] menumanager.c:77:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "by Caitlin Shaw", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:77:6: warning: (near initialization for 'about_menu[11]') [-Wpointer-sign] menumanager.c:78:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:78:6: warning: (near initialization for 'about_menu[15]') [-Wpointer-sign] menumanager.c:79:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] PORTEDBY1, MNU_SEPERATOR, NULL, 0, ^ menumanager.c:79:6: warning: (near initialization for 'about_menu[19]') [-Wpointer-sign] menumanager.c:80:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] PORTEDBY2, MNU_SEPERATOR, NULL, 0, ^ menumanager.c:80:6: warning: (near initialization for 'about_menu[23]') [-Wpointer-sign] menumanager.c:81:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:81:6: warning: (near initialization for 'about_menu[27]') [-Wpointer-sign] menumanager.c:82:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Based on \"Invasion of the Vorticons\"", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:82:6: warning: (near initialization for 'about_menu[31]') [-Wpointer-sign] menumanager.c:83:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "by ID Software. All \"Commander Keen\"", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:83:6: warning: (near initialization for 'about_menu[35]') [-Wpointer-sign] menumanager.c:84:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "datafiles are (c)1991 ID Software.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:84:6: warning: (near initialization for 'about_menu[39]') [-Wpointer-sign] menumanager.c:85:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "CloneKeen is an original game engine", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:85:6: warning: (near initialization for 'about_menu[43]') [-Wpointer-sign] menumanager.c:86:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "which is compatible with these data", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:86:6: warning: (near initialization for 'about_menu[47]') [-Wpointer-sign] menumanager.c:87:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "files.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:87:6: warning: (near initialization for 'about_menu[51]') [-Wpointer-sign] menumanager.c:88:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:88:6: warning: (near initialization for 'about_menu[55]') [-Wpointer-sign] menumanager.c:89:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "This program is free software under", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:89:6: warning: (near initialization for 'about_menu[59]') [-Wpointer-sign] menumanager.c:90:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "the GNU General Public License.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:90:6: warning: (near initialization for 'about_menu[63]') [-Wpointer-sign] menumanager.c:91:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:91:6: warning: (near initialization for 'about_menu[67]') [-Wpointer-sign] menumanager.c:92:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 ^ menumanager.c:92:6: warning: (near initialization for 'about_menu[71]') [-Wpointer-sign] menumanager.c:92:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:92:6: warning: (near initialization for 'about_menu[72]') [enabled by default] menumanager.c:92:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:92:6: warning: (near initialization for 'about_menu[73]') [enabled by default] menumanager.c:95:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *cant_play_ep_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, ^ menumanager.c:95:1: warning: (near initialization for 'cant_play_ep_menu[0]') [enabled by default] menumanager.c:95:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:95:1: warning: (near initialization for 'cant_play_ep_menu[1]') [enabled by default] menumanager.c:95:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:95:1: warning: (near initialization for 'cant_play_ep_menu[2]') [enabled by default] menumanager.c:96:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "You can't play this episode.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:96:6: warning: (near initialization for 'cant_play_ep_menu[7]') [-Wpointer-sign] menumanager.c:97:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:97:6: warning: (near initialization for 'cant_play_ep_menu[11]') [-Wpointer-sign] menumanager.c:98:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "You are missing the data files", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:98:6: warning: (near initialization for 'cant_play_ep_menu[15]') [-Wpointer-sign] menumanager.c:99:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "from the original game, which", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:99:6: warning: (near initialization for 'cant_play_ep_menu[19]') [-Wpointer-sign] menumanager.c:100:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "you need to play it.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:100:6: warning: (near initialization for 'cant_play_ep_menu[23]') [-Wpointer-sign] menumanager.c:101:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:101:6: warning: (near initialization for 'cant_play_ep_menu[27]') [-Wpointer-sign] menumanager.c:102:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Obtain the original version of", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:102:6: warning: (near initialization for 'cant_play_ep_menu[31]') [-Wpointer-sign] menumanager.c:103:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "this episode, copy all it's", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:103:6: warning: (near initialization for 'cant_play_ep_menu[35]') [-Wpointer-sign] menumanager.c:104:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "files into the \"data\" subdir,", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:104:6: warning: (near initialization for 'cant_play_ep_menu[39]') [-Wpointer-sign] menumanager.c:105:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "and restart CloneKeen.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:105:6: warning: (near initialization for 'cant_play_ep_menu[43]') [-Wpointer-sign] menumanager.c:106:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:106:6: warning: (near initialization for 'cant_play_ep_menu[47]') [-Wpointer-sign] menumanager.c:107:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, ^ menumanager.c:107:6: warning: (near initialization for 'cant_play_ep_menu[51]') [-Wpointer-sign] menumanager.c:107:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:107:6: warning: (near initialization for 'cant_play_ep_menu[52]') [enabled by default] menumanager.c:107:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:107:6: warning: (near initialization for 'cant_play_ep_menu[53]') [enabled by default] menumanager.c:110:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *cant_play_usermap_menu[MAXM] = {23,74, 255, NULL, NULL, NULL, NULL, ^ menumanager.c:110:1: warning: (near initialization for 'cant_play_usermap_menu[0]') [enabled by default] menumanager.c:110:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:110:1: warning: (near initialization for 'cant_play_usermap_menu[1]') [enabled by default] menumanager.c:110:1: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:110:1: warning: (near initialization for 'cant_play_usermap_menu[2]') [enabled by default] menumanager.c:111:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "You can't play this user map.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:111:6: warning: (near initialization for 'cant_play_usermap_menu[7]') [-Wpointer-sign] menumanager.c:112:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:112:6: warning: (near initialization for 'cant_play_usermap_menu[11]') [-Wpointer-sign] menumanager.c:113:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "This user map requires the", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:113:6: warning: (near initialization for 'cant_play_usermap_menu[15]') [-Wpointer-sign] menumanager.c:114:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "registered version of Keen.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:114:6: warning: (near initialization for 'cant_play_usermap_menu[19]') [-Wpointer-sign] menumanager.c:115:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:115:6: warning: (near initialization for 'cant_play_usermap_menu[23]') [-Wpointer-sign] menumanager.c:116:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Obtain the original version of", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:116:6: warning: (near initialization for 'cant_play_usermap_menu[27]') [-Wpointer-sign] menumanager.c:117:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "the episode, copy all it's", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:117:6: warning: (near initialization for 'cant_play_usermap_menu[31]') [-Wpointer-sign] menumanager.c:118:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "files into the \"data\" subdir,", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:118:6: warning: (near initialization for 'cant_play_usermap_menu[35]') [-Wpointer-sign] menumanager.c:119:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "and restart CloneKeen.", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:119:6: warning: (near initialization for 'cant_play_usermap_menu[39]') [-Wpointer-sign] menumanager.c:120:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menumanager.c:120:6: warning: (near initialization for 'cant_play_usermap_menu[43]') [-Wpointer-sign] menumanager.c:121:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, ^ menumanager.c:121:6: warning: (near initialization for 'cant_play_usermap_menu[47]') [-Wpointer-sign] menumanager.c:121:6: warning: initialization makes pointer from integer without a cast [enabled by default] menumanager.c:121:6: warning: (near initialization for 'cant_play_usermap_menu[48]') [enabled by default] menumanager.c:121:6: warning: initialization from incompatible pointer type [enabled by default] menumanager.c:121:6: warning: (near initialization for 'cant_play_usermap_menu[49]') [enabled by default] menumanager.c: In function 'SelectCorrectMM': menumanager.c:149:20: warning: comparison of distinct pointer types lacks a cast [enabled by default] if (menu.curmenu != editor_menu) ^ menumanager.c:150:4: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(editor_menu); ^ In file included from menu.h:92:0, from menumanager.c:10: menumanager.fdh:39:6: 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 [enabled by default] if (menu.curmenu != ingame_menu_norestart) ^ menumanager.c:162:5: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(ingame_menu_norestart); ^ In file included from menu.h:92:0, from menumanager.c:10: menumanager.fdh:39:6: 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 [enabled by default] if (menu.curmenu != ingame_menu) ^ menumanager.c:169:5: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(ingame_menu); ^ In file included from menu.h:92:0, from menumanager.c:10: menumanager.fdh:39:6: 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 [enabled by default] else if (menu.curmenu != main_menu) ^ menumanager.c:174:3: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(main_menu); ^ In file included from menu.h:92:0, from menumanager.c:10: menumanager.fdh:39:6: 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 from incompatible pointer type [enabled by default] uchar *curmenu = menu.curmenu; ^ menumanager.c:186:18: warning: comparison of distinct pointer types lacks a cast [enabled by default] if (menu.curmenu==main_menu || \ ^ menumanager.c:187:15: warning: comparison of distinct pointer types lacks a cast [enabled by default] menu.curmenu==ingame_menu || \ ^ menumanager.c:188:15: warning: comparison of distinct pointer types lacks a cast [enabled by default] menu.curmenu==ingame_menu_norestart) ^ menumanager.c:193:4: warning: assignment makes integer from pointer without a cast [enabled by default] x = (*menu.curmenu)[HD_X]; ^ menumanager.c:194:4: warning: assignment makes integer from pointer without a cast [enabled by default] y = (*menu.curmenu)[HD_Y]; ^ menumanager.c:201:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] text = (*menu.curmenu)[index]; ^ menumanager.c:202:39: warning: comparison between pointer and integer [enabled by default] if ((*menu.curmenu)[index+ITM_TYPE] == MNU_DYNAMICTEXT) ^ menumanager.c:204:12: warning: assignment from incompatible pointer type [enabled by default] dyn_ptr = (*menu.curmenu)[index+ITM_PTR]; ^ menumanager.c:205:4: 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:4: note: expected 'unsigned char *' but argument is of type 'char *' menumanager.c:205:4: warning: passing argument 3 of 'dyn_ptr' makes integer from pointer without a cast [enabled by default] menumanager.c:205:4: note: expected 'unsigned char' but argument is of type 'unsigned char *' menumanager.c:207:3: 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:0, 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:212:10: warning: passing argument 1 of 'twirly_draw' makes integer from pointer without a cast [enabled by default] &menu.curtwirlframe); ^ In file included from menu.h:92:0, from menumanager.c:10: menumanager.fdh:61:6: 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 from incompatible pointer type [enabled by default] funcptr = (*menu.curmenu)[HD_DISMISSALFUNC]; ^ menumanager.c: In function 'Menu_InitMenu': menumanager.c:242:15: warning: assignment from incompatible pointer type [enabled by default] menu.curmenu = whichmenu; ^ menumanager.c:243:17: warning: assignment makes integer from pointer without a cast [enabled by default] menu.curoption = (*menu.curmenu)[HD_STARTINGOPT]; ^ menumanager.c:265:10: warning: assignment from incompatible pointer type [enabled by default] funcptr = (*menu.curmenu)[HD_ENTERFUNC]; ^ menumanager.c: In function 'Menu_ToMain': menumanager.c:271:2: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(main_menu); ^ menumanager.c:235:6: 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 makes integer from pointer without a cast [enabled by default] uchar action = (*menu.curmenu)[index+ITM_TYPE]; ^ menumanager.c:279:13: warning: initialization makes integer from pointer without a cast [enabled by default] uchar arg = (*menu.curmenu)[index+ITM_FLAGS]; ^ menumanager.c:289:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] newmenu = (*menu.curmenu)[index+ITM_PTR]; ^ menumanager.c:290:4: 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 from incompatible pointer type [enabled by default] funcptr = (*menu.curmenu)[index+ITM_PTR]; ^ menumanager.c:303:12: warning: assignment from incompatible pointer type [enabled by default] dyn_ptr = (*menu.curmenu)[index+ITM_PTR]; ^ menumanager.c:304:4: 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:4: note: expected 'char *' but argument is of type 'unsigned char *' menumanager.c:304:4: warning: passing argument 3 of 'dyn_ptr' makes integer from pointer without a cast [enabled by default] menumanager.c:304:4: 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 [enabled by default] if (menu.curmenu != option_menu) ^ menumanager.c: In function 'menu_gettype': menumanager.c:346:2: warning: return makes integer from pointer without a cast [enabled by default] return (*menu.curmenu)[index+ITM_TYPE]; ^ menumanager.c: In function 'move_down': menumanager.c:370:14: warning: assignment from incompatible pointer type [enabled by default] scrollfunc = (*menu.curmenu)[HD_SCROLLFUNC]; ^ menumanager.c: In function 'move_up': menumanager.c:400:14: warning: assignment from incompatible pointer type [enabled by default] scrollfunc = (*menu.curmenu)[HD_SCROLLFUNC]; ^ menumanager.c: In function 'goto_epmenu': menumanager.c:516:2: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(&selectep_menu); ^ menumanager.c:235:6: 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:3: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(&cant_play_ep_menu); ^ menumanager.c:235:6: 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:3: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(&endgame_menu); ^ menumanager.c:235:6: 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:3: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(quit_menu); ^ menumanager.c:235:6: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c menu_options.c -o menu_options.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c menu_keysetup.c -o menu_keysetup.o menu_keysetup.c:9:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *keysetup_menu1[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, ^ menu_keysetup.c:9:1: warning: (near initialization for 'keysetup_menu1[0]') [enabled by default] menu_keysetup.c:9:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:9:1: warning: (near initialization for 'keysetup_menu1[1]') [enabled by default] menu_keysetup.c:9:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:9:1: warning: (near initialization for 'keysetup_menu1[2]') [enabled by default] menu_keysetup.c:9:1: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:9:1: warning: (near initialization for 'keysetup_menu1[3]') [enabled by default] menu_keysetup.c:10:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "PLAYER 1 SETUP", MNU_SEPERATOR, NULL, 0, ^ menu_keysetup.c:10:6: warning: (near initialization for 'keysetup_menu1[7]') [-Wpointer-sign] menu_keysetup.c:11:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_keysetup.c:11:6: warning: (near initialization for 'keysetup_menu1[11]') [-Wpointer-sign] menu_keysetup.c:12:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT, ^ menu_keysetup.c:12:6: warning: (near initialization for 'keysetup_menu1[15]') [-Wpointer-sign] menu_keysetup.c:12:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:12:6: warning: (near initialization for 'keysetup_menu1[16]') [enabled by default] menu_keysetup.c:12:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:12:6: warning: (near initialization for 'keysetup_menu1[17]') [enabled by default] menu_keysetup.c:12:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:12:6: warning: (near initialization for 'keysetup_menu1[18]') [enabled by default] menu_keysetup.c:13:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT, ^ menu_keysetup.c:13:6: warning: (near initialization for 'keysetup_menu1[19]') [-Wpointer-sign] menu_keysetup.c:13:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:13:6: warning: (near initialization for 'keysetup_menu1[20]') [enabled by default] menu_keysetup.c:13:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:13:6: warning: (near initialization for 'keysetup_menu1[21]') [enabled by default] menu_keysetup.c:13:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:13:6: warning: (near initialization for 'keysetup_menu1[22]') [enabled by default] menu_keysetup.c:14:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "UP ", MNU_DYNAMICTEXT, KeySetup, KUP, ^ menu_keysetup.c:14:6: warning: (near initialization for 'keysetup_menu1[23]') [-Wpointer-sign] menu_keysetup.c:14:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:14:6: warning: (near initialization for 'keysetup_menu1[24]') [enabled by default] menu_keysetup.c:14:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:14:6: warning: (near initialization for 'keysetup_menu1[25]') [enabled by default] menu_keysetup.c:14:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:14:6: warning: (near initialization for 'keysetup_menu1[26]') [enabled by default] menu_keysetup.c:15:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN, ^ menu_keysetup.c:15:6: warning: (near initialization for 'keysetup_menu1[27]') [-Wpointer-sign] menu_keysetup.c:15:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:15:6: warning: (near initialization for 'keysetup_menu1[28]') [enabled by default] menu_keysetup.c:15:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:15:6: warning: (near initialization for 'keysetup_menu1[29]') [enabled by default] menu_keysetup.c:15:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:15:6: warning: (near initialization for 'keysetup_menu1[30]') [enabled by default] menu_keysetup.c:16:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL, ^ menu_keysetup.c:16:6: warning: (near initialization for 'keysetup_menu1[31]') [-Wpointer-sign] menu_keysetup.c:16:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:16:6: warning: (near initialization for 'keysetup_menu1[32]') [enabled by default] menu_keysetup.c:16:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:16:6: warning: (near initialization for 'keysetup_menu1[33]') [enabled by default] menu_keysetup.c:16:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:16:6: warning: (near initialization for 'keysetup_menu1[34]') [enabled by default] menu_keysetup.c:17:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT, ^ menu_keysetup.c:17:6: warning: (near initialization for 'keysetup_menu1[35]') [-Wpointer-sign] menu_keysetup.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:17:6: warning: (near initialization for 'keysetup_menu1[36]') [enabled by default] menu_keysetup.c:17:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:17:6: warning: (near initialization for 'keysetup_menu1[37]') [enabled by default] menu_keysetup.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:17:6: warning: (near initialization for 'keysetup_menu1[38]') [enabled by default] menu_keysetup.c:18:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE, ^ menu_keysetup.c:18:6: warning: (near initialization for 'keysetup_menu1[39]') [-Wpointer-sign] menu_keysetup.c:18:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:18:6: warning: (near initialization for 'keysetup_menu1[40]') [enabled by default] menu_keysetup.c:18:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:18:6: warning: (near initialization for 'keysetup_menu1[41]') [enabled by default] menu_keysetup.c:18:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:18:6: warning: (near initialization for 'keysetup_menu1[42]') [enabled by default] menu_keysetup.c:19:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER, ^ menu_keysetup.c:19:6: warning: (near initialization for 'keysetup_menu1[43]') [-Wpointer-sign] menu_keysetup.c:19:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:19:6: warning: (near initialization for 'keysetup_menu1[44]') [enabled by default] menu_keysetup.c:19:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:19:6: warning: (near initialization for 'keysetup_menu1[45]') [enabled by default] menu_keysetup.c:19:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:19:6: warning: (near initialization for 'keysetup_menu1[46]') [enabled by default] menu_keysetup.c:20:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_keysetup.c:20:6: warning: (near initialization for 'keysetup_menu1[47]') [-Wpointer-sign] menu_keysetup.c:21:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Save", MNU_CALLFP, SaveKeys, 0, ^ menu_keysetup.c:21:6: warning: (near initialization for 'keysetup_menu1[51]') [-Wpointer-sign] menu_keysetup.c:21:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:21:6: warning: (near initialization for 'keysetup_menu1[52]') [enabled by default] menu_keysetup.c:21:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:21:6: warning: (near initialization for 'keysetup_menu1[53]') [enabled by default] menu_keysetup.c:22:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Cancel", MNU_CALLFP, CancelKeys, 0, ^ menu_keysetup.c:22:6: warning: (near initialization for 'keysetup_menu1[55]') [-Wpointer-sign] menu_keysetup.c:22:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:22:6: warning: (near initialization for 'keysetup_menu1[56]') [enabled by default] menu_keysetup.c:22:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:22:6: warning: (near initialization for 'keysetup_menu1[57]') [enabled by default] menu_keysetup.c:23:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Defaults", MNU_CALLFP, SetDefaults, 0, ^ menu_keysetup.c:23:6: warning: (near initialization for 'keysetup_menu1[59]') [-Wpointer-sign] menu_keysetup.c:23:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:23:6: warning: (near initialization for 'keysetup_menu1[60]') [enabled by default] menu_keysetup.c:23:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:23:6: warning: (near initialization for 'keysetup_menu1[61]') [enabled by default] menu_keysetup.c:25:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *keysetup_menu2[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, ^ menu_keysetup.c:25:1: warning: (near initialization for 'keysetup_menu2[0]') [enabled by default] menu_keysetup.c:25:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:25:1: warning: (near initialization for 'keysetup_menu2[1]') [enabled by default] menu_keysetup.c:25:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:25:1: warning: (near initialization for 'keysetup_menu2[2]') [enabled by default] menu_keysetup.c:25:1: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:25:1: warning: (near initialization for 'keysetup_menu2[3]') [enabled by default] menu_keysetup.c:26:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "PLAYER 2 SETUP", MNU_SEPERATOR, NULL, 0, ^ menu_keysetup.c:26:6: warning: (near initialization for 'keysetup_menu2[7]') [-Wpointer-sign] menu_keysetup.c:27:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_keysetup.c:27:6: warning: (near initialization for 'keysetup_menu2[11]') [-Wpointer-sign] menu_keysetup.c:28:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT2, ^ menu_keysetup.c:28:6: warning: (near initialization for 'keysetup_menu2[15]') [-Wpointer-sign] menu_keysetup.c:28:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:28:6: warning: (near initialization for 'keysetup_menu2[16]') [enabled by default] menu_keysetup.c:28:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:28:6: warning: (near initialization for 'keysetup_menu2[17]') [enabled by default] menu_keysetup.c:28:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:28:6: warning: (near initialization for 'keysetup_menu2[18]') [enabled by default] menu_keysetup.c:29:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT2, ^ menu_keysetup.c:29:6: warning: (near initialization for 'keysetup_menu2[19]') [-Wpointer-sign] menu_keysetup.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:29:6: warning: (near initialization for 'keysetup_menu2[20]') [enabled by default] menu_keysetup.c:29:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:29:6: warning: (near initialization for 'keysetup_menu2[21]') [enabled by default] menu_keysetup.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:29:6: warning: (near initialization for 'keysetup_menu2[22]') [enabled by default] menu_keysetup.c:30:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "UP ", MNU_DYNAMICTEXT, KeySetup, KUP2, ^ menu_keysetup.c:30:6: warning: (near initialization for 'keysetup_menu2[23]') [-Wpointer-sign] menu_keysetup.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:30:6: warning: (near initialization for 'keysetup_menu2[24]') [enabled by default] menu_keysetup.c:30:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:30:6: warning: (near initialization for 'keysetup_menu2[25]') [enabled by default] menu_keysetup.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:30:6: warning: (near initialization for 'keysetup_menu2[26]') [enabled by default] menu_keysetup.c:31:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN2, ^ menu_keysetup.c:31:6: warning: (near initialization for 'keysetup_menu2[27]') [-Wpointer-sign] menu_keysetup.c:31:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:31:6: warning: (near initialization for 'keysetup_menu2[28]') [enabled by default] menu_keysetup.c:31:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:31:6: warning: (near initialization for 'keysetup_menu2[29]') [enabled by default] menu_keysetup.c:31:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:31:6: warning: (near initialization for 'keysetup_menu2[30]') [enabled by default] menu_keysetup.c:32:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL2, ^ menu_keysetup.c:32:6: warning: (near initialization for 'keysetup_menu2[31]') [-Wpointer-sign] menu_keysetup.c:32:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:32:6: warning: (near initialization for 'keysetup_menu2[32]') [enabled by default] menu_keysetup.c:32:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:32:6: warning: (near initialization for 'keysetup_menu2[33]') [enabled by default] menu_keysetup.c:32:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:32:6: warning: (near initialization for 'keysetup_menu2[34]') [enabled by default] menu_keysetup.c:33:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT2, ^ menu_keysetup.c:33:6: warning: (near initialization for 'keysetup_menu2[35]') [-Wpointer-sign] menu_keysetup.c:33:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:33:6: warning: (near initialization for 'keysetup_menu2[36]') [enabled by default] menu_keysetup.c:33:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:33:6: warning: (near initialization for 'keysetup_menu2[37]') [enabled by default] menu_keysetup.c:33:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:33:6: warning: (near initialization for 'keysetup_menu2[38]') [enabled by default] menu_keysetup.c:34:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE2, ^ menu_keysetup.c:34:6: warning: (near initialization for 'keysetup_menu2[39]') [-Wpointer-sign] menu_keysetup.c:34:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:34:6: warning: (near initialization for 'keysetup_menu2[40]') [enabled by default] menu_keysetup.c:34:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:34:6: warning: (near initialization for 'keysetup_menu2[41]') [enabled by default] menu_keysetup.c:34:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:34:6: warning: (near initialization for 'keysetup_menu2[42]') [enabled by default] menu_keysetup.c:35:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER2, ^ menu_keysetup.c:35:6: warning: (near initialization for 'keysetup_menu2[43]') [-Wpointer-sign] menu_keysetup.c:35:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:35:6: warning: (near initialization for 'keysetup_menu2[44]') [enabled by default] menu_keysetup.c:35:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:35:6: warning: (near initialization for 'keysetup_menu2[45]') [enabled by default] menu_keysetup.c:35:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:35:6: warning: (near initialization for 'keysetup_menu2[46]') [enabled by default] menu_keysetup.c:36:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_keysetup.c:36:6: warning: (near initialization for 'keysetup_menu2[47]') [-Wpointer-sign] menu_keysetup.c:37:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Save", MNU_CALLFP, SaveKeys, 0, ^ menu_keysetup.c:37:6: warning: (near initialization for 'keysetup_menu2[51]') [-Wpointer-sign] menu_keysetup.c:37:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:37:6: warning: (near initialization for 'keysetup_menu2[52]') [enabled by default] menu_keysetup.c:37:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:37:6: warning: (near initialization for 'keysetup_menu2[53]') [enabled by default] menu_keysetup.c:38:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Cancel", MNU_CALLFP, CancelKeys, 0, ^ menu_keysetup.c:38:6: warning: (near initialization for 'keysetup_menu2[55]') [-Wpointer-sign] menu_keysetup.c:38:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:38:6: warning: (near initialization for 'keysetup_menu2[56]') [enabled by default] menu_keysetup.c:38:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:38:6: warning: (near initialization for 'keysetup_menu2[57]') [enabled by default] menu_keysetup.c:39:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Defaults", MNU_CALLFP, SetDefaults, 0, ^ menu_keysetup.c:39:6: warning: (near initialization for 'keysetup_menu2[59]') [-Wpointer-sign] menu_keysetup.c:39:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_keysetup.c:39:6: warning: (near initialization for 'keysetup_menu2[60]') [enabled by default] menu_keysetup.c:39:6: warning: initialization from incompatible pointer type [enabled by default] menu_keysetup.c:39:6: warning: (near initialization for 'keysetup_menu2[61]') [enabled by default] menu_keysetup.c: In function 'KeySetup': menu_keysetup.c:54:3: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(tempbuf, MenuText); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from menu_keysetup.c:2: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ menu_keysetup.c:55:3: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(tempbuf, KeyDrv_GetKeyMapping(key, 0)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from menu_keysetup.c:2: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ menu_keysetup.c:55:3: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(tempbuf, KeyDrv_GetKeyMapping(key, 0)); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from menu_keysetup.c:2: /usr/include/bits/string3.h:140:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ menu_keysetup.c:56:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] k2 = KeyDrv_GetKeyMapping(key, 1); ^ menu_keysetup.c:59:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while(strlen(tempbuf)<20) strcat(tempbuf, " "); ^ In file included from keen.h:3:0, from menu_keysetup.c:2: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ menu_keysetup.c:59:4: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] while(strlen(tempbuf)<20) strcat(tempbuf, " "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from menu_keysetup.c:2: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ menu_keysetup.c:60:4: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(tempbuf, " / "); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from menu_keysetup.c:2: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ menu_keysetup.c:61:4: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat(tempbuf, k2); ^ In file included from /usr/include/features.h:375:0, from /usr/include/stdio.h:27, from keen.h:2, from menu_keysetup.c:2: /usr/include/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ menu_keysetup.c:64:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return tempbuf; ^ menu_keysetup.c: In function 'CancelKeys': menu_keysetup.c:88:2: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(&main_menu); ^ In file included from menu.h:92:0, from menu_keysetup.c:4: menumanager.fdh:39:6: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu); ^ menu_keysetup.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); ^ menu_options.c:12:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *option_menu[MAXM] = {(6*8)+2,2, 8, options_savestate, SaveOptions, NULL, NULL, ^ menu_options.c:12:1: warning: (near initialization for 'option_menu[0]') [enabled by default] menu_options.c:12:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:12:1: warning: (near initialization for 'option_menu[1]') [enabled by default] menu_options.c:12:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:12:1: warning: (near initialization for 'option_menu[2]') [enabled by default] menu_options.c:12:1: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:12:1: warning: (near initialization for 'option_menu[3]') [enabled by default] menu_options.c:12:1: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:12:1: warning: (near initialization for 'option_menu[4]') [enabled by default] menu_options.c:13:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Render Mode", MNU_DYNAMICTEXT, SetRenderMode, 0, ^ menu_options.c:13:6: warning: (near initialization for 'option_menu[7]') [-Wpointer-sign] menu_options.c:13:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:13:6: warning: (near initialization for 'option_menu[8]') [enabled by default] menu_options.c:13:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:13:6: warning: (near initialization for 'option_menu[9]') [enabled by default] menu_options.c:14:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Render FPS", MNU_DYNAMICTEXT, SetRenderFPS, 0, ^ menu_options.c:14:6: warning: (near initialization for 'option_menu[11]') [-Wpointer-sign] menu_options.c:14:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:14:6: warning: (near initialization for 'option_menu[12]') [enabled by default] menu_options.c:14:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:14:6: warning: (near initialization for 'option_menu[13]') [enabled by default] menu_options.c:15:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "P1 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P1COLOR, ^ menu_options.c:15:6: warning: (near initialization for 'option_menu[15]') [-Wpointer-sign] menu_options.c:15:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:15:6: warning: (near initialization for 'option_menu[16]') [enabled by default] menu_options.c:15:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:15:6: warning: (near initialization for 'option_menu[17]') [enabled by default] menu_options.c:15:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:15:6: warning: (near initialization for 'option_menu[18]') [enabled by default] menu_options.c:16:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "P2 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P2COLOR, ^ menu_options.c:16:6: warning: (near initialization for 'option_menu[19]') [-Wpointer-sign] menu_options.c:16:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:16:6: warning: (near initialization for 'option_menu[20]') [enabled by default] menu_options.c:16:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:16:6: warning: (near initialization for 'option_menu[21]') [enabled by default] menu_options.c:16:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:16:6: warning: (near initialization for 'option_menu[22]') [enabled by default] menu_options.c:17:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Input P2...", MNU_SWITCHMENU, keysetup_menu2, 0, ^ menu_options.c:17:6: warning: (near initialization for 'option_menu[23]') [-Wpointer-sign] menu_options.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:17:6: warning: (near initialization for 'option_menu[24]') [enabled by default] menu_options.c:17:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:17:6: warning: (near initialization for 'option_menu[25]') [enabled by default] menu_options.c:18:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Input P1...", MNU_SWITCHMENU, keysetup_menu1, 0, ^ menu_options.c:18:6: warning: (near initialization for 'option_menu[27]') [-Wpointer-sign] menu_options.c:18:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:18:6: warning: (near initialization for 'option_menu[28]') [enabled by default] menu_options.c:18:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:18:6: warning: (near initialization for 'option_menu[29]') [enabled by default] menu_options.c:19:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Fullscreen", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLSCREEN, ^ menu_options.c:19:6: warning: (near initialization for 'option_menu[31]') [-Wpointer-sign] menu_options.c:19:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:19:6: warning: (near initialization for 'option_menu[32]') [enabled by default] menu_options.c:19:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:19:6: warning: (near initialization for 'option_menu[33]') [enabled by default] menu_options.c:19:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:19:6: warning: (near initialization for 'option_menu[34]') [enabled by default] menu_options.c:22:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_options.c:22:6: warning: (near initialization for 'option_menu[35]') [-Wpointer-sign] menu_options.c:23:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " 2-Button Firing", MNU_DYNAMICTEXT, OptionSetter, OPT_2BUTTONFIRING, ^ menu_options.c:23:6: warning: (near initialization for 'option_menu[39]') [-Wpointer-sign] menu_options.c:23:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:23:6: warning: (near initialization for 'option_menu[40]') [enabled by default] menu_options.c:23:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:23:6: warning: (near initialization for 'option_menu[41]') [enabled by default] menu_options.c:23:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:23:6: warning: (near initialization for 'option_menu[42]') [enabled by default] menu_options.c:24:41: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Fully Automatic Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLYAUTOMATIC, ^ menu_options.c:24:41: warning: (near initialization for 'option_menu[43]') [-Wpointer-sign] menu_options.c:24:41: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:24:41: warning: (near initialization for 'option_menu[44]') [enabled by default] menu_options.c:24:41: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:24:41: warning: (near initialization for 'option_menu[45]') [enabled by default] menu_options.c:24:41: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:24:41: warning: (near initialization for 'option_menu[46]') [enabled by default] menu_options.c:25:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Super Pogo", MNU_DYNAMICTEXT, OptionSetter, OPT_SUPERPOGO, ^ menu_options.c:25:6: warning: (near initialization for 'option_menu[47]') [-Wpointer-sign] menu_options.c:25:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:25:6: warning: (near initialization for 'option_menu[48]') [enabled by default] menu_options.c:25:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:25:6: warning: (near initialization for 'option_menu[49]') [enabled by default] menu_options.c:25:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:25:6: warning: (near initialization for 'option_menu[50]') [enabled by default] menu_options.c:26:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Enable Cheats", MNU_DYNAMICTEXT, OptionSetter, OPT_CHEATS, ^ menu_options.c:26:6: warning: (near initialization for 'option_menu[51]') [-Wpointer-sign] menu_options.c:26:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:26:6: warning: (near initialization for 'option_menu[52]') [enabled by default] menu_options.c:26:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:26:6: warning: (near initialization for 'option_menu[53]') [enabled by default] menu_options.c:26:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:26:6: warning: (near initialization for 'option_menu[54]') [enabled by default] menu_options.c:27:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Show Bonus Points", MNU_DYNAMICTEXT, OptionSetter, OPT_RISEBONUS, ^ menu_options.c:27:6: warning: (near initialization for 'option_menu[55]') [-Wpointer-sign] menu_options.c:27:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:27:6: warning: (near initialization for 'option_menu[56]') [enabled by default] menu_options.c:27:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:27:6: warning: (near initialization for 'option_menu[57]') [enabled by default] menu_options.c:27:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:27:6: warning: (near initialization for 'option_menu[58]') [enabled by default] menu_options.c:28:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Show OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWOSD, ^ menu_options.c:28:6: warning: (near initialization for 'option_menu[59]') [-Wpointer-sign] menu_options.c:28:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:28:6: warning: (near initialization for 'option_menu[60]') [enabled by default] menu_options.c:28:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:28:6: warning: (near initialization for 'option_menu[61]') [enabled by default] menu_options.c:28:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:28:6: warning: (near initialization for 'option_menu[62]') [enabled by default] menu_options.c:29:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Show Score in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWSCORE, ^ menu_options.c:29:6: warning: (near initialization for 'option_menu[63]') [-Wpointer-sign] menu_options.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:29:6: warning: (near initialization for 'option_menu[64]') [enabled by default] menu_options.c:29:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:29:6: warning: (near initialization for 'option_menu[65]') [enabled by default] menu_options.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:29:6: warning: (near initialization for 'option_menu[66]') [enabled by default] menu_options.c:30:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Show Cards in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWCARDS, ^ menu_options.c:30:6: warning: (near initialization for 'option_menu[67]') [-Wpointer-sign] menu_options.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:30:6: warning: (near initialization for 'option_menu[68]') [enabled by default] menu_options.c:30:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:30:6: warning: (near initialization for 'option_menu[69]') [enabled by default] menu_options.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:30:6: warning: (near initialization for 'option_menu[70]') [enabled by default] menu_options.c:31:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Doors Block Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_DOORSBLOCKRAY, ^ menu_options.c:31:6: warning: (near initialization for 'option_menu[71]') [-Wpointer-sign] menu_options.c:31:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:31:6: warning: (near initialization for 'option_menu[72]') [enabled by default] menu_options.c:31:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:31:6: warning: (near initialization for 'option_menu[73]') [enabled by default] menu_options.c:31:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:31:6: warning: (near initialization for 'option_menu[74]') [enabled by default] menu_options.c:32:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Quiet in Demo", MNU_DYNAMICTEXT, OptionSetter, OPT_SOUNDOFFINDEMO, ^ menu_options.c:32:6: warning: (near initialization for 'option_menu[75]') [-Wpointer-sign] menu_options.c:32:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:32:6: warning: (near initialization for 'option_menu[76]') [enabled by default] menu_options.c:32:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:32:6: warning: (near initialization for 'option_menu[77]') [enabled by default] menu_options.c:32:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:32:6: warning: (near initialization for 'option_menu[78]') [enabled by default] menu_options.c:33:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_options.c:33:6: warning: (near initialization for 'option_menu[79]') [-Wpointer-sign] menu_options.c:34:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Increase Difficulty", MNU_DYNAMICTEXT, OptionSetter, OPT_HARD, ^ menu_options.c:34:6: warning: (near initialization for 'option_menu[83]') [-Wpointer-sign] menu_options.c:34:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:34:6: warning: (near initialization for 'option_menu[84]') [enabled by default] menu_options.c:34:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:34:6: warning: (near initialization for 'option_menu[85]') [enabled by default] menu_options.c:34:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:34:6: warning: (near initialization for 'option_menu[86]') [enabled by default] menu_options.c:35:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Must Kill All Yorps", MNU_DYNAMICTEXT, OptionSetter, OPT_MUSTKILLYORPS, ^ menu_options.c:35:6: warning: (near initialization for 'option_menu[87]') [-Wpointer-sign] menu_options.c:35:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:35:6: warning: (near initialization for 'option_menu[88]') [enabled by default] menu_options.c:35:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:35:6: warning: (near initialization for 'option_menu[89]') [enabled by default] menu_options.c:35:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:35:6: warning: (near initialization for 'option_menu[90]') [enabled by default] menu_options.c:36:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Give Yorps Shields", MNU_DYNAMICTEXT, OptionSetter, OPT_YORPFORCEFIELDS, ^ menu_options.c:36:6: warning: (near initialization for 'option_menu[91]') [-Wpointer-sign] menu_options.c:36:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:36:6: warning: (near initialization for 'option_menu[92]') [enabled by default] menu_options.c:36:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:36:6: warning: (near initialization for 'option_menu[93]') [enabled by default] menu_options.c:36:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:36:6: warning: (near initialization for 'option_menu[94]') [enabled by default] menu_options.c:37:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_options.c:37:6: warning: (near initialization for 'option_menu[95]') [-Wpointer-sign] menu_options.c:38:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Accept", MNU_CALLFP, opthandler_accept, 0, ^ menu_options.c:38:6: warning: (near initialization for 'option_menu[99]') [-Wpointer-sign] menu_options.c:38:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:38:6: warning: (near initialization for 'option_menu[100]') [enabled by default] menu_options.c:38:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:38:6: warning: (near initialization for 'option_menu[101]') [enabled by default] menu_options.c:39:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Cancel", MNU_CALLFP, opthandler_cancel, 0, ^ menu_options.c:39:6: warning: (near initialization for 'option_menu[103]') [-Wpointer-sign] menu_options.c:39:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_options.c:39:6: warning: (near initialization for 'option_menu[104]') [enabled by default] menu_options.c:39:6: warning: initialization from incompatible pointer type [enabled by default] menu_options.c:39:6: warning: (near initialization for 'option_menu[105]') [enabled by default] menu_options.c: In function 'SetPColor': menu_options.c:88:3: warning: array subscript has type 'char' [-Wchar-subscripts] switch(options[param]) ^ menu_options.c:101:3: warning: array subscript has type 'char' [-Wchar-subscripts] options[param]++; ^ menu_options.c:102:3: warning: array subscript has type 'char' [-Wchar-subscripts] if (options[param] >= PCOLOR_LAST) options[param] = 0; ^ menu_options.c:102:3: warning: array subscript has type 'char' [-Wchar-subscripts] In file included from menu.h:92:0, 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); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c menu_savegames.c -o menu_savegames.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c menu_custommap.c -o menu_custommap.o menu_savegames.c:8:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *loadgame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^ menu_savegames.c:8:1: warning: (near initialization for 'loadgame_menu[0]') [enabled by default] menu_savegames.c:8:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:8:1: warning: (near initialization for 'loadgame_menu[1]') [enabled by default] menu_savegames.c:8:1: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:8:1: warning: (near initialization for 'loadgame_menu[3]') [enabled by default] menu_savegames.c:9:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, ^ menu_savegames.c:9:6: warning: (near initialization for 'loadgame_menu[7]') [-Wpointer-sign] menu_savegames.c:9:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:9:6: warning: (near initialization for 'loadgame_menu[8]') [enabled by default] menu_savegames.c:9:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:9:6: warning: (near initialization for 'loadgame_menu[9]') [enabled by default] menu_savegames.c:9:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:9:6: warning: (near initialization for 'loadgame_menu[10]') [enabled by default] menu_savegames.c:10:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, ^ menu_savegames.c:10:6: warning: (near initialization for 'loadgame_menu[11]') [-Wpointer-sign] menu_savegames.c:10:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:10:6: warning: (near initialization for 'loadgame_menu[12]') [enabled by default] menu_savegames.c:10:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:10:6: warning: (near initialization for 'loadgame_menu[13]') [enabled by default] menu_savegames.c:10:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:10:6: warning: (near initialization for 'loadgame_menu[14]') [enabled by default] menu_savegames.c:11:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, ^ menu_savegames.c:11:6: warning: (near initialization for 'loadgame_menu[15]') [-Wpointer-sign] menu_savegames.c:11:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:11:6: warning: (near initialization for 'loadgame_menu[16]') [enabled by default] menu_savegames.c:11:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:11:6: warning: (near initialization for 'loadgame_menu[17]') [enabled by default] menu_savegames.c:11:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:11:6: warning: (near initialization for 'loadgame_menu[18]') [enabled by default] menu_savegames.c:12:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, ^ menu_savegames.c:12:6: warning: (near initialization for 'loadgame_menu[19]') [-Wpointer-sign] menu_savegames.c:12:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:12:6: warning: (near initialization for 'loadgame_menu[20]') [enabled by default] menu_savegames.c:12:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:12:6: warning: (near initialization for 'loadgame_menu[21]') [enabled by default] menu_savegames.c:12:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:12:6: warning: (near initialization for 'loadgame_menu[22]') [enabled by default] menu_savegames.c:13:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, ^ menu_savegames.c:13:6: warning: (near initialization for 'loadgame_menu[23]') [-Wpointer-sign] menu_savegames.c:13:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:13:6: warning: (near initialization for 'loadgame_menu[24]') [enabled by default] menu_savegames.c:13:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:13:6: warning: (near initialization for 'loadgame_menu[25]') [enabled by default] menu_savegames.c:13:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:13:6: warning: (near initialization for 'loadgame_menu[26]') [enabled by default] menu_savegames.c:14:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, ^ menu_savegames.c:14:6: warning: (near initialization for 'loadgame_menu[27]') [-Wpointer-sign] menu_savegames.c:14:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:14:6: warning: (near initialization for 'loadgame_menu[28]') [enabled by default] menu_savegames.c:14:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:14:6: warning: (near initialization for 'loadgame_menu[29]') [enabled by default] menu_savegames.c:14:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:14:6: warning: (near initialization for 'loadgame_menu[30]') [enabled by default] menu_savegames.c:15:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, ^ menu_savegames.c:15:6: warning: (near initialization for 'loadgame_menu[31]') [-Wpointer-sign] menu_savegames.c:15:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:15:6: warning: (near initialization for 'loadgame_menu[32]') [enabled by default] menu_savegames.c:15:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:15:6: warning: (near initialization for 'loadgame_menu[33]') [enabled by default] menu_savegames.c:15:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:15:6: warning: (near initialization for 'loadgame_menu[34]') [enabled by default] menu_savegames.c:16:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, ^ menu_savegames.c:16:6: warning: (near initialization for 'loadgame_menu[35]') [-Wpointer-sign] menu_savegames.c:16:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:16:6: warning: (near initialization for 'loadgame_menu[36]') [enabled by default] menu_savegames.c:16:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:16:6: warning: (near initialization for 'loadgame_menu[37]') [enabled by default] menu_savegames.c:16:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:16:6: warning: (near initialization for 'loadgame_menu[38]') [enabled by default] menu_savegames.c:17:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, ^ menu_savegames.c:17:6: warning: (near initialization for 'loadgame_menu[39]') [-Wpointer-sign] menu_savegames.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:17:6: warning: (near initialization for 'loadgame_menu[40]') [enabled by default] menu_savegames.c:17:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:17:6: warning: (near initialization for 'loadgame_menu[41]') [enabled by default] menu_savegames.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:17:6: warning: (near initialization for 'loadgame_menu[42]') [enabled by default] menu_savegames.c:18:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_savegames.c:18:6: warning: (near initialization for 'loadgame_menu[43]') [-Wpointer-sign] menu_savegames.c:19:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Cancel", MNU_CALLFP, dismiss_menu, 0, ^ menu_savegames.c:19:6: warning: (near initialization for 'loadgame_menu[47]') [-Wpointer-sign] menu_savegames.c:19:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:19:6: warning: (near initialization for 'loadgame_menu[48]') [enabled by default] menu_savegames.c:19:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:19:6: warning: (near initialization for 'loadgame_menu[49]') [enabled by default] menu_savegames.c:21:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *savegame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^ menu_savegames.c:21:1: warning: (near initialization for 'savegame_menu[0]') [enabled by default] menu_savegames.c:21:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:21:1: warning: (near initialization for 'savegame_menu[1]') [enabled by default] menu_savegames.c:21:1: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:21:1: warning: (near initialization for 'savegame_menu[3]') [enabled by default] menu_savegames.c:22:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, ^ menu_savegames.c:22:6: warning: (near initialization for 'savegame_menu[7]') [-Wpointer-sign] menu_savegames.c:22:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:22:6: warning: (near initialization for 'savegame_menu[8]') [enabled by default] menu_savegames.c:22:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:22:6: warning: (near initialization for 'savegame_menu[9]') [enabled by default] menu_savegames.c:22:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:22:6: warning: (near initialization for 'savegame_menu[10]') [enabled by default] menu_savegames.c:23:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, ^ menu_savegames.c:23:6: warning: (near initialization for 'savegame_menu[11]') [-Wpointer-sign] menu_savegames.c:23:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:23:6: warning: (near initialization for 'savegame_menu[12]') [enabled by default] menu_savegames.c:23:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:23:6: warning: (near initialization for 'savegame_menu[13]') [enabled by default] menu_savegames.c:23:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:23:6: warning: (near initialization for 'savegame_menu[14]') [enabled by default] menu_savegames.c:24:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, ^ menu_savegames.c:24:6: warning: (near initialization for 'savegame_menu[15]') [-Wpointer-sign] menu_savegames.c:24:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:24:6: warning: (near initialization for 'savegame_menu[16]') [enabled by default] menu_savegames.c:24:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:24:6: warning: (near initialization for 'savegame_menu[17]') [enabled by default] menu_savegames.c:24:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:24:6: warning: (near initialization for 'savegame_menu[18]') [enabled by default] menu_savegames.c:25:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, ^ menu_savegames.c:25:6: warning: (near initialization for 'savegame_menu[19]') [-Wpointer-sign] menu_savegames.c:25:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:25:6: warning: (near initialization for 'savegame_menu[20]') [enabled by default] menu_savegames.c:25:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:25:6: warning: (near initialization for 'savegame_menu[21]') [enabled by default] menu_savegames.c:25:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:25:6: warning: (near initialization for 'savegame_menu[22]') [enabled by default] menu_savegames.c:26:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, ^ menu_savegames.c:26:6: warning: (near initialization for 'savegame_menu[23]') [-Wpointer-sign] menu_savegames.c:26:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:26:6: warning: (near initialization for 'savegame_menu[24]') [enabled by default] menu_savegames.c:26:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:26:6: warning: (near initialization for 'savegame_menu[25]') [enabled by default] menu_savegames.c:26:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:26:6: warning: (near initialization for 'savegame_menu[26]') [enabled by default] menu_savegames.c:27:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, ^ menu_savegames.c:27:6: warning: (near initialization for 'savegame_menu[27]') [-Wpointer-sign] menu_savegames.c:27:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:27:6: warning: (near initialization for 'savegame_menu[28]') [enabled by default] menu_savegames.c:27:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:27:6: warning: (near initialization for 'savegame_menu[29]') [enabled by default] menu_savegames.c:27:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:27:6: warning: (near initialization for 'savegame_menu[30]') [enabled by default] menu_savegames.c:28:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, ^ menu_savegames.c:28:6: warning: (near initialization for 'savegame_menu[31]') [-Wpointer-sign] menu_savegames.c:28:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:28:6: warning: (near initialization for 'savegame_menu[32]') [enabled by default] menu_savegames.c:28:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:28:6: warning: (near initialization for 'savegame_menu[33]') [enabled by default] menu_savegames.c:28:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:28:6: warning: (near initialization for 'savegame_menu[34]') [enabled by default] menu_savegames.c:29:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, ^ menu_savegames.c:29:6: warning: (near initialization for 'savegame_menu[35]') [-Wpointer-sign] menu_savegames.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:29:6: warning: (near initialization for 'savegame_menu[36]') [enabled by default] menu_savegames.c:29:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:29:6: warning: (near initialization for 'savegame_menu[37]') [enabled by default] menu_savegames.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:29:6: warning: (near initialization for 'savegame_menu[38]') [enabled by default] menu_savegames.c:30:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, ^ menu_savegames.c:30:6: warning: (near initialization for 'savegame_menu[39]') [-Wpointer-sign] menu_savegames.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:30:6: warning: (near initialization for 'savegame_menu[40]') [enabled by default] menu_savegames.c:30:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:30:6: warning: (near initialization for 'savegame_menu[41]') [enabled by default] menu_savegames.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:30:6: warning: (near initialization for 'savegame_menu[42]') [enabled by default] menu_savegames.c:31:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_savegames.c:31:6: warning: (near initialization for 'savegame_menu[43]') [-Wpointer-sign] menu_savegames.c:32:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Cancel", MNU_CALLFP, dismiss_menu, 0, ^ menu_savegames.c:32:6: warning: (near initialization for 'savegame_menu[47]') [-Wpointer-sign] menu_savegames.c:32:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:32:6: warning: (near initialization for 'savegame_menu[48]') [enabled by default] menu_savegames.c:32:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:32:6: warning: (near initialization for 'savegame_menu[49]') [enabled by default] menu_savegames.c:35:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *savegame_failure[MAXM] = {4,94, 255, NULL, ^ menu_savegames.c:35:1: warning: (near initialization for 'savegame_failure[0]') [enabled by default] menu_savegames.c:35:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:35:1: warning: (near initialization for 'savegame_failure[1]') [enabled by default] menu_savegames.c:35:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:35:1: warning: (near initialization for 'savegame_failure[2]') [enabled by default] menu_savegames.c:36:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Failure-- Unable to save the game.", MNU_SEPERATOR, NULL, 0, ^ menu_savegames.c:36:6: warning: (near initialization for 'savegame_failure[4]') [-Wpointer-sign] menu_savegames.c:37:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_savegames.c:37:6: warning: (near initialization for 'savegame_failure[8]') [-Wpointer-sign] menu_savegames.c:38:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Ok", MNU_CALLFP, dismiss_menu, 0, ^ menu_savegames.c:38:6: warning: (near initialization for 'savegame_failure[12]') [-Wpointer-sign] menu_savegames.c:38:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_savegames.c:38:6: warning: (near initialization for 'savegame_failure[13]') [enabled by default] menu_savegames.c:38:6: warning: initialization from incompatible pointer type [enabled by default] menu_savegames.c:38:6: warning: (near initialization for 'savegame_failure[14]') [enabled by default] menu_savegames.c: In function 'loadsavegamenames': menu_savegames.c:72:5: warning: pointer targets in passing argument 6 of 'savegame_readheader' differ in signedness [-Wpointer-sign] savegame_readheader(fp, &savegames[i].episode, \ ^ In file included from menu_savegames.c:2:0: 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:4: 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:0, 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:4: 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:0, 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:4: 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:375:0, 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:5: 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:375:0, 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:5: 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:375:0, 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:3: 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:375:0, from /usr/include/stdio.h:27, from keen.h:2, from menu_savegames.c:1: /usr/include/bits/string3.h:102: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:5: 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:375:0, from /usr/include/stdio.h:27, from keen.h:2, from menu_savegames.c:1: /usr/include/bits/string3.h:102: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:7: warning: pointer targets in return differ in signedness [-Wpointer-sign] return tempbuf; ^ menu_savegames.c:165:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return tempbuf; ^ menu_savegames.c: In function 'savegame_getgamename': menu_savegames.c:197:4: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(&savegame_failure); ^ In file included from menu.h:92:0, from menu_savegames.c:3: menumanager.fdh:39:6: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu); ^ 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); ^ menu_custommap.c:10:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^ menu_custommap.c:10:1: warning: (near initialization for 'custommap_menu[0]') [enabled by default] menu_custommap.c:10:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:10:1: warning: (near initialization for 'custommap_menu[1]') [enabled by default] menu_custommap.c:10:1: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:10:1: warning: (near initialization for 'custommap_menu[3]') [enabled by default] menu_custommap.c:10:1: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:10:1: warning: (near initialization for 'custommap_menu[4]') [enabled by default] menu_custommap.c:10:1: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:10:1: warning: (near initialization for 'custommap_menu[5]') [enabled by default] menu_custommap.c:11:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "0", MNU_DYNAMICTEXT, getcmapname, 0, ^ menu_custommap.c:11:6: warning: (near initialization for 'custommap_menu[7]') [-Wpointer-sign] menu_custommap.c:11:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:11:6: warning: (near initialization for 'custommap_menu[8]') [enabled by default] menu_custommap.c:11:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:11:6: warning: (near initialization for 'custommap_menu[9]') [enabled by default] menu_custommap.c:12:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "1", MNU_DYNAMICTEXT, getcmapname, 1, ^ menu_custommap.c:12:6: warning: (near initialization for 'custommap_menu[11]') [-Wpointer-sign] menu_custommap.c:12:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:12:6: warning: (near initialization for 'custommap_menu[12]') [enabled by default] menu_custommap.c:12:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:12:6: warning: (near initialization for 'custommap_menu[13]') [enabled by default] menu_custommap.c:12:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:12:6: warning: (near initialization for 'custommap_menu[14]') [enabled by default] menu_custommap.c:13:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "2", MNU_DYNAMICTEXT, getcmapname, 2, ^ menu_custommap.c:13:6: warning: (near initialization for 'custommap_menu[15]') [-Wpointer-sign] menu_custommap.c:13:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:13:6: warning: (near initialization for 'custommap_menu[16]') [enabled by default] menu_custommap.c:13:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:13:6: warning: (near initialization for 'custommap_menu[17]') [enabled by default] menu_custommap.c:13:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:13:6: warning: (near initialization for 'custommap_menu[18]') [enabled by default] menu_custommap.c:14:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "3", MNU_DYNAMICTEXT, getcmapname, 3, ^ menu_custommap.c:14:6: warning: (near initialization for 'custommap_menu[19]') [-Wpointer-sign] menu_custommap.c:14:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:14:6: warning: (near initialization for 'custommap_menu[20]') [enabled by default] menu_custommap.c:14:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:14:6: warning: (near initialization for 'custommap_menu[21]') [enabled by default] menu_custommap.c:14:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:14:6: warning: (near initialization for 'custommap_menu[22]') [enabled by default] menu_custommap.c:15:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "4", MNU_DYNAMICTEXT, getcmapname, 4, ^ menu_custommap.c:15:6: warning: (near initialization for 'custommap_menu[23]') [-Wpointer-sign] menu_custommap.c:15:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:15:6: warning: (near initialization for 'custommap_menu[24]') [enabled by default] menu_custommap.c:15:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:15:6: warning: (near initialization for 'custommap_menu[25]') [enabled by default] menu_custommap.c:15:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:15:6: warning: (near initialization for 'custommap_menu[26]') [enabled by default] menu_custommap.c:16:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "5", MNU_DYNAMICTEXT, getcmapname, 5, ^ menu_custommap.c:16:6: warning: (near initialization for 'custommap_menu[27]') [-Wpointer-sign] menu_custommap.c:16:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:16:6: warning: (near initialization for 'custommap_menu[28]') [enabled by default] menu_custommap.c:16:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:16:6: warning: (near initialization for 'custommap_menu[29]') [enabled by default] menu_custommap.c:16:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:16:6: warning: (near initialization for 'custommap_menu[30]') [enabled by default] menu_custommap.c:17:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "6", MNU_DYNAMICTEXT, getcmapname, 6, ^ menu_custommap.c:17:6: warning: (near initialization for 'custommap_menu[31]') [-Wpointer-sign] menu_custommap.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:17:6: warning: (near initialization for 'custommap_menu[32]') [enabled by default] menu_custommap.c:17:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:17:6: warning: (near initialization for 'custommap_menu[33]') [enabled by default] menu_custommap.c:17:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:17:6: warning: (near initialization for 'custommap_menu[34]') [enabled by default] menu_custommap.c:18:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "7", MNU_DYNAMICTEXT, getcmapname, 7, ^ menu_custommap.c:18:6: warning: (near initialization for 'custommap_menu[35]') [-Wpointer-sign] menu_custommap.c:18:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:18:6: warning: (near initialization for 'custommap_menu[36]') [enabled by default] menu_custommap.c:18:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:18:6: warning: (near initialization for 'custommap_menu[37]') [enabled by default] menu_custommap.c:18:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:18:6: warning: (near initialization for 'custommap_menu[38]') [enabled by default] menu_custommap.c:19:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "8", MNU_DYNAMICTEXT, getcmapname, 8, ^ menu_custommap.c:19:6: warning: (near initialization for 'custommap_menu[39]') [-Wpointer-sign] menu_custommap.c:19:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:19:6: warning: (near initialization for 'custommap_menu[40]') [enabled by default] menu_custommap.c:19:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:19:6: warning: (near initialization for 'custommap_menu[41]') [enabled by default] menu_custommap.c:19:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:19:6: warning: (near initialization for 'custommap_menu[42]') [enabled by default] menu_custommap.c:20:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "9", MNU_DYNAMICTEXT, getcmapname, 9, ^ menu_custommap.c:20:6: warning: (near initialization for 'custommap_menu[43]') [-Wpointer-sign] menu_custommap.c:20:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:20:6: warning: (near initialization for 'custommap_menu[44]') [enabled by default] menu_custommap.c:20:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:20:6: warning: (near initialization for 'custommap_menu[45]') [enabled by default] menu_custommap.c:20:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:20:6: warning: (near initialization for 'custommap_menu[46]') [enabled by default] menu_custommap.c:21:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "10", MNU_DYNAMICTEXT, getcmapname, 10, ^ menu_custommap.c:21:6: warning: (near initialization for 'custommap_menu[47]') [-Wpointer-sign] menu_custommap.c:21:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:21:6: warning: (near initialization for 'custommap_menu[48]') [enabled by default] menu_custommap.c:21:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:21:6: warning: (near initialization for 'custommap_menu[49]') [enabled by default] menu_custommap.c:21:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:21:6: warning: (near initialization for 'custommap_menu[50]') [enabled by default] menu_custommap.c:24:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *badlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, ^ menu_custommap.c:24:1: warning: (near initialization for 'badlevel_menu[0]') [enabled by default] menu_custommap.c:24:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:24:1: warning: (near initialization for 'badlevel_menu[1]') [enabled by default] menu_custommap.c:24:1: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:24:1: warning: (near initialization for 'badlevel_menu[2]') [enabled by default] menu_custommap.c:25:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "I don't know how to open", MNU_SEPERATOR, NULL, 0, ^ menu_custommap.c:25:6: warning: (near initialization for 'badlevel_menu[7]') [-Wpointer-sign] menu_custommap.c:26:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "this file!", MNU_SEPERATOR, NULL, 0, ^ menu_custommap.c:26:6: warning: (near initialization for 'badlevel_menu[11]') [-Wpointer-sign] menu_custommap.c:27:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_custommap.c:27:6: warning: (near initialization for 'badlevel_menu[15]') [-Wpointer-sign] menu_custommap.c:28:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ menu_custommap.c:28:6: warning: (near initialization for 'badlevel_menu[19]') [-Wpointer-sign] menu_custommap.c:29:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Ok", MNU_SWITCHMENU, custommap_menu, 0, ^ menu_custommap.c:29:6: warning: (near initialization for 'badlevel_menu[23]') [-Wpointer-sign] menu_custommap.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] menu_custommap.c:29:6: warning: (near initialization for 'badlevel_menu[24]') [enabled by default] menu_custommap.c:29:6: warning: initialization from incompatible pointer type [enabled by default] menu_custommap.c:29:6: warning: (near initialization for 'badlevel_menu[25]') [enabled by default] menu_custommap.c: In function 'cmap_exit': menu_custommap.c:49:3: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(selectep_menu); ^ In file included from menu.h:92:0, from menu_custommap.c:3: menumanager.fdh:39:6: 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:3: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(main_menu); ^ In file included from menu.h:92:0, from menu_custommap.c:3: menumanager.fdh:39:6: 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 [enabled by default] fname = GetFileAtIndex(cm_scrolloffset + i); ^ menu_custommap.c:142:8: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(cant_play_usermap_menu); ^ In file included from menu.h:92:0, from menu_custommap.c:3: menumanager.fdh:39:6: note: expected 'unsigned char *' but argument is of type 'unsigned char **' void Menu_InitMenu(uchar *whichmenu); ^ menu_custommap.c:174:6: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(&badlevel_menu); ^ In file included from menu.h:92:0, from menu_custommap.c:3: menumanager.fdh:39:6: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu); ^ menu_custommap.c:176:6: warning: passing argument 1 of 'Menu_InitMenu' from incompatible pointer type [enabled by default] Menu_InitMenu(&edbadlevel_menu); ^ In file included from menu.h:92:0, from menu_custommap.c:3: menumanager.fdh:39:6: note: expected 'unsigned char *' but argument is of type 'unsigned char * (*)[150]' void Menu_InitMenu(uchar *whichmenu); ^ 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); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c editor/menu_editor.c -o editor/menu_editor.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c customepisode.c -o customepisode.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c savegame.c -o savegame.o editor/menu_editor.c:23:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *editor_misc_menu[MAXM] = {64,72, 0, NULL, NULL, NULL, NULL, ^ editor/menu_editor.c:23:1: warning: (near initialization for 'editor_misc_menu[0]') [enabled by default] editor/menu_editor.c:23:1: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:23:1: warning: (near initialization for 'editor_misc_menu[1]') [enabled by default] editor/menu_editor.c:24:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Set Time Limit", MNU_CALLFP, me_timelimit, 0, ^ editor/menu_editor.c:24:6: warning: (near initialization for 'editor_misc_menu[7]') [-Wpointer-sign] editor/menu_editor.c:24:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:24:6: warning: (near initialization for 'editor_misc_menu[8]') [enabled by default] editor/menu_editor.c:24:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:24:6: warning: (near initialization for 'editor_misc_menu[9]') [enabled by default] editor/menu_editor.c:25:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, ^ editor/menu_editor.c:25:6: warning: (near initialization for 'editor_misc_menu[11]') [-Wpointer-sign] editor/menu_editor.c:25:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:25:6: warning: (near initialization for 'editor_misc_menu[12]') [enabled by default] editor/menu_editor.c:25:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:25:6: warning: (near initialization for 'editor_misc_menu[13]') [enabled by default] editor/menu_editor.c:26:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, ^ editor/menu_editor.c:26:6: warning: (near initialization for 'editor_misc_menu[15]') [-Wpointer-sign] editor/menu_editor.c:26:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:26:6: warning: (near initialization for 'editor_misc_menu[16]') [enabled by default] editor/menu_editor.c:26:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:26:6: warning: (near initialization for 'editor_misc_menu[17]') [enabled by default] editor/menu_editor.c:26:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:26:6: warning: (near initialization for 'editor_misc_menu[18]') [enabled by default] editor/menu_editor.c:27:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, ^ editor/menu_editor.c:27:6: warning: (near initialization for 'editor_misc_menu[19]') [-Wpointer-sign] editor/menu_editor.c:27:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:27:6: warning: (near initialization for 'editor_misc_menu[20]') [enabled by default] editor/menu_editor.c:27:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:27:6: warning: (near initialization for 'editor_misc_menu[21]') [enabled by default] editor/menu_editor.c:27:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:27:6: warning: (near initialization for 'editor_misc_menu[22]') [enabled by default] editor/menu_editor.c:28:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, ^ editor/menu_editor.c:28:6: warning: (near initialization for 'editor_misc_menu[23]') [-Wpointer-sign] editor/menu_editor.c:28:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:28:6: warning: (near initialization for 'editor_misc_menu[24]') [enabled by default] editor/menu_editor.c:28:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:28:6: warning: (near initialization for 'editor_misc_menu[25]') [enabled by default] editor/menu_editor.c:28:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:28:6: warning: (near initialization for 'editor_misc_menu[26]') [enabled by default] editor/menu_editor.c:29:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, ^ editor/menu_editor.c:29:6: warning: (near initialization for 'editor_misc_menu[27]') [-Wpointer-sign] editor/menu_editor.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:29:6: warning: (near initialization for 'editor_misc_menu[28]') [enabled by default] editor/menu_editor.c:29:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:29:6: warning: (near initialization for 'editor_misc_menu[29]') [enabled by default] editor/menu_editor.c:29:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:29:6: warning: (near initialization for 'editor_misc_menu[30]') [enabled by default] editor/menu_editor.c:30:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, ^ editor/menu_editor.c:30:6: warning: (near initialization for 'editor_misc_menu[31]') [-Wpointer-sign] editor/menu_editor.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:30:6: warning: (near initialization for 'editor_misc_menu[32]') [enabled by default] editor/menu_editor.c:30:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:30:6: warning: (near initialization for 'editor_misc_menu[33]') [enabled by default] editor/menu_editor.c:30:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:30:6: warning: (near initialization for 'editor_misc_menu[34]') [enabled by default] editor/menu_editor.c:31:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, ^ editor/menu_editor.c:31:6: warning: (near initialization for 'editor_misc_menu[35]') [-Wpointer-sign] editor/menu_editor.c:31:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:31:6: warning: (near initialization for 'editor_misc_menu[36]') [enabled by default] editor/menu_editor.c:31:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:31:6: warning: (near initialization for 'editor_misc_menu[37]') [enabled by default] editor/menu_editor.c:31:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:31:6: warning: (near initialization for 'editor_misc_menu[38]') [enabled by default] editor/menu_editor.c:32:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:32:6: warning: (near initialization for 'editor_misc_menu[39]') [-Wpointer-sign] editor/menu_editor.c:33:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Add Border", MNU_CALLFP, me_addborder, 0, ^ editor/menu_editor.c:33:6: warning: (near initialization for 'editor_misc_menu[43]') [-Wpointer-sign] editor/menu_editor.c:33:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:33:6: warning: (near initialization for 'editor_misc_menu[44]') [enabled by default] editor/menu_editor.c:33:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:33:6: warning: (near initialization for 'editor_misc_menu[45]') [enabled by default] editor/menu_editor.c:34:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, ^ editor/menu_editor.c:34:6: warning: (near initialization for 'editor_misc_menu[47]') [-Wpointer-sign] editor/menu_editor.c:34:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:34:6: warning: (near initialization for 'editor_misc_menu[48]') [enabled by default] editor/menu_editor.c:34:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:34:6: warning: (near initialization for 'editor_misc_menu[49]') [enabled by default] editor/menu_editor.c:35:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, ^ editor/menu_editor.c:35:6: warning: (near initialization for 'editor_misc_menu[51]') [-Wpointer-sign] editor/menu_editor.c:35:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:35:6: warning: (near initialization for 'editor_misc_menu[52]') [enabled by default] editor/menu_editor.c:35:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:35:6: warning: (near initialization for 'editor_misc_menu[53]') [enabled by default] editor/menu_editor.c:36:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:36:6: warning: (near initialization for 'editor_misc_menu[55]') [-Wpointer-sign] editor/menu_editor.c:37:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "<< Back", MNU_SWITCHMENU, editor_menu, 0, ^ editor/menu_editor.c:37:6: warning: (near initialization for 'editor_misc_menu[59]') [-Wpointer-sign] editor/menu_editor.c:37:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:37:6: warning: (near initialization for 'editor_misc_menu[60]') [enabled by default] editor/menu_editor.c:37:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:37:6: warning: (near initialization for 'editor_misc_menu[61]') [enabled by default] editor/menu_editor.c:41:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *editor_menu[MAXM] = {75+8,61, 0, NULL, NULL, NULL, NULL, ^ editor/menu_editor.c:41:1: warning: (near initialization for 'editor_menu[0]') [enabled by default] editor/menu_editor.c:41:1: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:41:1: warning: (near initialization for 'editor_menu[1]') [enabled by default] editor/menu_editor.c:42:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, ^ editor/menu_editor.c:42:6: warning: (near initialization for 'editor_menu[7]') [-Wpointer-sign] editor/menu_editor.c:42:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:42:6: warning: (near initialization for 'editor_menu[8]') [enabled by default] editor/menu_editor.c:42:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:42:6: warning: (near initialization for 'editor_menu[9]') [enabled by default] editor/menu_editor.c:43:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "[x] Reset", MNU_CALLFP, me_resetmap, 0, ^ editor/menu_editor.c:43:6: warning: (near initialization for 'editor_menu[11]') [-Wpointer-sign] editor/menu_editor.c:43:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:43:6: warning: (near initialization for 'editor_menu[12]') [enabled by default] editor/menu_editor.c:43:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:43:6: warning: (near initialization for 'editor_menu[13]') [enabled by default] editor/menu_editor.c:44:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, ^ editor/menu_editor.c:44:6: warning: (near initialization for 'editor_menu[15]') [-Wpointer-sign] editor/menu_editor.c:44:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:44:6: warning: (near initialization for 'editor_menu[16]') [enabled by default] editor/menu_editor.c:44:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:44:6: warning: (near initialization for 'editor_menu[17]') [enabled by default] editor/menu_editor.c:45:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "[e] Change Episode", MNU_CALLFP, me_nextep, 0, ^ editor/menu_editor.c:45:6: warning: (near initialization for 'editor_menu[19]') [-Wpointer-sign] editor/menu_editor.c:45:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:45:6: warning: (near initialization for 'editor_menu[20]') [enabled by default] editor/menu_editor.c:45:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:45:6: warning: (near initialization for 'editor_menu[21]') [enabled by default] editor/menu_editor.c:46:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "[F1] Save", MNU_CALLFP, me_save, 0, ^ editor/menu_editor.c:46:6: warning: (near initialization for 'editor_menu[23]') [-Wpointer-sign] editor/menu_editor.c:46:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:46:6: warning: (near initialization for 'editor_menu[24]') [enabled by default] editor/menu_editor.c:46:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:46:6: warning: (near initialization for 'editor_menu[25]') [enabled by default] editor/menu_editor.c:47:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "[F2] Save As...", MNU_CALLFP, me_saveas, 0, ^ editor/menu_editor.c:47:6: warning: (near initialization for 'editor_menu[27]') [-Wpointer-sign] editor/menu_editor.c:47:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:47:6: warning: (near initialization for 'editor_menu[28]') [enabled by default] editor/menu_editor.c:47:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:47:6: warning: (near initialization for 'editor_menu[29]') [enabled by default] editor/menu_editor.c:48:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, ^ editor/menu_editor.c:48:6: warning: (near initialization for 'editor_menu[31]') [-Wpointer-sign] editor/menu_editor.c:48:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:48:6: warning: (near initialization for 'editor_menu[32]') [enabled by default] editor/menu_editor.c:48:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:48:6: warning: (near initialization for 'editor_menu[33]') [enabled by default] editor/menu_editor.c:49:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, ^ editor/menu_editor.c:49:6: warning: (near initialization for 'editor_menu[35]') [-Wpointer-sign] editor/menu_editor.c:49:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:49:6: warning: (near initialization for 'editor_menu[36]') [enabled by default] editor/menu_editor.c:49:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:49:6: warning: (near initialization for 'editor_menu[37]') [enabled by default] editor/menu_editor.c:50:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, ^ editor/menu_editor.c:50:6: warning: (near initialization for 'editor_menu[39]') [-Wpointer-sign] editor/menu_editor.c:50:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:50:6: warning: (near initialization for 'editor_menu[40]') [enabled by default] editor/menu_editor.c:50:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:50:6: warning: (near initialization for 'editor_menu[41]') [enabled by default] editor/menu_editor.c:51:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:51:6: warning: (near initialization for 'editor_menu[43]') [-Wpointer-sign] editor/menu_editor.c:52:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Exit Editor", MNU_CALLFP, me_exit_ed, 0, ^ editor/menu_editor.c:52:6: warning: (near initialization for 'editor_menu[47]') [-Wpointer-sign] editor/menu_editor.c:52:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:52:6: warning: (near initialization for 'editor_menu[48]') [enabled by default] editor/menu_editor.c:52:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:52:6: warning: (near initialization for 'editor_menu[49]') [enabled by default] editor/menu_editor.c:53:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Exit Program", MNU_SWITCHMENU, quit_menu, 0, ^ editor/menu_editor.c:53:6: warning: (near initialization for 'editor_menu[51]') [-Wpointer-sign] editor/menu_editor.c:53:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:53:6: warning: (near initialization for 'editor_menu[52]') [enabled by default] editor/menu_editor.c:53:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:53:6: warning: (near initialization for 'editor_menu[53]') [enabled by default] editor/menu_editor.c:54:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:54:6: warning: (near initialization for 'editor_menu[55]') [-Wpointer-sign] editor/menu_editor.c:55:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:55:6: warning: (near initialization for 'editor_menu[59]') [-Wpointer-sign] editor/menu_editor.c:56:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "q - Set Start Pos", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:56:6: warning: (near initialization for 'editor_menu[63]') [-Wpointer-sign] editor/menu_editor.c:57:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "b, ALT+b - Block/Pat Fill", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:57:6: warning: (near initialization for 'editor_menu[67]') [-Wpointer-sign] editor/menu_editor.c:58:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "SHIFT - Pickup Tile", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:58:6: warning: (near initialization for 'editor_menu[71]') [-Wpointer-sign] editor/menu_editor.c:59:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "W,A,S,D - Move Selector", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:59:6: warning: (near initialization for 'editor_menu[75]') [-Wpointer-sign] editor/menu_editor.c:63:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *edverifyclear_menu[MAXM] = {92,100,0,NULL,NULL,NULL,NULL, ^ editor/menu_editor.c:63:1: warning: (near initialization for 'edverifyclear_menu[0]') [enabled by default] editor/menu_editor.c:63:1: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:63:1: warning: (near initialization for 'edverifyclear_menu[1]') [enabled by default] editor/menu_editor.c:64:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Erase Map!", MNU_CALLFP, me_newmap, 0, ^ editor/menu_editor.c:64:6: warning: (near initialization for 'edverifyclear_menu[7]') [-Wpointer-sign] editor/menu_editor.c:64:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:64:6: warning: (near initialization for 'edverifyclear_menu[8]') [enabled by default] editor/menu_editor.c:64:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:64:6: warning: (near initialization for 'edverifyclear_menu[9]') [enabled by default] editor/menu_editor.c:65:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:65:6: warning: (near initialization for 'edverifyclear_menu[11]') [-Wpointer-sign] editor/menu_editor.c:66:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, ^ editor/menu_editor.c:66:6: warning: (near initialization for 'edverifyclear_menu[15]') [-Wpointer-sign] editor/menu_editor.c:66:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:66:6: warning: (near initialization for 'edverifyclear_menu[16]') [enabled by default] editor/menu_editor.c:66:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:66:6: warning: (near initialization for 'edverifyclear_menu[17]') [enabled by default] editor/menu_editor.c:71:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^ editor/menu_editor.c:71:1: warning: (near initialization for 'edloadmap_menu[0]') [enabled by default] editor/menu_editor.c:71:1: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:71:1: warning: (near initialization for 'edloadmap_menu[1]') [enabled by default] editor/menu_editor.c:71:1: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:71:1: warning: (near initialization for 'edloadmap_menu[3]') [enabled by default] editor/menu_editor.c:71:1: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:71:1: warning: (near initialization for 'edloadmap_menu[4]') [enabled by default] editor/menu_editor.c:71:1: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:71:1: warning: (near initialization for 'edloadmap_menu[5]') [enabled by default] editor/menu_editor.c:72:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_CALLFP, me_newmap, 0, ^ editor/menu_editor.c:72:6: warning: (near initialization for 'edloadmap_menu[7]') [-Wpointer-sign] editor/menu_editor.c:72:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:72:6: warning: (near initialization for 'edloadmap_menu[8]') [enabled by default] editor/menu_editor.c:72:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:72:6: warning: (near initialization for 'edloadmap_menu[9]') [enabled by default] editor/menu_editor.c:73:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "0", MNU_DYNAMICTEXT, getcmapname, 100, ^ editor/menu_editor.c:73:6: warning: (near initialization for 'edloadmap_menu[11]') [-Wpointer-sign] editor/menu_editor.c:73:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:73:6: warning: (near initialization for 'edloadmap_menu[12]') [enabled by default] editor/menu_editor.c:73:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:73:6: warning: (near initialization for 'edloadmap_menu[13]') [enabled by default] editor/menu_editor.c:73:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:73:6: warning: (near initialization for 'edloadmap_menu[14]') [enabled by default] editor/menu_editor.c:74:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "1", MNU_DYNAMICTEXT, getcmapname, 101, ^ editor/menu_editor.c:74:6: warning: (near initialization for 'edloadmap_menu[15]') [-Wpointer-sign] editor/menu_editor.c:74:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:74:6: warning: (near initialization for 'edloadmap_menu[16]') [enabled by default] editor/menu_editor.c:74:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:74:6: warning: (near initialization for 'edloadmap_menu[17]') [enabled by default] editor/menu_editor.c:74:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:74:6: warning: (near initialization for 'edloadmap_menu[18]') [enabled by default] editor/menu_editor.c:75:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "2", MNU_DYNAMICTEXT, getcmapname, 102, ^ editor/menu_editor.c:75:6: warning: (near initialization for 'edloadmap_menu[19]') [-Wpointer-sign] editor/menu_editor.c:75:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:75:6: warning: (near initialization for 'edloadmap_menu[20]') [enabled by default] editor/menu_editor.c:75:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:75:6: warning: (near initialization for 'edloadmap_menu[21]') [enabled by default] editor/menu_editor.c:75:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:75:6: warning: (near initialization for 'edloadmap_menu[22]') [enabled by default] editor/menu_editor.c:76:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "3", MNU_DYNAMICTEXT, getcmapname, 103, ^ editor/menu_editor.c:76:6: warning: (near initialization for 'edloadmap_menu[23]') [-Wpointer-sign] editor/menu_editor.c:76:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:76:6: warning: (near initialization for 'edloadmap_menu[24]') [enabled by default] editor/menu_editor.c:76:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:76:6: warning: (near initialization for 'edloadmap_menu[25]') [enabled by default] editor/menu_editor.c:76:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:76:6: warning: (near initialization for 'edloadmap_menu[26]') [enabled by default] editor/menu_editor.c:77:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "4", MNU_DYNAMICTEXT, getcmapname, 104, ^ editor/menu_editor.c:77:6: warning: (near initialization for 'edloadmap_menu[27]') [-Wpointer-sign] editor/menu_editor.c:77:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:77:6: warning: (near initialization for 'edloadmap_menu[28]') [enabled by default] editor/menu_editor.c:77:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:77:6: warning: (near initialization for 'edloadmap_menu[29]') [enabled by default] editor/menu_editor.c:77:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:77:6: warning: (near initialization for 'edloadmap_menu[30]') [enabled by default] editor/menu_editor.c:78:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "5", MNU_DYNAMICTEXT, getcmapname, 105, ^ editor/menu_editor.c:78:6: warning: (near initialization for 'edloadmap_menu[31]') [-Wpointer-sign] editor/menu_editor.c:78:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:78:6: warning: (near initialization for 'edloadmap_menu[32]') [enabled by default] editor/menu_editor.c:78:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:78:6: warning: (near initialization for 'edloadmap_menu[33]') [enabled by default] editor/menu_editor.c:78:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:78:6: warning: (near initialization for 'edloadmap_menu[34]') [enabled by default] editor/menu_editor.c:79:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "6", MNU_DYNAMICTEXT, getcmapname, 106, ^ editor/menu_editor.c:79:6: warning: (near initialization for 'edloadmap_menu[35]') [-Wpointer-sign] editor/menu_editor.c:79:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:79:6: warning: (near initialization for 'edloadmap_menu[36]') [enabled by default] editor/menu_editor.c:79:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:79:6: warning: (near initialization for 'edloadmap_menu[37]') [enabled by default] editor/menu_editor.c:79:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:79:6: warning: (near initialization for 'edloadmap_menu[38]') [enabled by default] editor/menu_editor.c:80:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "7", MNU_DYNAMICTEXT, getcmapname, 107, ^ editor/menu_editor.c:80:6: warning: (near initialization for 'edloadmap_menu[39]') [-Wpointer-sign] editor/menu_editor.c:80:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:80:6: warning: (near initialization for 'edloadmap_menu[40]') [enabled by default] editor/menu_editor.c:80:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:80:6: warning: (near initialization for 'edloadmap_menu[41]') [enabled by default] editor/menu_editor.c:80:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:80:6: warning: (near initialization for 'edloadmap_menu[42]') [enabled by default] editor/menu_editor.c:81:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "8", MNU_DYNAMICTEXT, getcmapname, 108, ^ editor/menu_editor.c:81:6: warning: (near initialization for 'edloadmap_menu[43]') [-Wpointer-sign] editor/menu_editor.c:81:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:81:6: warning: (near initialization for 'edloadmap_menu[44]') [enabled by default] editor/menu_editor.c:81:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:81:6: warning: (near initialization for 'edloadmap_menu[45]') [enabled by default] editor/menu_editor.c:81:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:81:6: warning: (near initialization for 'edloadmap_menu[46]') [enabled by default] editor/menu_editor.c:82:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "9", MNU_DYNAMICTEXT, getcmapname, 109, ^ editor/menu_editor.c:82:6: warning: (near initialization for 'edloadmap_menu[47]') [-Wpointer-sign] editor/menu_editor.c:82:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:82:6: warning: (near initialization for 'edloadmap_menu[48]') [enabled by default] editor/menu_editor.c:82:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:82:6: warning: (near initialization for 'edloadmap_menu[49]') [enabled by default] editor/menu_editor.c:82:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:82:6: warning: (near initialization for 'edloadmap_menu[50]') [enabled by default] editor/menu_editor.c:83:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "10", MNU_DYNAMICTEXT, getcmapname, 110, ^ editor/menu_editor.c:83:6: warning: (near initialization for 'edloadmap_menu[51]') [-Wpointer-sign] editor/menu_editor.c:83:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:83:6: warning: (near initialization for 'edloadmap_menu[52]') [enabled by default] editor/menu_editor.c:83:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:83:6: warning: (near initialization for 'edloadmap_menu[53]') [enabled by default] editor/menu_editor.c:83:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:83:6: warning: (near initialization for 'edloadmap_menu[54]') [enabled by default] editor/menu_editor.c:85:1: warning: initialization makes pointer from integer without a cast [enabled by default] uchar *edbadlevel_menu[MAXM] = {(4*8),90, 255, NULL, NULL, NULL, NULL, ^ editor/menu_editor.c:85:1: warning: (near initialization for 'edbadlevel_menu[0]') [enabled by default] editor/menu_editor.c:85:1: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:85:1: warning: (near initialization for 'edbadlevel_menu[1]') [enabled by default] editor/menu_editor.c:85:1: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:85:1: warning: (near initialization for 'edbadlevel_menu[2]') [enabled by default] editor/menu_editor.c:86:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "I don't know how to open", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:86:6: warning: (near initialization for 'edbadlevel_menu[7]') [-Wpointer-sign] editor/menu_editor.c:87:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "that file!", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:87:6: warning: (near initialization for 'edbadlevel_menu[11]') [-Wpointer-sign] editor/menu_editor.c:88:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:88:6: warning: (near initialization for 'edbadlevel_menu[15]') [-Wpointer-sign] editor/menu_editor.c:89:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "", MNU_SEPERATOR, NULL, 0, ^ editor/menu_editor.c:89:6: warning: (near initialization for 'edbadlevel_menu[19]') [-Wpointer-sign] editor/menu_editor.c:90:6: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, ^ editor/menu_editor.c:90:6: warning: (near initialization for 'edbadlevel_menu[23]') [-Wpointer-sign] editor/menu_editor.c:90:6: warning: initialization makes pointer from integer without a cast [enabled by default] editor/menu_editor.c:90:6: warning: (near initialization for 'edbadlevel_menu[24]') [enabled by default] editor/menu_editor.c:90:6: warning: initialization from incompatible pointer type [enabled by default] editor/menu_editor.c:90:6: warning: (near initialization for 'edbadlevel_menu[25]') [enabled by default] editor/menu_editor.c: In function 'me_resetmap': editor/menu_editor.c:103:1: warning: implicit declaration of function 'editor_resetmap' [-Wimplicit-function-declaration] char static me_resetmap(int arg) { editor_resetmap(); return 1; } ^ editor/menu_editor.c: In function 'me_addborder': editor/menu_editor.c:110:1: warning: implicit declaration of function 'editor_addborder' [-Wimplicit-function-declaration] char static me_addborder(int arg) { editor_addborder(); return 1; } ^ editor/menu_editor.c: In function 'me_nextep': editor/menu_editor.c:111:1: warning: implicit declaration of function 'editor_nextep' [-Wimplicit-function-declaration] char static me_nextep(int arg) { editor_nextep(); return 1; } ^ editor/menu_editor.c: In function 'me_save': editor/menu_editor.c:112:1: warning: implicit declaration of function 'editor_save' [-Wimplicit-function-declaration] char static me_save(int arg) { editor_save(); return 1; } ^ editor/menu_editor.c: In function 'me_saveas': editor/menu_editor.c:113:1: warning: implicit declaration of function 'editor_saveas' [-Wimplicit-function-declaration] char static me_saveas(int arg) { editor_saveas(); return 1; } ^ editor/menu_editor.c: In function 'me_exit_ed': editor/menu_editor.c:114:1: warning: implicit declaration of function 'editor_exit' [-Wimplicit-function-declaration] char static me_exit_ed(int arg) { editor_exit(); return 1; } ^ editor/menu_editor.c: In function 'me_resizemap': editor/menu_editor.c:115:1: warning: implicit declaration of function 'editor_resizemap' [-Wimplicit-function-declaration] char static me_resizemap(int arg) { editor_resizemap(); return 1; } ^ editor/menu_editor.c: In function 'me_timelimit': editor/menu_editor.c:116:1: warning: implicit declaration of function 'editor_settimelimit' [-Wimplicit-function-declaration] char static me_timelimit(int arg) { editor_settimelimit(); return 1; } ^ In file included from editor/../menu.h:92:0, 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] } ^ customepisode.c: In function 'LoadFlagsIni': customepisode.c:32:2: warning: implicit declaration of function 'LoadVGASprites' [-Wimplicit-function-declaration] if (Ini_GetNumericKeyDef(iname, "VGASprites", 0)) LoadVGASprites(); ^ customepisode.c:33:2: 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 [enabled by default] fname = GetFileAtIndex(i); ^ customepisode.c:59:5: warning: unused variable 'ep' [-Wunused-variable] int ep; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c twirly.c -o twirly.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c sgrle.c -o sgrle.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c lprintf.c -o lprintf.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c vgatiles.c -o vgatiles.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c latch.c -o latch.o In file included from vgatiles.c:4:0: tga.c: In function 'LoadTGA': tga.c:52:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(*image, imgdatasize, 1, fp); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c lz.c -o lz.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c message.c -o message.o latch.c: In function 'latch_loadlatch': latch.c:224:3: 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:0: 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 differ in signedness [-Wpointer-sign] bitmaps[b].bmptr = bmdataptr; ^ latch.c: In function 'latch_loadsprites': latch.c:409:3: 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:0: latch.fdh:38:6: note: expected 'unsigned char *' but argument is of type 'char *' char lz_decompress(FILE *lzfile, unsigned char *outbuffer); ^ message.c: In function 'message': message.c:51:3: 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:375:0, from /usr/include/stdio.h:27, from keen.h:2, from message.c:5: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ message.c:57:3: 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:375:0, from /usr/include/stdio.h:27, from keen.h:2, from message.c:5: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ latch.c: In function 'latch_loadlatch': latch.c:231:8: 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:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(RawData, RawDataSize, 1, spritfile); ^ message.c:32:5: warning: unused variable 'len' [-Wunused-variable] int len = strlen(newmsg); ^ message.c: In function 'message_do': message.c:153:6: 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:375:0, from /usr/include/stdio.h:27, from keen.h:2, from message.c:5: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ message.c:153:6: 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:375:0, from /usr/include/stdio.h:27, from keen.h:2, from message.c:5: /usr/include/bits/string3.h:102: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; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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]; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c cinematics/e1ending.c -o cinematics/e1ending.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c cinematics/e3ending.c -o cinematics/e3ending.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:3: warning: array subscript has type 'char' [-Wchar-subscripts] else message(bahtext[++curtext], dlgX, dlgY, dlgW, dlgH, 1, 0); ^ 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; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c cinematics/blowupworld.c -o cinematics/blowupworld.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c cinematics/mortimer.c -o cinematics/mortimer.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c cinematics/TBC.c -o cinematics/TBC.o cinematics/blowupworld.c: In function 'blow_up_world': cinematics/blowupworld.c:79:1: warning: implicit declaration of function 'endlevel' [-Wimplicit-function-declaration] void blow_up_world(void) { endlevel(HIT_TANTALUS_SWITCH); } ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c FinaleScreenLoader.c -o FinaleScreenLoader.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c globals.c -o globals.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/yorp.c -o ai/yorp.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/garg.c -o ai/garg.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/vort.c -o ai/vort.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/butler.c -o ai/butler.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/tank.c -o ai/tank.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/door.c -o ai/door.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/ray.c -o ai/ray.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/icecannon.c -o ai/icecannon.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/teleport.c -o ai/teleport.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/rope.c -o ai/rope.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/walker.c -o ai/walker.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/tankep2.c -o ai/tankep2.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; ^ 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) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/platform.c -o ai/platform.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -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; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/vortelite.c -o ai/vortelite.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/se.c -o ai/se.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/baby.c -o ai/baby.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/earth.c -o ai/earth.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/foob.c -o ai/foob.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/ninja.c -o ai/ninja.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/meep.c -o ai/meep.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/sndwave.c -o ai/sndwave.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/mother.c -o ai/mother.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/fireball.c -o ai/fireball.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/balljack.c -o ai/balljack.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/nessie.c -o ai/nessie.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/autoray.c -o ai/autoray.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c ai/gotpoints.c -o ai/gotpoints.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c sdl/keydrv.c -o sdl/keydrv.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c sdl/snddrv.c -o sdl/snddrv.o sdl/keydrv.c: In function 'KeyDrv_GetKeyMapping': sdl/keydrv.c:176:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return beingset; ^ sdl/keydrv.c:180:13: warning: pointer targets in return differ in signedness [-Wpointer-sign] if (!ksym) return noksym; ^ sdl/keydrv.c:187:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return knbuf; ^ sdl/keydrv.c:192:3: warning: pointer targets in return differ in signedness [-Wpointer-sign] return knbuf; ^ sdl/keydrv.c:194:2: warning: pointer targets in return differ in signedness [-Wpointer-sign] return kname; ^ sdl/snddrv.c: In function 'sound_load': sdl/snddrv.c:176:10: warning: array subscript has type 'char' [-Wchar-subscripts] sounds[loadnum].sounddata[i] = SOUND_FREQ_DIVISOR / sndbyte; ^ sdl/snddrv.c:180:4: warning: array subscript has type 'char' [-Wchar-subscripts] sounds[loadnum].sounddata[i] = sndbyte; ^ sdl/snddrv.c:184:6: warning: array subscript has type 'char' [-Wchar-subscripts] sounds[loadnum].priority = priority; ^ sdl/snddrv.c: In function 'SoundDrv_GenWaveform': sdl/snddrv.c:288:4: 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:7: warning: array subscript has type 'char' [-Wchar-subscripts] if (SndChannels[chnl].sound_playing) ^ sdl/snddrv.c:468:9: warning: array subscript has type 'char' [-Wchar-subscripts] if (sounds[SndChannels[chnl].current_sound].priority > sounds[snd].priority) ^ sdl/snddrv.c:468:9: warning: array subscript has type 'char' [-Wchar-subscripts] sdl/snddrv.c:481:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (!SndChannels[chnl].sound_playing) ^ sdl/snddrv.c:490:5: warning: array subscript has type 'char' [-Wchar-subscripts] if (sounds[SndChannels[chnl].current_sound].priority <= sounds[snd].priority) ^ sdl/snddrv.c:490:5: warning: array subscript has type 'char' [-Wchar-subscripts] sdl/snddrv.c:516:3: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].current_sound = snd; ^ sdl/snddrv.c:517:3: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_ptr = 0; ^ sdl/snddrv.c:518:3: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_timer = 0; ^ sdl/snddrv.c:519:3: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_playing = 1; ^ sdl/snddrv.c:520:3: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].waveState = WAVE_IN; ^ sdl/snddrv.c:521:3: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].freqtimer = 0; ^ sdl/snddrv.c:522:3: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_forced = 0; ^ sdl/snddrv.c:524:6: warning: array subscript has type 'char' [-Wchar-subscripts] SndChannels[chnl].sound_forced = 1; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c sdl/timedrv.c -o sdl/timedrv.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c sdl/viddrv.c -o sdl/viddrv.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c scale2x/scalebit.c -o scale2x/scalebit.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c scale2x/scale2x.c -o scale2x/scale2x.o 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) ^ 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: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) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c scale2x/scale3x.c -o scale2x/scale3x.o 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) ^ 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: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) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c scale2x/pixel.c -o scale2x/pixel.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c platform.cpp -o platform.o gcc -o keen \ main.o sanity.o game.o gamedo.o \ gamepdo.o gamepdo_wm.o editor/editor.o editor/autolight.o console.o \ fileio.o maploader.o map.o graphics.o palette.o \ fonts.o misc.o misc_ui.o graphicmaker.o ini.o \ intro.o menumanager.o menu_options.o menu_keysetup.o menu_savegames.o \ menu_custommap.o editor/menu_editor.o customepisode.o savegame.o twirly.o \ sgrle.o lprintf.o vgatiles.o latch.o lz.o \ message.o cinematics/seqcommon.o cinematics/e1ending.o cinematics/e3ending.o cinematics/blowupworld.o \ cinematics/mortimer.o cinematics/TBC.o FinaleScreenLoader.o globals.o ai/yorp.o \ ai/garg.o ai/vort.o ai/butler.o ai/tank.o ai/door.o \ ai/ray.o ai/icecannon.o ai/teleport.o ai/rope.o ai/walker.o \ ai/tankep2.o ai/platform.o ai/platvert.o ai/vortelite.o ai/se.o \ ai/baby.o ai/earth.o ai/foob.o ai/ninja.o ai/meep.o \ ai/sndwave.o ai/mother.o ai/fireball.o ai/balljack.o ai/nessie.o \ ai/autoray.o ai/gotpoints.o sdl/keydrv.o sdl/snddrv.o sdl/timedrv.o \ sdl/viddrv.o scale2x/scalebit.o scale2x/scale2x.o scale2x/scale3x.o scale2x/pixel.o \ platform.o \ -lSDL -lstdc++ -lm make: Leaving directory `/builddir/build/BUILD/keen/src' + gcc -o clonekeen-extract -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic extract.c -ldynamite + gcc -o clonekeen-extract-sounds -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic clonekeen-extract-sounds.c clonekeen-extract-sounds.c: In function 'main': clonekeen-extract-sounds.c:167:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp(&buf[sounds_start], "SND")) ^ In file included from clonekeen-extract-sounds.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ clonekeen-extract-sounds.c:167:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(&buf[sounds_start], "SND")) ^ clonekeen-extract-sounds.c:167:3: note: expected 'const char *' but argument is of type 'unsigned char *' clonekeen-extract-sounds.c:167:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] In file included from clonekeen-extract-sounds.c:24:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ clonekeen-extract-sounds.c:167:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp(&buf[sounds_start], "SND")) ^ clonekeen-extract-sounds.c:167:3: note: expected 'const char *' but argument is of type 'unsigned char *' clonekeen-extract-sounds.c:167:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] clonekeen-extract-sounds.c:167:3: note: expected 'const char *' but argument is of type 'unsigned char *' clonekeen-extract-sounds.c:167:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] clonekeen-extract-sounds.c:167:3: note: expected 'const char *' but argument is of type 'unsigned char *' clonekeen-extract-sounds.c:132:14: 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 /var/tmp/rpm-tmp.tssjoB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64 ++ dirname /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64 + cd keen + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/libexec + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/clonekeen/data + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/clonekeen/gfx + install -m 755 src/keen /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/libexec/clonekeen + install -m 755 clonekeen-extract /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/libexec + install -m 755 clonekeen-extract-sounds /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/libexec + install -p -m 755 /builddir/build/SOURCES/clonekeen.sh /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/bin/clonekeen + install -p -m 644 /builddir/build/SOURCES/clonekeen.autodlrc /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/clonekeen + install -p -m 644 bin/demo.dat bin/ep1attr.dat bin/ep1demo1.dat bin/ep1demo2.dat bin/ep1demo3.dat bin/ep2attr.dat bin/ep2demo1.dat bin/ep2demo2.dat bin/ep2demo3.dat bin/ep3attr.dat bin/ep3demo1.dat bin/ep3demo2.dat bin/ep3demo3.dat bin/ep3demo4.dat bin/strings.dat /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/clonekeen + install -p -m 644 bin/flags.ini bin/palette.ini /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/clonekeen + install -p -m 644 bin/gfx/100.tga bin/gfx/1000.tga bin/gfx/200.tga bin/gfx/500.tga bin/gfx/5000.tga bin/gfx/arrowd.tga bin/gfx/arrowlr.tga bin/gfx/arrowu.tga bin/gfx/arrowud.tga bin/gfx/arrowul.tga bin/gfx/arrowur.tga bin/gfx/cklogo1.tga bin/gfx/cklogo2.tga bin/gfx/demobox.tga bin/gfx/gunup.tga bin/gfx/shotup.tga bin/gfx/tile185.tga bin/gfx/tile190.tga bin/gfx/version.tga bin/gfx/yorpshield.tga /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/clonekeen/gfx + install -p -m 644 bin/data/level17.ck1 bin/data/level18.ck2 bin/data/level19.ck2 /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/clonekeen/data + install -p -m 644 bin/demolvl.ck1 /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/clonekeen + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/applications /builddir/build/SOURCES/clonekeen.desktop + mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/icons/hicolor/24x24/apps + install -p -m 644 /builddir/build/SOURCES/clonekeen.png /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/icons/hicolor/24x24/apps + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/keen extracting debug info from /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/libexec/clonekeen-extract-sounds extracting debug info from /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/libexec/clonekeen extracting debug info from /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/libexec/clonekeen-extract 1700 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: clonekeen-0.8.4-3.fc19.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aDl5OC + umask 022 + cd /builddir/build/BUILD + cd keen + DOCDIR=/builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/doc/clonekeen-0.8.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/doc/clonekeen-0.8.4 + cp -pr README /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/doc/clonekeen-0.8.4 + cp -pr src/changelog.txt /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64/usr/share/doc/clonekeen-0.8.4 + exit 0 Provides: clonekeen = 0.8.4-3.fc19 clonekeen(x86-64) = 0.8.4-3.fc19 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: /bin/bash libSDL-1.2.so.0()(64bit) libc.so.6()(64bit) 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) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) rtld(GNU_HASH) Processing files: clonekeen-debuginfo-0.8.4-3.fc19.x86_64 Provides: clonekeen-debuginfo = 0.8.4-3.fc19 clonekeen-debuginfo(x86-64) = 0.8.4-3.fc19 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64 Wrote: /builddir/build/RPMS/clonekeen-0.8.4-3.fc19.x86_64.rpm Wrote: /builddir/build/RPMS/clonekeen-debuginfo-0.8.4-3.fc19.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xqfm7I + umask 022 + cd /builddir/build/BUILD + cd keen + /usr/bin/rm -rf /builddir/build/BUILDROOT/clonekeen-0.8.4-3.fc19.x86_64 + exit 0 Child return code was: 0 LEAVE do -->