>>> Building on exopi-4 under games/dungeon-crawl BDEPENDS = [archivers/bzip2] DIST = [games/dungeon-crawl:dc400b26-src.tbz2] FULLPKGNAME = dungeon-crawl-4.0.0b26p5 Woken up devel/p5-Tree-Simple (Junk lock failure for exopi-4 at 1764959933.47711) Received IO (Junk lock obtained for exopi-4 at 1764959942.69) Woken up games/dungeon-crawl >>> Running depends in games/dungeon-crawl at 1764959948.68 /usr/sbin/pkg_add -aI -Drepair bzip2-1.0.8p0 p5-Module-Build-0.4234 was: /usr/sbin/pkg_add -aI -Drepair bzip2-1.0.8p0 /usr/sbin/pkg_add -aI -Drepair bzip2-1.0.8p0 p5-Module-Build-0.4234 >>> Running show-prepare-results in games/dungeon-crawl at 1764959952.64 ===> games/dungeon-crawl ===> Building from scratch dungeon-crawl-4.0.0b26p5 ===> dungeon-crawl-4.0.0b26p5 depends on: bzip2-* -> bzip2-1.0.8p0 ===> Verifying specs: c curses m c++ c++abi pthread ===> found c.102.2 curses.16.0 m.10.1 c++.12.0 c++abi.9.0 pthread.28.1 bzip2-1.0.8p0 (Junk lock released for exopi-4 at 1764959953.71) Woken up devel/p5-Params-Classify distfiles size=823712 >>> Running patch in games/dungeon-crawl at 1764959953.88 ===> games/dungeon-crawl ===> Checking files for dungeon-crawl-4.0.0b26p5 `/exopi-cvs/ports/distfiles/dc400b26-src.tbz2' is up to date. >> (SHA256) all files: OK ===> Extracting for dungeon-crawl-4.0.0b26p5 ===> Patching for dungeon-crawl-4.0.0b26p5 ===> Applying OpenBSD patch patch-docs_crawl_6 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- docs/crawl.6.orig Wed Sep 12 20:46:36 2001 |+++ docs/crawl.6 Tue Feb 17 18:53:51 2015 -------------------------- Patching file docs/crawl.6 using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 708. Hunk #3 succeeded at 937. done ===> Applying OpenBSD patch patch-source_AppHdr_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/AppHdr.h.orig Mon Mar 24 02:05:12 2003 |+++ source/AppHdr.h Wed Oct 19 13:14:04 2005 -------------------------- Patching file source/AppHdr.h using Plan A... Hunk #1 succeeded at 151. Hunk #2 succeeded at 167. Hunk #3 succeeded at 377. Hunk #4 succeeded at 391. done ===> Applying OpenBSD patch patch-source_describe_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/describe.cc |--- source/describe.cc.orig |+++ source/describe.cc -------------------------- Patching file source/describe.cc using Plan A... Hunk #1 succeeded at 21. done ===> Applying OpenBSD patch patch-source_direct_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |ppc, arm: fix the build where char is unsigned by default | |Index: source/direct.cc |--- source/direct.cc.orig |+++ source/direct.cc -------------------------- Patching file source/direct.cc using Plan A... Hunk #1 succeeded at 44. done ===> Applying OpenBSD patch patch-source_effects_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/effects.cc |--- source/effects.cc.orig |+++ source/effects.cc -------------------------- Patching file source/effects.cc using Plan A... Hunk #1 succeeded at 13. done ===> Applying OpenBSD patch patch-source_files_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/files.cc.orig Sat Oct 22 16:03:22 2005 |+++ source/files.cc Sat Oct 22 16:04:16 2005 -------------------------- Patching file source/files.cc using Plan A... Hunk #1 succeeded at 925. done ===> Applying OpenBSD patch patch-source_hiscores_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/hiscores.cc |--- source/hiscores.cc.orig |+++ source/hiscores.cc -------------------------- Patching file source/hiscores.cc using Plan A... Hunk #1 succeeded at 28. done ===> Applying OpenBSD patch patch-source_initfile_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/initfile.cc |--- source/initfile.cc.orig |+++ source/initfile.cc -------------------------- Patching file source/initfile.cc using Plan A... Hunk #1 succeeded at 15. done ===> Applying OpenBSD patch patch-source_it_use3_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/it_use3.cc |--- source/it_use3.cc.orig |+++ source/it_use3.cc -------------------------- Patching file source/it_use3.cc using Plan A... Hunk #1 succeeded at 15. done ===> Applying OpenBSD patch patch-source_itemname_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/itemname.cc |--- source/itemname.cc.orig |+++ source/itemname.cc -------------------------- Patching file source/itemname.cc using Plan A... Hunk #1 succeeded at 2785. done ===> Applying OpenBSD patch patch-source_liblinux_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/liblinux.cc |--- source/liblinux.cc.orig |+++ source/liblinux.cc -------------------------- Patching file source/liblinux.cc using Plan A... Hunk #1 succeeded at 487. done ===> Applying OpenBSD patch patch-source_libutil_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/libutil.cc.orig Tue Oct 18 23:51:48 2005 |+++ source/libutil.cc Tue Oct 18 23:51:54 2005 -------------------------- Patching file source/libutil.cc using Plan A... Hunk #1 succeeded at 11. done ===> Applying OpenBSD patch patch-source_macro_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/macro.cc |--- source/macro.cc.orig |+++ source/macro.cc -------------------------- Patching file source/macro.cc using Plan A... Hunk #1 succeeded at 39. done ===> Applying OpenBSD patch patch-source_mon-util_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |ppc, arm: fix build where char is unsigned by default | |Index: source/mon-util.h |--- source/mon-util.h.orig |+++ source/mon-util.h -------------------------- Patching file source/mon-util.h using Plan A... Hunk #1 succeeded at 115. Hunk #2 succeeded at 144. done ===> Applying OpenBSD patch patch-source_monplace_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/monplace.cc |--- source/monplace.cc.orig |+++ source/monplace.cc -------------------------- Patching file source/monplace.cc using Plan A... Hunk #1 succeeded at 8. done ===> Applying OpenBSD patch patch-source_newgame_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/newgame.cc |--- source/newgame.cc.orig |+++ source/newgame.cc -------------------------- Patching file source/newgame.cc using Plan A... Hunk #1 succeeded at 253. Hunk #2 succeeded at 1916. done ===> Applying OpenBSD patch patch-source_ouch_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/ouch.h.orig Fri Feb 28 02:55:32 2003 |+++ source/ouch.h Tue Feb 17 18:52:57 2015 -------------------------- Patching file source/ouch.h using Plan A... Hunk #1 succeeded at 54. done ===> Applying OpenBSD patch patch-source_randart_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/randart.cc |--- source/randart.cc.orig |+++ source/randart.cc -------------------------- Patching file source/randart.cc using Plan A... Hunk #1 succeeded at 17. done ===> Applying OpenBSD patch patch-source_religion_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/religion.cc.orig Tue Oct 18 23:53:56 2005 |+++ source/religion.cc Tue Oct 18 23:54:14 2005 -------------------------- Patching file source/religion.cc using Plan A... Hunk #1 succeeded at 53. done ===> Applying OpenBSD patch patch-source_skills2_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/skills2.cc |--- source/skills2.cc.orig |+++ source/skills2.cc -------------------------- Patching file source/skills2.cc using Plan A... Hunk #1 succeeded at 20. done ===> Applying OpenBSD patch patch-source_spells4_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/spells4.cc |--- source/spells4.cc.orig |+++ source/spells4.cc -------------------------- Patching file source/spells4.cc using Plan A... Hunk #1 succeeded at 12. done ===> Applying OpenBSD patch patch-source_spl-cast_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- source/spl-cast.h.orig Fri Feb 28 02:55:32 2003 |+++ source/spl-cast.h Tue Feb 17 18:52:57 2015 -------------------------- Patching file source/spl-cast.h using Plan A... Hunk #1 succeeded at 43. done ===> Applying OpenBSD patch patch-source_tags_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source/tags.cc |--- source/tags.cc.orig |+++ source/tags.cc -------------------------- Patching file source/tags.cc using Plan A... Hunk #1 succeeded at 55. 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++ >>> Running configure in games/dungeon-crawl at 1764959955.50 ===> games/dungeon-crawl ===> Generating configure for dungeon-crawl-4.0.0b26p5 ===> Configuring for dungeon-crawl-4.0.0b26p5 >>> Running build in games/dungeon-crawl at 1764959956.15 ===> games/dungeon-crawl ===> Building for dungeon-crawl-4.0.0b26p5 c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c abl-show.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c abyss.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c acr.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c beam.cc beam.cc:2393:19: warning: use of unary operator that may be intended as compound assignment (-=) 2393 | step1 =- step1; | ^~ beam.cc:2394:19: warning: use of unary operator that may be intended as compound assignment (-=) 2394 | step2 =- step2; | ^~ 2 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c chardump.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c cloud.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c command.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c debug.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c delay.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c decks.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c describe.cc describe.cc:83:30: warning: implicit conversion from 'const size_type' (aka 'const unsigned long') to 'unsigned int' changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion] 83 | unsigned int nextLine = std::string::npos; | ~~~~~~~~ ^~~~~~~~~~~~~~~~~ describe.cc:120:26: warning: result of comparison of constant 18446744073709551615 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare] 120 | if (nextLine == std::string::npos) | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ 2 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c direct.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c dungeon.cc dungeon.cc:4082:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 4082 | if (!level_type == LEVEL_DUNGEON) | ^ ~~ dungeon.cc:4082:9: note: add parentheses after the '!' to evaluate the comparison first 4082 | if (!level_type == LEVEL_DUNGEON) | ^ | ( ) dungeon.cc:4082:9: note: add parentheses around left hand side expression to silence this warning 4082 | if (!level_type == LEVEL_DUNGEON) | ^ | ( ) dungeon.cc:5252:18: warning: array subscript is of type 'char' [-Wchar-subscripts] 5252 | romx1[which_room] = 10 + random2(50); | ^~~~~~~~~~~ dungeon.cc:5253:18: warning: array subscript is of type 'char' [-Wchar-subscripts] 5253 | romy1[which_room] = 10 + random2(40); | ^~~~~~~~~~~ dungeon.cc:5254:18: warning: array subscript is of type 'char' [-Wchar-subscripts] 5254 | romx2[which_room] = romx1[which_room] + 2 + random2(8); | ^~~~~~~~~~~ dungeon.cc:5254:38: warning: array subscript is of type 'char' [-Wchar-subscripts] 5254 | romx2[which_room] = romx1[which_room] + 2 + random2(8); | ^~~~~~~~~~~ dungeon.cc:5255:18: warning: array subscript is of type 'char' [-Wchar-subscripts] 5255 | romy2[which_room] = romy1[which_room] + 2 + random2(8); | ^~~~~~~~~~~ dungeon.cc:5255:38: warning: array subscript is of type 'char' [-Wchar-subscripts] 5255 | romy2[which_room] = romy1[which_room] + 2 + random2(8); | ^~~~~~~~~~~ dungeon.cc:5257:22: warning: array subscript is of type 'char' [-Wchar-subscripts] 5257 | while ((romx1[which_room] >= v1x && romx1[which_room] <= v2x | ^~~~~~~~~~~ dungeon.cc:5257:50: warning: array subscript is of type 'char' [-Wchar-subscripts] 5257 | while ((romx1[which_room] >= v1x && romx1[which_room] <= v2x | ^~~~~~~~~~~ dungeon.cc:5258:28: warning: array subscript is of type 'char' [-Wchar-subscripts] 5258 | && romy1[which_room] >= v1y && romy1[which_room] <= v2y) | ^~~~~~~~~~~ dungeon.cc:5258:56: warning: array subscript is of type 'char' [-Wchar-subscripts] 5258 | && romy1[which_room] >= v1y && romy1[which_room] <= v2y) | ^~~~~~~~~~~ dungeon.cc:5259:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 5259 | || (romx2[which_room] >= v1x && romx2[which_room] <= v2x | ^~~~~~~~~~~ dungeon.cc:5259:53: warning: array subscript is of type 'char' [-Wchar-subscripts] 5259 | || (romx2[which_room] >= v1x && romx2[which_room] <= v2x | ^~~~~~~~~~~ dungeon.cc:5260:28: warning: array subscript is of type 'char' [-Wchar-subscripts] 5260 | && romy2[which_room] >= v1y && romy2[which_room] <= v2y)); | ^~~~~~~~~~~ dungeon.cc:5260:56: warning: array subscript is of type 'char' [-Wchar-subscripts] 5260 | && romy2[which_room] >= v1y && romy2[which_room] <= v2y)); | ^~~~~~~~~~~ dungeon.cc:5264:54: warning: array subscript is of type 'char' [-Wchar-subscripts] 5264 | join_the_dots(initial_x, initial_y, romx1[which_room], romy1[which_room], | ^~~~~~~~~~~ dungeon.cc:5264:73: warning: array subscript is of type 'char' [-Wchar-subscripts] 5264 | join_the_dots(initial_x, initial_y, romx1[which_room], romy1[which_room], | ^~~~~~~~~~~ dungeon.cc:5269:29: warning: array subscript is of type 'char' [-Wchar-subscripts] 5269 | for (cnx = romx1[which_room] - 1; cnx < romx2[which_room] + 1; | ^~~~~~~~~~~ dungeon.cc:5269:58: warning: array subscript is of type 'char' [-Wchar-subscripts] 5269 | for (cnx = romx1[which_room] - 1; cnx < romx2[which_room] + 1; | ^~~~~~~~~~~ dungeon.cc:5272:33: warning: array subscript is of type 'char' [-Wchar-subscripts] 5272 | for (cny = romy1[which_room] - 1; cny < romy2[which_room] + 1; | ^~~~~~~~~~~ dungeon.cc:5272:62: warning: array subscript is of type 'char' [-Wchar-subscripts] 5272 | for (cny = romy1[which_room] - 1; cny < romy2[which_room] + 1; | ^~~~~~~~~~~ dungeon.cc:5281:27: warning: array subscript is of type 'char' [-Wchar-subscripts] 5281 | replace_area(romx1[which_room], romy1[which_room], romx2[which_room], | ^~~~~~~~~~~ dungeon.cc:5281:46: warning: array subscript is of type 'char' [-Wchar-subscripts] 5281 | replace_area(romx1[which_room], romy1[which_room], romx2[which_room], | ^~~~~~~~~~~ dungeon.cc:5281:65: warning: array subscript is of type 'char' [-Wchar-subscripts] 5281 | replace_area(romx1[which_room], romy1[which_room], romx2[which_room], | ^~~~~~~~~~~ dungeon.cc:5282:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 5282 | romy2[which_room], DNGN_ROCK_WALL, DNGN_FLOOR); | ^~~~~~~~~~~ dungeon.cc:5286:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 5286 | const int rx1 = romx1[which_room]; | ^~~~~~~~~~~ dungeon.cc:5287:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 5287 | const int rx2 = romx2[which_room]; | ^~~~~~~~~~~ dungeon.cc:5291:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 5291 | const int ry1 = romy1[which_room]; | ^~~~~~~~~~~ dungeon.cc:5292:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 5292 | const int ry2 = romy2[which_room]; | ^~~~~~~~~~~ dungeon.cc:6961:14: warning: array subscript is of type 'char' [-Wchar-subscripts] 6961 | romx1[which_room] = 10 + random2(50); | ^~~~~~~~~~~ dungeon.cc:6962:14: warning: array subscript is of type 'char' [-Wchar-subscripts] 6962 | romy1[which_room] = 10 + random2(40); | ^~~~~~~~~~~ dungeon.cc:6963:14: warning: array subscript is of type 'char' [-Wchar-subscripts] 6963 | romx2[which_room] = romx1[which_room] + 2 + random2(8); | ^~~~~~~~~~~ dungeon.cc:6963:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 6963 | romx2[which_room] = romx1[which_room] + 2 + random2(8); | ^~~~~~~~~~~ dungeon.cc:6964:14: warning: array subscript is of type 'char' [-Wchar-subscripts] 6964 | romy2[which_room] = romy1[which_room] + 2 + random2(8); | ^~~~~~~~~~~ dungeon.cc:6964:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 6964 | romy2[which_room] = romy1[which_room] + 2 + random2(8); | ^~~~~~~~~~~ dungeon.cc:6968:29: warning: array subscript is of type 'char' [-Wchar-subscripts] 6968 | for (cnx = romx1[which_room] - 1; cnx < romx2[which_room] + 1; | ^~~~~~~~~~~ dungeon.cc:6968:58: warning: array subscript is of type 'char' [-Wchar-subscripts] 6968 | for (cnx = romx1[which_room] - 1; cnx < romx2[which_room] + 1; | ^~~~~~~~~~~ dungeon.cc:6971:33: warning: array subscript is of type 'char' [-Wchar-subscripts] 6971 | for (cny = romy1[which_room] - 1; cny < romy2[which_room] + 1; | ^~~~~~~~~~~ dungeon.cc:6971:62: warning: array subscript is of type 'char' [-Wchar-subscripts] 6971 | for (cny = romy1[which_room] - 1; cny < romy2[which_room] + 1; | ^~~~~~~~~~~ dungeon.cc:6980:27: warning: array subscript is of type 'char' [-Wchar-subscripts] 6980 | replace_area(romx1[which_room], romy1[which_room], romx2[which_room], | ^~~~~~~~~~~ dungeon.cc:6980:46: warning: array subscript is of type 'char' [-Wchar-subscripts] 6980 | replace_area(romx1[which_room], romy1[which_room], romx2[which_room], | ^~~~~~~~~~~ dungeon.cc:6980:65: warning: array subscript is of type 'char' [-Wchar-subscripts] 6980 | replace_area(romx1[which_room], romy1[which_room], romx2[which_room], | ^~~~~~~~~~~ dungeon.cc:6981:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 6981 | romy2[which_room], DNGN_ROCK_WALL, DNGN_FLOOR); | ^~~~~~~~~~~ dungeon.cc:6985:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 6985 | const int rx1 = romx1[which_room]; | ^~~~~~~~~~~ dungeon.cc:6986:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 6986 | const int rx2 = romx2[which_room]; | ^~~~~~~~~~~ dungeon.cc:6990:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 6990 | const int ry1 = romy1[which_room]; | ^~~~~~~~~~~ dungeon.cc:6991:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 6991 | const int ry2 = romy2[which_room]; | ^~~~~~~~~~~ dungeon.cc:7293:19: warning: variable 'traps_put2' set but not used [-Wunused-but-set-variable] 7293 | unsigned char traps_put2 = 0; | ^ 48 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c effects.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c fight.cc fight.cc:979:13: warning: '&&' within '||' [-Wlogical-op-parentheses] 979 | if (hit && damage_done > 0 | ~~~~^~~~~~~~~~~~~~~~~~ 980 | || (hit && damage_done < 1 && mons_has_ench(defender,ENCH_INVIS))) | ~~ fight.cc:979:13: note: place parentheses around the '&&' expression to silence this warning 979 | if (hit && damage_done > 0 | ^ | ( ) fight.cc:1722:22: warning: variable 'hit' set but not used [-Wunused-but-set-variable] 1722 | bool hit = true; | ^ fight.cc:2913:9: warning: variable 'mmov_x' set but not used [-Wunused-but-set-variable] 2913 | int mmov_x = 0; | ^ 3 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c files.cc files.cc:220:5: warning: array index 250 is past the end of the array (that has type 'char[250]') [-Warray-bounds] 220 | finalprefix[kFileNameLen] = '\0'; | ^ ~~~~~~~~~~~~ files.cc:204:5: note: array 'finalprefix' declared here 204 | char finalprefix[kFileNameLen]; | ^ 1 warning generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c food.cc food.cc:311:9: warning: variable 'last_item' set but not used [-Wunused-but-set-variable] 311 | int last_item = NON_ITEM; | ^ 1 warning generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c hiscores.cc hiscores.cc:203:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 203 | printf(info); | ^~~~ hiscores.cc:203:20: note: treat the string as an argument to avoid this 203 | printf(info); | ^ | "%s", hiscores.cc:223:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 223 | printf(info); | ^~~~ hiscores.cc:223:20: note: treat the string as an argument to avoid this 223 | printf(info); | ^ | "%s", hiscores.cc:1057:42: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 1057 | strncat( username, "'s", sizeof(username) ); | ^~~~~~~~~~~~~~~~ hiscores.cc:1057:42: note: change the argument to be the free space in the destination buffer minus the terminating null byte 1057 | strncat( username, "'s", sizeof(username) ); | ^~~~~~~~~~~~~~~~ | sizeof(username) - strlen(username) - 1 3 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c initfile.cc initfile.cc:339:18: warning: variable 'line' set but not used [-Wunused-but-set-variable] 339 | unsigned int line = 0; | ^ 1 warning generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c insult.cc insult.cc:87:35: warning: array subscript is of type 'char' [-Wchar-subscripts] 87 | const char *voice = sound_list[ mons_shouts(mons->type) ]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c invent.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c it_use2.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c it_use3.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c item_use.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c itemname.cc itemname.cc:2091:19: warning: array subscript is of type 'char' [-Wchar-subscripts] 2091 | identy[x][jx] = id[x][jx]; | ^~ itemname.cc:2091:22: warning: array subscript is of type 'char' [-Wchar-subscripts] 2091 | identy[x][jx] = id[x][jx]; | ^~~ itemname.cc:2091:31: warning: array subscript is of type 'char' [-Wchar-subscripts] 2091 | identy[x][jx] = id[x][jx]; | ^~ itemname.cc:2091:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 2091 | identy[x][jx] = id[x][jx]; | ^~~ itemname.cc:2105:15: warning: array subscript is of type 'char' [-Wchar-subscripts] 2105 | id[i][j] = ID_UNKNOWN_TYPE; | ^~ itemname.cc:2105:18: warning: array subscript is of type 'char' [-Wchar-subscripts] 2105 | id[i][j] = ID_UNKNOWN_TYPE; | ^~ itemname.cc:2125:27: warning: array subscript is of type 'char' [-Wchar-subscripts] 2125 | id[ IDTYPE_WANDS ][ty] = setting; | ^~~ itemname.cc:2129:29: warning: array subscript is of type 'char' [-Wchar-subscripts] 2129 | id[ IDTYPE_SCROLLS ][ty] = setting; | ^~~ itemname.cc:2133:31: warning: array subscript is of type 'char' [-Wchar-subscripts] 2133 | id[ IDTYPE_JEWELLERY ][ty] = setting; | ^~~ itemname.cc:2137:29: warning: array subscript is of type 'char' [-Wchar-subscripts] 2137 | id[ IDTYPE_POTIONS ][ty] = setting; | ^~~ itemname.cc:2150:34: warning: array subscript is of type 'char' [-Wchar-subscripts] 2150 | return id[ IDTYPE_WANDS ][ty]; | ^~~ itemname.cc:2153:36: warning: array subscript is of type 'char' [-Wchar-subscripts] 2153 | return id[ IDTYPE_SCROLLS ][ty]; | ^~~ itemname.cc:2156:38: warning: array subscript is of type 'char' [-Wchar-subscripts] 2156 | return id[ IDTYPE_JEWELLERY ][ty]; | ^~~ itemname.cc:2159:36: warning: array subscript is of type 'char' [-Wchar-subscripts] 2159 | return id[ IDTYPE_POTIONS ][ty]; | ^~~ itemname.cc:2941:63: warning: array subscript is of type 'char' [-Wchar-subscripts] 2941 | if (nexty == 1 || (i > 0 && !is_random_name_vowel(name[i]))) | ^~ itemname.cc:2943:17: warning: array subscript is of type 'char' [-Wchar-subscripts] 2943 | name[i] = retvow(numb[j]); | ^~ itemname.cc:2944:49: warning: array subscript is of type 'char' [-Wchar-subscripts] 2944 | if ((i == 0 || i == len - 1) && name[i] == 32) | ^~ itemname.cc:2952:71: warning: array subscript is of type 'char' [-Wchar-subscripts] 2952 | if (numb[i / 2] <= 1 && i > 3 && is_random_name_vowel(name[i])) | ^~ itemname.cc:2955:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 2955 | name[i] = numb[j]; | ^~ itemname.cc:2961:53: warning: array subscript is of type 'char' [-Wchar-subscripts] 2961 | if ((nexty == 0 && is_random_name_vowel(name[i])) | ^~ itemname.cc:2962:57: warning: array subscript is of type 'char' [-Wchar-subscripts] 2962 | || (nexty == 1 && !is_random_name_vowel(name[i]))) | ^~ itemname.cc:2971:39: warning: array subscript is of type 'char' [-Wchar-subscripts] 2971 | if (!is_random_name_vowel(name[i])) | ^~ itemname.cc:2984:30: warning: array subscript is of type 'char' [-Wchar-subscripts] 2984 | if (i > 3 && name[i] == 0 && name[i + 1] == 0) | ^~ itemname.cc:2986:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 2986 | name[i] = 0; | ^~ itemname.cc:2991:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 2991 | if (name[i] != 32 && name[i] < 30) | ^~ itemname.cc:2991:38: warning: array subscript is of type 'char' [-Wchar-subscripts] 2991 | if (name[i] != 32 && name[i] < 30) | ^~ itemname.cc:2992:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 2992 | name[i] += 65; | ^~ itemname.cc:2993:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 2993 | if (name[i] > 96) | ^~ itemname.cc:2994:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 2994 | name[i] -= 32; | ^~ itemname.cc:3001:31: warning: array subscript is of type 'char' [-Wchar-subscripts] 3001 | if (i != 0 && name[i] >= 65 && name[i] < 97) | ^~ itemname.cc:3001:48: warning: array subscript is of type 'char' [-Wchar-subscripts] 3001 | if (i != 0 && name[i] >= 65 && name[i] < 97) | ^~ itemname.cc:3004:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 3004 | name[i] += 32; | ^~ itemname.cc:3007:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 3007 | if (name[i] > 97) | ^~ itemname.cc:3010:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 3010 | name[i] -= 32; | ^~ itemname.cc:3013:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 3013 | if (name[i] < 30) | ^~ itemname.cc:3015:36: warning: array subscript is of type 'char' [-Wchar-subscripts] 3015 | if (i == 0 || (name[i] != 32 && name[i - 1] == 32)) | ^~ itemname.cc:3016:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 3016 | name[i] += 65; | ^~ itemname.cc:3018:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 3018 | name[i] += 97; | ^~ itemname.cc:3026:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 3026 | if (name[i] != 32 && name[i] < 30) | ^~ itemname.cc:3026:38: warning: array subscript is of type 'char' [-Wchar-subscripts] 3026 | if (name[i] != 32 && name[i] < 30) | ^~ itemname.cc:3027:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 3027 | name[i] += 97; | ^~ itemname.cc:3032:13: warning: array subscript is of type 'char' [-Wchar-subscripts] 3032 | name[i] += 65; | ^~ itemname.cc:3036:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 3036 | if (name[i] != 32 && name[i] < 30) | ^~ itemname.cc:3036:38: warning: array subscript is of type 'char' [-Wchar-subscripts] 3036 | if (name[i] != 32 && name[i] < 30) | ^~ itemname.cc:3037:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 3037 | name[i] += 97; //97; | ^~ itemname.cc:2878:10: warning: variable 'igo' set but not used [-Wunused-but-set-variable] 2878 | char igo = 0; | ^ itemname.cc:2880:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] 2880 | int x = 0; | ^ 47 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c items.cc items.cc:994:10: warning: variable 'brek' set but not used [-Wunused-but-set-variable] 994 | char brek = 0; | ^ items.cc:1954:35: warning: implicit conversion from 'SPELL_TYPES' to 'unsigned char' changes value from 16384 to 0 [-Wconstant-conversion] 1954 | unsigned char which_miscast = SPTYP_RANDOM; | ~~~~~~~~~~~~~ ^~~~~~~~~~~~ items.cc:2017:37: warning: implicit conversion from 'SPELL_TYPES' to 'unsigned char' changes value from 1024 to 0 [-Wconstant-conversion] 2017 | which_miscast = SPTYP_EARTH; | ~ ^~~~~~~~~~~ 3 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c lev-pand.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c libutil.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c macro.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c maps.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c message.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c misc.cc misc.cc:754:13: warning: variable 'sysg' set but not used [-Wunused-but-set-variable] 754 | int sysg; | ^ misc.cc:540:10: warning: variable 'leave_abyss_pan' set but not used [-Wunused-but-set-variable] 540 | bool leave_abyss_pan = false; | ^ 2 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c monplace.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c mon-pick.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c monstuff.cc monstuff.cc:100:44: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 100 | item.special = ((mimic->x << 8 + mimic->y) & RANDART_SEED_MASK); | ~~ ~~^~~~~~~~~~ monstuff.cc:100:44: note: place parentheses around the '+' expression to silence this warning 100 | item.special = ((mimic->x << 8 + mimic->y) & RANDART_SEED_MASK); | ^ | ( ) monstuff.cc:123:44: warning: operator '<<' has lower precedence than '+'; '+' will be evaluated first [-Wshift-op-parentheses] 123 | item.special = ((mimic->x << 8 + mimic->y) & RANDART_SEED_MASK); | ~~ ~~^~~~~~~~~~ monstuff.cc:123:44: note: place parentheses around the '+' expression to silence this warning 123 | item.special = ((mimic->x << 8 + mimic->y) & RANDART_SEED_MASK); | ^ | ( ) monstuff.cc:2214:18: warning: '&&' within '||' [-Wlogical-op-parentheses] 2213 | else if (monster_habitat(monster->type) == grd[monster->x][monster->y] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2214 | && (one_chance_in(5) | ^~~~~~~~~~~~~~~~~~~~ 2215 | || (grid_distance( monster->x, monster->y, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2216 | you.x_pos, you.y_pos ) > 1 | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2217 | && monster->type != MONS_ELECTRICAL_EEL | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2218 | && monster->type != MONS_LAVA_SNAKE | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2219 | && !one_chance_in(20)) | ~~~~~~~~~~~~~~~~~~~~~~ 2220 | || monster->hit_points <= monster->max_hit_points / 2) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2221 | || env.cgrid[monster->x][monster->y] != EMPTY_CLOUD) | ~~ monstuff.cc:2214:18: note: place parentheses around the '&&' expression to silence this warning 2213 | else if (monster_habitat(monster->type) == grd[monster->x][monster->y] | | ( 2214 | && (one_chance_in(5) | ^ 2215 | || (grid_distance( monster->x, monster->y, 2216 | you.x_pos, you.y_pos ) > 1 2217 | && monster->type != MONS_ELECTRICAL_EEL 2218 | && monster->type != MONS_LAVA_SNAKE 2219 | && !one_chance_in(20)) 2220 | || monster->hit_points <= monster->max_hit_points / 2) | | ) 3 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c monspeak.cc touch mon-util.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c mon-util.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c mstuff2.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c mutation.cc mutation.cc:1187:49: warning: array subscript is of type 'char' [-Wchar-subscripts] 1187 | || random2(10) >= mutation_rarity[mutat] + you.demon_pow[mutat]); | ^~~~~~ mutation.cc:1341:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1341 | mpr(gain_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1351:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1351 | mpr(gain_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1361:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1361 | mpr(gain_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1372:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1372 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1383:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1383 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1392:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1392 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1401:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1401 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1405:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1405 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1414:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1414 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1424:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1424 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1429:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1429 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1434:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1434 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1450:27: warning: array subscript is of type 'char' [-Wchar-subscripts] 1450 | mpr( gain_mutation[ mutat ][ you.mutation[mutat] ], MSGCH_MUTATION ); | ^ ~~~~~ mutation.cc:1469:30: warning: array subscript is of type 'char' [-Wchar-subscripts] 1469 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1497:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1497 | mpr(gain_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1508:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1508 | mpr(gain_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1517:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1517 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1528:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1528 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1538:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1538 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1545:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1545 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1554:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1554 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1562:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1562 | mpr(gain_mutation[mutat][you.mutation[mutat]], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1624:49: warning: array subscript is of type 'char' [-Wchar-subscripts] 1624 | || random2(10) >= mutation_rarity[mutat] | ^~~~~~ mutation.cc:1640:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1640 | mpr(lose_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1645:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1645 | mpr(lose_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1650:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1650 | mpr(lose_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1667:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1667 | mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1671:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1671 | mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1675:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1675 | mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1680:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1680 | mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1686:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1686 | mpr(lose_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1692:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1692 | mpr(lose_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1696:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1696 | mpr(lose_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1703:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1703 | mpr(lose_mutation[mutat][0], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1714:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1714 | mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1720:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1720 | mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1729:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1729 | mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1737:26: warning: array subscript is of type 'char' [-Wchar-subscripts] 1737 | mpr(lose_mutation[mutat][you.mutation[mutat] - 1], MSGCH_MUTATION); | ^~~~~~ mutation.cc:1819:35: warning: array subscript is of type 'char' [-Wchar-subscripts] 1819 | mutation_descrip[ which_mutat ][0], level ); | ^ ~~~~~~~~~~~ mutation.cc:1826:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 1826 | if (mutation_descrip[ which_mutat ][ level - 1 ][0] == '\0') | ^ ~~~~~~~~~~~ mutation.cc:1827:33: warning: array subscript is of type 'char' [-Wchar-subscripts] 1827 | return (mutation_descrip[ which_mutat ][ 0 ]); | ^ ~~~~~~~~~~~ mutation.cc:1829:33: warning: array subscript is of type 'char' [-Wchar-subscripts] 1829 | return (mutation_descrip[ which_mutat ][ level - 1 ]); | ^ ~~~~~~~~~~~ 43 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c newgame.cc touch ouch.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c ouch.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c output.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c overmap.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c player.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c randart.cc randart.cc:1194:9: warning: '&&' within '||' [-Wlogical-op-parentheses] 1193 | || !cmp_equip_race( item, ISFLAG_ELVEN ) | ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1194 | && get_armour_ego_type( item ) != SPARM_STEALTH)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ randart.cc:1194:9: note: place parentheses around the '&&' expression to silence this warning 1193 | || !cmp_equip_race( item, ISFLAG_ELVEN ) | ( 1194 | && get_armour_ego_type( item ) != SPARM_STEALTH)) | ^ | ) 1 warning generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c religion.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c shopping.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c skills.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c skills2.cc skills2.cc:2266:41: warning: array subscript is of type 'char' [-Wchar-subscripts] 2266 | return (spec_skills[species - 1][skill] * 130) / 100; | ^~~~~~ skills2.cc:2268:41: warning: array subscript is of type 'char' [-Wchar-subscripts] 2268 | return (spec_skills[species - 1][skill] * 75) / 100; | ^~~~~~ skills2.cc:2270:41: warning: array subscript is of type 'char' [-Wchar-subscripts] 2270 | return (spec_skills[species - 1][skill]); | ^~~~~~ 3 warnings generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c spells1.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c spells2.cc spells2.cc:1152:53: warning: result of comparison of constant 'MONS_WATER_ELEMENTAL' (434) with expression of type 'unsigned char' is always false [-Wtautological-constant-out-of-range-compare] 1152 | && (restricted_type == 0 || restricted_type == MONS_WATER_ELEMENTAL)) | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ 1 warning generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c spells3.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c spells4.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c spl-book.cc touch spl-cast.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c spl-cast.cc spl-cast.cc:522:10: warning: variable 'spc2' set but not used [-Wunused-but-set-variable] 522 | char spc2 = 0; | ^ 1 warning generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c spl-util.cc spl-util.cc:73:33: warning: array index 210 is past the end of the array (that has type 'int[204]') [-Warray-bounds] 73 | plyrspell_list[x] = plyrspell_list[SPELL_NO_SPELL]; | ^ ~~~~~~~~~~~~~~ spl-util.cc:44:1: note: array 'plyrspell_list' declared here 44 | static int plyrspell_list[NUM_SPELLS]; | ^ 1 warning generated. c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c stuff.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c tags.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c transfor.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c view.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c wpn-misc.cc c++ -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" -c liblinux.cc liblinux.cc:709:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 709 | int x, y; | ^ 1 warning generated. c++ -I/usr/include/ncurses -Wall -DBSD -O2 -pipe -DSAVE_DIR_PATH=\"/usr/local/lib/dungeon-crawl-4.0.0b26/\" abl-show.o abyss.o acr.o beam.o chardump.o cloud.o command.o debug.o delay.o decks.o describe.o direct.o dungeon.o effects.o fight.o files.o food.o hiscores.o initfile.o insult.o invent.o it_use2.o it_use3.o item_use.o itemname.o items.o lev-pand.o libutil.o macro.o maps.o message.o misc.o monplace.o mon-pick.o monstuff.o monspeak.o mon-util.o mstuff2.o mutation.o newgame.o ouch.o output.o overmap.o player.o randart.o religion.o shopping.o skills.o skills2.o spells1.o spells2.o spells3.o spells4.o spl-book.o spl-cast.o spl-util.o stuff.o tags.o transfor.o view.o wpn-misc.o liblinux.o -o crawl -lncurses ld: warning: liblinux.cc(liblinux.o:(itoa(int, char*, int))): warning: sprintf() is often misused, please use snprintf() ld: warning: liblinux.cc(liblinux.o:(cprintf(char const*, ...))): warning: vsprintf() is often misused, please use vsnprintf() ld: warning: stuff.cc(stuff.o:(random2(int))): warning: rand() may return deterministic values, is that what you want? ld: warning: stuff.cc(stuff.o:(canned_msg(unsigned char))): warning: strcat() is almost always misused, please use strlcat() ld: warning: spells4.cc(spells4.o:(cast_ignite_poison(int))): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: randart.cc(randart.o:(make_item_randart(item_def&))): warning: random() may return deterministic values, is that what you want? >>> Running fake in games/dungeon-crawl at 1764960047.90 ===> games/dungeon-crawl ===> Faking installation for dungeon-crawl-4.0.0b26p5 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -s -m 755 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/source/crawl /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/bin/dungeon-crawl-4.0.0b26 chgrp games /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/bin/dungeon-crawl-4.0.0b26 chmod g+s /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/bin/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -d -m 755 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/lib/dungeon-crawl-4.0.0b26 chgrp games /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/lib/dungeon-crawl-4.0.0b26 chmod g+w /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/lib/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/docs/crawl.6 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/man/man6/dungeon-crawl-4.0.0b26.6 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -d -m 755 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/licence.txt /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/init.txt /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/macro.txt /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/docs/buglist.txt /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/docs/changes* /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/docs/crawl.txt /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/docs/todo.txt /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/docs/versions.txt /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/bin/install -c -m 644 /exopi-obj/pobj/dungeon-crawl-4.0.0b26/dc400b26-src/readme.txt /exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/usr/local/share/doc/dungeon-crawl-4.0.0b26/quickstart >>> Running package in games/dungeon-crawl at 1764960049.50 ===> games/dungeon-crawl `/exopi-obj/pobj/dungeon-crawl-4.0.0b26/fake-amd64/.fake_done' is up to date. ===> Building package for dungeon-crawl-4.0.0b26p5 Create /exopi-cvs/ports/packages/amd64/all/dungeon-crawl-4.0.0b26p5.tgz Creating package dungeon-crawl-4.0.0b26p5 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|** | 3% checksumming|**** | 6% checksumming|***** | 9% checksumming|******* | 12% checksumming|********* | 15% checksumming|*********** | 18% checksumming|************* | 21% checksumming|************** | 24% checksumming|**************** | 26% checksumming|****************** | 29% checksumming|******************** | 32% checksumming|********************** | 35% checksumming|*********************** | 38% checksumming|************************* | 41% checksumming|*************************** | 44% checksumming|***************************** | 47% checksumming|******************************* | 50% checksumming|******************************** | 53% checksumming|********************************** | 56% checksumming|************************************ | 59% checksumming|************************************** | 62% checksumming|*************************************** | 65% checksumming|***************************************** | 68% checksumming|******************************************* | 71% checksumming|********************************************* | 74% checksumming|*********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************** | 82% checksumming|**************************************************** | 85% checksumming|****************************************************** | 88% checksumming|******************************************************** | 91% checksumming|********************************************************* | 94% checksumming|*********************************************************** | 97% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*************************************************** | 79% archiving|**************************************************** | 82% archiving|***************************************************** | 82% archiving|******************************************************** | 87% archiving|************************************************************ | 93% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/dungeon-crawl-4.0.0b26p5.tgz >>> Running clean in games/dungeon-crawl at 1764960051.86 ===> games/dungeon-crawl ===> Cleaning for dungeon-crawl-4.0.0b26p5 >>> Ended at 1764960052.40 max_stuck=6.48/waiting-for-lock #29=15.11/depends=3.86/show-prepare-results=1.28/patch=1.73/configure=0.61/build=91.68/fake=1.56/package=2.35/clean=0.75