=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for angband-tty-2.8.3nb4 gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c z-util.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c z-virt.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c z-form.c z-form.c:377:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isalpha(*s)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ z-form.c:617:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isspace(tmp[q])) ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ z-form.c:620:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if (islower(tmp[q])) tmp[q] = toupper(tmp[q]); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ z-form.c:620:36: warning: array subscript is of type 'char' [-Wchar-subscripts] if (islower(tmp[q])) tmp[q] = toupper(tmp[q]); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ 4 warnings generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c z-rand.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c z-term.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c variable.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c tables.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c util.c util.c:50:8: warning: array subscript is of type 'char' [-Wchar-subscripts] z1 = FORCEUPPER(*s1); ^~~~~~~~~~~~~~~ ./h-define.h:79:26: note: expanded from macro 'FORCEUPPER' #define FORCEUPPER(A) ((islower((A))) ? toupper((A)) : (A)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ util.c:50:8: warning: array subscript is of type 'char' [-Wchar-subscripts] z1 = FORCEUPPER(*s1); ^~~~~~~~~~~~~~~ ./h-define.h:79:42: note: expanded from macro 'FORCEUPPER' #define FORCEUPPER(A) ((islower((A))) ? toupper((A)) : (A)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ util.c:51:8: warning: array subscript is of type 'char' [-Wchar-subscripts] z2 = FORCEUPPER(*s2); ^~~~~~~~~~~~~~~ ./h-define.h:79:26: note: expanded from macro 'FORCEUPPER' #define FORCEUPPER(A) ((islower((A))) ? toupper((A)) : (A)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ util.c:51:8: warning: array subscript is of type 'char' [-Wchar-subscripts] z2 = FORCEUPPER(*s2); ^~~~~~~~~~~~~~~ ./h-define.h:79:42: note: expanded from macro 'FORCEUPPER' #define FORCEUPPER(A) ((islower((A))) ? toupper((A)) : (A)) ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ util.c:131:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (islower(buf[0])) buf[0] = toupper(buf[0]); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ util.c:131:33: warning: array subscript is of type 'char' [-Wchar-subscripts] if (islower(buf[0])) buf[0] = toupper(buf[0]); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ util.c:427:13: warning: array subscript is of type 'char' [-Wchar-subscripts] else if (isprint(*s)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^~~~ util.c:808:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(c)) return (D2I(c)); ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ util.c:809:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isalpha(c)) return (A2I(tolower(c)) + 10); ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ util.c:809:30: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isalpha(c)) return (A2I(tolower(c)) + 10); ~~~~^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^ ./h-define.h:123:20: note: expanded from macro 'A2I' # define A2I(X) ((X) - 'a') ^ util.c:2494:9: warning: array subscript is of type 'char' [-Wchar-subscripts] ch = (isprint(*s) ? *s : ' '); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^~~~ util.c:2773:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isalpha(buf[0])) amt = max; ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ 12 warnings generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c cave.c cave.c:3601:4: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] m = m; ~ ^ ~ 1 warning generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c object1.c object1.c:3969:11: warning: array subscript is of type 'char' [-Wchar-subscripts] ver = isupper(which); ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:57:44: note: expanded from macro 'isupper' #define isupper(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_U)) ^~~~ object1.c:3970:13: warning: array subscript is of type 'char' [-Wchar-subscripts] which = tolower(which); ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 2 warnings generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c object2.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c monster1.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c monster2.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c xtra1.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c xtra2.c xtra2.c:2464:7: warning: array subscript is of type 'char' [-Wchar-subscripts] d = (isdigit(ch) ? D2I(ch) : 0); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ xtra2.c:2488:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*s)) d = D2I(*s); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 2 warnings generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c spells1.c spells1.c:1167:7: warning: explicitly assigning a variable of type 'int' to itself [-Wself-assign] mode = mode; ~~~~ ^ ~~~~ 1 warning generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c spells2.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c melee1.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c melee2.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c save.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c files.c files.c:44:6: warning: implicit declaration of function 'setreuid' is invalid in C99 [-Wimplicit-function-declaration] if (setreuid(geteuid(), getuid()) != 0) ^ files.c:48:6: warning: implicit declaration of function 'setregid' is invalid in C99 [-Wimplicit-function-declaration] if (setregid(getegid(), getgid()) != 0) ^ files.c:305:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isspace(buf[0])) return (0); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ files.c:536:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*s)) s++; ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ files.c:663:10: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isprint(*s) && !strchr(" []", *s)) ++s; ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:54:44: note: expanded from macro 'isprint' #define isprint(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_R)) ^~~~ files.c:758:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isspace(buf[0])) continue; ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ files.c:2267:26: warning: array subscript is of type 'char' [-Wchar-subscripts] if ((buf[6] == b1) && isdigit(buf[7]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ files.c:2551:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (iscntrl(c)) ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:50:44: note: expanded from macro 'iscntrl' #define iscntrl(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_C)) ^~~~ files.c:2558:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isalpha(c) && !isdigit(c)) c = '_'; ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) ^~~~ files.c:2558:23: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isalpha(c) && !isdigit(c)) c = '_'; ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ files.c:3335:31: warning: array subscript is of type 'char' [-Wchar-subscripts] for (user = the_score.uid; isspace(*user); user++) /* loop */; ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ files.c:3336:31: warning: array subscript is of type 'char' [-Wchar-subscripts] for (when = the_score.day; isspace(*when); when++) /* loop */; ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ files.c:3337:32: warning: array subscript is of type 'char' [-Wchar-subscripts] for (gold = the_score.gold; isspace(*gold); gold++) /* loop */; ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ files.c:3338:33: warning: array subscript is of type 'char' [-Wchar-subscripts] for (aged = the_score.turns; isspace(*aged); aged++) /* loop */; ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 14 warnings generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c cmd1.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c cmd2.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c cmd3.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c cmd4.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c cmd5.c cmd5.c:139:10: warning: array subscript is of type 'char' [-Wchar-subscripts] ver = (isupper(choice)); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:57:44: note: expanded from macro 'isupper' #define isupper(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_U)) ^~~~ cmd5.c:142:12: warning: array subscript is of type 'char' [-Wchar-subscripts] choice = tolower(choice); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ cmd5.c:145:8: warning: array subscript is of type 'char' [-Wchar-subscripts] i = (islower(choice) ? A2I(choice) : -1); ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ 3 warnings generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c cmd6.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c store.c store.c:1607:9: warning: array subscript is of type 'char' [-Wchar-subscripts] ver = isupper(which); ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:57:44: note: expanded from macro 'isupper' #define isupper(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_U)) ^~~~ store.c:1608:11: warning: array subscript is of type 'char' [-Wchar-subscripts] which = tolower(which); ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 2 warnings generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c birth.c birth.c:1106:8: warning: array subscript is of type 'char' [-Wchar-subscripts] k = (islower(c) ? A2I(c) : -1); ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ birth.c:1148:8: warning: array subscript is of type 'char' [-Wchar-subscripts] k = (islower(c) ? A2I(c) : -1); ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ birth.c:1198:8: warning: array subscript is of type 'char' [-Wchar-subscripts] k = (islower(c) ? A2I(c) : -1); ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:53:44: note: expanded from macro 'islower' #define islower(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_L)) ^~~~ 3 warnings generated. gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c load1.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c load2.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c wizard1.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c wizard2.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c generate.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c dungeon.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c init1.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c init2.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c main-cap.c gcc -Wall -O -D"USE_GCU" -DDEFAULT_PATH=\"/usr/pkg/share/angband/\" -c main-gcu.c main-gcu.c:471:15: error: incomplete definition of type 'struct __window' mvcur(curscr->cury, curscr->curx, LINES - 1, 0); ~~~~~~^ /usr/include/curses.h:239:16: note: forward declaration of 'struct __window' typedef struct __window WINDOW; ^ main-gcu.c:551:14: error: incomplete definition of type 'struct __window' mvcur(curscr->cury, curscr->curx, LINES - 1, 0); ~~~~~~^ /usr/include/curses.h:239:16: note: forward declaration of 'struct __window' typedef struct __window WINDOW; ^ 2 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/games/angband-tty/work/angband-283/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/angband-tty *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/angband-tty