>>> brogue: Building testing/brogue 1.14.1-r0 (using abuild 3.14.1-r3) started Fri, 15 Nov 2024 01:10:38 +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/63) Installing sdl2 (2.30.9-r0) (2/63) Installing sdl2_image (2.8.2-r0) (3/63) Installing linux-headers (6.6-r1) (4/63) Installing hwdata-pci (0.388-r0) (5/63) Installing libpciaccess (0.18.1-r0) (6/63) Installing libdrm (2.4.123-r1) (7/63) Installing libpciaccess-dev (0.18.1-r0) (8/63) Installing libdrm-dev (2.4.123-r1) (9/63) Installing libxau (1.0.11-r4) (10/63) Installing xorgproto (2024.1-r0) (11/63) Installing libxau-dev (1.0.11-r4) (12/63) Installing libmd (1.1.0-r0) (13/63) Installing libbsd (0.12.2-r0) (14/63) Installing libxdmcp (1.1.5-r1) (15/63) Installing libxcb (1.16.1-r0) (16/63) Installing libx11 (1.8.10-r0) (17/63) Installing libxext (1.3.6-r2) (18/63) Installing libffi (3.4.6-r0) (19/63) Installing gdbm (1.24-r0) (20/63) Installing mpdecimal (4.0.0-r0) (21/63) Installing libpanelw (6.5_p20241006-r3) (22/63) Installing sqlite-libs (3.47.0-r0) (23/63) Installing python3 (3.12.7-r1) (24/63) Installing python3-pycache-pyc0 (3.12.7-r1) (25/63) Installing pyc (3.12.7-r1) (26/63) Installing xcb-proto-pyc (1.17.0-r0) (27/63) Installing python3-pyc (3.12.7-r1) (28/63) Installing xcb-proto (1.17.0-r0) (29/63) Installing libxdmcp-dev (1.1.5-r1) (30/63) Installing libxcb-dev (1.16.1-r0) (31/63) Installing xtrans (1.5.1-r0) (32/63) Installing libx11-dev (1.8.10-r0) (33/63) Installing libxext-dev (1.3.6-r2) (34/63) Installing libxdamage (1.1.6-r5) (35/63) Installing libxfixes (6.0.1-r4) (36/63) Installing libxfixes-dev (6.0.1-r4) (37/63) Installing libxdamage-dev (1.1.6-r5) (38/63) Installing libxshmfence (1.3.2-r6) (39/63) Installing libxshmfence-dev (1.3.2-r6) (40/63) Installing libxml2 (2.13.4-r3) (41/63) Installing llvm19-libs (19.1.2-r0) (42/63) Installing mesa-glapi (24.2.7-r0) (43/63) Installing mesa (24.2.7-r0) (44/63) Installing wayland-libs-server (1.23.1-r0) (45/63) Installing mesa-gbm (24.2.7-r0) (46/63) Installing wayland-libs-client (1.23.1-r0) (47/63) Installing mesa-egl (24.2.7-r0) (48/63) Installing libxxf86vm (1.1.5-r6) (49/63) Installing mesa-gl (24.2.7-r0) (50/63) Installing mesa-gles (24.2.7-r0) (51/63) Installing mesa-osmesa (24.2.7-r0) (52/63) Installing clang19-headers (19.1.2-r0) (53/63) Installing libclc (19.1.2-r0) (54/63) Installing spirv-llvm-translator-libs (19.1.0-r0) (55/63) Installing spirv-tools (1.3.290.0-r0) (56/63) Installing clang19-libs (19.1.2-r0) (57/63) Installing mesa-rusticl (24.2.7-r0) (58/63) Installing mesa-xatracker (24.2.7-r0) (59/63) Installing libxxf86vm-dev (1.1.5-r6) (60/63) Installing mesa-dev (24.2.7-r0) (61/63) Installing sdl2-dev (2.30.9-r0) (62/63) Installing sdl2_image-dev (2.8.2-r0) (63/63) Installing .makedepends-brogue (20241115.011040) Executing busybox-1.37.0-r7.trigger OK: 1039 MiB in 178 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 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 100 1314k 0 1314k 0 0 3792k 0 --:--:-- --:--:-- --:--:-- 3792k >>> 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/edge/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/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/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/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 '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 '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 '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/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/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/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/Recordings.c: In function 'loadSavedGame': 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/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/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/Monsters.c: In function 'moveMonster': src/brogue/Items.c:4333:33: note: expected 'item *' but argument is of type 'const item *' 4333 | enum boltType boltForItem(item *theItem) { | ~~~~~~^~~~~~~ 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: In function 'handleHealthAlerts': 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/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 '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-x86.so.1 >>> brogue*: Package size: 1.7 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:59 +0000 elapsed time 0h 0m 21s >>> brogue: Cleaning up srcdir >>> brogue: Cleaning up pkgdir >>> brogue: Uninstalling dependencies... (1/63) Purging .makedepends-brogue (20241115.011040) (2/63) Purging sdl2_image-dev (2.8.2-r0) (3/63) Purging sdl2_image (2.8.2-r0) (4/63) Purging python3-pyc (3.12.7-r1) (5/63) Purging python3-pycache-pyc0 (3.12.7-r1) (6/63) Purging xcb-proto-pyc (1.17.0-r0) (7/63) Purging pyc (3.12.7-r1) (8/63) Purging sdl2-dev (2.30.9-r0) (9/63) Purging sdl2 (2.30.9-r0) (10/63) Purging mesa-dev (24.2.7-r0) (11/63) Purging libxdamage-dev (1.1.6-r5) (12/63) Purging libxdamage (1.1.6-r5) (13/63) Purging libxshmfence-dev (1.3.2-r6) (14/63) Purging mesa-egl (24.2.7-r0) (15/63) Purging mesa-gbm (24.2.7-r0) (16/63) Purging mesa-gl (24.2.7-r0) (17/63) Purging mesa-gles (24.2.7-r0) (18/63) Purging mesa-osmesa (24.2.7-r0) (19/63) Purging mesa-rusticl (24.2.7-r0) (20/63) Purging clang19-headers (19.1.2-r0) (21/63) Purging libclc (19.1.2-r0) (22/63) Purging mesa-xatracker (24.2.7-r0) (23/63) Purging mesa (24.2.7-r0) (24/63) Purging spirv-llvm-translator-libs (19.1.0-r0) (25/63) Purging spirv-tools (1.3.290.0-r0) (26/63) Purging wayland-libs-client (1.23.1-r0) (27/63) Purging wayland-libs-server (1.23.1-r0) (28/63) Purging clang19-libs (19.1.2-r0) (29/63) Purging libxxf86vm-dev (1.1.5-r6) (30/63) Purging libxxf86vm (1.1.5-r6) (31/63) Purging libxfixes-dev (6.0.1-r4) (32/63) Purging libxfixes (6.0.1-r4) (33/63) Purging libxext-dev (1.3.6-r2) (34/63) Purging libxext (1.3.6-r2) (35/63) Purging libx11-dev (1.8.10-r0) (36/63) Purging xtrans (1.5.1-r0) (37/63) Purging libx11 (1.8.10-r0) (38/63) Purging libxcb-dev (1.16.1-r0) (39/63) Purging libxcb (1.16.1-r0) (40/63) Purging xcb-proto (1.17.0-r0) (41/63) Purging python3 (3.12.7-r1) (42/63) Purging gdbm (1.24-r0) (43/63) Purging libdrm-dev (2.4.123-r1) (44/63) Purging linux-headers (6.6-r1) (45/63) Purging libdrm (2.4.123-r1) (46/63) Purging libpciaccess-dev (0.18.1-r0) (47/63) Purging libpciaccess (0.18.1-r0) (48/63) Purging hwdata-pci (0.388-r0) (49/63) Purging libxdmcp-dev (1.1.5-r1) (50/63) Purging libxdmcp (1.1.5-r1) (51/63) Purging libbsd (0.12.2-r0) (52/63) Purging llvm19-libs (19.1.2-r0) (53/63) Purging libffi (3.4.6-r0) (54/63) Purging libmd (1.1.0-r0) (55/63) Purging libpanelw (6.5_p20241006-r3) (56/63) Purging libxau-dev (1.0.11-r4) (57/63) Purging libxau (1.0.11-r4) (58/63) Purging libxml2 (2.13.4-r3) (59/63) Purging libxshmfence (1.3.2-r6) (60/63) Purging mesa-glapi (24.2.7-r0) (61/63) Purging mpdecimal (4.0.0-r0) (62/63) Purging sqlite-libs (3.47.0-r0) (63/63) Purging xorgproto (2024.1-r0) Executing busybox-1.37.0-r7.trigger OK: 404 MiB in 115 packages >>> brogue: Updating the testing/x86 repository index... >>> brogue: Signing the index...