>>> Building on exopi-5 under games/clonekeen BDEPENDS = [devel/sdl] DIST = [games/clonekeen:clonekeen-src-84.tar.gz] FULLPKGNAME = clonekeen-8.4p6 RDEPENDS = [devel/sdl] (Junk lock obtained for exopi-5 at 1731967008.85) >>> Running depends in games/clonekeen at 1731967008.89 last junk was in japanese/kterm /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 was: /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 >>> Running show-prepare-results in games/clonekeen at 1731967011.70 ===> games/clonekeen ===> Building from scratch clonekeen-8.4p6 ===> clonekeen-8.4p6 depends on: sdl-* -> sdl-1.2.15p12 ===> Verifying specs: SDL c m pthread c++ c++abi pthread ===> found SDL.8.0 c.100.3 m.10.1 pthread.27.1 c++.10.0 c++abi.7.0 sdl-1.2.15p12 (Junk lock released for exopi-5 at 1731967012.56) distfiles size=756931 >>> Running build in games/clonekeen at 1731967012.62 ===> games/clonekeen ===> Checking files for clonekeen-8.4p6 `/exopi-cvs/ports/distfiles/clonekeen-src-84.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for clonekeen-8.4p6 ===> Patching for clonekeen-8.4p6 ===> Applying OpenBSD patch patch-src_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/Makefile.orig Tue May 25 03:11:52 2010 |+++ src/Makefile Sun Oct 24 20:57:53 2010 -------------------------- Patching file src/Makefile using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 17. Hunk #3 succeeded at 35. done ===> Applying OpenBSD patch patch-src_eseq_ep2_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/eseq_ep2.c |--- src/eseq_ep2.c.orig |+++ src/eseq_ep2.c -------------------------- Patching file src/eseq_ep2.c using Plan A... Hunk #1 succeeded at 356. done ===> Applying OpenBSD patch patch-src_gamepdo_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/gamepdo.c |--- src/gamepdo.c.orig |+++ src/gamepdo.c -------------------------- Patching file src/gamepdo.c using Plan A... Hunk #1 succeeded at 7. done ===> Applying OpenBSD patch patch-src_keen_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/keen.h.orig Sun Oct 24 22:28:25 2010 |+++ src/keen.h Sun Oct 24 22:28:50 2010 -------------------------- Patching file src/keen.h using Plan A... Hunk #1 succeeded at 765. done ===> Applying OpenBSD patch patch-src_menu_custommap_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menu_custommap.c |--- src/menu_custommap.c.orig |+++ src/menu_custommap.c -------------------------- Patching file src/menu_custommap.c using Plan A... Hunk #1 succeeded at 4. done ===> Applying OpenBSD patch patch-src_menu_keysetup_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menu_keysetup.c |--- src/menu_keysetup.c.orig |+++ src/menu_keysetup.c -------------------------- Patching file src/menu_keysetup.c using Plan A... Hunk #1 succeeded at 4. done ===> Applying OpenBSD patch patch-src_menu_options_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menu_options.c |--- src/menu_options.c.orig |+++ src/menu_options.c -------------------------- Patching file src/menu_options.c using Plan A... Hunk #1 succeeded at 7. done ===> Applying OpenBSD patch patch-src_menu_savegames_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menu_savegames.c |--- src/menu_savegames.c.orig |+++ src/menu_savegames.c -------------------------- Patching file src/menu_savegames.c using Plan A... Hunk #1 succeeded at 3. done ===> Applying OpenBSD patch patch-src_menumanager_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/menumanager.c |--- src/menumanager.c.orig |+++ src/menumanager.c -------------------------- Patching file src/menumanager.c using Plan A... Hunk #1 succeeded at 10. done ===> Applying OpenBSD patch patch-src_misc_ui_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/misc_ui.c |--- src/misc_ui.c.orig |+++ src/misc_ui.c -------------------------- Patching file src/misc_ui.c using Plan A... Hunk #1 succeeded at 2. done ===> Applying OpenBSD patch patch-src_savegame_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Make sure the saves are in the user's home dir where they have write access | |--- src/savegame.c.orig Tue May 25 03:11:52 2010 |+++ src/savegame.c Sun Oct 24 23:11:23 2010 -------------------------- Patching file src/savegame.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 151. Hunk #3 succeeded at 241. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for clonekeen-8.4p6 ===> Configuring for clonekeen-8.4p6 ===> Building for clonekeen-8.4p6 cc -I/usr/local/include -Wno-int-conversion -c main.c -o main.o cc -I/usr/local/include -Wno-int-conversion -c sanity.c -o sanity.o sanity.c:140:18: warning: cast to smaller integer type 'char' from 'char *' [-Wpointer-to-int-cast] wheretogetit = (char)(*list)[i+2]; ^~~~~~~~~~~~~~~~~~ sanity.c:155:22: warning: comparison between pointer and integer ('char' and 'char *') [-Wpointer-integer-compare] if (wheretogetit == COMESWITHKEEN || 1) ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ sanity.c:156:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] getFromWhere = kFromOriginal; ^ ~~~~~~~~~~~~~ sanity.c:158:19: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] getFromWhere = kFromCloneKeen; ^ ~~~~~~~~~~~~~~ 4 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c game.c -o game.o cc -I/usr/local/include -Wno-int-conversion -c gamedo.c -o gamedo.o gamedo.c:683:19: warning: left operand of comma operator has no effect [-Wunused-value] IsStopPoint(x, (x, ((objects[o].y>>CSF)+ysize-1)), o)) ^ gamedo.c:953:45: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(debugmsg, "p1x/y: %d/%d [%d,%d]", player[0].x, player[0].y, player[0].x>>CSF,player[0].y>>CSF); ~~ ^~~~~~~~~~~ %lu gamedo.c:953:71: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(debugmsg, "p1x/y: %d/%d [%d,%d]", player[0].x, player[0].y, player[0].x>>CSF,player[0].y>>CSF); ~~ ^~~~~~~~~~~~~~~~ %lu gamedo.c:999:23: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(temp, "%d", player[p].inventory.score); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %lu 4 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c gamepdo.c -o gamepdo.o cc -I/usr/local/include -Wno-int-conversion -c gamepdo_wm.c -o gamepdo_wm.o cc -I/usr/local/include -Wno-int-conversion -c editor/editor.c -o editor/editor.o cc -I/usr/local/include -Wno-int-conversion -c editor/autolight.c -o editor/autolight.o editor/autolight.c:201:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c console.c -o console.o cc -I/usr/local/include -Wno-int-conversion -c fileio.c -o fileio.o fileio.c:73:5: warning: call to undeclared function 'stat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] stat("trying '%s'", fname); ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c maploader.c -o maploader.o maploader.c:459:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c map.c -o map.o cc -I/usr/local/include -Wno-int-conversion -c graphics.c -o graphics.o cc -I/usr/local/include -Wno-int-conversion -c palette.c -o palette.o cc -I/usr/local/include -Wno-int-conversion -c fonts.c -o fonts.o fonts.c:17:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*drawingfunc)(x, y, c); ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c misc.c -o misc.o cc -I/usr/local/include -Wno-int-conversion -c misc_ui.c -o misc_ui.o misc_ui.c:136:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] static lastpick = -1; ~~~~~~ ^ int 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c graphicmaker.c -o graphicmaker.o cc -I/usr/local/include -Wno-int-conversion -c ini.c -o ini.o cc -I/usr/local/include -Wno-int-conversion -c intro.c -o intro.o cc -I/usr/local/include -Wno-int-conversion -c menumanager.c -o menumanager.o menumanager.c:17:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "1-Player Game", MNU_CALLFP, goto_epmenu, 1, ^~~~~~~~~~~ menumanager.c:18:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "2-Player Game", MNU_CALLFP, goto_epmenu, 2, ^~~~~~~~~~~ menumanager.c:19:32: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Editor", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:20:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:21:33: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~ menumanager.c:22:31: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "About", MNU_SWITCHMENU, about_menu, 0, ^~~~~~~~~~ menumanager.c:24:26: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~~~~~ menumanager.c:29:34: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~ menumanager.c:30:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:31:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:32:33: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~ menumanager.c:34:31: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "End Level", MNU_CALLFP, mmhandler_restartlevel, 2, ^~~~~~~~~~~~~~~~~~~~~~ menumanager.c:35:34: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~~~ menumanager.c:36:26: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~~~~~ menumanager.c:41:34: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "New Game", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~ menumanager.c:42:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Save Game", MNU_SWITCHMENU, savegame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:43:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Load Game", MNU_SWITCHMENU, loadgame_menu, 0, ^~~~~~~~~~~~~ menumanager.c:44:33: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~ menumanager.c:46:34: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "End Game", MNU_SWITCHMENU, endgame_menu, 0, ^~~~~~~~~~~~ menumanager.c:47:26: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Quit", MNU_CALLFP, mmhandler_quit, 0, ^~~~~~~~~~~~~~ menumanager.c:52:34: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "End the Game", MNU_CALLFP, mmhandler_endgame, 0, ^~~~~~~~~~~~~~~~~ menumanager.c:54:30: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menumanager.c:59:38: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Quit the Program", MNU_CALLFP, mmhandler_quit2, 0, ^~~~~~~~~~~~~~~ menumanager.c:61:30: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Play on!", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menumanager.c:66:47: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Invasion of the Vorticons", MNU_CALLFP, mmhandler_newgame, 1, ^~~~~~~~~~~~~~~~~ menumanager.c:67:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "The Earth Explodes", MNU_CALLFP, mmhandler_newgame, 2, ^~~~~~~~~~~~~~~~~ menumanager.c:68:36: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Keen Must Die!", MNU_CALLFP, mmhandler_newgame, 3, ^~~~~~~~~~~~~~~~~ menumanager.c:70:39: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Load User Map", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~ menumanager.c:71:43: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Back to Main Menu", MNU_SWITCHMENU, main_menu, 1, ^~~~~~~~~ menumanager.c:92:38: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "GR00VY DUDE!", MNU_SWITCHMENU, main_menu, 0 ^~~~~~~~~ menumanager.c:107:41: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Aw, shucks, ok.", MNU_SWITCHMENU, selectep_menu, 0, ^~~~~~~~~~~~~ menumanager.c:121:41: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Aw, shucks, ok.", MNU_SWITCHMENU, main_menu, 0, ^~~~~~~~~ menumanager.c:149:20: warning: comparison of distinct pointer types ('unsigned char *(*)[150]' and 'unsigned char **') [-Wcompare-distinct-pointer-types] if (menu.curmenu != editor_menu) ~~~~~~~~~~~~ ^ ~~~~~~~~~~~ menumanager.c:150:18: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(editor_menu); ^~~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ menumanager.c:160:21: warning: comparison of distinct pointer types ('unsigned char *(*)[150]' and 'unsigned char **') [-Wcompare-distinct-pointer-types] if (menu.curmenu != ingame_menu_norestart) ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ menumanager.c:162:19: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(ingame_menu_norestart); ^~~~~~~~~~~~~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ menumanager.c:167:21: warning: comparison of distinct pointer types ('unsigned char *(*)[150]' and 'unsigned char **') [-Wcompare-distinct-pointer-types] if (menu.curmenu != ingame_menu) ~~~~~~~~~~~~ ^ ~~~~~~~~~~~ menumanager.c:169:19: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(ingame_menu); ^~~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ menumanager.c:173:24: warning: comparison of distinct pointer types ('unsigned char *(*)[150]' and 'unsigned char **') [-Wcompare-distinct-pointer-types] else if (menu.curmenu != main_menu) ~~~~~~~~~~~~ ^ ~~~~~~~~~ menumanager.c:174:17: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(main_menu); ^~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ menumanager.c:181:8: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *(*)[150]' [-Wincompatible-pointer-types] uchar *curmenu = menu.curmenu; ^ ~~~~~~~~~~~~ menumanager.c:186:18: warning: comparison of distinct pointer types ('unsigned char *(*)[150]' and 'unsigned char **') [-Wcompare-distinct-pointer-types] if (menu.curmenu==main_menu || \ ~~~~~~~~~~~~^ ~~~~~~~~~ menumanager.c:187:15: warning: comparison of distinct pointer types ('unsigned char *(*)[150]' and 'unsigned char **') [-Wcompare-distinct-pointer-types] menu.curmenu==ingame_menu || \ ~~~~~~~~~~~~^ ~~~~~~~~~~~ menumanager.c:188:15: warning: comparison of distinct pointer types ('unsigned char *(*)[150]' and 'unsigned char **') [-Wcompare-distinct-pointer-types] menu.curmenu==ingame_menu_norestart) ~~~~~~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~ menumanager.c:202:39: warning: comparison between pointer and integer ('unsigned char *' and 'int') [-Wpointer-integer-compare] if ((*menu.curmenu)[index+ITM_TYPE] == MNU_DYNAMICTEXT) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ menumanager.c:204:12: warning: incompatible pointer types assigning to 'char *(*)(unsigned char *, char, unsigned char)' from 'unsigned char *' [-Wincompatible-pointer-types] dyn_ptr = (*menu.curmenu)[index+ITM_PTR]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:227:11: warning: incompatible pointer types assigning to 'void (*)(void)' from 'unsigned char *' [-Wincompatible-pointer-types] funcptr = (*menu.curmenu)[HD_DISMISSALFUNC]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:242:15: warning: incompatible pointer types assigning to 'unsigned char *(*)[150]' from 'unsigned char *' [-Wincompatible-pointer-types] menu.curmenu = whichmenu; ^ ~~~~~~~~~ menumanager.c:265:10: warning: incompatible pointer types assigning to 'void (*)(void)' from 'unsigned char *' [-Wincompatible-pointer-types] funcptr = (*menu.curmenu)[HD_ENTERFUNC]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:271:16: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(main_menu); ^~~~~~~~~ menumanager.c:235:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu) ^ menumanager.c:294:12: warning: incompatible pointer types assigning to 'char (*)(int)' from 'unsigned char *' [-Wincompatible-pointer-types] funcptr = (*menu.curmenu)[index+ITM_PTR]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:303:12: warning: incompatible pointer types assigning to 'char (*)(char *, char, unsigned char)' from 'unsigned char *' [-Wincompatible-pointer-types] dyn_ptr = (*menu.curmenu)[index+ITM_PTR]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:334:19: warning: comparison of distinct pointer types ('unsigned char *(*)[150]' and 'unsigned char **') [-Wcompare-distinct-pointer-types] if (menu.curmenu != option_menu) ~~~~~~~~~~~~ ^ ~~~~~~~~~~~ menumanager.c:370:14: warning: incompatible pointer types assigning to 'char (*)(char)' from 'unsigned char *' [-Wincompatible-pointer-types] scrollfunc = (*menu.curmenu)[HD_SCROLLFUNC]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:400:14: warning: incompatible pointer types assigning to 'char (*)(char)' from 'unsigned char *' [-Wincompatible-pointer-types] scrollfunc = (*menu.curmenu)[HD_SCROLLFUNC]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menumanager.c:516:16: warning: incompatible pointer types passing 'unsigned char *(*)[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(&selectep_menu); ^~~~~~~~~~~~~~ menumanager.c:235:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu) ^ menumanager.c:530:17: warning: incompatible pointer types passing 'unsigned char *(*)[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(&cant_play_ep_menu); ^~~~~~~~~~~~~~~~~~ menumanager.c:235:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu) ^ menumanager.c:543:17: warning: incompatible pointer types passing 'unsigned char *(*)[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(&endgame_menu); ^~~~~~~~~~~~~ menumanager.c:235:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu) ^ menumanager.c:563:17: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(quit_menu); ^~~~~~~~~ menumanager.c:235:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu) ^ 59 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c menu_options.c -o menu_options.o menu_options.c:12:44: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *option_menu[MAXM] = {(6*8)+2,2, 8, options_savestate, SaveOptions, NULL, NULL, ^~~~~~~~~~~~~~~~~ menu_options.c:12:63: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *option_menu[MAXM] = {(6*8)+2,2, 8, options_savestate, SaveOptions, NULL, NULL, ^~~~~~~~~~~ menu_options.c:13:38: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, char)' [-Wincompatible-pointer-types] "Render Mode", MNU_DYNAMICTEXT, SetRenderMode, 0, ^~~~~~~~~~~~~ menu_options.c:14:37: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, char)' [-Wincompatible-pointer-types] "Render FPS", MNU_DYNAMICTEXT, SetRenderFPS, 0, ^~~~~~~~~~~~ menu_options.c:15:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, char)' [-Wincompatible-pointer-types] "P1 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P1COLOR, ^~~~~~~~~ menu_options.c:16:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, char)' [-Wincompatible-pointer-types] "P2 Color", MNU_DYNAMICTEXT, SetPColor, OPT_P2COLOR, ^~~~~~~~~ menu_options.c:17:37: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Input P2...", MNU_SWITCHMENU, keysetup_menu2, 0, ^~~~~~~~~~~~~~ menu_options.c:18:37: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Input P1...", MNU_SWITCHMENU, keysetup_menu1, 0, ^~~~~~~~~~~~~~ menu_options.c:19:39: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Fullscreen", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLSCREEN, ^~~~~~~~~~~~ menu_options.c:23:44: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " 2-Button Firing", MNU_DYNAMICTEXT, OptionSetter, OPT_2BUTTONFIRING, ^~~~~~~~~~~~ menu_options.c:24:86: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Fully Automatic Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_FULLYAUTOMATIC, ^~~~~~~~~~~~ menu_options.c:25:39: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Super Pogo", MNU_DYNAMICTEXT, OptionSetter, OPT_SUPERPOGO, ^~~~~~~~~~~~ menu_options.c:26:42: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Enable Cheats", MNU_DYNAMICTEXT, OptionSetter, OPT_CHEATS, ^~~~~~~~~~~~ menu_options.c:27:46: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Show Bonus Points", MNU_DYNAMICTEXT, OptionSetter, OPT_RISEBONUS, ^~~~~~~~~~~~ menu_options.c:28:37: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Show OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWOSD, ^~~~~~~~~~~~ menu_options.c:29:46: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Show Score in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWSCORE, ^~~~~~~~~~~~ menu_options.c:30:46: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Show Cards in OSD", MNU_DYNAMICTEXT, OptionSetter, OPT_SHOWCARDS, ^~~~~~~~~~~~ menu_options.c:31:47: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Doors Block Raygun", MNU_DYNAMICTEXT, OptionSetter, OPT_DOORSBLOCKRAY, ^~~~~~~~~~~~ menu_options.c:32:42: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Quiet in Demo", MNU_DYNAMICTEXT, OptionSetter, OPT_SOUNDOFFINDEMO, ^~~~~~~~~~~~ menu_options.c:34:48: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Increase Difficulty", MNU_DYNAMICTEXT, OptionSetter, OPT_HARD, ^~~~~~~~~~~~ menu_options.c:35:48: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Must Kill All Yorps", MNU_DYNAMICTEXT, OptionSetter, OPT_MUSTKILLYORPS, ^~~~~~~~~~~~ menu_options.c:36:47: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Give Yorps Shields", MNU_DYNAMICTEXT, OptionSetter, OPT_YORPFORCEFIELDS, ^~~~~~~~~~~~ menu_options.c:38:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Accept", MNU_CALLFP, opthandler_accept, 0, ^~~~~~~~~~~~~~~~~ menu_options.c:39:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Cancel", MNU_CALLFP, opthandler_cancel, 0, ^~~~~~~~~~~~~~~~~ menu_options.c:140:37: warning: implicit conversion from 'int' to 'char' changes value from 159 to -97 [-Wconstant-conversion] tempbuf[0] = options[opt_index] ? OPTION_ENABLED_CHAR:OPTION_DISABLED_CHAR; ~ ^~~~~~~~~~~~~~~~~~~ ./keen.h:304:30: note: expanded from macro 'OPTION_ENABLED_CHAR' #define OPTION_ENABLED_CHAR 159 ^~~ menu_options.c:140:57: warning: implicit conversion from 'int' to 'char' changes value from 158 to -98 [-Wconstant-conversion] tempbuf[0] = options[opt_index] ? OPTION_ENABLED_CHAR:OPTION_DISABLED_CHAR; ~ ^~~~~~~~~~~~~~~~~~~~ ./keen.h:305:30: note: expanded from macro 'OPTION_DISABLED_CHAR' #define OPTION_DISABLED_CHAR 158 ^~~ 26 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c menu_keysetup.c -o menu_keysetup.o menu_keysetup.c:9:46: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *keysetup_menu1[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, ^~~~~~~~~~~~~ menu_keysetup.c:12:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT, ^~~~~~~~ menu_keysetup.c:13:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT, ^~~~~~~~ menu_keysetup.c:14:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "UP ", MNU_DYNAMICTEXT, KeySetup, KUP, ^~~~~~~~ menu_keysetup.c:15:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN, ^~~~~~~~ menu_keysetup.c:16:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL, ^~~~~~~~ menu_keysetup.c:17:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT, ^~~~~~~~ menu_keysetup.c:18:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE, ^~~~~~~~ menu_keysetup.c:19:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER, ^~~~~~~~ menu_keysetup.c:21:26: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (void)' [-Wincompatible-pointer-types] "Save", MNU_CALLFP, SaveKeys, 0, ^~~~~~~~ menu_keysetup.c:22:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (void)' [-Wincompatible-pointer-types] "Cancel", MNU_CALLFP, CancelKeys, 0, ^~~~~~~~~~ menu_keysetup.c:23:30: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (void)' [-Wincompatible-pointer-types] "Defaults", MNU_CALLFP, SetDefaults, 0, ^~~~~~~~~~~ menu_keysetup.c:25:46: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *keysetup_menu2[MAXM] = {32,(9*8), 2, keysetup_init, NULL, NULL, NULL, ^~~~~~~~~~~~~ menu_keysetup.c:28:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "LEFT ", MNU_DYNAMICTEXT, KeySetup, KLEFT2, ^~~~~~~~ menu_keysetup.c:29:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "RIGHT ", MNU_DYNAMICTEXT, KeySetup, KRIGHT2, ^~~~~~~~ menu_keysetup.c:30:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "UP ", MNU_DYNAMICTEXT, KeySetup, KUP2, ^~~~~~~~ menu_keysetup.c:31:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "DOWN ", MNU_DYNAMICTEXT, KeySetup, KDOWN2, ^~~~~~~~ menu_keysetup.c:32:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "JUMP ", MNU_DYNAMICTEXT, KeySetup, KCTRL2, ^~~~~~~~ menu_keysetup.c:33:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "POGO ", MNU_DYNAMICTEXT, KeySetup, KALT2, ^~~~~~~~ menu_keysetup.c:34:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "FIRE/STATUS ", MNU_DYNAMICTEXT, KeySetup, KSPACE2, ^~~~~~~~ menu_keysetup.c:35:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "STATUS ", MNU_DYNAMICTEXT, KeySetup, KENTER2, ^~~~~~~~ menu_keysetup.c:37:26: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (void)' [-Wincompatible-pointer-types] "Save", MNU_CALLFP, SaveKeys, 0, ^~~~~~~~ menu_keysetup.c:38:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (void)' [-Wincompatible-pointer-types] "Cancel", MNU_CALLFP, CancelKeys, 0, ^~~~~~~~~~ menu_keysetup.c:39:30: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (void)' [-Wincompatible-pointer-types] "Defaults", MNU_CALLFP, SetDefaults, 0, ^~~~~~~~~~~ menu_keysetup.c:88:16: warning: incompatible pointer types passing 'unsigned char *(*)[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(&main_menu); ^~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ 25 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c menu_savegames.c -o menu_savegames.o menu_savegames.c:8:47: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *loadgame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^~~~~~~~~~~~~~~~~ menu_savegames.c:9:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "1", MNU_DYNAMICTEXT, loadgame_getgamename, 1, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:10:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "2", MNU_DYNAMICTEXT, loadgame_getgamename, 2, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:11:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "3", MNU_DYNAMICTEXT, loadgame_getgamename, 3, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:12:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "4", MNU_DYNAMICTEXT, loadgame_getgamename, 4, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:13:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "5", MNU_DYNAMICTEXT, loadgame_getgamename, 5, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:14:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "6", MNU_DYNAMICTEXT, loadgame_getgamename, 6, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:15:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "7", MNU_DYNAMICTEXT, loadgame_getgamename, 7, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:16:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "8", MNU_DYNAMICTEXT, loadgame_getgamename, 8, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:17:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "9", MNU_DYNAMICTEXT, loadgame_getgamename, 9, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:19:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menu_savegames.c:21:47: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *savegame_menu[MAXM] = {(7*8)-3,70, 0, loadsavegamenames, NULL, NULL, NULL, ^~~~~~~~~~~~~~~~~ menu_savegames.c:22:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "1", MNU_DYNAMICTEXT, savegame_getgamename, 1, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:23:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "2", MNU_DYNAMICTEXT, savegame_getgamename, 2, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:24:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "3", MNU_DYNAMICTEXT, savegame_getgamename, 3, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:25:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "4", MNU_DYNAMICTEXT, savegame_getgamename, 4, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:26:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "5", MNU_DYNAMICTEXT, savegame_getgamename, 5, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:27:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "6", MNU_DYNAMICTEXT, savegame_getgamename, 6, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:28:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "7", MNU_DYNAMICTEXT, savegame_getgamename, 7, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:29:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "8", MNU_DYNAMICTEXT, savegame_getgamename, 8, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:30:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "9", MNU_DYNAMICTEXT, savegame_getgamename, 9, ^~~~~~~~~~~~~~~~~~~~ menu_savegames.c:32:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Cancel", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menu_savegames.c:38:24: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Ok", MNU_CALLFP, dismiss_menu, 0, ^~~~~~~~~~~~ menu_savegames.c:197:18: warning: incompatible pointer types passing 'unsigned char *(*)[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(&savegame_failure); ^~~~~~~~~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ 24 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c menu_custommap.c -o menu_custommap.o menu_custommap.c:10:48: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^~~~~~~~~~ menu_custommap.c:10:60: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^~~~~~~~~ menu_custommap.c:10:71: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (char)' [-Wincompatible-pointer-types] uchar *custommap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, cmap_exit, cmap_scroll, NULL, ^~~~~~~~~~~ menu_custommap.c:11:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "0", MNU_DYNAMICTEXT, getcmapname, 0, ^~~~~~~~~~~ menu_custommap.c:12:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "1", MNU_DYNAMICTEXT, getcmapname, 1, ^~~~~~~~~~~ menu_custommap.c:13:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "2", MNU_DYNAMICTEXT, getcmapname, 2, ^~~~~~~~~~~ menu_custommap.c:14:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "3", MNU_DYNAMICTEXT, getcmapname, 3, ^~~~~~~~~~~ menu_custommap.c:15:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "4", MNU_DYNAMICTEXT, getcmapname, 4, ^~~~~~~~~~~ menu_custommap.c:16:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "5", MNU_DYNAMICTEXT, getcmapname, 5, ^~~~~~~~~~~ menu_custommap.c:17:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "6", MNU_DYNAMICTEXT, getcmapname, 6, ^~~~~~~~~~~ menu_custommap.c:18:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "7", MNU_DYNAMICTEXT, getcmapname, 7, ^~~~~~~~~~~ menu_custommap.c:19:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "8", MNU_DYNAMICTEXT, getcmapname, 8, ^~~~~~~~~~~ menu_custommap.c:20:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "9", MNU_DYNAMICTEXT, getcmapname, 9, ^~~~~~~~~~~ menu_custommap.c:21:29: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "10", MNU_DYNAMICTEXT, getcmapname, 10, ^~~~~~~~~~~ menu_custommap.c:29:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Ok", MNU_SWITCHMENU, custommap_menu, 0, ^~~~~~~~~~~~~~ menu_custommap.c:49:17: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(selectep_menu); ^~~~~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ menu_custommap.c:59:17: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(main_menu); ^~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ menu_custommap.c:106:8: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] fname = GetFileAtIndex(cm_scrolloffset + i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu_custommap.c:142:22: warning: incompatible pointer types passing 'unsigned char *[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(cant_play_usermap_menu); ^~~~~~~~~~~~~~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ menu_custommap.c:174:20: warning: incompatible pointer types passing 'unsigned char *(*)[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(&badlevel_menu); ^~~~~~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ menu_custommap.c:176:20: warning: incompatible pointer types passing 'unsigned char *(*)[150]' to parameter of type 'unsigned char *' [-Wincompatible-pointer-types] Menu_InitMenu(&edbadlevel_menu); ^~~~~~~~~~~~~~~~ ./menumanager.fdh:39:27: note: passing argument to parameter 'whichmenu' here void Menu_InitMenu(uchar *whichmenu); ^ 21 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c editor/menu_editor.c -o editor/menu_editor.o editor/menu_editor.c:24:36: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Set Time Limit", MNU_CALLFP, me_timelimit, 0, ^~~~~~~~~~~~ editor/menu_editor.c:25:50: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " Game Over on Time Out", MNU_DYNAMICTEXT, SetGameOverOnTimeOut, 0, ^~~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:26:27: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_HARD, ^~~~~~~~~~~~~~~ editor/menu_editor.c:27:27: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_MUSTKILLYORPS, ^~~~~~~~~~~~~~~ editor/menu_editor.c:28:27: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_YORPFORCEFIELDS, ^~~~~~~~~~~~~~~ editor/menu_editor.c:29:27: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_FULLYAUTOMATIC, ^~~~~~~~~~~~~~~ editor/menu_editor.c:30:27: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_SUPERPOGO, ^~~~~~~~~~~~~~~ editor/menu_editor.c:31:27: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "", MNU_DYNAMICTEXT, SetForcedOption, OPT_DOORSBLOCKRAY, ^~~~~~~~~~~~~~~ editor/menu_editor.c:33:32: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Add Border", MNU_CALLFP, me_addborder, 0, ^~~~~~~~~~~~ editor/menu_editor.c:34:38: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "[M] Set Map Size", MNU_CALLFP, me_resizemap, 0, ^~~~~~~~~~~~ editor/menu_editor.c:35:53: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] " [G] Show Object Ghosting", MNU_DYNAMICTEXT, ToggleGhosting, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:37:33: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "<< Back", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~ editor/menu_editor.c:42:35: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "[z] Run/Stop", MNU_CALLFP, me_togglerunstop, 0, ^~~~~~~~~~~~~~~~ editor/menu_editor.c:43:32: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "[x] Reset", MNU_CALLFP, me_resetmap, 0, ^~~~~~~~~~~ editor/menu_editor.c:44:40: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] " Clear Map", MNU_SWITCHMENU, edverifyclear_menu, 0, ^~~~~~~~~~~~~~~~~~ editor/menu_editor.c:45:41: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "[e] Change Episode", MNU_CALLFP, me_nextep, 0, ^~~~~~~~~ editor/menu_editor.c:46:31: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "[F1] Save", MNU_CALLFP, me_save, 0, ^~~~~~~ editor/menu_editor.c:47:37: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "[F2] Save As...", MNU_CALLFP, me_saveas, 0, ^~~~~~~~~ editor/menu_editor.c:48:30: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Misc", MNU_SWITCHMENU, editor_misc_menu, 0, ^~~~~~~~~~~~~~~~ editor/menu_editor.c:49:45: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Forced Game Options", MNU_SWITCHMENU, option_menu, 0, ^~~~~~~~~~~ editor/menu_editor.c:50:34: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Load Map", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:52:33: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Exit Editor", MNU_CALLFP, me_exit_ed, 0, ^~~~~~~~~~ editor/menu_editor.c:53:38: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Exit Program", MNU_SWITCHMENU, quit_menu, 0, ^~~~~~~~~ editor/menu_editor.c:64:32: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "Erase Map!", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~ editor/menu_editor.c:66:37: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Do nothing.", MNU_SWITCHMENU, editor_menu, 0, ^~~~~~~~~~~ editor/menu_editor.c:71:48: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^~~~~~~~~~ editor/menu_editor.c:71:60: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (void)' [-Wincompatible-pointer-types] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^~~~~~~~~~~~~~~~~~~ editor/menu_editor.c:71:81: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'void (char)' [-Wincompatible-pointer-types] uchar *edloadmap_menu[MAXM] = {(7*9)-3,72, 0, cmap_enter, editor_loadmap_exit, cmap_scroll, NULL, ^~~~~~~~~~~ editor/menu_editor.c:72:31: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char (int)' [-Wincompatible-pointer-types] "", MNU_CALLFP, me_newmap, 0, ^~~~~~~~~ editor/menu_editor.c:73:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "0", MNU_DYNAMICTEXT, getcmapname, 100, ^~~~~~~~~~~ editor/menu_editor.c:74:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "1", MNU_DYNAMICTEXT, getcmapname, 101, ^~~~~~~~~~~ editor/menu_editor.c:75:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "2", MNU_DYNAMICTEXT, getcmapname, 102, ^~~~~~~~~~~ editor/menu_editor.c:76:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "3", MNU_DYNAMICTEXT, getcmapname, 103, ^~~~~~~~~~~ editor/menu_editor.c:77:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "4", MNU_DYNAMICTEXT, getcmapname, 104, ^~~~~~~~~~~ editor/menu_editor.c:78:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "5", MNU_DYNAMICTEXT, getcmapname, 105, ^~~~~~~~~~~ editor/menu_editor.c:79:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "6", MNU_DYNAMICTEXT, getcmapname, 106, ^~~~~~~~~~~ editor/menu_editor.c:80:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "7", MNU_DYNAMICTEXT, getcmapname, 107, ^~~~~~~~~~~ editor/menu_editor.c:81:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "8", MNU_DYNAMICTEXT, getcmapname, 108, ^~~~~~~~~~~ editor/menu_editor.c:82:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "9", MNU_DYNAMICTEXT, getcmapname, 109, ^~~~~~~~~~~ editor/menu_editor.c:83:29: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'char *(char *, char, unsigned char)' [-Wincompatible-pointer-types] "10", MNU_DYNAMICTEXT, getcmapname, 110, ^~~~~~~~~~~ editor/menu_editor.c:90:28: warning: incompatible pointer types initializing 'unsigned char *' with an expression of type 'unsigned char *[150]' [-Wincompatible-pointer-types] "Ok", MNU_SWITCHMENU, edloadmap_menu, 0, ^~~~~~~~~~~~~~ editor/menu_editor.c:103:36: warning: call to undeclared function 'editor_resetmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char static me_resetmap(int arg) { editor_resetmap(); return 1; } ^ editor/menu_editor.c:110:37: warning: call to undeclared function 'editor_addborder'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char static me_addborder(int arg) { editor_addborder(); return 1; } ^ editor/menu_editor.c:111:34: warning: call to undeclared function 'editor_nextep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char static me_nextep(int arg) { editor_nextep(); return 1; } ^ editor/menu_editor.c:112:32: warning: call to undeclared function 'editor_save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char static me_save(int arg) { editor_save(); return 1; } ^ editor/menu_editor.c:113:34: warning: call to undeclared function 'editor_saveas'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char static me_saveas(int arg) { editor_saveas(); return 1; } ^ editor/menu_editor.c:114:35: warning: call to undeclared function 'editor_exit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char static me_exit_ed(int arg) { editor_exit(); return 1; } ^ editor/menu_editor.c:115:37: warning: call to undeclared function 'editor_resizemap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char static me_resizemap(int arg) { editor_resizemap(); return 1; } ^ editor/menu_editor.c:116:37: warning: call to undeclared function 'editor_settimelimit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] char static me_timelimit(int arg) { editor_settimelimit(); return 1; } ^ editor/menu_editor.c:131:40: warning: implicit conversion from 'int' to 'char' changes value from 159 to -97 [-Wconstant-conversion] tempbuf[0] = map.GameOverOnTimeOut ? OPTION_ENABLED_CHAR:OPTION_DISABLED_CHAR; ~ ^~~~~~~~~~~~~~~~~~~ editor/../keen.h:304:30: note: expanded from macro 'OPTION_ENABLED_CHAR' #define OPTION_ENABLED_CHAR 159 ^~~ editor/menu_editor.c:131:60: warning: implicit conversion from 'int' to 'char' changes value from 158 to -98 [-Wconstant-conversion] tempbuf[0] = map.GameOverOnTimeOut ? OPTION_ENABLED_CHAR:OPTION_DISABLED_CHAR; ~ ^~~~~~~~~~~~~~~~~~~~ editor/../keen.h:305:30: note: expanded from macro 'OPTION_DISABLED_CHAR' #define OPTION_DISABLED_CHAR 158 ^~~ editor/menu_editor.c:138:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ editor/menu_editor.c:145:40: warning: implicit conversion from 'int' to 'char' changes value from 159 to -97 [-Wconstant-conversion] tempbuf[0] = options[OPT_GHOSTING] ? OPTION_ENABLED_CHAR:OPTION_DISABLED_CHAR; ~ ^~~~~~~~~~~~~~~~~~~ editor/../keen.h:304:30: note: expanded from macro 'OPTION_ENABLED_CHAR' #define OPTION_ENABLED_CHAR 159 ^~~ editor/menu_editor.c:145:60: warning: implicit conversion from 'int' to 'char' changes value from 158 to -98 [-Wconstant-conversion] tempbuf[0] = options[OPT_GHOSTING] ? OPTION_ENABLED_CHAR:OPTION_DISABLED_CHAR; ~ ^~~~~~~~~~~~~~~~~~~~ editor/../keen.h:305:30: note: expanded from macro 'OPTION_DISABLED_CHAR' #define OPTION_DISABLED_CHAR 158 ^~~ editor/menu_editor.c:152:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ editor/menu_editor.c:204:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 56 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c customepisode.c -o customepisode.o customepisode.c:32:52: warning: call to undeclared function 'LoadVGASprites'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (Ini_GetNumericKeyDef(iname, "VGASprites", 0)) LoadVGASprites(); ^ customepisode.c:33:50: warning: call to undeclared function 'LoadVGATiles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (Ini_GetNumericKeyDef(iname, "VGATiles", 0)) LoadVGATiles(); ^ customepisode.c:68:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] fname = GetFileAtIndex(i); ^ ~~~~~~~~~~~~~~~~~ 3 warnings generated. cc -I/usr/local/include -Wno-int-conversion -c savegame.c -o savegame.o cc -I/usr/local/include -Wno-int-conversion -c twirly.c -o twirly.o cc -I/usr/local/include -Wno-int-conversion -c sgrle.c -o sgrle.o cc -I/usr/local/include -Wno-int-conversion -c lprintf.c -o lprintf.o cc -I/usr/local/include -Wno-int-conversion -c vgatiles.c -o vgatiles.o cc -I/usr/local/include -Wno-int-conversion -c latch.c -o latch.o cc -I/usr/local/include -Wno-int-conversion -c lz.c -o lz.o cc -I/usr/local/include -Wno-int-conversion -c message.c -o message.o cc -I/usr/local/include -Wno-int-conversion -c cinematics/seqcommon.c -o cinematics/seqcommon.o cc -I/usr/local/include -Wno-int-conversion -c cinematics/e1ending.c -o cinematics/e1ending.o cc -I/usr/local/include -Wno-int-conversion -c cinematics/e3ending.c -o cinematics/e3ending.o cc -I/usr/local/include -Wno-int-conversion -c cinematics/blowupworld.c -o cinematics/blowupworld.o cinematics/blowupworld.c:79:28: warning: call to undeclared function 'endlevel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] void blow_up_world(void) { endlevel(HIT_TANTALUS_SWITCH); } ^ 1 warning generated. cc -I/usr/local/include -Wno-int-conversion -c cinematics/mortimer.c -o cinematics/mortimer.o cc -I/usr/local/include -Wno-int-conversion -c cinematics/TBC.c -o cinematics/TBC.o cc -I/usr/local/include -Wno-int-conversion -c FinaleScreenLoader.c -o FinaleScreenLoader.o cc -I/usr/local/include -Wno-int-conversion -c globals.c -o globals.o cc -I/usr/local/include -Wno-int-conversion -c ai/yorp.c -o ai/yorp.o cc -I/usr/local/include -Wno-int-conversion -c ai/garg.c -o ai/garg.o cc -I/usr/local/include -Wno-int-conversion -c ai/vort.c -o ai/vort.o cc -I/usr/local/include -Wno-int-conversion -c ai/butler.c -o ai/butler.o cc -I/usr/local/include -Wno-int-conversion -c ai/tank.c -o ai/tank.o cc -I/usr/local/include -Wno-int-conversion -c ai/door.c -o ai/door.o cc -I/usr/local/include -Wno-int-conversion -c ai/ray.c -o ai/ray.o cc -I/usr/local/include -Wno-int-conversion -c ai/icecannon.c -o ai/icecannon.o cc -I/usr/local/include -Wno-int-conversion -c ai/teleport.c -o ai/teleport.o cc -I/usr/local/include -Wno-int-conversion -c ai/rope.c -o ai/rope.o cc -I/usr/local/include -Wno-int-conversion -c ai/walker.c -o ai/walker.o cc -I/usr/local/include -Wno-int-conversion -c ai/tankep2.c -o ai/tankep2.o cc -I/usr/local/include -Wno-int-conversion -c ai/platform.c -o ai/platform.o cc -I/usr/local/include -Wno-int-conversion -c ai/platvert.c -o ai/platvert.o cc -I/usr/local/include -Wno-int-conversion -c ai/vortelite.c -o ai/vortelite.o cc -I/usr/local/include -Wno-int-conversion -c ai/se.c -o ai/se.o cc -I/usr/local/include -Wno-int-conversion -c ai/baby.c -o ai/baby.o cc -I/usr/local/include -Wno-int-conversion -c ai/earth.c -o ai/earth.o cc -I/usr/local/include -Wno-int-conversion -c ai/foob.c -o ai/foob.o cc -I/usr/local/include -Wno-int-conversion -c ai/ninja.c -o ai/ninja.o cc -I/usr/local/include -Wno-int-conversion -c ai/meep.c -o ai/meep.o cc -I/usr/local/include -Wno-int-conversion -c ai/sndwave.c -o ai/sndwave.o cc -I/usr/local/include -Wno-int-conversion -c ai/mother.c -o ai/mother.o cc -I/usr/local/include -Wno-int-conversion -c ai/fireball.c -o ai/fireball.o cc -I/usr/local/include -Wno-int-conversion -c ai/balljack.c -o ai/balljack.o cc -I/usr/local/include -Wno-int-conversion -c ai/nessie.c -o ai/nessie.o cc -I/usr/local/include -Wno-int-conversion -c ai/autoray.c -o ai/autoray.o cc -I/usr/local/include -Wno-int-conversion -c ai/gotpoints.c -o ai/gotpoints.o cc -I/usr/local/include -Wno-int-conversion -c sdl/keydrv.c -o sdl/keydrv.o cc -I/usr/local/include -Wno-int-conversion -c sdl/snddrv.c -o sdl/snddrv.o cc -I/usr/local/include -Wno-int-conversion -c sdl/timedrv.c -o sdl/timedrv.o cc -I/usr/local/include -Wno-int-conversion -c sdl/viddrv.c -o sdl/viddrv.o cc -I/usr/local/include -Wno-int-conversion -c scale2x/scalebit.c -o scale2x/scalebit.o cc -I/usr/local/include -Wno-int-conversion -c scale2x/scale2x.c -o scale2x/scale2x.o cc -I/usr/local/include -Wno-int-conversion -c scale2x/scale3x.c -o scale2x/scale3x.o cc -I/usr/local/include -Wno-int-conversion -c scale2x/pixel.c -o scale2x/pixel.o cc -I/usr/local/include -Wno-int-conversion -c platform.cpp -o platform.o cc -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 -L/usr/local/lib -pthread -lm -lSDL -lSDLmain -lstdc++ ld: warning: main.c(main.o:(KeenMain)): warning: sprintf() is often misused, please use snprintf() ld: warning: sanity.c(sanity.o:(run_sanity)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: editor.c(editor/editor.o:(drawtiles)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lprintf.c(lprintf.o:(lprintf)): warning: vsprintf() is often misused, please use vsnprintf() >>> Running package in games/clonekeen at 1731967026.84 ===> games/clonekeen ===> Faking installation for clonekeen-8.4p6 cp -r /exopi-obj/pobj/clonekeen-8.4/keen/bin /exopi-obj/pobj/clonekeen-8.4/fake-amd64/usr/local/share/clonekeen chown -R root:bin /exopi-obj/pobj/clonekeen-8.4/fake-amd64/usr/local/share/clonekeen /exopi-obj/pobj/clonekeen-8.4/bin/install -c -s -m 755 /exopi-obj/pobj/clonekeen-8.4/keen/src/keen /exopi-obj/pobj/clonekeen-8.4/fake-amd64/usr/local/share/clonekeen /usr/bin/perl /exopi-cvs/ports/infrastructure/bin/pkg_subst -DARCH=amd64 -DBASE_PKGPATH=games/clonekeen -DFLAVOR_EXT= -DFULLPKGNAME=clonekeen-8.4p6 -DHOMEPAGE=https://clonekeen.sourceforge.net/ -DLOCALBASE=/usr/local -DLOCALSTATEDIR=/var -DMACHINE_ARCH=amd64 -DMAINTAINER=Edd\ Barrett\ \ -DPREFIX=/exopi-obj/pobj/clonekeen-8.4/fake-amd64/usr/local -DRCDIR=/etc/rc.d -DSYSCONFDIR=/etc -DTRUEPREFIX=/usr/local -DX11BASE=/usr/X11R6 -DPKGSTEM=clonekeen -i -B /exopi-obj/pobj/clonekeen-8.4 -c -m 755 /exopi-cvs/ports/games/clonekeen/files/keen /exopi-obj/pobj/clonekeen-8.4/fake-amd64/usr/local/bin/keen Installing /exopi-cvs/ports/games/clonekeen/pkg/README as /exopi-obj/pobj/clonekeen-8.4/fake-amd64/usr/local/share/doc/pkg-readmes/clonekeen ===> Building package for clonekeen-8.4p6 Create /exopi-cvs/ports/packages/amd64/all/clonekeen-8.4p6.tgz Creating package clonekeen-8.4p6 reading plist| checking dependencies| checking dependencies|devel/sdl checksumming| checksumming| | 0% checksumming|* | 1% checksumming|** | 3% checksumming|*** | 4% checksumming|*** | 6% checksumming|**** | 7% checksumming|***** | 9% checksumming|****** | 10% checksumming|******* | 11% checksumming|******** | 13% checksumming|********* | 14% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************** | 23% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|***************** | 27% checksumming|***************** | 29% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************** | 36% checksumming|*********************** | 37% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 41% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|************************************ | 59% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 63% checksumming|*************************************** | 64% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************** | 71% checksumming|******************************************** | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************** | 81% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************** | 91% checksumming|********************************************************* | 93% checksumming|********************************************************** | 94% checksumming|********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************************** | 59% archiving|************************************** | 60% archiving|*************************************** | 61% archiving|*************************************** | 62% archiving|**************************************** | 62% archiving|**************************************** | 63% archiving|***************************************** | 64% archiving|***************************************** | 65% archiving|****************************************** | 65% archiving|****************************************** | 66% archiving|********************************************** | 72% archiving|*********************************************** | 74% archiving|************************************************* | 76% archiving|************************************************** | 78% archiving|***************************************************** | 83% archiving|********************************************************* | 89% archiving|********************************************************** | 91% archiving|************************************************************ | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/clonekeen-8.4p6.tgz >>> Running clean in games/clonekeen at 1731967030.48 ===> games/clonekeen ===> Cleaning for clonekeen-8.4p6 >>> Ended at 1731967030.91 max_stuck=2.03/depends=2.81/show-prepare-results=0.90/build=14.24/package=3.62/clean=0.49