>>> brogue: Building testing/brogue 1.14.1-r0 (using abuild 3.14.1-r3) started Fri, 15 Nov 2024 01:10:42 +0000 >>> brogue: Validating /home/buildozer/aports/testing/brogue/APKBUILD... >>> brogue: Analyzing dependencies... >>> brogue: Installing for build: build-base sdl2 sdl2_image sdl2-dev sdl2_image-dev (1/57) Installing sdl2 (2.30.9-r0) (2/57) Installing sdl2_image (2.8.2-r0) (3/57) Installing linux-headers (6.6-r1) (4/57) Installing hwdata-pci (0.388-r0) (5/57) Installing libpciaccess (0.18.1-r0) (6/57) Installing libdrm (2.4.123-r1) (7/57) Installing libpciaccess-dev (0.18.1-r0) (8/57) Installing libdrm-dev (2.4.123-r1) (9/57) Installing libxau (1.0.11-r4) (10/57) Installing xorgproto (2024.1-r0) (11/57) Installing libxau-dev (1.0.11-r4) (12/57) Installing libmd (1.1.0-r0) (13/57) Installing libbsd (0.12.2-r0) (14/57) Installing libxdmcp (1.1.5-r1) (15/57) Installing libxcb (1.16.1-r0) (16/57) Installing libx11 (1.8.10-r0) (17/57) Installing libxext (1.3.6-r2) (18/57) Installing libffi (3.4.6-r0) (19/57) Installing gdbm (1.24-r0) (20/57) Installing mpdecimal (4.0.0-r0) (21/57) Installing libpanelw (6.5_p20241006-r3) (22/57) Installing sqlite-libs (3.47.0-r0) (23/57) Installing python3 (3.12.7-r1) (24/57) Installing python3-pycache-pyc0 (3.12.7-r1) (25/57) Installing pyc (3.12.7-r1) (26/57) Installing xcb-proto-pyc (1.17.0-r0) (27/57) Installing python3-pyc (3.12.7-r1) (28/57) Installing xcb-proto (1.17.0-r0) (29/57) Installing libxdmcp-dev (1.1.5-r1) (30/57) Installing libxcb-dev (1.16.1-r0) (31/57) Installing xtrans (1.5.1-r0) (32/57) Installing libx11-dev (1.8.10-r0) (33/57) Installing libxext-dev (1.3.6-r2) (34/57) Installing libxdamage (1.1.6-r5) (35/57) Installing libxfixes (6.0.1-r4) (36/57) Installing libxfixes-dev (6.0.1-r4) (37/57) Installing libxdamage-dev (1.1.6-r5) (38/57) Installing libxshmfence (1.3.2-r6) (39/57) Installing libxshmfence-dev (1.3.2-r6) (40/57) Installing libxml2 (2.13.4-r3) (41/57) Installing llvm19-libs (19.1.2-r0) (42/57) Installing mesa-glapi (24.2.7-r0) (43/57) Installing mesa (24.2.7-r0) (44/57) Installing wayland-libs-server (1.23.1-r0) (45/57) Installing mesa-gbm (24.2.7-r0) (46/57) Installing wayland-libs-client (1.23.1-r0) (47/57) Installing mesa-egl (24.2.7-r0) (48/57) Installing libxxf86vm (1.1.5-r6) (49/57) Installing mesa-gl (24.2.7-r0) (50/57) Installing mesa-gles (24.2.7-r0) (51/57) Installing mesa-osmesa (24.2.7-r0) (52/57) Installing mesa-xatracker (24.2.7-r0) (53/57) Installing libxxf86vm-dev (1.1.5-r6) (54/57) Installing mesa-dev (24.2.7-r0) (55/57) Installing sdl2-dev (2.30.9-r0) (56/57) Installing sdl2_image-dev (2.8.2-r0) (57/57) Installing .makedepends-brogue (20241115.011044) Executing busybox-1.37.0-r7.trigger OK: 603 MiB in 165 packages >>> brogue: Cleaning up srcdir >>> brogue: Cleaning up pkgdir >>> brogue: Cleaning up tmpdir >>> brogue: Fetching https://distfiles.alpinelinux.org/distfiles/edge/BrogueCE-1.14.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> brogue: Fetching BrogueCE-1.14.1.tar.gz::https://github.com/tmewett/BrogueCE/archive/refs/tags/v1.14.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 1314k 0 8723 0 0 6098 0 0:03:40 0:00:01 0:03:39 6098 88 1314k 88 1157k 0 0 479k 0 0:00:02 0:00:02 --:--:-- 1166k 100 1314k 100 1314k 0 0 544k 0 0:00:02 0:00:02 --:--:-- 1323k >>> brogue: Fetching https://distfiles.alpinelinux.org/distfiles/edge/BrogueCE-1.14.1.tar.gz >>> brogue: Checking sha512sums... BrogueCE-1.14.1.tar.gz: OK brogue: OK brogue.desktop: OK >>> brogue: Unpacking /var/cache/distfiles/BrogueCE-1.14.1.tar.gz... mkdir -p vars gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Architect.c -o src/brogue/Architect.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Buttons.c -o src/brogue/Buttons.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Combat.c -o src/brogue/Combat.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Dijkstra.c -o src/brogue/Dijkstra.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Globals.c -o src/brogue/Globals.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/GlobalsBase.c -o src/brogue/GlobalsBase.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Grid.c -o src/brogue/Grid.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/IO.c -o src/brogue/IO.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Items.c -o src/brogue/Items.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Light.c -o src/brogue/Light.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/MainMenu.c -o src/brogue/MainMenu.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Math.c -o src/brogue/Math.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Monsters.c -o src/brogue/Monsters.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Movement.c -o src/brogue/Movement.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/PowerTables.c -o src/brogue/PowerTables.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Recordings.c -o src/brogue/Recordings.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/RogueMain.c -o src/brogue/RogueMain.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/SeedCatalog.c -o src/brogue/SeedCatalog.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Time.c -o src/brogue/Time.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Utilities.c -o src/brogue/Utilities.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/brogue/Wizard.c -o src/brogue/Wizard.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -DBROGUE_EXTRA_VERSION='""' -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/variants/GlobalsBrogue.c -o src/variants/GlobalsBrogue.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -DBROGUE_EXTRA_VERSION='""' -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/variants/GlobalsRapidBrogue.c -o src/variants/GlobalsRapidBrogue.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/platform/main.c -o src/platform/main.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/platform/platformdependent.c -o src/platform/platformdependent.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/platform/null-platform.c -o src/platform/null-platform.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/platform/sdl2-platform.c -o src/platform/sdl2-platform.o gcc -DDATADIR=/usr/share/brogue -DBROGUE_SDL -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -c src/platform/tiles.c -o src/platform/tiles.o src/brogue/Movement.c: In function 'describedItemName': src/brogue/Movement.c:132:18: warning: passing argument 1 of 'itemName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | itemName(theItem, description, true, true, NULL); | ^~~~~~~ In file included from src/brogue/Movement.c:24: src/brogue/Rogue.h:3293:25: note: expected 'item *' but argument is of type 'const item *' 3293 | void itemName(item *theItem, char *root, boolean includeDetails, boolean includeArticle, const color *baseColor); | ~~~~~~^~~~~~~ src/brogue/Movement.c:134:22: warning: passing argument 1 of 'itemName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | itemName(theItem, description, false, true, NULL); | ^~~~~~~ src/brogue/Rogue.h:3293:25: note: expected 'item *' but argument is of type 'const item *' 3293 | void itemName(item *theItem, char *root, boolean includeDetails, boolean includeArticle, const color *baseColor); | ~~~~~~^~~~~~~ src/brogue/Movement.c: At top level: src/brogue/Movement.c:141:29: warning: argument 1 of type 'char *' declared as a pointer [-Warray-parameter=] 141 | void describeLocation(char *buf, short x, short y) { | ~~~~~~^~~ src/brogue/Rogue.h:3061:32: note: previously declared as an array 'char[79]' 3061 | void describeLocation(char buf[DCOLS], short x, short y); | ~~~~~^~~~~~~~~~ src/brogue/Movement.c: In function 'abortAttackAgainstAcidicTarget': src/brogue/Movement.c:565:41: warning: passing argument 1 of 'canSeeMonster' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 565 | && canSeeMonster(hitList[i]) | ~~~~~~~^~~ src/brogue/Rogue.h:3229:37: note: expected 'creature *' but argument is of type 'const creature *' 3229 | boolean canSeeMonster(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Movement.c:571:47: warning: passing argument 2 of 'monsterName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 571 | monsterName(monstName, hitList[i], true); | ~~~~~~~^~~ src/brogue/Rogue.h:3231:43: note: expected 'creature *' but argument is of type 'const creature *' 3231 | void monsterName(char *buf, creature *monst, boolean includeArticle); | ~~~~~~~~~~^~~~~ src/brogue/Movement.c: In function 'abortAttackAgainstDiscordantAlly': src/brogue/Movement.c:594:37: warning: passing argument 1 of 'canSeeMonster' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 594 | && canSeeMonster(hitList[i])) { | ~~~~~~~^~~ src/brogue/Rogue.h:3229:37: note: expected 'creature *' but argument is of type 'const creature *' 3229 | boolean canSeeMonster(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Movement.c:597:43: warning: passing argument 2 of 'monsterName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 597 | monsterName(monstName, hitList[i], true); | ~~~~~~~^~~ src/brogue/Rogue.h:3231:43: note: expected 'creature *' but argument is of type 'const creature *' 3231 | void monsterName(char *buf, creature *monst, boolean includeArticle); | ~~~~~~~~~~^~~~~ src/brogue/Movement.c: In function 'handleSpearAttacks': src/brogue/Movement.c:779:37: warning: passing argument 2 of 'attack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 779 | attack(attacker, hitList[i], false); | ~~~~~~~^~~ src/brogue/Rogue.h:3240:50: note: expected 'creature *' but argument is of type 'const creature *' 3240 | boolean attack(creature *attacker, creature *defender, boolean lungeAttack); | ~~~~~~~~~~^~~~~~~~ src/brogue/Movement.c: In function 'playerMoves': src/brogue/Movement.c:1004:52: warning: passing argument 2 of 'attack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1004 | if (attack(&player, hitList[i], false)) { | ~~~~~~~^~~ src/brogue/Rogue.h:3240:50: note: expected 'creature *' but argument is of type 'const creature *' 3240 | boolean attack(creature *attacker, creature *defender, boolean lungeAttack); | ~~~~~~~~~~^~~~~~~~ src/brogue/Movement.c:1216:48: warning: passing argument 2 of 'attack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1216 | if (attack(&player, hitList[i], (rogue.weapon && (rogue.weapon->flags & ITEM_LUNGE_ATTACKS)))) { | ~~~~~~~^~~ src/brogue/Rogue.h:3240:50: note: expected 'creature *' but argument is of type 'const creature *' 3240 | boolean attack(creature *attacker, creature *defender, boolean lungeAttack); | ~~~~~~~~~~^~~~~~~~ src/brogue/Architect.c:988:29: warning: argument 6 of type 'item *[200]' with mismatched bound [-Warray-parameter=] 988 | item *parentSpawnedItems[MACHINES_BUFFER_LENGTH], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/brogue/Architect.c:24: src/brogue/Rogue.h:2905:33: note: previously declared as 'item *[50]' 2905 | item *parentSpawnedItems[50], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/platform/platformdependent.c: In function 'saveRunHistory': src/brogue/Architect.c:989:33: warning: argument 7 of type 'creature *[200]' with mismatched bound [-Warray-parameter=] 989 | creature *parentSpawnedMonsters[MACHINES_BUFFER_LENGTH]) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Rogue.h:2906:37: note: previously declared as 'creature *[50]' 2906 | creature *parentSpawnedMonsters[50]); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ src/platform/platformdependent.c:495:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 495 | fprintf(runHistoryFile, "%llu\t%li\t%s\t%s\t%i\t%i\t%i\t%i\t%i\n", rogue.seed, (long) time(NULL), result, killedBy, | ~~~^ ~~~~~~~~~~ | | | | long long unsigned int uint64_t {aka long unsigned int} | %lu src/platform/platformdependent.c: In function 'loadRunHistory': src/brogue/SeedCatalog.c: In function 'printSeedCatalogAltars': src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 6 [-Wstringop-overflow=] 227 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, 1, "altar", "resurrection altar", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | NO_ENCHANTMENT_STRING, NO_RUNIC_STRING, vaultNumber, NO_OPENS_VAULT_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | NO_CARRIED_BY_MONSTER_STRING, NO_ALLY_STATUS_STRING, NO_MUTATION_STRING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:227:21: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 19 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: note: referencing argument 8 of type 'char[10]' src/platform/platformdependent.c:534:37: warning: format '%llu' expects argument of type 'long long unsigned int *', but argument 3 has type 'uint64_t *' {aka 'long unsigned int *'} [-Wformat=] 534 | int vals = sscanf(line, "%llu\t%li\t%s\t%[^\t]\t%i\t%i\t%i\t%i\t%i\n", &run->seed, &run->dateNumber, | ~~~^ ~~~~~~~~~~ | | | | long long unsigned int * uint64_t * {aka long unsigned int *} | %lu src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 20 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:227:21: warning: 'printSeedCatalogCsvLine' accessing 100 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:227:21: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 6 [-Wstringop-overflow=] 244 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, 1, "altar", "commutation altar", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | NO_ENCHANTMENT_STRING, NO_RUNIC_STRING, vaultNumber, NO_OPENS_VAULT_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | NO_CARRIED_BY_MONSTER_STRING, NO_ALLY_STATUS_STRING, NO_MUTATION_STRING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:244:17: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 18 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 20 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:244:17: warning: 'printSeedCatalogCsvLine' accessing 100 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:244:17: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c: In function 'printSeedCatalogFloorGold': src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 5 [-Wstringop-overflow=] 185 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, gold, "gold", kindName, NO_ENCHANTMENT_STRING, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 186 | NO_RUNIC_STRING, NO_VAULT_STRING, NO_OPENS_VAULT_STRING, NO_CARRIED_BY_MONSTER_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 187 | NO_ALLY_STATUS_STRING, NO_MUTATION_STRING); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:185:9: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 20 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:185:9: warning: 'printSeedCatalogCsvLine' accessing 100 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:185:9: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c: In function 'printSeedCatalogItem': src/brogue/SeedCatalog.c:102:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 20 [-Wstringop-overflow=] 102 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, theItem->quantity, categoryName, kindName, enchantment, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 103 | runicName, vaultNumber, opensVaultNumber, carriedByMonsterName, NO_ALLY_STATUS_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 | mutationName); | ~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:102:9: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 5 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:102:9: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 30 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:102:9: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:102:9: warning: 'printSeedCatalogCsvLine' accessing 20 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:102:9: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:102:9: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c: In function 'printSeedCatalogMonster': src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 10 [-Wstringop-overflow=] 135 | printSeedCatalogCsvLine(rogue.seed, rogue.depthLevel, 1, categoryName, theMonster->info.monsterName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 136 | NO_ENCHANTMENT_STRING, NO_RUNIC_STRING, NO_VAULT_STRING, NO_OPENS_VAULT_STRING, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 137 | NO_CARRIED_BY_MONSTER_STRING, allyStatusName, mutationName); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/SeedCatalog.c:135:9: note: referencing argument 4 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: note: referencing argument 5 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 6 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 7 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 8 of type 'char[10]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 10 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 9 of type 'char[10]' src/brogue/SeedCatalog.c:135:9: warning: 'printSeedCatalogCsvLine' accessing 50 bytes in a region of size 1 [-Wstringop-overflow=] src/brogue/SeedCatalog.c:135:9: note: referencing argument 10 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: note: referencing argument 11 of type 'char[20]' src/brogue/SeedCatalog.c:135:9: note: referencing argument 12 of type 'char[100]' src/brogue/SeedCatalog.c:36:13: note: in a call to function 'printSeedCatalogCsvLine' 36 | static void printSeedCatalogCsvLine(uint64_t seed, short depth, short quantity, char categoryName[50], char kindName[50], | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from src/brogue/Recordings.c:26: src/brogue/Recordings.c: In function 'describeKeystroke': src/brogue/Rogue.h:1225:29: warning: excess elements in array initializer 1225 | #define UNKNOWN_KEY (128+19) | ^ src/brogue/Recordings.c:1413:19: note: in expansion of macro 'UNKNOWN_KEY' 1413 | NUMPAD_9, UNKNOWN_KEY}; | ^~~~~~~~~~~ src/brogue/Rogue.h:1225:29: note: (near initialization for 'keyList') 1225 | #define UNKNOWN_KEY (128+19) | ^ src/brogue/Recordings.c:1413:19: note: in expansion of macro 'UNKNOWN_KEY' 1413 | NUMPAD_9, UNKNOWN_KEY}; | ^~~~~~~~~~~ src/brogue/Recordings.c: In function 'seek': src/brogue/Recordings.c:777:13: warning: 'printProgressBar' reading 100 bytes from a region of size 21 [-Wstringop-overread] 777 | printProgressBar((COLS - 20) / 2, ROWS / 2, "[ Loading... ]", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 778 | rogue.playerTurnNumber - startTurnNumber, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 779 | targetTurnNumber - startTurnNumber, &darkPurple, false); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Recordings.c:777:13: note: referencing argument 3 of type 'const char[100]' src/brogue/Rogue.h:2963:10: note: in a call to function 'printProgressBar' 2963 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim); | ^~~~~~~~~~~~~~~~ src/brogue/Recordings.c: In function 'loadSavedGame': src/brogue/Recordings.c:1378:17: warning: 'printProgressBar' reading 100 bytes from a region of size 21 [-Wstringop-overread] 1378 | printProgressBar((COLS - 20) / 2, ROWS / 2, "[ Loading... ]", recordingLocation, lengthOfPlaybackFile, &darkPurple, false); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Recordings.c:1378:17: note: referencing argument 3 of type 'const char[100]' src/brogue/Rogue.h:2963:10: note: in a call to function 'printProgressBar' 2963 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim); | ^~~~~~~~~~~~~~~~ src/brogue/Monsters.c: In function 'moveMonster': src/brogue/Time.c: In function 'handleHealthAlerts': src/brogue/Monsters.c:3879:50: warning: passing argument 2 of 'attack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3879 | attack(monst, hitList[i], false); | ~~~~~~~^~~ In file included from src/brogue/Monsters.c:24: src/brogue/Rogue.h:3240:50: note: expected 'creature *' but argument is of type 'const creature *' 3240 | boolean attack(creature *attacker, creature *defender, boolean lungeAttack); | ~~~~~~~~~~^~~~~~~~ src/brogue/Time.c:901:17: warning: 'flashCreatureAlert' accessing 200 bytes in a region of size 79 [-Wstringop-overflow=] 901 | flashCreatureAlert(&player, buf, &badMessageColor, &darkRed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Time.c:901:17: note: referencing argument 2 of type 'char[200]' src/brogue/Time.c:867:13: note: in a call to function 'flashCreatureAlert' 867 | static void flashCreatureAlert(creature *monst, char msg[200], const color *foreColor, const color *backColor) { | ^~~~~~~~~~~~~~~~~~ src/brogue/Time.c:918:21: warning: 'flashCreatureAlert' accessing 200 bytes in a region of size 79 [-Wstringop-overflow=] 918 | flashCreatureAlert(&player, buf, &yellow, &darkGreen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/Time.c:918:21: note: referencing argument 2 of type 'char[200]' src/brogue/Time.c:867:13: note: in a call to function 'flashCreatureAlert' 867 | static void flashCreatureAlert(creature *monst, char msg[200], const color *foreColor, const color *backColor) { | ^~~~~~~~~~~~~~~~~~ src/brogue/Monsters.c: In function 'getMonsterDominationText': src/brogue/Monsters.c:4216:28: warning: passing argument 2 of 'monsterName' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4216 | monsterName(monstName, monst, true); | ^~~~~ src/brogue/Monsters.c:256:39: note: expected 'creature *' but argument is of type 'const creature *' 256 | void monsterName(char *buf, creature *monst, boolean includeArticle) { | ~~~~~~~~~~^~~~~ src/brogue/Monsters.c:4223:36: warning: passing argument 1 of 'wandDominate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4223 | successChance = wandDominate(monst); | ^~~~~ src/brogue/Rogue.h:3458:34: note: expected 'creature *' but argument is of type 'const creature *' 3458 | short wandDominate(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Items.c: In function 'itemMagicPolarityIsKnown': src/brogue/Items.c:5175:38: warning: passing argument 1 of 'itemMagicPolarity' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5175 | return itemMagicPolarity(theItem) == magicPolarity; | ^~~~~~~ In file included from src/brogue/Items.c:25: src/brogue/Rogue.h:3393:33: note: expected 'item *' but argument is of type 'const item *' 3393 | int itemMagicPolarity(item *theItem); | ~~~~~~^~~~~~~ src/brogue/Items.c: In function 'canAutoTargetMonster': src/brogue/Items.c:5199:27: warning: passing argument 1 of 'canSeeMonster' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5199 | || !canSeeMonster(monst) | ^~~~~ src/brogue/Rogue.h:3229:37: note: expected 'creature *' but argument is of type 'const creature *' 3229 | boolean canSeeMonster(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Items.c:5243:81: warning: passing argument 1 of 'wandDominate' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5243 | || (isEnemy && theBolt.boltEffect == BE_DOMINATION && (wandDominate(monst) <= 0)) | ^~~~~ src/brogue/Rogue.h:3458:34: note: expected 'creature *' but argument is of type 'const creature *' 3458 | short wandDominate(creature *monst); | ~~~~~~~~~~^~~~~ src/brogue/Items.c:5250:46: warning: passing argument 1 of 'negationWillAffectMonster' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5250 | return negationWillAffectMonster(monst, true); | ^~~~~ src/brogue/Items.c:3678:52: note: expected 'creature *' but argument is of type 'const creature *' 3678 | static boolean negationWillAffectMonster(creature *monst, boolean isBolt) { | ~~~~~~~~~~^~~~~ src/brogue/Items.c: In function 'chooseTarget': src/brogue/Items.c:5614:47: warning: passing argument 1 of 'boltForItem' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5614 | theBolt = boltCatalog[boltForItem(theItem)]; | ^~~~~~~ src/brogue/Items.c:4333:33: note: expected 'item *' but argument is of type 'const item *' 4333 | enum boltType boltForItem(item *theItem) { | ~~~~~~^~~~~~~ src/brogue/IO.c: In function 'printMonsterInfo': src/brogue/IO.c:4630:13: warning: 'printProgressBar' reading 100 bytes from a region of size 10 [-Wstringop-overread] 4630 | printProgressBar(0, y++, "Nutrition", player.status[STATUS_NUTRITION], STOMACH_SIZE, &blueBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4630:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4632:13: warning: 'printProgressBar' reading 100 bytes from a region of size 19 [-Wstringop-overread] 4632 | printProgressBar(0, y++, "Nutrition (Hungry)", player.status[STATUS_NUTRITION], STOMACH_SIZE, &blueBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4632:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4634:13: warning: 'printProgressBar' reading 100 bytes from a region of size 17 [-Wstringop-overread] 4634 | printProgressBar(0, y++, "Nutrition (Weak)", player.status[STATUS_NUTRITION], STOMACH_SIZE, &blueBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4634:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4636:13: warning: 'printProgressBar' reading 100 bytes from a region of size 18 [-Wstringop-overread] 4636 | printProgressBar(0, y++, "Nutrition (Faint)", player.status[STATUS_NUTRITION], STOMACH_SIZE, &blueBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4636:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4649:17: warning: 'printProgressBar' reading 100 bytes from a region of size 11 [-Wstringop-overread] 4649 | printProgressBar(0, y++, (monst == &player ? "Levitating" : "Flying"), monst->status[i], monst->maxStatus[i], &redBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4649:17: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c:4672:13: warning: 'printProgressBar' reading 100 bytes from a region of size 40 [-Wstringop-overread] 4672 | printProgressBar(0, y++, monsterText[monst->info.monsterID].absorbStatus, monst->corpseAbsorptionCounter, 20, &redBar, dim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:4672:13: note: referencing argument 3 of type 'const char[100]' src/brogue/IO.c:4418:6: note: in a call to function 'printProgressBar' 4418 | void printProgressBar(short x, short y, const char barLabel[COLS], long amtFilled, long amtMax, const color *fillColor, boolean dim) { | ^~~~~~~~~~~~~~~~ src/brogue/IO.c: In function 'formatCountedMessage.constprop.isra': src/brogue/IO.c:3047:44: warning: ' (x' directive output may be truncated writing 3 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 3047 | length = snprintf(buffer, size, "%s (x%d)", m->message, m->count); | ^~~ src/brogue/IO.c:3047:41: note: directive argument in the range [2, 99] 3047 | length = snprintf(buffer, size, "%s (x%d)", m->message, m->count); | ^~~~~~~~~~ src/brogue/IO.c:3047:18: note: 'snprintf' output between 6 and 206 bytes into a destination of size 200 3047 | length = snprintf(buffer, size, "%s (x%d)", m->message, m->count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c:3045:44: warning: ' (many)' directive output may be truncated writing 7 bytes into a region of size between 1 and 200 [-Wformat-truncation=] 3045 | length = snprintf(buffer, size, "%s (many)", m->message); | ^~~~~~~ src/brogue/IO.c:3045:18: note: 'snprintf' output between 8 and 207 bytes into a destination of size 200 3045 | length = snprintf(buffer, size, "%s (many)", m->message); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/brogue/IO.c: In function 'printTextBox': src/brogue/IO.c:5042:72: warning: 'by' may be used uninitialized [-Wmaybe-uninitialized] 5042 | return buttonInputLoop(buttons, buttonCount, x2, y2, width, by - y2 + 1 + padLines, NULL); | ~~~^~~~ src/brogue/IO.c:4980:37: note: 'by' was declared here 4980 | short x2, y2, lineCount, i, bx, by, padLines; | ^~ gcc -Isrc/brogue -Isrc/platform -Isrc/variants -std=c99 -Wall -Wpedantic -Werror=implicit -Wno-parentheses -Wno-unused-result -Wformat -Werror=format-security -Wformat-overflow=0 -Wmissing-prototypes -I/usr/include/SDL2 -D_REENTRANT -O2 -Os -fstack-clash-protection -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o bin/brogue src/brogue/Architect.o src/brogue/Buttons.o src/brogue/Combat.o src/brogue/Dijkstra.o src/brogue/Globals.o src/brogue/GlobalsBase.o src/brogue/Grid.o src/brogue/IO.o src/brogue/Items.o src/brogue/Light.o src/brogue/MainMenu.o src/brogue/Math.o src/brogue/Monsters.o src/brogue/Movement.o src/brogue/PowerTables.o src/brogue/Recordings.o src/brogue/RogueMain.o src/brogue/SeedCatalog.o src/brogue/Time.o src/brogue/Utilities.o src/brogue/Wizard.o src/variants/GlobalsBrogue.o src/variants/GlobalsRapidBrogue.o src/platform/main.o src/platform/platformdependent.o src/platform/null-platform.o src/platform/sdl2-platform.o src/platform/tiles.o -lm -L/usr/lib -lSDL2 -lSDL2_image >>> brogue: Entering fakeroot... >>> brogue*: Running postcheck for brogue >>> brogue*: Preparing package brogue... >>> brogue*: Stripping binaries >>> brogue*: Scanning shared objects >>> brogue*: Tracing dependencies... sdl2 sdl2_image so:libSDL2-2.0.so.0 so:libSDL2_image-2.0.so.0 so:libc.musl-ppc64le.so.1 >>> brogue*: Package size: 1.9 MB >>> brogue*: Compressing data... >>> brogue*: Create checksum... >>> brogue*: Create brogue-1.14.1-r0.apk >>> brogue: Build complete at Fri, 15 Nov 2024 01:10:54 +0000 elapsed time 0h 0m 12s >>> brogue: Cleaning up srcdir >>> brogue: Cleaning up pkgdir >>> brogue: Uninstalling dependencies... (1/57) Purging .makedepends-brogue (20241115.011044) (2/57) Purging sdl2_image-dev (2.8.2-r0) (3/57) Purging sdl2_image (2.8.2-r0) (4/57) Purging python3-pyc (3.12.7-r1) (5/57) Purging python3-pycache-pyc0 (3.12.7-r1) (6/57) Purging xcb-proto-pyc (1.17.0-r0) (7/57) Purging pyc (3.12.7-r1) (8/57) Purging sdl2-dev (2.30.9-r0) (9/57) Purging sdl2 (2.30.9-r0) (10/57) Purging mesa-dev (24.2.7-r0) (11/57) Purging libxdamage-dev (1.1.6-r5) (12/57) Purging libxdamage (1.1.6-r5) (13/57) Purging libxshmfence-dev (1.3.2-r6) (14/57) Purging mesa-egl (24.2.7-r0) (15/57) Purging mesa-gbm (24.2.7-r0) (16/57) Purging mesa-gl (24.2.7-r0) (17/57) Purging mesa-gles (24.2.7-r0) (18/57) Purging mesa-osmesa (24.2.7-r0) (19/57) Purging mesa-xatracker (24.2.7-r0) (20/57) Purging mesa (24.2.7-r0) (21/57) Purging wayland-libs-client (1.23.1-r0) (22/57) Purging wayland-libs-server (1.23.1-r0) (23/57) Purging libxxf86vm-dev (1.1.5-r6) (24/57) Purging libxxf86vm (1.1.5-r6) (25/57) Purging libxfixes-dev (6.0.1-r4) (26/57) Purging libxfixes (6.0.1-r4) (27/57) Purging libxext-dev (1.3.6-r2) (28/57) Purging libxext (1.3.6-r2) (29/57) Purging libx11-dev (1.8.10-r0) (30/57) Purging xtrans (1.5.1-r0) (31/57) Purging libx11 (1.8.10-r0) (32/57) Purging libxcb-dev (1.16.1-r0) (33/57) Purging libxcb (1.16.1-r0) (34/57) Purging xcb-proto (1.17.0-r0) (35/57) Purging python3 (3.12.7-r1) (36/57) Purging gdbm (1.24-r0) (37/57) Purging libdrm-dev (2.4.123-r1) (38/57) Purging linux-headers (6.6-r1) (39/57) Purging libdrm (2.4.123-r1) (40/57) Purging libpciaccess-dev (0.18.1-r0) (41/57) Purging libpciaccess (0.18.1-r0) (42/57) Purging hwdata-pci (0.388-r0) (43/57) Purging libxdmcp-dev (1.1.5-r1) (44/57) Purging libxdmcp (1.1.5-r1) (45/57) Purging libbsd (0.12.2-r0) (46/57) Purging llvm19-libs (19.1.2-r0) (47/57) Purging libffi (3.4.6-r0) (48/57) Purging libmd (1.1.0-r0) (49/57) Purging libpanelw (6.5_p20241006-r3) (50/57) Purging libxau-dev (1.0.11-r4) (51/57) Purging libxau (1.0.11-r4) (52/57) Purging libxml2 (2.13.4-r3) (53/57) Purging libxshmfence (1.3.2-r6) (54/57) Purging mesa-glapi (24.2.7-r0) (55/57) Purging mpdecimal (4.0.0-r0) (56/57) Purging sqlite-libs (3.47.0-r0) (57/57) Purging xorgproto (2024.1-r0) Executing busybox-1.37.0-r7.trigger OK: 278 MiB in 108 packages >>> brogue: Updating the testing/ppc64le repository index... >>> brogue: Signing the index...