>>> brogue: Building testing/brogue 1.14.1-r0 (using abuild 3.14.1-r3) started Fri, 15 Nov 2024 01:10:30 +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/60) Installing sdl2 (2.30.9-r0) (2/60) Installing sdl2_image (2.8.2-r0) (3/60) Installing linux-headers (6.6-r1) (4/60) Installing hwdata-pci (0.388-r0) (5/60) Installing libpciaccess (0.18.1-r0) (6/60) Installing libdrm (2.4.123-r1) (7/60) Installing libpciaccess-dev (0.18.1-r0) (8/60) Installing libdrm-dev (2.4.123-r1) (9/60) Installing libxau (1.0.11-r4) (10/60) Installing xorgproto (2024.1-r0) (11/60) Installing libxau-dev (1.0.11-r4) (12/60) Installing libmd (1.1.0-r0) (13/60) Installing libbsd (0.12.2-r0) (14/60) Installing libxdmcp (1.1.5-r1) (15/60) Installing libxcb (1.16.1-r0) (16/60) Installing libx11 (1.8.10-r0) (17/60) Installing libxext (1.3.6-r2) (18/60) Installing libbz2 (1.0.8-r6) (19/60) Installing libffi (3.4.6-r0) (20/60) Installing gdbm (1.24-r0) (21/60) Installing xz-libs (5.6.3-r0) (22/60) Installing mpdecimal (4.0.0-r0) (23/60) Installing libpanelw (6.5_p20241006-r3) (24/60) Installing sqlite-libs (3.47.0-r0) (25/60) Installing python3 (3.12.7-r1) (26/60) Installing python3-pycache-pyc0 (3.12.7-r1) (27/60) Installing pyc (3.12.7-r1) (28/60) Installing xcb-proto-pyc (1.17.0-r0) (29/60) Installing python3-pyc (3.12.7-r1) (30/60) Installing xcb-proto (1.17.0-r0) (31/60) Installing libxdmcp-dev (1.1.5-r1) (32/60) Installing libxcb-dev (1.16.1-r0) (33/60) Installing xtrans (1.5.1-r0) (34/60) Installing libx11-dev (1.8.10-r0) (35/60) Installing libxext-dev (1.3.6-r2) (36/60) Installing libxdamage (1.1.6-r5) (37/60) Installing libxfixes (6.0.1-r4) (38/60) Installing libxfixes-dev (6.0.1-r4) (39/60) Installing libxdamage-dev (1.1.6-r5) (40/60) Installing libxshmfence (1.3.2-r6) (41/60) Installing libxshmfence-dev (1.3.2-r6) (42/60) Installing libxml2 (2.13.4-r3) (43/60) Installing llvm19-libs (19.1.2-r0) (44/60) Installing libelf (0.191-r0) (45/60) Installing mesa-glapi (24.2.7-r0) (46/60) Installing mesa (24.2.7-r0) (47/60) Installing wayland-libs-server (1.23.1-r0) (48/60) Installing mesa-gbm (24.2.7-r0) (49/60) Installing wayland-libs-client (1.23.1-r0) (50/60) Installing mesa-egl (24.2.7-r0) (51/60) Installing libxxf86vm (1.1.5-r6) (52/60) Installing mesa-gl (24.2.7-r0) (53/60) Installing mesa-gles (24.2.7-r0) (54/60) Installing mesa-osmesa (24.2.7-r0) (55/60) Installing mesa-xatracker (24.2.7-r0) (56/60) Installing libxxf86vm-dev (1.1.5-r6) (57/60) Installing mesa-dev (24.2.7-r0) (58/60) Installing sdl2-dev (2.30.9-r0) (59/60) Installing sdl2_image-dev (2.8.2-r0) (60/60) Installing .makedepends-brogue (20241115.011031) Executing busybox-1.37.0-r7.trigger OK: 616 MiB in 161 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 Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> brogue: Fetching BrogueCE-1.14.1.tar.gz::https://github.com/tmewett/BrogueCE/archive/refs/tags/v1.14.1.tar.gz Connecting to github.com (140.82.121.3:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/edge/BrogueCE-1.14.1.tar.gz.part' BrogueCE-1.14.1.tar. 100% |********************************| 1314k 0:00:00 ETA '/var/cache/distfiles/edge/BrogueCE-1.14.1.tar.gz.part' saved >>> 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/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/Movement.c: In function 'abortAttackAgainstAcidicTarget': 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/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/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/Rogue.h:3229:37: note: expected 'creature *' but argument is of type 'const creature *' 3229 | boolean canSeeMonster(creature *monst); | ~~~~~~~~~~^~~~~ 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/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/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/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/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/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/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/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/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/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/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/Architect.c:988:29: warning: argument 6 of type 'item *[200]' with mismatched bound [-Warray-parameter=] 988 | item *parentSpawnedItems[MACHINES_BUFFER_LENGTH], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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], | ^~~~~~~~~~~~~~~~~~~~~~~ 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/Movement.c: In function 'handleSpearAttacks': 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/Architect.c:989:33: warning: argument 7 of type 'creature *[200]' with mismatched bound [-Warray-parameter=] 989 | creature *parentSpawnedMonsters[MACHINES_BUFFER_LENGTH]) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/Rogue.h:2906:37: note: previously declared as 'creature *[50]' 2906 | creature *parentSpawnedMonsters[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 10 of type 'char[50]' src/brogue/SeedCatalog.c:135:9: note: referencing argument 11 of type 'char[20]' 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/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], | ^~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~~~~~~^~~~~~~~ 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/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/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/Time.c: In function 'handleHealthAlerts': src/brogue/Items.c: In function 'itemMagicPolarityIsKnown': 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/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 '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 -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-armhf.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:38 +0000 elapsed time 0h 0m 8s >>> brogue: Cleaning up srcdir >>> brogue: Cleaning up pkgdir >>> brogue: Uninstalling dependencies... (1/60) Purging .makedepends-brogue (20241115.011031) (2/60) Purging sdl2_image-dev (2.8.2-r0) (3/60) Purging sdl2_image (2.8.2-r0) (4/60) Purging python3-pyc (3.12.7-r1) (5/60) Purging python3-pycache-pyc0 (3.12.7-r1) (6/60) Purging xcb-proto-pyc (1.17.0-r0) (7/60) Purging pyc (3.12.7-r1) (8/60) Purging sdl2-dev (2.30.9-r0) (9/60) Purging sdl2 (2.30.9-r0) (10/60) Purging mesa-dev (24.2.7-r0) (11/60) Purging libxdamage-dev (1.1.6-r5) (12/60) Purging libxdamage (1.1.6-r5) (13/60) Purging libxshmfence-dev (1.3.2-r6) (14/60) Purging mesa-egl (24.2.7-r0) (15/60) Purging mesa-gbm (24.2.7-r0) (16/60) Purging mesa-gl (24.2.7-r0) (17/60) Purging mesa-gles (24.2.7-r0) (18/60) Purging mesa-osmesa (24.2.7-r0) (19/60) Purging mesa-xatracker (24.2.7-r0) (20/60) Purging mesa (24.2.7-r0) (21/60) Purging wayland-libs-client (1.23.1-r0) (22/60) Purging wayland-libs-server (1.23.1-r0) (23/60) Purging libxxf86vm-dev (1.1.5-r6) (24/60) Purging libxxf86vm (1.1.5-r6) (25/60) Purging libxfixes-dev (6.0.1-r4) (26/60) Purging libxfixes (6.0.1-r4) (27/60) Purging libxext-dev (1.3.6-r2) (28/60) Purging libxext (1.3.6-r2) (29/60) Purging libx11-dev (1.8.10-r0) (30/60) Purging xtrans (1.5.1-r0) (31/60) Purging libx11 (1.8.10-r0) (32/60) Purging libxcb-dev (1.16.1-r0) (33/60) Purging libxcb (1.16.1-r0) (34/60) Purging xcb-proto (1.17.0-r0) (35/60) Purging python3 (3.12.7-r1) (36/60) Purging gdbm (1.24-r0) (37/60) Purging libdrm-dev (2.4.123-r1) (38/60) Purging linux-headers (6.6-r1) (39/60) Purging libdrm (2.4.123-r1) (40/60) Purging libpciaccess-dev (0.18.1-r0) (41/60) Purging libpciaccess (0.18.1-r0) (42/60) Purging hwdata-pci (0.388-r0) (43/60) Purging libxdmcp-dev (1.1.5-r1) (44/60) Purging libxdmcp (1.1.5-r1) (45/60) Purging libbsd (0.12.2-r0) (46/60) Purging libbz2 (1.0.8-r6) (47/60) Purging libelf (0.191-r0) (48/60) Purging llvm19-libs (19.1.2-r0) (49/60) Purging libffi (3.4.6-r0) (50/60) Purging libmd (1.1.0-r0) (51/60) Purging libpanelw (6.5_p20241006-r3) (52/60) Purging libxau-dev (1.0.11-r4) (53/60) Purging libxau (1.0.11-r4) (54/60) Purging libxml2 (2.13.4-r3) (55/60) Purging libxshmfence (1.3.2-r6) (56/60) Purging mesa-glapi (24.2.7-r0) (57/60) Purging mpdecimal (4.0.0-r0) (58/60) Purging sqlite-libs (3.47.0-r0) (59/60) Purging xorgproto (2024.1-r0) (60/60) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r7.trigger OK: 322 MiB in 101 packages >>> brogue: Updating the testing/armhf repository index... >>> brogue: Signing the index...