Diff of the two buildlogs: -- --- b1/build.log 2025-09-15 22:54:42.372394089 +0000 +++ b2/build.log 2025-09-15 22:55:52.008481247 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Oct 18 17:13:10 -12 2026 -I: pbuilder-time-stamp: 1792386790 +I: Current time: Tue Sep 16 12:54:43 +14 2025 +I: pbuilder-time-stamp: 1757976883 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -45,53 +45,85 @@ dpkg-source: info: applying 0022-atc-Won-t-allocate-26th-plane-if-it-was-the-most-rec.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/845312/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1005069/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 15 22:55 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1005069/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1005069/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='159822ae90ce499786932ef4f2bac41d' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='845312' - PS1='# ' - PS2='> ' + INVOCATION_ID=1b97f8acb54c43b3a27954b5266db3f0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1005069 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.9fgvrC48/pbuilderrc_hDPA --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9fgvrC48/b1 --logfile b1/build.log bsdgames_2.17-35.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.9fgvrC48/pbuilderrc_klzA --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9fgvrC48/b2 --logfile b2/build.log bsdgames_2.17-35.dsc' + SUDO_GID=110 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/845312/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1005069/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -195,7 +227,7 @@ Get: 52 http://deb.debian.org/debian forky/main amd64 libncurses6 amd64 6.5+20250216-2 [105 kB] Get: 53 http://deb.debian.org/debian forky/main amd64 libncurses-dev amd64 6.5+20250216-2 [353 kB] Get: 54 http://deb.debian.org/debian forky/main amd64 wbritish all 2020.12.07-4 [222 kB] -Fetched 27.9 MB in 12s (2340 kB/s) +Fetched 27.9 MB in 2s (14.2 MB/s) Preconfiguring packages ... Selecting previously unselected package m4. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19917 files and directories currently installed.) @@ -436,7 +468,11 @@ fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/bsdgames-2.17/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../bsdgames_2.17-35_source.changes +I: user script /srv/workspace/pbuilder/1005069/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/1005069/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/bsdgames-2.17/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../bsdgames_2.17-35_source.changes dpkg-buildpackage: info: source package bsdgames dpkg-buildpackage: info: source version 2.17-35 dpkg-buildpackage: info: source distribution unstable @@ -623,7 +659,7 @@ cat /usr/share/dict/american-english /usr/share/dict/british-english | \ sort | uniq > temp-dictionary dh_auto_build - make -j42 + make -j40 make[2]: Entering directory '/build/reproducible-path/bsdgames-2.17' ./mkdep adventure/crc.c adventure/crc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/setup.c -o adventure/setup.o @@ -643,11 +679,7 @@ ./mkdep atc/graphics.c atc/graphics.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc ./mkdep atc/input.c atc/input.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc cd atc && flex lex.l -adventure/setup.c: In function 'main': ./mkdep atc/list.c atc/list.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -adventure/setup.c:75:1: warning: old-style function definition [-Wold-style-definition] - 75 | main(argc, argv) - | ^~~~ ./mkdep atc/log.c atc/log.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc ./mkdep atc/main.c atc/main.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc ./mkdep atc/tunable.c atc/tunable.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc @@ -655,7 +687,6 @@ ./mkdep lib/strlcpy.c lib/strlcpy.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib ./mkdep backgammon/backgammon/extra.c backgammon/backgammon/extra.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source ./mkdep backgammon/backgammon/main.c backgammon/backgammon/main.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -mv atc/lex.yy.c atc/lex.c ./mkdep backgammon/backgammon/move.c backgammon/backgammon/move.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source ./mkdep backgammon/backgammon/text.c backgammon/backgammon/text.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source ./mkdep backgammon/backgammon/version.c backgammon/backgammon/version.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source @@ -666,6 +697,7 @@ ./mkdep backgammon/common_source/init.c backgammon/common_source/init.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source ./mkdep backgammon/common_source/odds.c backgammon/common_source/odds.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source ./mkdep backgammon/common_source/one.c backgammon/common_source/one.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source +mv atc/lex.yy.c atc/lex.c ./mkdep backgammon/common_source/save.c backgammon/common_source/save.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source ./mkdep backgammon/common_source/subs.c backgammon/common_source/subs.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source ./mkdep backgammon/common_source/table.c backgammon/common_source/table.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source @@ -682,6 +714,10 @@ ./mkdep battlestar/command5.c battlestar/command5.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep battlestar/command6.c battlestar/command6.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep battlestar/command7.c battlestar/command7.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar +adventure/setup.c: In function 'main': +adventure/setup.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | main(argc, argv) + | ^~~~ ./mkdep battlestar/cypher.c battlestar/cypher.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep battlestar/dayfile.c battlestar/dayfile.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep battlestar/dayobjs.c battlestar/dayobjs.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar @@ -692,12 +728,9 @@ ./mkdep battlestar/misc.c battlestar/misc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep battlestar/nightfile.c battlestar/nightfile.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep battlestar/nightobjs.c battlestar/nightobjs.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -mv atc/y.tab.c atc/grammar.c ./mkdep battlestar/parse.c battlestar/parse.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep battlestar/room.c battlestar/room.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep battlestar/save.c battlestar/save.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -mv atc/y.tab.h atc/grammar.h -touch atc/grammar.h ./mkdep battlestar/words.c battlestar/words.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar ./mkdep lib/fgetln.c lib/fgetln.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib ./mkdep bcd/bcd.c bcd/bcd.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibcd @@ -727,29 +760,29 @@ ./mkdep dab/main.cc dab/main.d x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab ./mkdep dab/player.cc dab/player.d x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab ./mkdep dab/random.cc dab/random.d x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -./mkdep dab/ttyscrn.cc dab/ttyscrn.d x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -./mkdep fish/fish.c fish/fish.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ifish -./mkdep gomoku/bdinit.c gomoku/bdinit.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +./mkdep dab/ttyscrn.cc dab/ttyscrn.d x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab +./mkdep fish/fish.c fish/fish.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ifish +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +./mkdep gomoku/bdinit.c gomoku/bdinit.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku ./mkdep gomoku/bdisp.c gomoku/bdisp.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku ./mkdep gomoku/main.c gomoku/main.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ./mkdep gomoku/makemove.c gomoku/makemove.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -./mkdep gomoku/pickmove.c gomoku/pickmove.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +./mkdep gomoku/pickmove.c gomoku/pickmove.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku ./mkdep gomoku/stoc.c gomoku/stoc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/makedefs.c -o hack/makedefs.o ./mkdep hack/makedefs.c hack/makedefs.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hangman/endgame.c hangman/endgame.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman ./mkdep hangman/extern.c hangman/extern.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman ./mkdep hangman/getguess.c hangman/getguess.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman ./mkdep hangman/getword.c hangman/getword.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ ./mkdep hangman/main.c hangman/main.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman ./mkdep hangman/playgame.c hangman/playgame.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman ./mkdep hangman/prdata.c hangman/prdata.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman @@ -763,25 +796,38 @@ ./mkdep mille/mille.c mille/mille.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille ./mkdep mille/misc.c mille/misc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille ./mkdep mille/move.c mille/move.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille +mv atc/y.tab.c atc/grammar.c ./mkdep mille/print.c mille/print.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille ./mkdep mille/roll.c mille/roll.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille +mv atc/y.tab.h atc/grammar.h ./mkdep mille/save.c mille/save.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille ./mkdep mille/types.c mille/types.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille +touch atc/grammar.h ./mkdep mille/varpush.c mille/varpush.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille ./mkdep monop/cards.c monop/cards.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop ./mkdep monop/execute.c monop/execute.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop ./mkdep monop/getinp.c monop/getinp.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop ./mkdep monop/houses.c monop/houses.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -hack/makedefs.c: In function 'main': ./mkdep monop/jail.c monop/jail.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/misc.c monop/misc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/monop.c monop/monop.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/morg.c monop/morg.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/print.c monop/print.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/prop.c monop/prop.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/rent.c monop/rent.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/roll.c monop/roll.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/spec.c monop/spec.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/trade.c monop/trade.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +./mkdep monop/initdeck.c monop/initdeck.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop +hack/makedefs.c: In function 'main': hack/makedefs.c:93:1: warning: old-style function definition [-Wold-style-definition] 93 | main(argc, argv) | ^~~~ +./mkdep morse/morse.c morse/morse.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imorse hack/makedefs.c: In function 'skipuntil': hack/makedefs.c:170:1: warning: old-style function definition [-Wold-style-definition] 170 | skipuntil(s) | ^~~~~~~~~ -./mkdep monop/misc.c monop/misc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop hack/makedefs.c: In function 'capitalize': hack/makedefs.c:318:1: warning: old-style function definition [-Wold-style-definition] 318 | capitalize(sp) @@ -794,16 +840,6 @@ hack/makedefs.c:334:1: warning: old-style function definition [-Wold-style-definition] 334 | digit(ch) | ^~~~~ -./mkdep monop/monop.c monop/monop.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep monop/morg.c monop/morg.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep monop/print.c monop/print.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep monop/prop.c monop/prop.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep monop/rent.c monop/rent.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep monop/roll.c monop/roll.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep monop/spec.c monop/spec.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep monop/trade.c monop/trade.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep monop/initdeck.c monop/initdeck.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -./mkdep morse/morse.c morse/morse.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imorse ./mkdep number/number.c number/number.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Inumber ./mkdep phantasia/fight.c phantasia/fight.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia ./mkdep phantasia/gamesupport.c phantasia/gamesupport.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia @@ -921,8 +957,9 @@ x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now adventure/setup.o -o adventure/setup ./mkdep atc/grammar.c atc/grammar.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc ./mkdep atc/lex.c atc/lex.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hack/makedefs.o -o hack/makedefs adventure/setup adventure/glorkz >adventure/data.c +./mkdep adventure/data.c adventure/data.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hack/makedefs.o -o hack/makedefs hack/makedefs hack/def.objects.h >hack/hack.onames.h ./mkdep hack/alloc.c hack/alloc.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.Decl.c hack/hack.Decl.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack @@ -980,7 +1017,6 @@ ./mkdep hack/hack.worn.c hack/hack.worn.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/hack.zap.c hack/hack.zap.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack ./mkdep hack/rnd.c hack/rnd.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -./mkdep adventure/data.c adventure/data.d x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/crc.c -o adventure/crc.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/data.c -o adventure/data.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iadventure -c adventure/done.c -o adventure/done.o @@ -996,10 +1032,6 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/extern.c -o atc/extern.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/grammar.c -o atc/grammar.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/graphics.c -o atc/graphics.o -adventure/crc.c: In function 'crc': -adventure/crc.c:121:1: warning: old-style function definition [-Wold-style-definition] - 121 | crc(ptr, nr) /* Process nr bytes at a time; ptr points to them */ - | ^~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/input.c -o atc/input.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/lex.c -o atc/lex.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/list.c -o atc/list.o @@ -1013,16 +1045,12 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/main.c -o backgammon/backgammon/main.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/move.c -o backgammon/backgammon/move.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/text.c -o backgammon/backgammon/text.o +adventure/crc.c: In function 'crc': +adventure/crc.c:121:1: warning: old-style function definition [-Wold-style-definition] + 121 | crc(ptr, nr) /* Process nr bytes at a time; ptr points to them */ + | ^~~ Generating atc/atc.6 from atc/atc.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/version.c -o backgammon/backgammon/version.o -adventure/done.c: In function 'done': -adventure/done.c:106:1: warning: old-style function definition [-Wold-style-definition] - 106 | done(entry) /* entry=1 means goto 13000 */ /* game is over */ - | ^~~~ -adventure/done.c: In function 'die': -adventure/done.c:140:1: warning: old-style function definition [-Wold-style-definition] - 140 | die(entry) /* label 90 */ - | ^~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/allow.c -o backgammon/common_source/allow.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/board.c -o backgammon/common_source/board.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/check.c -o backgammon/common_source/check.o @@ -1032,48 +1060,30 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/one.c -o backgammon/common_source/one.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/save.c -o backgammon/common_source/save.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/subs.c -o backgammon/common_source/subs.o -adventure/init.c: In function 'decr': -adventure/subr.c: In function 'toting': -adventure/subr.c:55:1: warning: old-style function definition [-Wold-style-definition] - 55 | toting(objj) - | ^~~~~~ -adventure/init.c:137:1: warning: old-style function definition [-Wold-style-definition] - 137 | decr(a, b, c, d, e) - | ^~~~ -adventure/subr.c: In function 'here': -adventure/subr.c:65:1: warning: old-style function definition [-Wold-style-definition] - 65 | here(objj) +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/table.c -o backgammon/common_source/table.o +./substscr g m backgammon/backgammon/backgammon.6.in backgammon/backgammon/backgammon.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/data.c -o backgammon/teachgammon/data.o +Generating backgammon/backgammon/backgammon.6 from backgammon/backgammon/backgammon.6.in +adventure/io.c: In function 'getin': +adventure/io.c:57:1: warning: old-style function definition [-Wold-style-definition] + 57 | getin(wrd1, wrd2) /* get command from user */ + | ^~~~~ +adventure/io.c: In function 'yes': +adventure/io.c:104:1: warning: old-style function definition [-Wold-style-definition] + 104 | yes(x, y, z) /* confirm with rspeak */ + | ^~~ +adventure/io.c: In function 'yesm': +adventure/io.c:132:1: warning: old-style function definition [-Wold-style-definition] + 132 | yesm(x, y, z) /* confirm with mspeak */ | ^~~~ -adventure/subr.c: In function 'at': -adventure/subr.c:75:1: warning: old-style function definition [-Wold-style-definition] - 75 | at(objj) - | ^~ -adventure/subr.c: In function 'liq2': -adventure/subr.c:85:1: warning: old-style function definition [-Wold-style-definition] - 85 | liq2(pbotl) +adventure/done.c: In function 'done': +adventure/done.c:106:1: warning: old-style function definition [-Wold-style-definition] + 106 | done(entry) /* entry=1 means goto 13000 */ /* game is over */ | ^~~~ -adventure/subr.c: In function 'liqloc': -adventure/wizard.c: In function 'datime': -adventure/subr.c:103:1: warning: old-style function definition [-Wold-style-definition] - 103 | liqloc(locc) /* may want to clean this one up a bit */ - | ^~~~~~ -adventure/wizard.c:56:1: warning: old-style function definition [-Wold-style-definition] - 56 | datime(d, t) - | ^~~~~~ -adventure/subr.c: In function 'bitset': -adventure/subr.c:115:1: warning: old-style function definition [-Wold-style-definition] - 115 | bitset(l, n) - | ^~~~~~ -adventure/subr.c: In function 'forced': -adventure/subr.c:124:1: warning: old-style function definition [-Wold-style-definition] - 124 | forced(locc) - | ^~~~~~ -adventure/subr.c: In function 'pct': -adventure/subr.c:141:1: warning: old-style function definition [-Wold-style-definition] - 141 | pct(n) +adventure/done.c: In function 'die': +adventure/done.c:140:1: warning: old-style function definition [-Wold-style-definition] + 140 | die(entry) /* label 90 */ | ^~~ -adventure/wizard.c: In function 'ran': -adventure/init.c: In function 'trapdel': adventure/vocab.c: In function 'dstroy': adventure/vocab.c:55:1: warning: old-style function definition [-Wold-style-definition] 55 | dstroy(object) @@ -1082,9 +1092,6 @@ adventure/vocab.c:62:1: warning: old-style function definition [-Wold-style-definition] 62 | juggle(object) | ^~~~~~ -adventure/init.c:279:1: warning: old-style function definition [-Wold-style-definition] - 279 | trapdel(n) /* come here if he hits a del */ - | ^~~~~~~ adventure/vocab.c: In function 'move': adventure/vocab.c:75:1: warning: old-style function definition [-Wold-style-definition] 75 | move(object, where) @@ -1093,7 +1100,15 @@ adventure/vocab.c:90:1: warning: old-style function definition [-Wold-style-definition] 90 | put(object, where, pval) | ^~~ +adventure/io.c: In function 'rdesc': +adventure/save.c: In function 'save': adventure/vocab.c: In function 'carry': +adventure/io.c:279:1: warning: old-style function definition [-Wold-style-definition] + 279 | rdesc(sect) /* read description-format msgs */ + | ^~~~~ +adventure/save.c:124:1: warning: old-style function definition [-Wold-style-definition] + 124 | save(outfile) /* Two passes on data: first to get checksum, + | ^~~~ adventure/vocab.c:98:1: warning: old-style function definition [-Wold-style-definition] 98 | carry(object, where) | ^~~~~ @@ -1102,69 +1117,105 @@ 119 | drop(object, where) | ^~~~ adventure/vocab.c: In function 'vocab': +adventure/save.c: In function 'restore': adventure/vocab.c:136:1: warning: old-style function definition [-Wold-style-definition] 136 | vocab(word, type, value) /* look up or store a word */ | ^~~~~ -adventure/wizard.c:153:1: warning: old-style function definition [-Wold-style-definition] - 153 | ran(range) - | ^~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/table.c -o backgammon/common_source/table.o -adventure/subr.c: In function 'bug': -adventure/subr.c:496:1: warning: old-style function definition [-Wold-style-definition] - 496 | bug(n) - | ^~~ -./substscr g m backgammon/backgammon/backgammon.6.in backgammon/backgammon/backgammon.6 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/data.c -o backgammon/teachgammon/data.o -Generating backgammon/backgammon/backgammon.6 from backgammon/backgammon/backgammon.6.in -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/teach.c -o backgammon/teachgammon/teach.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/ttext1.c -o backgammon/teachgammon/ttext1.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/ttext2.c -o backgammon/teachgammon/ttext2.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/tutor.c -o backgammon/teachgammon/tutor.o -adventure/init.c: In function 'linkdata': -adventure/init.c:158:29: warning: iteration 140 invokes undefined behavior [-Waggressive-loop-optimizations] - 158 | if (ltext[i].seekadr != 0 && travel[i] != 0) - | ~~~~~~~~^~~~~~~~ -adventure/init.c:157:23: note: within this loop - 157 | for (i = 1; i <= LOCSIZ; i++) -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/battlestar.c -o battlestar/battlestar.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command1.c -o battlestar/command1.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command2.c -o battlestar/command2.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command3.c -o battlestar/command3.o -adventure/save.c: In function 'save': -adventure/save.c:124:1: warning: old-style function definition [-Wold-style-definition] - 124 | save(outfile) /* Two passes on data: first to get checksum, - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command4.c -o battlestar/command4.o -adventure/io.c: In function 'getin': -adventure/io.c:57:1: warning: old-style function definition [-Wold-style-definition] - 57 | getin(wrd1, wrd2) /* get command from user */ - | ^~~~~ -adventure/save.c: In function 'restore': adventure/save.c:160:1: warning: old-style function definition [-Wold-style-definition] 160 | restore(infile) | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/teach.c -o backgammon/teachgammon/teach.o +adventure/io.c: In function 'rspeak': +adventure/io.c:497:1: warning: old-style function definition [-Wold-style-definition] + 497 | rspeak(msg) + | ^~~~~~ +adventure/io.c: In function 'mspeak': +adventure/io.c:506:1: warning: old-style function definition [-Wold-style-definition] + 506 | mspeak(msg) + | ^~~~~~ +adventure/io.c: In function 'speak': +adventure/io.c:515:1: warning: old-style function definition [-Wold-style-definition] + 515 | speak(msg) /* read, decrypt, and print a message (not + | ^~~~~ +adventure/io.c: In function 'pspeak': +adventure/io.c:545:1: warning: old-style function definition [-Wold-style-definition] + 545 | pspeak(m, skip) /* read, decrypt an print a ptext message */ + | ^~~~~~ +adventure/io.c:552:24: warning: variable 'save' set but not used [-Wunused-but-set-variable] + 552 | char *numst, save; + | ^~~~ adventure/save.c:175:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | fread(&sum, sizeof(sum), 1, in); /* Get the seed */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ adventure/save.c:178:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | fread(p->address, p->width, 1, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -adventure/io.c: In function 'yes': -adventure/io.c:104:1: warning: old-style function definition [-Wold-style-definition] - 104 | yes(x, y, z) /* confirm with rspeak */ +adventure/wizard.c: In function 'datime': +adventure/wizard.c:56:1: warning: old-style function definition [-Wold-style-definition] + 56 | datime(d, t) + | ^~~~~~ +adventure/init.c: In function 'decr': +adventure/init.c:137:1: warning: old-style function definition [-Wold-style-definition] + 137 | decr(a, b, c, d, e) + | ^~~~ +adventure/wizard.c: In function 'ran': +adventure/wizard.c:153:1: warning: old-style function definition [-Wold-style-definition] + 153 | ran(range) | ^~~ -adventure/io.c: In function 'yesm': -adventure/io.c:132:1: warning: old-style function definition [-Wold-style-definition] - 132 | yesm(x, y, z) /* confirm with mspeak */ +adventure/subr.c: In function 'toting': +adventure/subr.c:55:1: warning: old-style function definition [-Wold-style-definition] + 55 | toting(objj) + | ^~~~~~ +adventure/subr.c: In function 'here': +adventure/subr.c:65:1: warning: old-style function definition [-Wold-style-definition] + 65 | here(objj) + | ^~~~ +adventure/init.c: In function 'trapdel': +adventure/subr.c: In function 'at': +adventure/subr.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | at(objj) + | ^~ +adventure/init.c:279:1: warning: old-style function definition [-Wold-style-definition] + 279 | trapdel(n) /* come here if he hits a del */ + | ^~~~~~~ +adventure/subr.c: In function 'liq2': +adventure/subr.c:85:1: warning: old-style function definition [-Wold-style-definition] + 85 | liq2(pbotl) + | ^~~~ +adventure/subr.c: In function 'liqloc': +adventure/subr.c:103:1: warning: old-style function definition [-Wold-style-definition] + 103 | liqloc(locc) /* may want to clean this one up a bit */ + | ^~~~~~ +adventure/subr.c: In function 'bitset': +adventure/subr.c:115:1: warning: old-style function definition [-Wold-style-definition] + 115 | bitset(l, n) + | ^~~~~~ +adventure/subr.c: In function 'forced': +adventure/subr.c:124:1: warning: old-style function definition [-Wold-style-definition] + 124 | forced(locc) + | ^~~~~~ +adventure/subr.c: In function 'pct': +adventure/subr.c:141:1: warning: old-style function definition [-Wold-style-definition] + 141 | pct(n) + | ^~~ +adventure/main.c: In function 'main': +adventure/subr.c: In function 'bug': +adventure/subr.c:496:1: warning: old-style function definition [-Wold-style-definition] + 496 | bug(n) + | ^~~ +adventure/main.c:65:1: warning: old-style function definition [-Wold-style-definition] + 65 | main(argc, argv) | ^~~~ -adventure/io.c: In function 'rdesc': -adventure/io.c:279:1: warning: old-style function definition [-Wold-style-definition] - 279 | rdesc(sect) /* read description-format msgs */ - | ^~~~~ arithmetic/arithmetic.c: In function 'main': arithmetic/arithmetic.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | main(argc, argv) | ^~~~ +adventure/init.c: In function 'linkdata': +adventure/init.c:158:29: warning: iteration 140 invokes undefined behavior [-Waggressive-loop-optimizations] + 158 | if (ltext[i].seekadr != 0 && travel[i] != 0) + | ~~~~~~~~^~~~~~~~ +adventure/init.c:157:23: note: within this loop + 157 | for (i = 1; i <= LOCSIZ; i++) arithmetic/arithmetic.c: In function 'intr': arithmetic/arithmetic.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | intr(dummy) @@ -1185,15 +1236,136 @@ arithmetic/arithmetic.c:375:1: warning: old-style function definition [-Wold-style-definition] 375 | opnum(op) | ^~~~~ +adventure/main.c:74:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 74 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/odds.c: In function 'odds': +backgammon/common_source/odds.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | odds(r1, r2, val) + | ^~~~ +arithmetic/arithmetic.c: In function 'main': +arithmetic/arithmetic.c:120:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 120 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/odds.c: In function 'canhit': +backgammon/common_source/odds.c:83:1: warning: old-style function definition [-Wold-style-definition] + 83 | canhit(i, c) + | ^~~~~~ +backgammon/common_source/save.c: In function 'save': +backgammon/common_source/save.c:57:1: warning: old-style function definition [-Wold-style-definition] + 57 | save(n) + | ^~~~ +backgammon/common_source/save.c: In function 'recover': +backgammon/common_source/save.c:148:1: warning: old-style function definition [-Wold-style-definition] + 148 | recover(s) + | ^~~~~~~ +backgammon/common_source/save.c: In function 'norec': +backgammon/common_source/save.c:171:1: warning: old-style function definition [-Wold-style-definition] + 171 | norec(s) + | ^~~~~ +backgammon/common_source/save.c: In function 'save': +backgammon/common_source/save.c:123:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 123 | write(fdesc, board, sizeof board); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:124:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | write(fdesc, off, sizeof off); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:125:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 125 | write(fdesc, in, sizeof in); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:126:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 126 | write(fdesc, dice, sizeof dice); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:127:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 127 | write(fdesc, &cturn, sizeof cturn); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:128:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 128 | write(fdesc, &dlast, sizeof dlast); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:129:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 129 | write(fdesc, &pnum, sizeof pnum); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:130:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 130 | write(fdesc, &rscore, sizeof rscore); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:131:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 131 | write(fdesc, &wscore, sizeof wscore); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:132:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 132 | write(fdesc, &gvalue, sizeof gvalue); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:133:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 133 | write(fdesc, &raflag, sizeof raflag); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c: In function 'recover': +backgammon/common_source/save.c:155:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 155 | read(fdesc, board, sizeof board); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:156:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 156 | read(fdesc, off, sizeof off); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:157:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 157 | read(fdesc, in, sizeof in); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 158 | read(fdesc, dice, sizeof dice); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:159:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 159 | read(fdesc, &cturn, sizeof cturn); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:160:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 160 | read(fdesc, &dlast, sizeof dlast); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:161:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 161 | read(fdesc, &pnum, sizeof pnum); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:162:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 162 | read(fdesc, &rscore, sizeof rscore); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:163:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 163 | read(fdesc, &wscore, sizeof wscore); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/backgammon/main.c: In function 'main': +backgammon/common_source/save.c:164:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 164 | read(fdesc, &gvalue, sizeof gvalue); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/save.c:165:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] + 165 | read(fdesc, &raflag, sizeof raflag); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/backgammon/main.c:93:1: warning: old-style function definition [-Wold-style-definition] + 93 | main(argc, argv) + | ^~~~ +atc/list.c: In function 'append': +atc/list.c:62:1: warning: old-style function definition [-Wold-style-definition] + 62 | append(l, p) + | ^~~~~~ backgammon/backgammon/move.c: In function 'move': +atc/list.c: In function 'delete': +atc/list.c:101:1: warning: old-style function definition [-Wold-style-definition] + 101 | delete(l, p) + | ^~~~~~ backgammon/backgammon/move.c:96:1: warning: old-style function definition [-Wold-style-definition] 96 | move(okay) | ^~~~ +backgammon/backgammon/main.c:472:38: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] + 472 | if (board[i] * cturn) + | ~~~~~~~~~^~~~~~~ backgammon/backgammon/move.c: In function 'trymove': +backgammon/common_source/check.c: In function 'movokay': backgammon/backgammon/move.c:188:1: warning: old-style function definition [-Wold-style-definition] 188 | trymove(mvnum, swapped) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command5.c -o battlestar/command5.o +backgammon/common_source/check.c:108:1: warning: old-style function definition [-Wold-style-definition] + 108 | movokay(mv) + | ^~~~~~~ +backgammon/backgammon/text.c: In function 'text': +backgammon/common_source/fancy.c: In function 'bsect': +backgammon/backgammon/text.c:110:1: warning: old-style function definition [-Wold-style-definition] + 110 | text(t) + | ^~~~ +backgammon/common_source/fancy.c:190:1: warning: old-style function definition [-Wold-style-definition] + 190 | bsect(b, rpos, cpos, cnext) + | ^~~~~ backgammon/backgammon/move.c: In function 'binsert': backgammon/backgammon/move.c:262:1: warning: old-style function definition [-Wold-style-definition] 262 | binsert(new) @@ -1206,6 +1378,17 @@ backgammon/backgammon/move.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | mvcheck(incumbent, candidate) | ^~~~~~~ +backgammon/common_source/check.c: In function 'getmove': +backgammon/common_source/check.c:54:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 54 | if (movokay(mvlim)) { + | ^ +backgammon/common_source/fancy.c: In function 'fixpos': +backgammon/common_source/fancy.c:300:1: warning: old-style function definition [-Wold-style-definition] + 300 | fixpos(old, new, r, c, inc) + | ^~~~~~ +backgammon/common_source/check.c:69:17: note: here + 69 | case -4: + | ^~~~ backgammon/backgammon/move.c: In function 'makefree': backgammon/backgammon/move.c:345:1: warning: old-style function definition [-Wold-style-definition] 345 | makefree(dead) @@ -1214,65 +1397,66 @@ backgammon/backgammon/move.c:397:1: warning: old-style function definition [-Wold-style-definition] 397 | boardcopy(s) | ^~~~~~~~~ -adventure/io.c: In function 'rspeak': -adventure/io.c:497:1: warning: old-style function definition [-Wold-style-definition] - 497 | rspeak(msg) - | ^~~~~~ -adventure/io.c: In function 'mspeak': -adventure/io.c:506:1: warning: old-style function definition [-Wold-style-definition] - 506 | mspeak(msg) +backgammon/backgammon/main.c:103:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 103 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +backgammon/common_source/fancy.c: In function 'fixcol': +backgammon/common_source/fancy.c:375:1: warning: old-style function definition [-Wold-style-definition] + 375 | fixcol(r, c, l, ch, inc) | ^~~~~~ -adventure/io.c: In function 'speak': -adventure/io.c:515:1: warning: old-style function definition [-Wold-style-definition] - 515 | speak(msg) /* read, decrypt, and print a message (not - | ^~~~~ -adventure/io.c: In function 'pspeak': -adventure/io.c:545:1: warning: old-style function definition [-Wold-style-definition] - 545 | pspeak(m, skip) /* read, decrypt an print a ptext message */ +backgammon/common_source/fancy.c: In function 'curmove': +backgammon/common_source/fancy.c:389:1: warning: old-style function definition [-Wold-style-definition] + 389 | curmove(r, c) + | ^~~~~~~ +backgammon/common_source/fancy.c: In function 'fancyc': +backgammon/common_source/fancy.c:585:1: warning: old-style function definition [-Wold-style-definition] + 585 | fancyc(c) | ^~~~~~ -adventure/io.c:552:24: warning: variable 'save' set but not used [-Wunused-but-set-variable] - 552 | char *numst, save; - | ^~~~ -arithmetic/arithmetic.c: In function 'main': -arithmetic/arithmetic.c:120:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 120 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/backgammon/extra.c: In function 'freemen': -adventure/main.c: In function 'main': -adventure/main.c:65:1: warning: old-style function definition [-Wold-style-definition] - 65 | main(argc, argv) +backgammon/common_source/one.c: In function 'makmove': +backgammon/common_source/one.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | makmove(i) + | ^~~~~~~ +atc/input.c: In function 'push': +atc/input.c:206:1: warning: old-style function definition [-Wold-style-definition] + 206 | push(ruleno, ch) | ^~~~ +backgammon/common_source/fancy.c: In function 'getcaps': +backgammon/backgammon/extra.c: In function 'freemen': +backgammon/common_source/fancy.c:689:1: warning: old-style function definition [-Wold-style-definition] + 689 | getcaps(s) + | ^~~~~~~ backgammon/backgammon/extra.c:191:1: warning: old-style function definition [-Wold-style-definition] 191 | freemen(b) | ^~~~~~~ +backgammon/teachgammon/teach.c: In function 'main': +backgammon/common_source/one.c: In function 'moverr': backgammon/backgammon/extra.c: In function 'trapped': +backgammon/common_source/one.c:98:1: warning: old-style function definition [-Wold-style-definition] + 98 | moverr(i) + | ^~~~~~ backgammon/backgammon/extra.c:210:1: warning: old-style function definition [-Wold-style-definition] 210 | trapped(n, inc) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command6.c -o battlestar/command6.o -backgammon/common_source/check.c: In function 'movokay': -backgammon/common_source/check.c:108:1: warning: old-style function definition [-Wold-style-definition] - 108 | movokay(mv) - | ^~~~~~~ -backgammon/common_source/check.c: In function 'getmove': -backgammon/common_source/check.c:54:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 54 | if (movokay(mvlim)) { - | ^ -backgammon/common_source/check.c:69:17: note: here - 69 | case -4: - | ^~~~ -adventure/main.c:74:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 74 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -atc/input.c: In function 'push': -atc/input.c:206:1: warning: old-style function definition [-Wold-style-definition] - 206 | push(ruleno, ch) +backgammon/teachgammon/teach.c:63:1: warning: old-style function definition [-Wold-style-definition] + 63 | main(argc, argv) | ^~~~ +backgammon/common_source/one.c: In function 'checkd': +backgammon/common_source/one.c:121:1: warning: old-style function definition [-Wold-style-definition] + 121 | checkd(d) + | ^~~~~~ atc/input.c: In function 'setplane': atc/input.c:358:1: warning: old-style function definition [-Wold-style-definition] 358 | setplane(c) | ^~~~~~~~ +backgammon/common_source/one.c: In function 'movback': +backgammon/common_source/one.c:141:1: warning: old-style function definition [-Wold-style-definition] + 141 | movback(i) + | ^~~~~~~ atc/input.c: In function 'turn': +backgammon/common_source/one.c: In function 'backone': +backgammon/common_source/one.c:151:1: warning: old-style function definition [-Wold-style-definition] + 151 | backone(i) + | ^~~~~~~ atc/input.c:372:1: warning: old-style function definition [-Wold-style-definition] 372 | turn(c) | ^~~~ @@ -1296,15 +1480,61 @@ atc/input.c:423:1: warning: old-style function definition [-Wold-style-definition] 423 | Right(c) | ^~~~~ +backgammon/teachgammon/teach.c:107:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 107 | if ((i = text(intro2)) != 0) + | ^ +backgammon/teachgammon/teach.c:110:17: note: here + 110 | case 3: + | ^~~~ +backgammon/teachgammon/teach.c:111:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 111 | if ((i = text(moves)) != 0) + | ^ +backgammon/teachgammon/teach.c:114:17: note: here + 114 | case 4: + | ^~~~ +backgammon/teachgammon/teach.c:115:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 115 | if ((i = text(removepiece)) != 0) + | ^ atc/input.c: In function 'delayb': +backgammon/teachgammon/teach.c:118:17: note: here + 118 | case 5: + | ^~~~ atc/input.c:433:1: warning: old-style function definition [-Wold-style-definition] 433 | delayb(c) | ^~~~~~ -backgammon/common_source/subs.c: In function 'errexit': -backgammon/backgammon/main.c: In function 'main': -backgammon/backgammon/main.c:93:1: warning: old-style function definition [-Wold-style-definition] - 93 | main(argc, argv) - | ^~~~ +backgammon/teachgammon/teach.c:119:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 119 | if ((i = text(hits)) != 0) + | ^ +backgammon/teachgammon/teach.c:122:17: note: here + 122 | case 6: + | ^~~~ +backgammon/teachgammon/teach.c:123:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 123 | if ((i = text(endgame)) != 0) + | ^ +backgammon/teachgammon/teach.c:126:17: note: here + 126 | case 7: + | ^~~~ +backgammon/teachgammon/teach.c:127:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 127 | if ((i = text(doubl)) != 0) + | ^ +backgammon/teachgammon/teach.c:130:17: note: here + 130 | case 8: + | ^~~~ +backgammon/teachgammon/teach.c:131:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 131 | if ((i = text(stragy)) != 0) + | ^ +backgammon/teachgammon/teach.c:134:17: note: here + 134 | case 9: + | ^~~~ +backgammon/teachgammon/teach.c:135:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 135 | if ((i = text(prog)) != 0) + | ^ +backgammon/teachgammon/teach.c:138:17: note: here + 138 | case 10: + | ^~~~ +backgammon/teachgammon/teach.c:70:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 70 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ atc/input.c: In function 'beacon': atc/input.c:479:1: warning: old-style function definition [-Wold-style-definition] 479 | beacon(c) @@ -1329,9 +1559,6 @@ atc/input.c:519:1: warning: old-style function definition [-Wold-style-definition] 519 | setalt(c) | ^~~~~~ -backgammon/backgammon/main.c:472:38: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - 472 | if (board[i] * cturn) - | ~~~~~~~~~^~~~~~~ atc/input.c: In function 'setrelalt': atc/input.c:529:1: warning: old-style function definition [-Wold-style-definition] 529 | setrelalt(c) @@ -1340,18 +1567,19 @@ atc/input.c:554:1: warning: old-style function definition [-Wold-style-definition] 554 | benum(c) | ^~~~~ +backgammon/common_source/fancy.c: In function 'newpos': atc/input.c: In function 'to_dir': atc/input.c:586:1: warning: old-style function definition [-Wold-style-definition] 586 | to_dir(c) | ^~~~~~ atc/input.c: In function 'rel_dir': +backgammon/common_source/fancy.c:482:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 482 | write(2, "\r\nInternal cursor error.\r\n", 26); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atc/input.c:594:1: warning: old-style function definition [-Wold-style-definition] 594 | rel_dir(c) | ^~~~~~~ atc/input.c: In function 'mark': -backgammon/backgammon/main.c:103:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 103 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ atc/input.c:619:1: warning: old-style function definition [-Wold-style-definition] 619 | mark(c) | ^~~~ @@ -1367,6 +1595,7 @@ atc/input.c:655:1: warning: old-style function definition [-Wold-style-definition] 655 | dir_no(ch) | ^~~~~~ +backgammon/common_source/subs.c: In function 'errexit': backgammon/common_source/subs.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | errexit(s) | ^~~~~~~ @@ -1374,7 +1603,11 @@ backgammon/common_source/subs.c:73:1: warning: old-style function definition [-Wold-style-definition] 73 | addbuf(c) | ^~~~~~ +backgammon/common_source/fancy.c: In function 'getcaps': backgammon/common_source/subs.c: In function 'writec': +backgammon/common_source/fancy.c:733:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 733 | write(2, "\r\nOut of memory!\r\n", 18); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ backgammon/common_source/subs.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | writec(c) | ^~~~~~ @@ -1398,21 +1631,11 @@ backgammon/common_source/subs.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | getarg(arg) | ^~~~~~ +backgammon/common_source/table.c: In function 'checkmove': +backgammon/common_source/table.c:81:1: warning: old-style function definition [-Wold-style-definition] + 81 | checkmove(ist) + | ^~~~~~~~~ backgammon/common_source/subs.c: In function 'fixtty': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command7.c -o battlestar/command7.o -backgammon/common_source/save.c: In function 'save': -backgammon/common_source/save.c:57:1: warning: old-style function definition [-Wold-style-definition] - 57 | save(n) - | ^~~~ -backgammon/common_source/save.c: In function 'recover': -backgammon/common_source/save.c:148:1: warning: old-style function definition [-Wold-style-definition] - 148 | recover(s) - | ^~~~~~~ -backgammon/common_source/save.c: In function 'norec': -backgammon/common_source/save.c:171:1: warning: old-style function definition [-Wold-style-definition] - 171 | norec(s) - | ^~~~~ -backgammon/common_source/save.c: In function 'save': backgammon/common_source/subs.c:434:1: warning: old-style function definition [-Wold-style-definition] 434 | fixtty(t) | ^~~~~~ @@ -1420,173 +1643,22 @@ backgammon/common_source/subs.c:445:1: warning: old-style function definition [-Wold-style-definition] 445 | getout(dummy) | ^~~~~~ +backgammon/common_source/table.c: In function 'dotable': +backgammon/common_source/table.c:199:1: warning: old-style function definition [-Wold-style-definition] + 199 | dotable(c, i) + | ^~~~~~~ backgammon/common_source/subs.c: In function 'errexit': backgammon/common_source/subs.c:67:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:123:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 123 | write(fdesc, board, sizeof board); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:124:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | write(fdesc, off, sizeof off); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:125:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 125 | write(fdesc, in, sizeof in); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:126:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 126 | write(fdesc, dice, sizeof dice); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:127:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 127 | write(fdesc, &cturn, sizeof cturn); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:128:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 128 | write(fdesc, &dlast, sizeof dlast); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:129:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 129 | write(fdesc, &pnum, sizeof pnum); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:130:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 130 | write(fdesc, &rscore, sizeof rscore); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:131:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 131 | write(fdesc, &wscore, sizeof wscore); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:132:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 132 | write(fdesc, &gvalue, sizeof gvalue); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:133:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 133 | write(fdesc, &raflag, sizeof raflag); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/fancy.c: In function 'bsect': -backgammon/common_source/fancy.c:190:1: warning: old-style function definition [-Wold-style-definition] - 190 | bsect(b, rpos, cpos, cnext) - | ^~~~~ -backgammon/common_source/save.c: In function 'recover': -backgammon/common_source/save.c:155:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 155 | read(fdesc, board, sizeof board); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:156:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 156 | read(fdesc, off, sizeof off); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:157:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 157 | read(fdesc, in, sizeof in); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 158 | read(fdesc, dice, sizeof dice); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:159:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 159 | read(fdesc, &cturn, sizeof cturn); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:160:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 160 | read(fdesc, &dlast, sizeof dlast); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:161:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 161 | read(fdesc, &pnum, sizeof pnum); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:162:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 162 | read(fdesc, &rscore, sizeof rscore); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:163:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 163 | read(fdesc, &wscore, sizeof wscore); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:164:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 164 | read(fdesc, &gvalue, sizeof gvalue); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/save.c:165:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] - 165 | read(fdesc, &raflag, sizeof raflag); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/fancy.c: In function 'fixpos': -backgammon/common_source/fancy.c:300:1: warning: old-style function definition [-Wold-style-definition] - 300 | fixpos(old, new, r, c, inc) - | ^~~~~~ -backgammon/common_source/fancy.c: In function 'fixcol': -backgammon/common_source/fancy.c:375:1: warning: old-style function definition [-Wold-style-definition] - 375 | fixcol(r, c, l, ch, inc) - | ^~~~~~ -backgammon/common_source/fancy.c: In function 'curmove': -backgammon/common_source/fancy.c:389:1: warning: old-style function definition [-Wold-style-definition] - 389 | curmove(r, c) - | ^~~~~~~ -backgammon/common_source/fancy.c: In function 'fancyc': -backgammon/common_source/fancy.c:585:1: warning: old-style function definition [-Wold-style-definition] - 585 | fancyc(c) - | ^~~~~~ -backgammon/common_source/fancy.c: In function 'getcaps': -backgammon/common_source/fancy.c:689:1: warning: old-style function definition [-Wold-style-definition] - 689 | getcaps(s) - | ^~~~~~~ -backgammon/common_source/one.c: In function 'makmove': -atc/main.c: In function 'main': -atc/main.c:64:1: warning: old-style function definition [-Wold-style-definition] - 64 | main(ac, av) - | ^~~~ -atc/main.c: In function 'read_file': -atc/main.c:211:1: warning: old-style function definition [-Wold-style-definition] - 211 | read_file(s) - | ^~~~~~~~~ -atc/main.c: In function 'okay_game': -atc/main.c:257:1: warning: old-style function definition [-Wold-style-definition] - 257 | okay_game(s) - | ^~~~~~~~~ -grammar.y: In function 'check_edge': -atc/main.c: In function 'main': -atc/main.c:80:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 80 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/table.c: In function 'checkmove': -backgammon/common_source/table.c:81:1: warning: old-style function definition [-Wold-style-definition] - 81 | checkmove(ist) - | ^~~~~~~~~ -grammar.y:288:1: warning: old-style function definition [-Wold-style-definition] atc/graphics.c: In function 'setup_screen': -grammar.y: In function 'check_point': -grammar.y:297:1: warning: old-style function definition [-Wold-style-definition] -grammar.y: In function 'check_linepoint': -grammar.y:307:1: warning: old-style function definition [-Wold-style-definition] -grammar.y: In function 'check_line': -grammar.y:317:1: warning: old-style function definition [-Wold-style-definition] -grammar.y: In function 'yyerror': -backgammon/common_source/table.c: In function 'dotable': -grammar.y:333:1: warning: old-style function definition [-Wold-style-definition] -grammar.y: In function 'check_edir': -grammar.y:343:1: warning: old-style function definition [-Wold-style-definition] atc/graphics.c:127:1: warning: old-style function definition [-Wold-style-definition] 127 | setup_screen(scp) | ^~~~~~~~~~~~ -backgammon/common_source/one.c:44:1: warning: old-style function definition [-Wold-style-definition] - 44 | makmove(i) - | ^~~~~~~ -backgammon/common_source/table.c:199:1: warning: old-style function definition [-Wold-style-definition] - 199 | dotable(c, i) - | ^~~~~~~ -backgammon/backgammon/text.c: In function 'text': -backgammon/backgammon/text.c:110:1: warning: old-style function definition [-Wold-style-definition] - 110 | text(t) - | ^~~~ -backgammon/common_source/one.c: In function 'moverr': -backgammon/common_source/one.c:98:1: warning: old-style function definition [-Wold-style-definition] - 98 | moverr(i) - | ^~~~~~ atc/graphics.c: In function 'draw_line': -backgammon/common_source/one.c: In function 'checkd': -backgammon/common_source/one.c:121:1: warning: old-style function definition [-Wold-style-definition] - 121 | checkd(d) - | ^~~~~~ atc/graphics.c:220:1: warning: old-style function definition [-Wold-style-definition] 220 | draw_line(w, x, y, lx, ly, s) | ^~~~~~~~~ -backgammon/common_source/fancy.c: In function 'newpos': -backgammon/common_source/one.c: In function 'movback': -backgammon/common_source/one.c:141:1: warning: old-style function definition [-Wold-style-definition] - 141 | movback(i) - | ^~~~~~~ -backgammon/common_source/fancy.c:482:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 482 | write(2, "\r\nInternal cursor error.\r\n", 26); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/common_source/one.c: In function 'backone': -backgammon/common_source/one.c:151:1: warning: old-style function definition [-Wold-style-definition] - 151 | backone(i) - | ^~~~~~~ atc/graphics.c: In function 'ioclrtoeol': atc/graphics.c:240:1: warning: old-style function definition [-Wold-style-definition] 240 | ioclrtoeol(pos) @@ -1596,10 +1668,6 @@ 250 | iomove(pos) | ^~~~~~ atc/graphics.c: In function 'ioaddstr': -backgammon/common_source/fancy.c: In function 'getcaps': -backgammon/common_source/fancy.c:733:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 733 | write(2, "\r\nOut of memory!\r\n", 18); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ atc/graphics.c:259:1: warning: old-style function definition [-Wold-style-definition] 259 | ioaddstr(pos, str) | ^~~~~~~~ @@ -1608,73 +1676,30 @@ 278 | ioerror(pos, len, str) | ^~~~~~~ atc/graphics.c: In function 'quit': -atc/log.c: In function 'compar': atc/graphics.c:294:1: warning: old-style function definition [-Wold-style-definition] 294 | quit(dummy) | ^~~~ -atc/log.c:59:1: warning: old-style function definition [-Wold-style-definition] - 59 | compar(va, vb) - | ^~~~~~ -atc/log.c: In function 'timestr': -atc/log.c:83:1: warning: old-style function definition [-Wold-style-definition] - 83 | timestr(t) - | ^~~~~~~ atc/graphics.c: In function 'loser': atc/graphics.c:378:1: warning: old-style function definition [-Wold-style-definition] 378 | loser(p, s) | ^~~~~ -atc/log.c: In function 'log_score': -atc/log.c:138:1: warning: old-style function definition [-Wold-style-definition] - 138 | log_score(list_em) - | ^~~~~~~~~ -atc/log.c: In function 'log_score_quit': -battlestar/command2.c: In function 'murder': -battlestar/command2.c:252:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 252 | if (testbit(location[position].objects, MAN)) { - | ^ -battlestar/command2.c:257:17: note: here - 257 | case -1: - | ^~~~ -backgammon/teachgammon/ttext2.c: In function 'text': -backgammon/teachgammon/ttext2.c:130:1: warning: old-style function definition [-Wold-style-definition] - 130 | text(txt) - | ^~~~ -atc/list.c: In function 'append': -backgammon/teachgammon/ttext2.c:133:29: warning: variable 'begin' set but not used [-Wunused-but-set-variable] - 133 | const char *const *begin; - | ^~~~~ -atc/log.c:289:1: warning: old-style function definition [-Wold-style-definition] - 289 | log_score_quit(dummy) - | ^~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/cypher.c -o battlestar/cypher.o -atc/log.c: In function 'log_score': -atc/log.c:255:25: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] - 255 | ftruncate(fileno(score_fp), offset); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -atc/list.c:62:1: warning: old-style function definition [-Wold-style-definition] - 62 | append(l, p) - | ^~~~~~ -atc/list.c: In function 'delete': -atc/list.c:101:1: warning: old-style function definition [-Wold-style-definition] - 101 | delete(l, p) - | ^~~~~~ -battlestar/battlestar.c: In function 'main': -battlestar/battlestar.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | main(argc, argv) - | ^~~~ -battlestar/battlestar.c:67:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 67 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -backgammon/teachgammon/tutor.c: In function 'brdeq': +grammar.y: In function 'check_edge': +grammar.y:288:1: warning: old-style function definition [-Wold-style-definition] +grammar.y: In function 'check_point': +grammar.y:297:1: warning: old-style function definition [-Wold-style-definition] +grammar.y: In function 'check_linepoint': +grammar.y:307:1: warning: old-style function definition [-Wold-style-definition] +grammar.y: In function 'check_line': +grammar.y:317:1: warning: old-style function definition [-Wold-style-definition] +grammar.y: In function 'yyerror': +grammar.y:333:1: warning: old-style function definition [-Wold-style-definition] +grammar.y: In function 'check_edir': +grammar.y:343:1: warning: old-style function definition [-Wold-style-definition] atc/update.c: In function 'update': atc/update.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | update(dummy) | ^~~~~~ -backgammon/teachgammon/tutor.c:146:1: warning: old-style function definition [-Wold-style-definition] - 146 | brdeq(b1, b2) - | ^~~~~ atc/update.c: In function 'command': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/dayfile.c -o battlestar/dayfile.o atc/update.c:222:1: warning: old-style function definition [-Wold-style-definition] 222 | command(pp) | ^~~~~~~ @@ -1683,97 +1708,135 @@ 253 | name(p) | ^~~~ atc/update.c: In function 'number': -backgammon/common_source/odds.c: In function 'odds': atc/update.c:263:1: warning: old-style function definition [-Wold-style-definition] 263 | number(l) | ^~~~~~ -backgammon/common_source/odds.c:44:1: warning: old-style function definition [-Wold-style-definition] - 44 | odds(r1, r2, val) - | ^~~~ -backgammon/common_source/odds.c: In function 'canhit': -backgammon/common_source/odds.c:83:1: warning: old-style function definition [-Wold-style-definition] - 83 | canhit(i, c) - | ^~~~~~ atc/update.c: In function 'findplane': atc/update.c:377:1: warning: old-style function definition [-Wold-style-definition] 377 | findplane(n) | ^~~~~~~~~ +atc/log.c: In function 'compar': +atc/log.c:59:1: warning: old-style function definition [-Wold-style-definition] + 59 | compar(va, vb) + | ^~~~~~ atc/update.c: In function 'too_close': atc/update.c:392:1: warning: old-style function definition [-Wold-style-definition] 392 | too_close(p1, p2, dist) | ^~~~~~~~~ +atc/main.c: In function 'main': +atc/log.c: In function 'timestr': +atc/main.c:64:1: warning: old-style function definition [-Wold-style-definition] + 64 | main(ac, av) + | ^~~~ +atc/log.c:83:1: warning: old-style function definition [-Wold-style-definition] + 83 | timestr(t) + | ^~~~~~~ atc/update.c: In function 'dir_deg': atc/update.c:404:1: warning: old-style function definition [-Wold-style-definition] 404 | dir_deg(d) | ^~~~~~~ +atc/log.c: In function 'log_score': +atc/log.c:138:1: warning: old-style function definition [-Wold-style-definition] + 138 | log_score(list_em) + | ^~~~~~~~~ +atc/main.c: In function 'read_file': +atc/main.c:211:1: warning: old-style function definition [-Wold-style-definition] + 211 | read_file(s) + | ^~~~~~~~~ +atc/main.c: In function 'okay_game': +atc/main.c:257:1: warning: old-style function definition [-Wold-style-definition] + 257 | okay_game(s) + | ^~~~~~~~~ +atc/log.c: In function 'log_score_quit': +atc/log.c:289:1: warning: old-style function definition [-Wold-style-definition] + 289 | log_score_quit(dummy) + | ^~~~~~~~~~~~~~ +lex.yy.c:1270:16: warning: 'input' defined but not used [-Wunused-function] +atc/main.c: In function 'main': +atc/main.c:80:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 80 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +atc/log.c: In function 'log_score': +atc/log.c:255:25: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] + 255 | ftruncate(fileno(score_fp), offset); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/ttext1.c -o backgammon/teachgammon/ttext1.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/ttext2.c -o backgammon/teachgammon/ttext2.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/tutor.c -o backgammon/teachgammon/tutor.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/battlestar.c -o battlestar/battlestar.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command1.c -o battlestar/command1.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command2.c -o battlestar/command2.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command3.c -o battlestar/command3.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command4.c -o battlestar/command4.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command5.c -o battlestar/command5.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command6.c -o battlestar/command6.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/command7.c -o battlestar/command7.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/cypher.c -o battlestar/cypher.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/dayfile.c -o battlestar/dayfile.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/dayobjs.c -o battlestar/dayobjs.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/fly.c -o battlestar/fly.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/getcom.c -o battlestar/getcom.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/globals.c -o battlestar/globals.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/init.c -o battlestar/init.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/misc.c -o battlestar/misc.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/nightfile.c -o battlestar/nightfile.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/nightobjs.c -o battlestar/nightobjs.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/parse.c -o battlestar/parse.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/room.c -o battlestar/room.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/save.c -o battlestar/save.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/words.c -o battlestar/words.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib -c lib/fgetln.c -o lib/fgetln.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibcd -c bcd/bcd.c -o bcd/bcd.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/bog.c -o boggle/boggle/bog.o +battlestar/command6.c: In function 'diesig': +battlestar/command6.c:90:1: warning: old-style function definition [-Wold-style-definition] + 90 | diesig(dummy) + | ^~~~~~ +battlestar/command6.c: In function 'post': +battlestar/command6.c:117:1: warning: old-style function definition [-Wold-style-definition] + 117 | post(ch) + | ^~~~ +battlestar/battlestar.c: In function 'main': +battlestar/command1.c: In function 'moveplayer': +battlestar/battlestar.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | main(argc, argv) + | ^~~~ +battlestar/command1.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | moveplayer(thataway, token) + | ^~~~~~~~~~ +battlestar/command1.c: In function 'convert': +backgammon/teachgammon/ttext2.c: In function 'text': +battlestar/command1.c:71:1: warning: old-style function definition [-Wold-style-definition] + 71 | convert(tothis) /* Converts day to night and vice versa. */ + | ^~~~~~~ +battlestar/command7.c: In function 'fight': +backgammon/teachgammon/ttext2.c:130:1: warning: old-style function definition [-Wold-style-definition] + 130 | text(txt) + | ^~~~ +battlestar/command7.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | fight(enemy, strength) + | ^~~~~ +backgammon/teachgammon/ttext2.c:133:29: warning: variable 'begin' set but not used [-Wunused-but-set-variable] + 133 | const char *const *begin; + | ^~~~~ battlestar/command4.c: In function 'take': +backgammon/teachgammon/tutor.c: In function 'brdeq': +backgammon/teachgammon/tutor.c:146:1: warning: old-style function definition [-Wold-style-definition] + 146 | brdeq(b1, b2) + | ^~~~~ battlestar/command4.c:44:1: warning: old-style function definition [-Wold-style-definition] 44 | take(from) | ^~~~ -battlestar/command4.c: In function 'throw': -battlestar/command4.c:189:1: warning: old-style function definition [-Wold-style-definition] - 189 | throw(name) - | ^~~~~ -battlestar/command4.c: In function 'drop': -battlestar/command4.c:269:1: warning: old-style function definition [-Wold-style-definition] - 269 | drop(name) - | ^~~~ -backgammon/teachgammon/teach.c: In function 'main': -backgammon/teachgammon/teach.c:63:1: warning: old-style function definition [-Wold-style-definition] - 63 | main(argc, argv) - | ^~~~ -backgammon/teachgammon/teach.c:107:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 107 | if ((i = text(intro2)) != 0) - | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/dayobjs.c -o battlestar/dayobjs.o -backgammon/teachgammon/teach.c:110:17: note: here - 110 | case 3: - | ^~~~ -backgammon/teachgammon/teach.c:111:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 111 | if ((i = text(moves)) != 0) - | ^ -backgammon/teachgammon/teach.c:114:17: note: here - 114 | case 4: - | ^~~~ -backgammon/teachgammon/teach.c:115:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 115 | if ((i = text(removepiece)) != 0) - | ^ -backgammon/teachgammon/teach.c:118:17: note: here - 118 | case 5: - | ^~~~ -backgammon/teachgammon/teach.c:119:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 119 | if ((i = text(hits)) != 0) - | ^ -backgammon/teachgammon/teach.c:122:17: note: here - 122 | case 6: - | ^~~~ -backgammon/teachgammon/teach.c:123:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 123 | if ((i = text(endgame)) != 0) - | ^ -backgammon/teachgammon/teach.c:126:17: note: here - 126 | case 7: - | ^~~~ -backgammon/teachgammon/teach.c:127:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 127 | if ((i = text(doubl)) != 0) - | ^ -backgammon/teachgammon/teach.c:130:17: note: here - 130 | case 8: - | ^~~~ -backgammon/teachgammon/teach.c:131:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 131 | if ((i = text(stragy)) != 0) - | ^ -backgammon/teachgammon/teach.c:134:17: note: here - 134 | case 9: - | ^~~~ -backgammon/teachgammon/teach.c:135:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 135 | if ((i = text(prog)) != 0) +battlestar/battlestar.c:67:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 67 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +battlestar/command2.c: In function 'murder': +battlestar/command2.c:252:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 252 | if (testbit(location[position].objects, MAN)) { | ^ -backgammon/teachgammon/teach.c:138:17: note: here - 138 | case 10: +battlestar/command2.c:257:17: note: here + 257 | case -1: | ^~~~ -backgammon/teachgammon/teach.c:70:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 70 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/command3.c: In function 'bury': battlestar/command3.c:134:33: warning: this statement may fall through [-Wimplicit-fallthrough=] 134 | puts("She screams as you wrestle her into the hole."); @@ -1787,40 +1850,46 @@ battlestar/command3.c:138:25: note: here 138 | case AMULET: | ^~~~ -battlestar/command1.c: In function 'moveplayer': -battlestar/command1.c:44:1: warning: old-style function definition [-Wold-style-definition] - 44 | moveplayer(thataway, token) +battlestar/command4.c: In function 'throw': +battlestar/command4.c:189:1: warning: old-style function definition [-Wold-style-definition] + 189 | throw(name) + | ^~~~~ +battlestar/command4.c: In function 'drop': +battlestar/command4.c:269:1: warning: old-style function definition [-Wold-style-definition] + 269 | drop(name) + | ^~~~ +battlestar/getcom.c: In function 'getcom': +battlestar/getcom.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | getcom(buf, size, prompt, error) + | ^~~~~~ +battlestar/init.c: In function 'initialize': +battlestar/init.c:48:1: warning: old-style function definition [-Wold-style-definition] + 48 | initialize(filename) | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/fly.c -o battlestar/fly.o -battlestar/command6.c: In function 'diesig': -battlestar/command6.c:90:1: warning: old-style function definition [-Wold-style-definition] - 90 | diesig(dummy) +battlestar/getcom.c: In function 'getword': +battlestar/getcom.c:79:1: warning: old-style function definition [-Wold-style-definition] + 79 | getword(buf1, buf2, flag) + | ^~~~~~~ +battlestar/init.c: In function 'wizard': +battlestar/init.c:112:1: warning: old-style function definition [-Wold-style-definition] + 112 | wizard(uname) | ^~~~~~ -battlestar/command6.c: In function 'post': -battlestar/command6.c:117:1: warning: old-style function definition [-Wold-style-definition] - 117 | post(ch) +battlestar/init.c: In function 'checkout': +battlestar/init.c:123:1: warning: old-style function definition [-Wold-style-definition] + 123 | checkout(uname) + | ^~~~~~~~ +bcd/bcd.c: In function 'main': +bcd/bcd.c:131:1: warning: old-style function definition [-Wold-style-definition] + 131 | main(argc, argv) | ^~~~ -battlestar/command1.c: In function 'convert': -battlestar/command1.c:71:1: warning: old-style function definition [-Wold-style-definition] - 71 | convert(tothis) /* Converts day to night and vice versa. */ - | ^~~~~~~ -lex.yy.c:1270:16: warning: 'input' defined but not used [-Wunused-function] -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/getcom.c -o battlestar/getcom.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/globals.c -o battlestar/globals.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/init.c -o battlestar/init.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/misc.c -o battlestar/misc.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/nightfile.c -o battlestar/nightfile.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/nightobjs.c -o battlestar/nightobjs.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/parse.c -o battlestar/parse.o -battlestar/command7.c: In function 'fight': -battlestar/command7.c:44:1: warning: old-style function definition [-Wold-style-definition] - 44 | fight(enemy, strength) - | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/room.c -o battlestar/room.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/save.c -o battlestar/save.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibattlestar -c battlestar/words.c -o battlestar/words.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ilib -c lib/fgetln.c -o lib/fgetln.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ibcd -c bcd/bcd.c -o bcd/bcd.o +bcd/bcd.c: In function 'printcard': +bcd/bcd.c:157:1: warning: old-style function definition [-Wold-style-definition] + 157 | printcard(str) + | ^~~~~~~~~ +bcd/bcd.c: In function 'main': +bcd/bcd.c:138:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 138 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/cypher.c: In function 'cypher': battlestar/cypher.c:390:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 390 | fgets(buffer, 10, stdin); @@ -1840,43 +1909,117 @@ battlestar/cypher.c:410:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 410 | fgets(buffer, 10, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ +battlestar/misc.c: In function 'card': battlestar/cypher.c:414:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 414 | fgets(buffer, 10, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ battlestar/cypher.c:418:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 418 | fgets(buffer, 10, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ +battlestar/misc.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | card(array, size) /* for beenthere, injuries */ + | ^~~~ +battlestar/misc.c: In function 'ucard': +battlestar/misc.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | ucard(array) + | ^~~~~ +battlestar/parse.c: In function 'hash': +battlestar/parse.c:63:1: warning: old-style function definition [-Wold-style-definition] + 63 | hash(s) + | ^~~~ +battlestar/parse.c: In function 'lookup': +battlestar/parse.c:77:1: warning: old-style function definition [-Wold-style-definition] + 77 | lookup(s) + | ^~~~~~ +battlestar/parse.c: In function 'install': +battlestar/parse.c:89:1: warning: old-style function definition [-Wold-style-definition] + 89 | install(wp) + | ^~~~~~~ +boggle/boggle/bog.c: In function 'main': +boggle/boggle/bog.c:125:1: warning: old-style function definition [-Wold-style-definition] + 125 | main(argc, argv) + | ^~~~ +boggle/boggle/bog.c: In function 'batchword': +boggle/boggle/bog.c:284:1: warning: old-style function definition [-Wold-style-definition] + 284 | batchword(fp) + | ^~~~~~~~~ battlestar/fly.c: In function 'succumb': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/bog.c -o boggle/boggle/bog.o battlestar/fly.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | succumb(dummy) | ^~~~~~~ -battlestar/fly.c: In function 'moveenemy': -battlestar/fly.c:250:1: warning: old-style function definition [-Wold-style-definition] - 250 | moveenemy(dummy) +boggle/boggle/bog.c: In function 'checkword': +boggle/boggle/bog.c:434:1: warning: old-style function definition [-Wold-style-definition] + 434 | checkword(word, prev, path) | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/help.c -o boggle/boggle/help.o -battlestar/getcom.c: In function 'getcom': -battlestar/getcom.c:44:1: warning: old-style function definition [-Wold-style-definition] - 44 | getcom(buf, size, prompt, error) - | ^~~~~~ +boggle/boggle/bog.c: In function 'validword': +boggle/boggle/bog.c:518:1: warning: old-style function definition [-Wold-style-definition] + 518 | validword(word) + | ^~~~~~~~~ +battlestar/room.c: In function 'whichway': +battlestar/room.c:80:1: warning: old-style function definition [-Wold-style-definition] + 80 | whichway(here) + | ^~~~~~~~ +battlestar/room.c: In function 'truedirec': battlestar/save.c: In function 'restore': +battlestar/room.c:117:1: warning: old-style function definition [-Wold-style-definition] + 117 | truedirec(way, option) + | ^~~~~~~~~ battlestar/save.c:44:1: warning: old-style function definition [-Wold-style-definition] 44 | restore(filename) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/mach.c -o boggle/boggle/mach.o +boggle/boggle/bog.c: In function 'newgame': +boggle/boggle/bog.c:633:1: warning: old-style function definition [-Wold-style-definition] + 633 | newgame(b) + | ^~~~~~~ +battlestar/fly.c: In function 'moveenemy': +battlestar/fly.c:250:1: warning: old-style function definition [-Wold-style-definition] + 250 | moveenemy(dummy) + | ^~~~~~~~~ +battlestar/room.c: In function 'newway': +battlestar/room.c:182:1: warning: old-style function definition [-Wold-style-definition] + 182 | newway(thisway) + | ^~~~~~ battlestar/save.c: In function 'save': battlestar/save.c:97:1: warning: old-style function definition [-Wold-style-definition] 97 | save(filename) | ^~~~ -battlestar/getcom.c: In function 'getword': -battlestar/getcom.c:79:1: warning: old-style function definition [-Wold-style-definition] - 79 | getword(buf1, buf2, flag) - | ^~~~~~~ +boggle/boggle/bog.c: In function 'compar': +boggle/boggle/bog.c:703:1: warning: old-style function definition [-Wold-style-definition] + 703 | compar(p, q) + | ^~~~~~ battlestar/save.c: In function 'save_file_name': battlestar/save.c:159:1: warning: old-style function definition [-Wold-style-definition] 159 | save_file_name(filename, len) | ^~~~~~~~~~~~~~ +boggle/boggle/bog.c: In function 'main': +battlestar/room.c: In function 'truedirec': +battlestar/room.c:124:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 124 | switch (direction) { + | ^~~~~~ +battlestar/room.c:136:9: note: here + 136 | case SOUTH: + | ^~~~ +battlestar/room.c:137:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 137 | switch (direction) { + | ^~~~~~ +battlestar/room.c:149:9: note: here + 149 | case EAST: + | ^~~~ +boggle/boggle/bog.c:134:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 134 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +battlestar/room.c:150:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 150 | switch (direction) { + | ^~~~~~ +battlestar/room.c:162:9: note: here + 162 | case WEST: + | ^~~~ +battlestar/room.c:163:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 163 | switch (direction) { + | ^~~~~~ +battlestar/room.c:175:9: note: here + 175 | default: + | ^~~~~~~ battlestar/save.c: In function 'restore': battlestar/save.c:56:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | fread(&WEIGHT, sizeof WEIGHT, 1, fp); @@ -1971,118 +2114,42 @@ battlestar/save.c:89:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | fread(&power, sizeof power, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battlestar/misc.c: In function 'card': -battlestar/misc.c:44:1: warning: old-style function definition [-Wold-style-definition] - 44 | card(array, size) /* for beenthere, injuries */ - | ^~~~ -battlestar/misc.c: In function 'ucard': -battlestar/misc.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | ucard(array) - | ^~~~~ -battlestar/parse.c: In function 'hash': -battlestar/parse.c:63:1: warning: old-style function definition [-Wold-style-definition] - 63 | hash(s) - | ^~~~ -battlestar/parse.c: In function 'lookup': -battlestar/parse.c:77:1: warning: old-style function definition [-Wold-style-definition] - 77 | lookup(s) - | ^~~~~~ -battlestar/parse.c: In function 'install': -battlestar/parse.c:89:1: warning: old-style function definition [-Wold-style-definition] - 89 | install(wp) - | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/help.c -o boggle/boggle/help.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/mach.c -o boggle/boggle/mach.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/prtable.c -o boggle/boggle/prtable.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/timer.c -o boggle/boggle/timer.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/word.c -o boggle/boggle/word.o -battlestar/init.c: In function 'initialize': -battlestar/init.c:48:1: warning: old-style function definition [-Wold-style-definition] - 48 | initialize(filename) - | ^~~~~~~~~~ -battlestar/init.c: In function 'wizard': -battlestar/init.c:112:1: warning: old-style function definition [-Wold-style-definition] - 112 | wizard(uname) - | ^~~~~~ -battlestar/init.c: In function 'checkout': -battlestar/init.c:123:1: warning: old-style function definition [-Wold-style-definition] - 123 | checkout(uname) - | ^~~~~~~~ -battlestar/room.c: In function 'whichway': -battlestar/room.c:80:1: warning: old-style function definition [-Wold-style-definition] - 80 | whichway(here) - | ^~~~~~~~ -battlestar/room.c: In function 'truedirec': -battlestar/room.c:117:1: warning: old-style function definition [-Wold-style-definition] - 117 | truedirec(way, option) - | ^~~~~~~~~ -battlestar/room.c: In function 'newway': -battlestar/room.c:182:1: warning: old-style function definition [-Wold-style-definition] - 182 | newway(thisway) - | ^~~~~~ -battlestar/room.c: In function 'truedirec': -battlestar/room.c:124:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 124 | switch (direction) { - | ^~~~~~ -battlestar/room.c:136:9: note: here - 136 | case SOUTH: - | ^~~~ -battlestar/room.c:137:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 137 | switch (direction) { - | ^~~~~~ -battlestar/room.c:149:9: note: here - 149 | case EAST: - | ^~~~ -battlestar/room.c:150:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 150 | switch (direction) { - | ^~~~~~ -battlestar/room.c:162:9: note: here - 162 | case WEST: - | ^~~~ -battlestar/room.c:163:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | switch (direction) { - | ^~~~~~ -battlestar/room.c:175:9: note: here - 175 | default: - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iboggle/mkindex -Iboggle/boggle -c boggle/mkindex/mkindex.c -o boggle/mkindex/mkindex.o -boggle/boggle/bog.c: In function 'main': -boggle/boggle/bog.c:125:1: warning: old-style function definition [-Wold-style-definition] - 125 | main(argc, argv) - | ^~~~ -boggle/boggle/bog.c: In function 'batchword': -boggle/boggle/bog.c:284:1: warning: old-style function definition [-Wold-style-definition] - 284 | batchword(fp) - | ^~~~~~~~~ -boggle/boggle/bog.c: In function 'checkword': -boggle/boggle/bog.c:434:1: warning: old-style function definition [-Wold-style-definition] - 434 | checkword(word, prev, path) - | ^~~~~~~~~ -boggle/boggle/bog.c: In function 'validword': -boggle/boggle/bog.c:518:1: warning: old-style function definition [-Wold-style-definition] - 518 | validword(word) - | ^~~~~~~~~ -boggle/boggle/bog.c: In function 'newgame': -boggle/boggle/bog.c:633:1: warning: old-style function definition [-Wold-style-definition] - 633 | newgame(b) - | ^~~~~~~ -boggle/boggle/bog.c: In function 'compar': -boggle/boggle/bog.c:703:1: warning: old-style function definition [-Wold-style-definition] - 703 | compar(p, q) - | ^~~~~~ -boggle/boggle/bog.c: In function 'main': -boggle/boggle/bog.c:134:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 134 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iboggle/mkdict -Iboggle/boggle -c boggle/mkdict/mkdict.c -o boggle/mkdict/mkdict.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iboggle/mkindex -Iboggle/boggle -c boggle/mkindex/mkindex.c -o boggle/mkindex/mkindex.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icaesar -c caesar/caesar.c -o caesar/caesar.o ./substscr g s caesar/rot13.in caesar/rot13 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icanfield/cfscores -Icanfield/canfield -c canfield/cfscores/cfscores.c -o canfield/cfscores/cfscores.o -Generating caesar/rot13 from caesar/rot13.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icanfield/canfield -c canfield/canfield/canfield.c -o canfield/canfield/canfield.o ./substscr g m canfield/canfield/canfield.6.in canfield/canfield/canfield.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icanfield/cfscores -Icanfield/canfield -c canfield/cfscores/cfscores.c -o canfield/cfscores/cfscores.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/cards.c -o cribbage/cards.o +Generating caesar/rot13 from caesar/rot13.in +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/crib.c -o cribbage/crib.o +Generating canfield/canfield/canfield.6 from canfield/canfield/canfield.6.in +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/extern.c -o cribbage/extern.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/instr.c -o cribbage/instr.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/io.c -o cribbage/io.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/score.c -o cribbage/score.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/support.c -o cribbage/support.o +./substscr g m cribbage/cribbage.6.in cribbage/cribbage.6 +x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/algor.cc -o dab/algor.o +Generating cribbage/cribbage.6 from cribbage/cribbage.6.in +x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/board.cc -o dab/board.o +x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/box.cc -o dab/box.o +x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/gamescreen.cc -o dab/gamescreen.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ boggle/boggle/prtable.c: In function 'prtable': +boggle/mkindex/mkindex.c: In function 'nextword': boggle/boggle/prtable.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | prtable(base, num, d_cols, width, prentry, length) | ^~~~~~~ +boggle/mkindex/mkindex.c:99:1: warning: old-style function definition [-Wold-style-definition] + 99 | nextword(fp, buffer, clen, rlen) + | ^~~~~~~~ boggle/boggle/prtable.c:74:13: warning: variable 'col' set but not used [-Wunused-but-set-variable] 74 | int col, row; | ^~~ @@ -2090,7 +2157,7 @@ boggle/boggle/prtable.c:117:1: warning: old-style function definition [-Wold-style-definition] 117 | get_maxlen(base, num, length) | ^~~~~~~~~~ -Generating canfield/canfield/canfield.6 from canfield/canfield/canfield.6.in +x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/human.cc -o dab/human.o boggle/boggle/word.c: In function 'nextword': boggle/boggle/word.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | nextword(fp) @@ -2099,10 +2166,14 @@ boggle/boggle/word.c:111:1: warning: old-style function definition [-Wold-style-definition] 111 | dictseek(fp, offset, ptrname) | ^~~~~~~~ +boggle/mkdict/mkdict.c: In function 'main': boggle/boggle/word.c: In function 'opendict': boggle/boggle/word.c:127:1: warning: old-style function definition [-Wold-style-definition] 127 | opendict(dict) | ^~~~~~~~ +boggle/mkdict/mkdict.c:65:1: warning: old-style function definition [-Wold-style-definition] + 65 | main(argc, argv) + | ^~~~ boggle/boggle/word.c: In function 'loaddict': boggle/boggle/word.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | loaddict(fp) @@ -2111,148 +2182,12 @@ boggle/boggle/word.c:188:1: warning: old-style function definition [-Wold-style-definition] 188 | loadindex(indexfile) | ^~~~~~~~~ -bcd/bcd.c: In function 'main': -bcd/bcd.c:131:1: warning: old-style function definition [-Wold-style-definition] - 131 | main(argc, argv) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/cards.c -o cribbage/cards.o -bcd/bcd.c: In function 'printcard': -bcd/bcd.c:157:1: warning: old-style function definition [-Wold-style-definition] - 157 | printcard(str) - | ^~~~~~~~~ -bcd/bcd.c: In function 'main': -bcd/bcd.c:138:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 138 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/crib.c -o cribbage/crib.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/extern.c -o cribbage/extern.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/instr.c -o cribbage/instr.o -boggle/boggle/mach.c: In function 'setup': -boggle/boggle/mach.c:90:1: warning: old-style function definition [-Wold-style-definition] - 90 | setup(sflag, seed) - | ^~~~~ -boggle/boggle/mach.c: In function 'prword': -boggle/boggle/mach.c:150:1: warning: old-style function definition [-Wold-style-definition] - 150 | prword(base, indx) - | ^~~~~~ -boggle/boggle/mach.c: In function 'prwidth': -boggle/boggle/mach.c:158:1: warning: old-style function definition [-Wold-style-definition] - 158 | prwidth(base, indx) - | ^~~~~~~ -boggle/boggle/mach.c: In function 'get_line': -boggle/boggle/mach.c:171:1: warning: old-style function definition [-Wold-style-definition] - 171 | get_line(q) - | ^~~~~~~~ -boggle/boggle/mach.c: In function 'flushin': -boggle/boggle/mach.c:279:1: warning: old-style function definition [-Wold-style-definition] - 279 | flushin(fp) - | ^~~~~~~ -boggle/boggle/mach.c: In function 'addword': -boggle/boggle/mach.c:337:1: warning: old-style function definition [-Wold-style-definition] - 337 | addword(w) - | ^~~~~~~ -boggle/boggle/mach.c: In function 'showword': -boggle/boggle/mach.c:374:1: warning: old-style function definition [-Wold-style-definition] - 374 | showword(n) - | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/io.c -o cribbage/io.o -caesar/caesar.c: In function 'main': -boggle/boggle/mach.c: In function 'showstr': -caesar/caesar.c:83:1: warning: old-style function definition [-Wold-style-definition] - 83 | main(argc, argv) - | ^~~~ -boggle/boggle/mach.c:474:1: warning: old-style function definition [-Wold-style-definition] - 474 | showstr(str, delaysecs) - | ^~~~~~~ -boggle/mkindex/mkindex.c: In function 'nextword': -boggle/mkindex/mkindex.c:99:1: warning: old-style function definition [-Wold-style-definition] - 99 | nextword(fp, buffer, clen, rlen) - | ^~~~~~~~ -boggle/boggle/mach.c: In function 'putstr': -boggle/boggle/mach.c:487:1: warning: old-style function definition [-Wold-style-definition] - 487 | putstr(s) - | ^~~~~~ -boggle/boggle/mach.c: In function 'getword': -boggle/boggle/mach.c:497:1: warning: old-style function definition [-Wold-style-definition] - 497 | getword(q) - | ^~~~~~~ -boggle/boggle/mach.c: In function 'showboard': -boggle/boggle/mach.c:555:1: warning: old-style function definition [-Wold-style-definition] - 555 | showboard(b) - | ^~~~~~~~~ -boggle/boggle/mach.c: In function 'prompt': -boggle/boggle/mach.c:562:1: warning: old-style function definition [-Wold-style-definition] - 562 | prompt(mesg) - | ^~~~~~ -boggle/boggle/mach.c: In function 'stop_catcher': -boggle/boggle/mach.c:593:1: warning: old-style function definition [-Wold-style-definition] - 593 | stop_catcher(signo) - | ^~~~~~~~~~~~ -caesar/caesar.c: In function 'printit': -caesar/caesar.c:151:1: warning: old-style function definition [-Wold-style-definition] - 151 | printit(arg) - | ^~~~~~~ -boggle/boggle/mach.c: In function 'cont_catcher': -boggle/boggle/mach.c:614:1: warning: old-style function definition [-Wold-style-definition] - 614 | cont_catcher(signo) - | ^~~~~~~~~~~~ -boggle/boggle/mach.c: In function 'winch_catcher': -boggle/boggle/mach.c:630:1: warning: old-style function definition [-Wold-style-definition] - 630 | winch_catcher(signo) - | ^~~~~~~~~~~~~ -boggle/boggle/mach.c: In function 'tty_showboard': -boggle/boggle/mach.c:656:1: warning: old-style function definition [-Wold-style-definition] - 656 | tty_showboard(b) - | ^~~~~~~~~~~~~ -caesar/caesar.c: In function 'main': -caesar/caesar.c:93:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 93 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/score.c -o cribbage/score.o -canfield/cfscores/cfscores.c: In function 'main': -canfield/cfscores/cfscores.c:73:1: warning: old-style function definition [-Wold-style-definition] - 73 | main(argc, argv) - | ^~~~ -canfield/cfscores/cfscores.c: In function 'printuser': -canfield/cfscores/cfscores.c:119:1: warning: old-style function definition [-Wold-style-definition] - 119 | printuser(pw, printfail) - | ^~~~~~~~~ -canfield/cfscores/cfscores.c:126:24: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] - 126 | if (pw->pw_uid < 0) { - | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Icribbage -c cribbage/support.c -o cribbage/support.o -canfield/cfscores/cfscores.c: In function 'main': -canfield/cfscores/cfscores.c:81:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 81 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -boggle/boggle/timer.c: In function 'waitch': -boggle/boggle/timer.c:102:1: warning: old-style function definition [-Wold-style-definition] - 102 | waitch(delay) - | ^~~~~~ -boggle/boggle/timer.c: In function 'delay': -boggle/boggle/timer.c:113:1: warning: old-style function definition [-Wold-style-definition] - 113 | delay(tenths) - | ^~~~~ -./substscr g m cribbage/cribbage.6.in cribbage/cribbage.6 -boggle/mkdict/mkdict.c: In function 'main': -boggle/mkdict/mkdict.c:65:1: warning: old-style function definition [-Wold-style-definition] - 65 | main(argc, argv) - | ^~~~ -x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/algor.cc -o dab/algor.o -x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/board.cc -o dab/board.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -Generating cribbage/cribbage.6 from cribbage/cribbage.6.in cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/box.cc -o dab/box.o -x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/gamescreen.cc -o dab/gamescreen.o -x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/human.cc -o dab/human.o x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/main.cc -o dab/main.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/player.cc -o dab/player.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/random.cc -o dab/random.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/ttyscrn.cc -o dab/ttyscrn.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cribbage/cards.c: In function 'makedeck': @@ -2279,17 +2214,38 @@ cribbage/cards.c:138:1: warning: old-style function definition [-Wold-style-definition] 138 | sorthand(h, n) | ^~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ifish -c fish/fish.c -o fish/fish.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/bdinit.c -o gomoku/bdinit.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/bdisp.c -o gomoku/bdisp.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/main.c -o gomoku/main.o +canfield/cfscores/cfscores.c: In function 'main': +canfield/cfscores/cfscores.c:73:1: warning: old-style function definition [-Wold-style-definition] + 73 | main(argc, argv) + | ^~~~ +canfield/cfscores/cfscores.c: In function 'printuser': +canfield/cfscores/cfscores.c:119:1: warning: old-style function definition [-Wold-style-definition] + 119 | printuser(pw, printfail) + | ^~~~~~~~~ +canfield/cfscores/cfscores.c:126:24: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] + 126 | if (pw->pw_uid < 0) { + | ^ +boggle/boggle/timer.c: In function 'waitch': +boggle/boggle/timer.c:102:1: warning: old-style function definition [-Wold-style-definition] + 102 | waitch(delay) + | ^~~~~~ +boggle/boggle/timer.c: In function 'delay': +boggle/boggle/timer.c:113:1: warning: old-style function definition [-Wold-style-definition] + 113 | delay(tenths) + | ^~~~~ +canfield/cfscores/cfscores.c: In function 'main': +canfield/cfscores/cfscores.c:81:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 81 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/random.cc -o dab/random.o cribbage/support.c: In function 'cchose': cribbage/support.c:58:1: warning: old-style function definition [-Wold-style-definition] 58 | cchose(h, n, s) | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/makemove.c -o gomoku/makemove.o +cribbage/score.c: In function 'scorehand': +cribbage/score.c:108:1: warning: old-style function definition [-Wold-style-definition] + 108 | scorehand(hand, starter, n, crb, do_explain) + | ^~~~~~~~~ cribbage/support.c: In function 'plyrhand': cribbage/support.c:127:1: warning: old-style function definition [-Wold-style-definition] 127 | plyrhand(hand, s) @@ -2298,81 +2254,39 @@ cribbage/support.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | comphand(h, s) | ^~~~~~~~ +cribbage/score.c: In function 'fifteens': +cribbage/score.c:183:1: warning: old-style function definition [-Wold-style-definition] + 183 | fifteens(hand, n) + | ^~~~~~~~ cribbage/support.c: In function 'chkscr': cribbage/support.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | chkscr(scr, inc) | ^~~~~~ cribbage/support.c: In function 'prpeg': +cribbage/score.c: In function 'pairuns': cribbage/support.c:205:1: warning: old-style function definition [-Wold-style-definition] 205 | prpeg(score, peg, myturn) | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/pickmove.c -o gomoku/pickmove.o -dab/board.cc: In member function 'int BOARD::full() const': -dab/board.cc:157:27: warning: cast from type 'const BOARD*' to type 'BOARD*' casts away qualifiers [-Wcast-qual] - 157 | BOX box(y, x, (BOARD&) *this); - | ^~~~~~~~~~~~~~ -dab/board.cc: In member function 'void BOARD::paint() const': -dab/board.cc:176:27: warning: cast from type 'const BOARD*' to type 'BOARD*' casts away qualifiers [-Wcast-qual] - 176 | BOX box(y, x, (BOARD&) *this); - | ^~~~~~~~~~~~~~ -cribbage/io.c: In function 'msgcard': -cribbage/io.c:81:1: warning: old-style function definition [-Wold-style-definition] - 81 | msgcard(c, brief) - | ^~~~~~~ -cribbage/io.c: In function 'msgcrd': -cribbage/score.c: In function 'scorehand': -cribbage/io.c:96:1: warning: old-style function definition [-Wold-style-definition] - 96 | msgcrd(c, brfrank, mid, brfsuit) - | ^~~~~~ -cribbage/score.c:108:1: warning: old-style function definition [-Wold-style-definition] - 108 | scorehand(hand, starter, n, crb, do_explain) - | ^~~~~~~~~ -cribbage/io.c: In function 'printcard': -cribbage/io.c:121:1: warning: old-style function definition [-Wold-style-definition] - 121 | printcard(win, cardno, c, blank) - | ^~~~~~~~~ -cribbage/io.c: In function 'prcard': -cribbage/io.c:135:1: warning: old-style function definition [-Wold-style-definition] - 135 | prcard(win, y, x, c, blank) - | ^~~~~~ -cribbage/score.c: In function 'fifteens': -cribbage/io.c: In function 'prhand': -cribbage/io.c:162:1: warning: old-style function definition [-Wold-style-definition] - 162 | prhand(h, n, win, blank) - | ^~~~~~ -cribbage/score.c:183:1: warning: old-style function definition [-Wold-style-definition] - 183 | fifteens(hand, n) - | ^~~~~~~~ -cribbage/io.c: In function 'infrom': -cribbage/io.c:182:1: warning: old-style function definition [-Wold-style-definition] - 182 | infrom(hand, n, prompt) - | ^~~~~~ -cribbage/score.c: In function 'pairuns': cribbage/score.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | pairuns(h, n) | ^~~~~~~ -cribbage/io.c: In function 'incard': -cribbage/io.c:238:1: warning: old-style function definition [-Wold-style-definition] - 238 | incard(crd) - | ^~~~~~ -cribbage/score.c: In function 'pegscore': -cribbage/score.c:295:1: warning: old-style function definition [-Wold-style-definition] - 295 | pegscore(crd, tbl, n, sum) - | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/stoc.c -o gomoku/stoc.o -cribbage/score.c: In function 'adjust': -cribbage/score.c:351:1: warning: old-style function definition [-Wold-style-definition] - 351 | adjust(cb, tnv) - | ^~~~~~ cribbage/support.c: In function 'cdiscard': cribbage/support.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | cdiscard(mycrib) | ^~~~~~~~ +cribbage/score.c: In function 'pegscore': +cribbage/score.c:295:1: warning: old-style function definition [-Wold-style-definition] + 295 | pegscore(crd, tbl, n, sum) + | ^~~~~~~~ cribbage/support.c: In function 'anymove': cribbage/support.c:297:1: warning: old-style function definition [-Wold-style-definition] 297 | anymove(hand, n, sum) | ^~~~~~~ +cribbage/score.c: In function 'adjust': cribbage/support.c: In function 'anysumto': +cribbage/score.c:351:1: warning: old-style function definition [-Wold-style-definition] + 351 | adjust(cb, tnv) + | ^~~~~~ cribbage/support.c:318:1: warning: old-style function definition [-Wold-style-definition] 318 | anysumto(hand, n, s, t) | ^~~~~~~~ @@ -2384,19 +2298,14 @@ cribbage/support.c:353:1: warning: old-style function definition [-Wold-style-definition] 353 | makeknown(h, n) | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/alloc.c -o hack/alloc.o -cribbage/io.c: In function 'number': -cribbage/io.c:340:1: warning: old-style function definition [-Wold-style-definition] - 340 | number(lo, hi, prompt) - | ^~~~~~ -cribbage/io.c: In function 'wait_for': -cribbage/io.c:490:1: warning: old-style function definition [-Wold-style-definition] - 490 | wait_for(ch) - | ^~~~~~~~ -cribbage/io.c: In function 'receive_intr': -cribbage/io.c:585:1: warning: old-style function definition [-Wold-style-definition] - 585 | receive_intr(signo) - | ^~~~~~~~~~~~ +caesar/caesar.c: In function 'main': +caesar/caesar.c:83:1: warning: old-style function definition [-Wold-style-definition] + 83 | main(argc, argv) + | ^~~~ +caesar/caesar.c: In function 'printit': +caesar/caesar.c:151:1: warning: old-style function definition [-Wold-style-definition] + 151 | printit(arg) + | ^~~~~~~ canfield/canfield/canfield.c: In function 'initdeck': canfield/canfield/canfield.c:517:1: warning: old-style function definition [-Wold-style-definition] 517 | initdeck(deck) @@ -2413,10 +2322,18 @@ canfield/canfield/canfield.c:578:1: warning: old-style function definition [-Wold-style-definition] 578 | printrank(a, b, cp, inverse) | ^~~~~~~~~ +caesar/caesar.c: In function 'main': +caesar/caesar.c:93:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 93 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ canfield/canfield/canfield.c: In function 'printcard': canfield/canfield/canfield.c:613:1: warning: old-style function definition [-Wold-style-definition] 613 | printcard(a, b, cp) | ^~~~~~~~~ +cribbage/crib.c: In function 'main': +cribbage/crib.c:62:1: warning: old-style function definition [-Wold-style-definition] + 62 | main(argc, argv) + | ^~~~ canfield/canfield/canfield.c: In function 'transit': canfield/canfield/canfield.c:640:1: warning: old-style function definition [-Wold-style-definition] 640 | transit(source, dest) @@ -2425,7 +2342,6 @@ canfield/canfield/canfield.c:657:1: warning: old-style function definition [-Wold-style-definition] 657 | fndbase(cp, column, row) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.Decl.c -o hack/hack.Decl.o canfield/canfield/canfield.c: In function 'notempty': canfield/canfield/canfield.c:829:1: warning: old-style function definition [-Wold-style-definition] 829 | notempty(cp) @@ -2442,17 +2358,40 @@ canfield/canfield/canfield.c:876:1: warning: old-style function definition [-Wold-style-definition] 876 | tabok(cp, des) | ^~~~~ -gomoku/makemove.c: In function 'makemove': -gomoku/makemove.c:62:1: warning: old-style function definition [-Wold-style-definition] - 62 | makemove(us, mv) +cribbage/crib.c: In function 'playhand': +cribbage/crib.c:303:1: warning: old-style function definition [-Wold-style-definition] + 303 | playhand(mycrib) | ^~~~~~~~ -gomoku/makemove.c: In function 'update_overlap': -gomoku/makemove.c:220:1: warning: old-style function definition [-Wold-style-definition] - 220 | update_overlap(osp) - | ^~~~~~~~~~~~~~ -gomoku/makemove.c:246:21: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] - 246 | str = &overlap[(a = sp1->s_frame[r] - frames) * FAREA]; - | ^ +cribbage/crib.c: In function 'deal': +cribbage/crib.c:335:1: warning: old-style function definition [-Wold-style-definition] + 335 | deal(mycrib) + | ^~~~ +cribbage/crib.c: In function 'discard': +cribbage/crib.c:358:1: warning: old-style function definition [-Wold-style-definition] + 358 | discard(mycrib) + | ^~~~~~~ +cribbage/crib.c: In function 'cut': +cribbage/crib.c:388:1: warning: old-style function definition [-Wold-style-definition] + 388 | cut(mycrib, pos) + | ^~~ +cribbage/crib.c: In function 'prcrib': +cribbage/crib.c:432:1: warning: old-style function definition [-Wold-style-definition] + 432 | prcrib(mycrib, blank) + | ^~~~~~ +cribbage/crib.c: In function 'peg': +cribbage/crib.c:463:1: warning: old-style function definition [-Wold-style-definition] + 463 | peg(mycrib) + | ^~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +x86_64-linux-gnu-g++ -g -O2 -Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Idab -c dab/ttyscrn.cc -o dab/ttyscrn.o +cribbage/crib.c: In function 'prtable': +cribbage/crib.c:623:1: warning: old-style function definition [-Wold-style-definition] + 623 | prtable(score) + | ^~~~~~~ +cribbage/crib.c: In function 'score': +cribbage/crib.c:636:1: warning: old-style function definition [-Wold-style-definition] + 636 | score(mycrib) + | ^~~~~ canfield/canfield/canfield.c: In function 'simpletableau': canfield/canfield/canfield.c:1193:1: warning: old-style function definition [-Wold-style-definition] 1193 | simpletableau(cp, des) @@ -2469,6 +2408,7 @@ canfield/canfield/canfield.c:1281:1: warning: old-style function definition [-Wold-style-definition] 1281 | rankhigher(cp, let) | ^~~~~~~~~~ +cribbage/crib.c: In function 'main': canfield/canfield/canfield.c: In function 'samesuit': canfield/canfield/canfield.c:1300:1: warning: old-style function definition [-Wold-style-definition] 1300 | samesuit(cp, let) @@ -2477,20 +2417,129 @@ canfield/canfield/canfield.c:1314:1: warning: old-style function definition [-Wold-style-definition] 1314 | movetofound(cp, source) | ^~~~~~~~~~~ +cribbage/crib.c:79:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 79 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ canfield/canfield/canfield.c: In function 'getcmd': canfield/canfield/canfield.c:1366:1: warning: old-style function definition [-Wold-style-definition] 1366 | getcmd(row, col, cp) | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.apply.c -o hack/hack.apply.o +boggle/boggle/mach.c: In function 'setup': +cribbage/io.c: In function 'msgcard': +boggle/boggle/mach.c:90:1: warning: old-style function definition [-Wold-style-definition] + 90 | setup(sflag, seed) + | ^~~~~ +cribbage/io.c:81:1: warning: old-style function definition [-Wold-style-definition] + 81 | msgcard(c, brief) + | ^~~~~~~ +cribbage/io.c: In function 'msgcrd': +cribbage/io.c:96:1: warning: old-style function definition [-Wold-style-definition] + 96 | msgcrd(c, brfrank, mid, brfsuit) + | ^~~~~~ +cribbage/io.c: In function 'printcard': +cribbage/io.c:121:1: warning: old-style function definition [-Wold-style-definition] + 121 | printcard(win, cardno, c, blank) + | ^~~~~~~~~ +cribbage/io.c: In function 'prcard': +boggle/boggle/mach.c: In function 'prword': +cribbage/io.c:135:1: warning: old-style function definition [-Wold-style-definition] + 135 | prcard(win, y, x, c, blank) + | ^~~~~~ +boggle/boggle/mach.c:150:1: warning: old-style function definition [-Wold-style-definition] + 150 | prword(base, indx) + | ^~~~~~ +boggle/boggle/mach.c: In function 'prwidth': +boggle/boggle/mach.c:158:1: warning: old-style function definition [-Wold-style-definition] + 158 | prwidth(base, indx) + | ^~~~~~~ +boggle/boggle/mach.c: In function 'get_line': +boggle/boggle/mach.c:171:1: warning: old-style function definition [-Wold-style-definition] + 171 | get_line(q) + | ^~~~~~~~ +cribbage/io.c: In function 'prhand': +cribbage/io.c:162:1: warning: old-style function definition [-Wold-style-definition] + 162 | prhand(h, n, win, blank) + | ^~~~~~ +cribbage/io.c: In function 'infrom': +cribbage/io.c:182:1: warning: old-style function definition [-Wold-style-definition] + 182 | infrom(hand, n, prompt) + | ^~~~~~ +boggle/boggle/mach.c: In function 'flushin': +boggle/boggle/mach.c:279:1: warning: old-style function definition [-Wold-style-definition] + 279 | flushin(fp) + | ^~~~~~~ +cribbage/io.c: In function 'incard': +cribbage/io.c:238:1: warning: old-style function definition [-Wold-style-definition] + 238 | incard(crd) + | ^~~~~~ +boggle/boggle/mach.c: In function 'addword': +boggle/boggle/mach.c:337:1: warning: old-style function definition [-Wold-style-definition] + 337 | addword(w) + | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ifish -c fish/fish.c -o fish/fish.o +boggle/boggle/mach.c: In function 'showword': +boggle/boggle/mach.c:374:1: warning: old-style function definition [-Wold-style-definition] + 374 | showword(n) + | ^~~~~~~~ +cribbage/io.c: In function 'number': +cribbage/io.c:340:1: warning: old-style function definition [-Wold-style-definition] + 340 | number(lo, hi, prompt) + | ^~~~~~ +boggle/boggle/mach.c: In function 'showstr': canfield/canfield/canfield.c: In function 'cleanup': +boggle/boggle/mach.c:474:1: warning: old-style function definition [-Wold-style-definition] + 474 | showstr(str, delaysecs) + | ^~~~~~~ canfield/canfield/canfield.c:1747:1: warning: old-style function definition [-Wold-style-definition] 1747 | cleanup(dummy) | ^~~~~~~ +boggle/boggle/mach.c: In function 'putstr': +boggle/boggle/mach.c:487:1: warning: old-style function definition [-Wold-style-definition] + 487 | putstr(s) + | ^~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +boggle/boggle/mach.c: In function 'getword': +boggle/boggle/mach.c:497:1: warning: old-style function definition [-Wold-style-definition] + 497 | getword(q) + | ^~~~~~~ canfield/canfield/canfield.c: In function 'askquit': canfield/canfield/canfield.c:1771:1: warning: old-style function definition [-Wold-style-definition] 1771 | askquit(dummy) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.bones.c -o hack/hack.bones.o +boggle/boggle/mach.c: In function 'showboard': +boggle/boggle/mach.c:555:1: warning: old-style function definition [-Wold-style-definition] + 555 | showboard(b) + | ^~~~~~~~~ +boggle/boggle/mach.c: In function 'prompt': +boggle/boggle/mach.c:562:1: warning: old-style function definition [-Wold-style-definition] + 562 | prompt(mesg) + | ^~~~~~ +boggle/boggle/mach.c: In function 'stop_catcher': +boggle/boggle/mach.c:593:1: warning: old-style function definition [-Wold-style-definition] + 593 | stop_catcher(signo) + | ^~~~~~~~~~~~ +cribbage/io.c: In function 'wait_for': +boggle/boggle/mach.c: In function 'cont_catcher': +cribbage/io.c:490:1: warning: old-style function definition [-Wold-style-definition] + 490 | wait_for(ch) + | ^~~~~~~~ +boggle/boggle/mach.c:614:1: warning: old-style function definition [-Wold-style-definition] + 614 | cont_catcher(signo) + | ^~~~~~~~~~~~ +boggle/boggle/mach.c: In function 'winch_catcher': +boggle/boggle/mach.c:630:1: warning: old-style function definition [-Wold-style-definition] + 630 | winch_catcher(signo) + | ^~~~~~~~~~~~~ +boggle/boggle/mach.c: In function 'tty_showboard': +boggle/boggle/mach.c:656:1: warning: old-style function definition [-Wold-style-definition] + 656 | tty_showboard(b) + | ^~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/bdinit.c -o gomoku/bdinit.o +cribbage/io.c: In function 'receive_intr': +cribbage/io.c:585:1: warning: old-style function definition [-Wold-style-definition] + 585 | receive_intr(signo) + | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/bdisp.c -o gomoku/bdisp.o canfield/canfield/canfield.c: In function 'getcmd': canfield/canfield/canfield.c:1388:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1388 | write(1, "\007", 1); @@ -2499,12 +2548,46 @@ canfield/canfield/canfield.c:1428:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1428 | write(dbfd, (char *)&total, sizeof(total)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.c -o hack/hack.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.cmd.c -o hack/hack.cmd.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/main.c -o gomoku/main.o canfield/canfield/canfield.c: In function 'initall': canfield/canfield/canfield.c:1685:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 1685 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +canfield/canfield/canfield.c: In function 'cleanup': +canfield/canfield/canfield.c:1756:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1756 | write(dbfd, (char *)&total, sizeof(total)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/makemove.c -o gomoku/makemove.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/pickmove.c -o gomoku/pickmove.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Igomoku -c gomoku/stoc.c -o gomoku/stoc.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/alloc.c -o hack/alloc.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.Decl.c -o hack/hack.Decl.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.apply.c -o hack/hack.apply.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.bones.c -o hack/hack.bones.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.c -o hack/hack.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.cmd.c -o hack/hack.cmd.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do.c -o hack/hack.do.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_name.c -o hack/hack.do_name.o +gomoku/bdinit.c: In function 'bdinit': +gomoku/bdinit.c:48:1: warning: old-style function definition [-Wold-style-definition] + 48 | bdinit(bp) + | ^~~~~~ +dab/board.cc: In member function 'int BOARD::full() const': +dab/board.cc:157:27: warning: cast from type 'const BOARD*' to type 'BOARD*' casts away qualifiers [-Wcast-qual] + 157 | BOX box(y, x, (BOARD&) *this); + | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_wear.c -o hack/hack.do_wear.o +dab/board.cc: In member function 'void BOARD::paint() const': +dab/board.cc:176:27: warning: cast from type 'const BOARD*' to type 'BOARD*' casts away qualifiers [-Wcast-qual] + 176 | BOX box(y, x, (BOARD&) *this); + | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.dog.c -o hack/hack.dog.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.eat.c -o hack/hack.eat.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.end.c -o hack/hack.end.o +gomoku/makemove.c: In function 'makemove': +gomoku/makemove.c:62:1: warning: old-style function definition [-Wold-style-definition] + 62 | makemove(us, mv) + | ^~~~~~~~ gomoku/bdisp.c: In function 'bdwho': gomoku/bdisp.c:120:1: warning: old-style function definition [-Wold-style-definition] 120 | bdwho(update) @@ -2513,116 +2596,30 @@ gomoku/bdisp.c:211:1: warning: old-style function definition [-Wold-style-definition] 211 | dislog(str) | ^~~~~~ +gomoku/makemove.c: In function 'update_overlap': gomoku/bdisp.c: In function 'ask': gomoku/bdisp.c:231:1: warning: old-style function definition [-Wold-style-definition] 231 | ask(str) | ^~~ +gomoku/makemove.c:220:1: warning: old-style function definition [-Wold-style-definition] + 220 | update_overlap(osp) + | ^~~~~~~~~~~~~~ gomoku/bdisp.c: In function 'get_line': gomoku/bdisp.c:244:1: warning: old-style function definition [-Wold-style-definition] 244 | get_line(buf, size) | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do.c -o hack/hack.do.o -cribbage/crib.c: In function 'main': -cribbage/crib.c:62:1: warning: old-style function definition [-Wold-style-definition] - 62 | main(argc, argv) - | ^~~~ -gomoku/bdinit.c: In function 'bdinit': -gomoku/bdinit.c:48:1: warning: old-style function definition [-Wold-style-definition] - 48 | bdinit(bp) - | ^~~~~~ +gomoku/makemove.c:246:21: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] + 246 | str = &overlap[(a = sp1->s_frame[r] - frames) * FAREA]; + | ^ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.engrave.c -o hack/hack.engrave.o hack/alloc.c: In function 'alloc': hack/alloc.c:95:1: warning: old-style function definition [-Wold-style-definition] 95 | alloc(lth) | ^~~~~ hack/alloc.c: In function 'enlarge': -cribbage/crib.c: In function 'playhand': hack/alloc.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | enlarge(ptr, lth) | ^~~~~~~ -cribbage/crib.c:303:1: warning: old-style function definition [-Wold-style-definition] - 303 | playhand(mycrib) - | ^~~~~~~~ -cribbage/crib.c: In function 'deal': -cribbage/crib.c:335:1: warning: old-style function definition [-Wold-style-definition] - 335 | deal(mycrib) - | ^~~~ -cribbage/crib.c: In function 'discard': -cribbage/crib.c:358:1: warning: old-style function definition [-Wold-style-definition] - 358 | discard(mycrib) - | ^~~~~~~ -cribbage/crib.c: In function 'cut': -cribbage/crib.c:388:1: warning: old-style function definition [-Wold-style-definition] - 388 | cut(mycrib, pos) - | ^~~ -gomoku/stoc.c: In function 'stoc': -gomoku/stoc.c:66:1: warning: old-style function definition [-Wold-style-definition] - 66 | stoc(s) - | ^~~~ -cribbage/crib.c: In function 'prcrib': -cribbage/crib.c:432:1: warning: old-style function definition [-Wold-style-definition] - 432 | prcrib(mycrib, blank) - | ^~~~~~ -gomoku/stoc.c: In function 'ctos': -gomoku/stoc.c:83:1: warning: old-style function definition [-Wold-style-definition] - 83 | ctos(mp) - | ^~~~ -cribbage/crib.c: In function 'peg': -canfield/canfield/canfield.c: In function 'cleanup': -canfield/canfield/canfield.c:1756:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1756 | write(dbfd, (char *)&total, sizeof(total)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gomoku/stoc.c: In function 'lton': -gomoku/stoc.c:103:1: warning: old-style function definition [-Wold-style-definition] - 103 | lton(c) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_name.c -o hack/hack.do_name.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.do_wear.c -o hack/hack.do_wear.o -gomoku/main.c:70:35: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] - 70 | const char pdir[4] = "-\\|/"; - | ^~~~~~~ -gomoku/main.c: In function 'main': -gomoku/main.c:85:1: warning: old-style function definition [-Wold-style-definition] - 85 | main(argc, argv) - | ^~~~ -gomoku/main.c: In function 'readinput': -gomoku/main.c:338:1: warning: old-style function definition [-Wold-style-definition] - 338 | readinput(fp) - | ^~~~~~~~~ -gomoku/main.c: In function 'dlog': -gomoku/main.c:498:1: warning: old-style function definition [-Wold-style-definition] - 498 | dlog(str) - | ^~~~ -gomoku/main.c: In function 'glog': -gomoku/main.c:511:1: warning: old-style function definition [-Wold-style-definition] - 511 | glog(str) - | ^~~~ -gomoku/main.c: In function 'quitsig': -gomoku/main.c:534:1: warning: old-style function definition [-Wold-style-definition] - 534 | quitsig(dummy) - | ^~~~~~~ -gomoku/main.c: In function 'panic': -gomoku/main.c:544:1: warning: old-style function definition [-Wold-style-definition] - 544 | panic(str) - | ^~~~~ -gomoku/main.c: In function 'main': -gomoku/main.c:98:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 98 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cribbage/crib.c:463:1: warning: old-style function definition [-Wold-style-definition] - 463 | peg(mycrib) - | ^~~ -cribbage/crib.c: In function 'prtable': -cribbage/crib.c:623:1: warning: old-style function definition [-Wold-style-definition] - 623 | prtable(score) - | ^~~~~~~ -cribbage/crib.c: In function 'score': -cribbage/crib.c:636:1: warning: old-style function definition [-Wold-style-definition] - 636 | score(mycrib) - | ^~~~~ -cribbage/crib.c: In function 'main': -cribbage/crib.c:79:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 79 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fish/fish.c: In function 'main': fish/fish.c:99:1: warning: old-style function definition [-Wold-style-definition] 99 | main(argc, argv) @@ -2655,6 +2652,7 @@ fish/fish.c:392:1: warning: old-style function definition [-Wold-style-definition] 392 | countcards(hand) | ^~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.fight.c -o hack/hack.fight.o fish/fish.c: In function 'countbooks': fish/fish.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | countbooks(hand) @@ -2663,164 +2661,38 @@ fish/fish.c:441:1: warning: old-style function definition [-Wold-style-definition] 441 | nrandom(n) | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.invent.c -o hack/hack.invent.o fish/fish.c: In function 'main': fish/fish.c:106:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.dog.c -o hack/hack.dog.o -gomoku/pickmove.c: In function 'pickmove': -gomoku/pickmove.c:69:1: warning: old-style function definition [-Wold-style-definition] - 69 | pickmove(us) - | ^~~~~~~~ -gomoku/pickmove.c: In function 'better': -gomoku/pickmove.c:169:1: warning: old-style function definition [-Wold-style-definition] - 169 | better(sp, sp1, us) - | ^~~~~~ -gomoku/pickmove.c: In function 'scanframes': -gomoku/pickmove.c:230:1: warning: old-style function definition [-Wold-style-definition] - 230 | scanframes(color) - | ^~~~~~~~~~ -gomoku/pickmove.c: In function 'makecombo2': -gomoku/pickmove.c:415:1: warning: old-style function definition [-Wold-style-definition] - 415 | makecombo2(ocbp, osp, off, s) - | ^~~~~~~~~~ -gomoku/pickmove.c: In function 'addframes': -gomoku/pickmove.c:549:1: warning: old-style function definition [-Wold-style-definition] - 549 | addframes(level) - | ^~~~~~~~~ -gomoku/pickmove.c: In function 'makecombo': -gomoku/pickmove.c:650:1: warning: old-style function definition [-Wold-style-definition] - 650 | makecombo(ocbp, osp, off, s) - | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.eat.c -o hack/hack.eat.o -gomoku/pickmove.c: In function 'makeempty': -gomoku/pickmove.c:801:1: warning: old-style function definition [-Wold-style-definition] - 801 | makeempty(ocbp) - | ^~~~~~~~~ -gomoku/pickmove.c: In function 'updatecombo': -gomoku/pickmove.c:960:1: warning: old-style function definition [-Wold-style-definition] - 960 | updatecombo(cbp, color) - | ^~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.end.c -o hack/hack.end.o -gomoku/pickmove.c: In function 'appendcombo': -gomoku/pickmove.c:1051:1: warning: old-style function definition [-Wold-style-definition] - 1051 | appendcombo(cbp, color) - | ^~~~~~~~~~~ -gomoku/pickmove.c: In function 'checkframes': -gomoku/pickmove.c:1082:1: warning: old-style function definition [-Wold-style-definition] - 1082 | checkframes(cbp, fcbp, osp, s, vertices) - | ^~~~~~~~~~~ -gomoku/pickmove.c:1090:37: warning: variable 'loop' set but not used [-Wunused-but-set-variable] - 1090 | int i, n, mask, flg, verts, loop, index, fcnt; - | ^~~~ -gomoku/pickmove.c: In function 'sortcombo': -gomoku/pickmove.c:1224:1: warning: old-style function definition [-Wold-style-definition] - 1224 | sortcombo(scbpp, cbpp, fcbp) - | ^~~~~~~~~ -gomoku/pickmove.c: In function 'printcombo': -gomoku/pickmove.c:1338:1: warning: old-style function definition [-Wold-style-definition] - 1338 | printcombo(cbp, str) - | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.engrave.c -o hack/hack.engrave.o -hack/hack.apply.c: In function 'use_camera': -hack/hack.apply.c:139:1: warning: old-style function definition [-Wold-style-definition] - 139 | use_camera(obj) /* */ - | ^~~~~~~~~~ -hack/hack.apply.c: In function 'in_ice_box': -hack/hack.apply.c:190:1: warning: old-style function definition [-Wold-style-definition] - 190 | in_ice_box(obj) - | ^~~~~~~~~~ -hack/hack.apply.c: In function 'ck_ice_box': -hack/hack.apply.c:223:1: warning: old-style function definition [-Wold-style-definition] - 223 | ck_ice_box(obj) - | ^~~~~~~~~~ -hack/hack.apply.c: In function 'out_ice_box': -hack/hack.apply.c:230:1: warning: old-style function definition [-Wold-style-definition] - 230 | out_ice_box(obj) - | ^~~~~~~~~~~ -hack/hack.apply.c: In function 'use_ice_box': -hack/hack.apply.c:249:1: warning: old-style function definition [-Wold-style-definition] - 249 | use_ice_box(obj) - | ^~~~~~~~~~~ -hack/hack.apply.c: In function 'bchit': -hack/hack.apply.c:276:1: warning: old-style function definition [-Wold-style-definition] - 276 | bchit(ddx, ddy, range, sym) +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.ioctl.c -o hack/hack.ioctl.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.lev.c -o hack/hack.lev.o +hack/hack.cmd.c: In function 'rhack': +hack/hack.cmd.c:144:1: warning: old-style function definition [-Wold-style-definition] + 144 | rhack(cmd) | ^~~~~ -hack/hack.apply.c: In function 'use_whistle': -hack/hack.apply.c:305:1: warning: old-style function definition [-Wold-style-definition] - 305 | use_whistle(obj) - | ^~~~~~~~~~~ -hack/hack.apply.c: In function 'use_magic_whistle': -hack/hack.apply.c:323:1: warning: old-style function definition [-Wold-style-definition] - 323 | use_magic_whistle(obj) - | ^~~~~~~~~~~~~~~~~ -hack/hack.apply.c: In function 'use_pick_axe': -hack/hack.apply.c:446:1: warning: old-style function definition [-Wold-style-definition] - 446 | use_pick_axe(obj) - | ^~~~~~~~~~~~ -hack/hack.apply.c: In function 'doapply': -hack/hack.apply.c:107:44: warning: this statement may fall through [-Wimplicit-fallthrough=] - 107 | if (pl_character[0] == 'W' || u.ulevel > 9) { - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.fight.c -o hack/hack.fight.o -hack/hack.apply.c:112:9: note: here - 112 | case WHISTLE: - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.invent.c -o hack/hack.invent.o -hack/hack.do_wear.c: In function 'off_msg': -hack/hack.do_wear.c:73:1: warning: old-style function definition [-Wold-style-definition] - 73 | off_msg(otmp) - | ^~~~~~~ -hack/hack.do_wear.c: In function 'dorr': -hack/hack.do_wear.c:141:1: warning: old-style function definition [-Wold-style-definition] - 141 | dorr(otmp) +hack/hack.cmd.c: In function 'lowc': +hack/hack.cmd.c:267:1: warning: old-style function definition [-Wold-style-definition] + 267 | lowc(sym) | ^~~~ -hack/hack.do_wear.c: In function 'cursed': -hack/hack.do_wear.c:152:1: warning: old-style function definition [-Wold-style-definition] - 152 | cursed(otmp) +hack/hack.cmd.c: In function 'unctrl': +hack/hack.cmd.c:274:1: warning: old-style function definition [-Wold-style-definition] + 274 | unctrl(sym) | ^~~~~~ -hack/hack.do_wear.c: In function 'armoroff': -hack/hack.do_wear.c:163:1: warning: old-style function definition [-Wold-style-definition] - 163 | armoroff(otmp) - | ^~~~~~~~ -hack/hack.do_wear.c: In function 'ringoff': -hack/hack.do_wear.c:332:1: warning: old-style function definition [-Wold-style-definition] - 332 | ringoff(obj) +hack/hack.cmd.c: In function 'movecmd': +hack/hack.cmd.c:287:1: warning: old-style function definition [-Wold-style-definition] + 287 | movecmd(sym) /* also sets u.dz, but returns false for <> */ | ^~~~~~~ -gomoku/main.c:182:70: warning: '%s' directive writing up to 127 bytes into a region of size 88 [-Wformat-overflow=] - 182 | "Huh? Expected `black' or `white', got `%s'\n", - | ^~ - 183 | buf); - | ~~~ -In file included from /usr/include/stdio.h:970, - from include/stdio.h:35, - from /usr/include/curses.h:246, - from gomoku/main.c:49: -In function 'sprintf', - inlined from 'main' at gomoku/main.c:181:4: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 43 and 170 bytes into a destination of size 128 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -hack/hack.do.c: In function 'drop': -hack/hack.do.c:87:1: warning: old-style function definition [-Wold-style-definition] - 87 | drop(obj) +hack/hack.cmd.c: In function 'getdir': +hack/hack.cmd.c:302:1: warning: old-style function definition [-Wold-style-definition] + 302 | getdir(s) + | ^~~~~~ +hack/hack.cmd.c: In function 'isok': +hack/hack.cmd.c:377:1: warning: old-style function definition [-Wold-style-definition] + 377 | isok(x, y) | ^~~~ -hack/hack.do.c: In function 'dropx': -hack/hack.do.c:125:1: warning: old-style function definition [-Wold-style-definition] - 125 | dropx(obj) - | ^~~~~ -hack/hack.do.c: In function 'dropy': -hack/hack.do.c:133:1: warning: old-style function definition [-Wold-style-definition] - 133 | dropy(obj) - | ^~~~~ -hack/hack.do.c: In function 'goto_level': -hack/hack.do.c:194:1: warning: old-style function definition [-Wold-style-definition] - 194 | goto_level(newlevel, at_stairs) - | ^~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.main.c -o hack/hack.main.o hack/hack.do_name.c: In function 'getpos': hack/hack.do_name.c:74:1: warning: old-style function definition [-Wold-style-definition] 74 | getpos(force, goal) @@ -2829,6 +2701,7 @@ hack/hack.do_name.c:169:1: warning: old-style function definition [-Wold-style-definition] 169 | do_oname(obj) | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.makemon.c -o hack/hack.makemon.o hack/hack.do_name.c: In function 'docall': hack/hack.do_name.c:237:1: warning: old-style function definition [-Wold-style-definition] 237 | docall(obj) @@ -2861,11 +2734,53 @@ hack/hack.do_name.c:360:1: warning: old-style function definition [-Wold-style-definition] 360 | Xmonnam(mtmp) | ^~~~~~~ +gomoku/pickmove.c: In function 'pickmove': +gomoku/pickmove.c:69:1: warning: old-style function definition [-Wold-style-definition] + 69 | pickmove(us) + | ^~~~~~~~ hack/hack.do_name.c: In function 'visctrl': hack/hack.do_name.c:372:1: warning: old-style function definition [-Wold-style-definition] 372 | visctrl(c) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.ioctl.c -o hack/hack.ioctl.o +gomoku/main.c:70:35: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] + 70 | const char pdir[4] = "-\\|/"; + | ^~~~~~~ +gomoku/main.c: In function 'main': +gomoku/main.c:85:1: warning: old-style function definition [-Wold-style-definition] + 85 | main(argc, argv) + | ^~~~ +gomoku/pickmove.c: In function 'better': +gomoku/pickmove.c:169:1: warning: old-style function definition [-Wold-style-definition] + 169 | better(sp, sp1, us) + | ^~~~~~ +gomoku/stoc.c: In function 'stoc': +gomoku/stoc.c:66:1: warning: old-style function definition [-Wold-style-definition] + 66 | stoc(s) + | ^~~~ +gomoku/stoc.c: In function 'ctos': +gomoku/stoc.c:83:1: warning: old-style function definition [-Wold-style-definition] + 83 | ctos(mp) + | ^~~~ +gomoku/pickmove.c: In function 'scanframes': +gomoku/pickmove.c:230:1: warning: old-style function definition [-Wold-style-definition] + 230 | scanframes(color) + | ^~~~~~~~~~ +gomoku/stoc.c: In function 'lton': +gomoku/stoc.c:103:1: warning: old-style function definition [-Wold-style-definition] + 103 | lton(c) + | ^~~~ +gomoku/main.c: In function 'readinput': +gomoku/main.c:338:1: warning: old-style function definition [-Wold-style-definition] + 338 | readinput(fp) + | ^~~~~~~~~ +gomoku/main.c: In function 'dlog': +gomoku/main.c:498:1: warning: old-style function definition [-Wold-style-definition] + 498 | dlog(str) + | ^~~~ +gomoku/main.c: In function 'glog': +gomoku/main.c:511:1: warning: old-style function definition [-Wold-style-definition] + 511 | glog(str) + | ^~~~ hack/hack.do_name.c: In function 'xmonnam': hack/hack.do_name.c:293:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 293 | if (mtmp->isshk) { @@ -2873,143 +2788,63 @@ hack/hack.do_name.c:298:9: note: here 298 | default: | ^~~~~~~ -hack/hack.cmd.c: In function 'rhack': -hack/hack.cmd.c:144:1: warning: old-style function definition [-Wold-style-definition] - 144 | rhack(cmd) - | ^~~~~ -hack/hack.do.c: In function 'splitobj': -hack/hack.do.c:534:1: warning: old-style function definition [-Wold-style-definition] - 534 | splitobj(obj, num) - | ^~~~~~~~ -hack/hack.do.c: In function 'more_experienced': -hack/hack.do.c:554:1: warning: old-style function definition [-Wold-style-definition] - 554 | more_experienced(exp, rexp) - | ^~~~~~~~~~~~~~~~ -hack/hack.do.c: In function 'set_wounded_legs': -hack/hack.do.c:566:1: warning: old-style function definition [-Wold-style-definition] - 566 | set_wounded_legs(side, timex) - | ^~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.lev.c -o hack/hack.lev.o -hack/hack.cmd.c: In function 'lowc': -hack/hack.cmd.c:267:1: warning: old-style function definition [-Wold-style-definition] - 267 | lowc(sym) - | ^~~~ -hack/hack.cmd.c: In function 'unctrl': -hack/hack.cmd.c:274:1: warning: old-style function definition [-Wold-style-definition] - 274 | unctrl(sym) - | ^~~~~~ -hack/hack.cmd.c: In function 'movecmd': -hack/hack.cmd.c:287:1: warning: old-style function definition [-Wold-style-definition] - 287 | movecmd(sym) /* also sets u.dz, but returns false for <> */ +gomoku/main.c: In function 'quitsig': +gomoku/main.c:534:1: warning: old-style function definition [-Wold-style-definition] + 534 | quitsig(dummy) | ^~~~~~~ -hack/hack.cmd.c: In function 'getdir': -hack/hack.cmd.c:302:1: warning: old-style function definition [-Wold-style-definition] - 302 | getdir(s) - | ^~~~~~ -hack/hack.cmd.c: In function 'isok': -hack/hack.cmd.c:377:1: warning: old-style function definition [-Wold-style-definition] - 377 | isok(x, y) +gomoku/main.c: In function 'panic': +gomoku/main.c:544:1: warning: old-style function definition [-Wold-style-definition] + 544 | panic(str) + | ^~~~~ +gomoku/pickmove.c: In function 'makecombo2': +gomoku/pickmove.c:415:1: warning: old-style function definition [-Wold-style-definition] + 415 | makecombo2(ocbp, osp, off, s) + | ^~~~~~~~~~ +gomoku/pickmove.c: In function 'addframes': +gomoku/pickmove.c:549:1: warning: old-style function definition [-Wold-style-definition] + 549 | addframes(level) + | ^~~~~~~~~ +gomoku/main.c: In function 'main': +gomoku/main.c:98:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 98 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hack/hack.do.c: In function 'drop': +hack/hack.do.c:87:1: warning: old-style function definition [-Wold-style-definition] + 87 | drop(obj) | ^~~~ -hack/hack.dog.c: In function 'initedog': -hack/hack.dog.c:93:1: warning: old-style function definition [-Wold-style-definition] - 93 | initedog(mtmp) - | ^~~~~~~~ -hack/hack.dog.c: In function 'fall_down': -hack/hack.dog.c:146:1: warning: old-style function definition [-Wold-style-definition] - 146 | fall_down(mtmp) +gomoku/pickmove.c: In function 'makecombo': +gomoku/pickmove.c:650:1: warning: old-style function definition [-Wold-style-definition] + 650 | makecombo(ocbp, osp, off, s) | ^~~~~~~~~ -hack/hack.dog.c: In function 'dogfood': -hack/hack.dog.c:165:1: warning: old-style function definition [-Wold-style-definition] - 165 | dogfood(obj) - | ^~~~~~~ -hack/hack.dog.c: In function 'inroom': -hack/hack.dog.c:474:1: warning: old-style function definition [-Wold-style-definition] - 474 | inroom(x, y) - | ^~~~~~ -hack/hack.dog.c: In function 'tamedog': -hack/hack.dog.c:490:1: warning: old-style function definition [-Wold-style-definition] - 490 | tamedog(mtmp, obj) - | ^~~~~~~ -hack/hack.dog.c: In function 'dogfood': -hack/hack.dog.c:179:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 179 | if (!obj->cursed) - | ^ -hack/hack.dog.c:182:9: note: here - 182 | case BALL_SYM: - | ^~~~ hack/hack.c: In function 'seeoff': hack/hack.c:114:1: warning: old-style function definition [-Wold-style-definition] 114 | seeoff(mode) | ^~~~~~ -hack/hack.fight.c: In function 'hitmm': -hack/hack.fight.c:77:1: warning: old-style function definition [-Wold-style-definition] - 77 | hitmm(magr, mdef) +hack/hack.do.c: In function 'dropx': +hack/hack.do.c:125:1: warning: old-style function definition [-Wold-style-definition] + 125 | dropx(obj) | ^~~~~ -hack/hack.fight.c: In function 'mondied': -hack/hack.fight.c:146:1: warning: old-style function definition [-Wold-style-definition] - 146 | mondied(mdef) - | ^~~~~~~ -hack/hack.fight.c: In function 'monstone': -hack/hack.fight.c:163:1: warning: old-style function definition [-Wold-style-definition] - 163 | monstone(mdef) - | ^~~~~~~~ -hack/hack.fight.c: In function 'fightm': -hack/hack.fight.c:179:1: warning: old-style function definition [-Wold-style-definition] - 179 | fightm(mtmp) - | ^~~~~~ -hack/hack.fight.c: In function 'thitu': -hack/hack.fight.c:194:1: warning: old-style function definition [-Wold-style-definition] - 194 | thitu(tlev, dam, name) +hack/hack.do.c: In function 'dropy': +hack/hack.do.c:133:1: warning: old-style function definition [-Wold-style-definition] + 133 | dropy(obj) | ^~~~~ -hack/hack.fight.c: In function 'hmon': -hack/hack.fight.c:219:1: warning: old-style function definition [-Wold-style-definition] - 219 | hmon(mon, obj, thrown) /* return TRUE if mon still alive */ - | ^~~~ -hack/hack.fight.c: In function 'attack': -hack/hack.fight.c:346:1: warning: old-style function definition [-Wold-style-definition] - 346 | attack(mtmp) - | ^~~~~~ +hack/hack.do.c: In function 'goto_level': +hack/hack.do.c:194:1: warning: old-style function definition [-Wold-style-definition] + 194 | goto_level(newlevel, at_stairs) + | ^~~~~~~~~~ +gomoku/pickmove.c: In function 'makeempty': +gomoku/pickmove.c:801:1: warning: old-style function definition [-Wold-style-definition] + 801 | makeempty(ocbp) + | ^~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mhitu.c -o hack/hack.mhitu.o +gomoku/pickmove.c: In function 'updatecombo': +gomoku/pickmove.c:960:1: warning: old-style function definition [-Wold-style-definition] + 960 | updatecombo(cbp, color) + | ^~~~~~~~~~~ hack/hack.c: In function 'movobj': hack/hack.c:384:1: warning: old-style function definition [-Wold-style-definition] 384 | movobj(obj, ox, oy) | ^~~~~~ -hack/hack.engrave.c: In function 'engr_at': -hack/hack.engrave.c:88:1: warning: old-style function definition [-Wold-style-definition] - 88 | engr_at(x, y) - | ^~~~~~~ -hack/hack.engrave.c: In function 'sengr_at': -hack/hack.engrave.c:101:1: warning: old-style function definition [-Wold-style-definition] - 101 | sengr_at(s, x, y) - | ^~~~~~~~ -hack/hack.engrave.c: In function 'u_wipe_engr': -hack/hack.engrave.c:124:1: warning: old-style function definition [-Wold-style-definition] - 124 | u_wipe_engr(cnt) - | ^~~~~~~~~~~ -hack/hack.engrave.c: In function 'wipe_engr_at': -hack/hack.engrave.c:132:1: warning: old-style function definition [-Wold-style-definition] - 132 | wipe_engr_at(x, y, cnt) - | ^~~~~~~~~~~~ -hack/hack.engrave.c: In function 'read_engr_at': -hack/hack.engrave.c:161:1: warning: old-style function definition [-Wold-style-definition] - 161 | read_engr_at(x, y) - | ^~~~~~~~~~~~ -hack/hack.engrave.c: In function 'make_engr_at': -hack/hack.engrave.c:184:1: warning: old-style function definition [-Wold-style-definition] - 184 | make_engr_at(x, y, s) - | ^~~~~~~~~~~~ -hack/hack.c: In function 'cansee': -hack/hack.engrave.c: In function 'save_engravings': -hack/hack.engrave.c:348:1: warning: old-style function definition [-Wold-style-definition] - 348 | save_engravings(fd) - | ^~~~~~~~~~~~~~~ -hack/hack.engrave.c: In function 'rest_engravings': -hack/hack.engrave.c:366:1: warning: old-style function definition [-Wold-style-definition] - 366 | rest_engravings(fd) - | ^~~~~~~~~~~~~~~ -hack/hack.engrave.c: In function 'del_engr': -hack/hack.engrave.c:385:1: warning: old-style function definition [-Wold-style-definition] - 385 | del_engr(ep) - | ^~~~~~~~ hack/hack.eat.c: In function 'morehungry': hack/hack.eat.c:367:1: warning: old-style function definition [-Wold-style-definition] 367 | morehungry(num) @@ -3018,18 +2853,50 @@ hack/hack.eat.c:376:1: warning: old-style function definition [-Wold-style-definition] 376 | lesshungry(num) | ^~~~~~~~~~ +gomoku/pickmove.c: In function 'appendcombo': +gomoku/pickmove.c:1051:1: warning: old-style function definition [-Wold-style-definition] + 1051 | appendcombo(cbp, color) + | ^~~~~~~~~~~ hack/hack.eat.c: In function 'newuhs': +gomoku/pickmove.c: In function 'checkframes': hack/hack.eat.c:392:1: warning: old-style function definition [-Wold-style-definition] 392 | newuhs(incr) | ^~~~~~ +gomoku/pickmove.c:1082:1: warning: old-style function definition [-Wold-style-definition] + 1082 | checkframes(cbp, fcbp, osp, s, vertices) + | ^~~~~~~~~~~ +hack/hack.do.c: In function 'splitobj': +hack/hack.do.c:534:1: warning: old-style function definition [-Wold-style-definition] + 534 | splitobj(obj, num) + | ^~~~~~~~ +hack/hack.do.c: In function 'more_experienced': +hack/hack.do.c:554:1: warning: old-style function definition [-Wold-style-definition] + 554 | more_experienced(exp, rexp) + | ^~~~~~~~~~~~~~~~ hack/hack.eat.c: In function 'poisonous': hack/hack.eat.c:452:1: warning: old-style function definition [-Wold-style-definition] 452 | poisonous(otmp) | ^~~~~~~~~ +hack/hack.do.c: In function 'set_wounded_legs': +hack/hack.do.c:566:1: warning: old-style function definition [-Wold-style-definition] + 566 | set_wounded_legs(side, timex) + | ^~~~~~~~~~~~~~~~ hack/hack.eat.c: In function 'eatcorpse': hack/hack.eat.c:460:1: warning: old-style function definition [-Wold-style-definition] 460 | eatcorpse(otmp) | ^~~~~~~~~ +gomoku/pickmove.c:1090:37: warning: variable 'loop' set but not used [-Wunused-but-set-variable] + 1090 | int i, n, mask, flg, verts, loop, index, fcnt; + | ^~~~ +gomoku/pickmove.c: In function 'sortcombo': +gomoku/pickmove.c:1224:1: warning: old-style function definition [-Wold-style-definition] + 1224 | sortcombo(scbpp, cbpp, fcbp) + | ^~~~~~~~~ +gomoku/pickmove.c: In function 'printcombo': +gomoku/pickmove.c:1338:1: warning: old-style function definition [-Wold-style-definition] + 1338 | printcombo(cbp, str) + | ^~~~~~~~~~ +hack/hack.c: In function 'cansee': hack/hack.c:747:1: warning: old-style function definition [-Wold-style-definition] 747 | cansee(x, y) | ^~~~~~ @@ -3077,18 +2944,152 @@ hack/hack.eat.c:541:9: note: here 541 | case 'a': | ^~~~ +hack/hack.do_wear.c: In function 'off_msg': +hack/hack.do_wear.c:73:1: warning: old-style function definition [-Wold-style-definition] + 73 | off_msg(otmp) + | ^~~~~~~ +hack/hack.do_wear.c: In function 'dorr': +hack/hack.do_wear.c:141:1: warning: old-style function definition [-Wold-style-definition] + 141 | dorr(otmp) + | ^~~~ +hack/hack.do_wear.c: In function 'cursed': +hack/hack.do_wear.c:152:1: warning: old-style function definition [-Wold-style-definition] + 152 | cursed(otmp) + | ^~~~~~ +hack/hack.do_wear.c: In function 'armoroff': +hack/hack.do_wear.c:163:1: warning: old-style function definition [-Wold-style-definition] + 163 | armoroff(otmp) + | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mklev.c -o hack/hack.mklev.o +hack/hack.do_wear.c: In function 'ringoff': +hack/hack.do_wear.c:332:1: warning: old-style function definition [-Wold-style-definition] + 332 | ringoff(obj) + | ^~~~~~~ +hack/hack.c: In function 'lookaround': +hack/hack.c:599:36: warning: this statement may fall through [-Wimplicit-fallthrough=] + 599 | if (flags.run != 1) + | ^ +hack/hack.c:602:25: note: here + 602 | case CORR_SYM: + | ^~~~ +hack/hack.apply.c: In function 'use_camera': +hack/hack.apply.c:139:1: warning: old-style function definition [-Wold-style-definition] + 139 | use_camera(obj) /* */ + | ^~~~~~~~~~ +hack/hack.dog.c: In function 'initedog': +hack/hack.dog.c:93:1: warning: old-style function definition [-Wold-style-definition] + 93 | initedog(mtmp) + | ^~~~~~~~ +hack/hack.apply.c: In function 'in_ice_box': +hack/hack.dog.c: In function 'fall_down': +hack/hack.apply.c:190:1: warning: old-style function definition [-Wold-style-definition] + 190 | in_ice_box(obj) + | ^~~~~~~~~~ +hack/hack.dog.c:146:1: warning: old-style function definition [-Wold-style-definition] + 146 | fall_down(mtmp) + | ^~~~~~~~~ +hack/hack.dog.c: In function 'dogfood': +hack/hack.dog.c:165:1: warning: old-style function definition [-Wold-style-definition] + 165 | dogfood(obj) + | ^~~~~~~ +hack/hack.apply.c: In function 'ck_ice_box': +hack/hack.apply.c:223:1: warning: old-style function definition [-Wold-style-definition] + 223 | ck_ice_box(obj) + | ^~~~~~~~~~ +hack/hack.apply.c: In function 'out_ice_box': +hack/hack.apply.c:230:1: warning: old-style function definition [-Wold-style-definition] + 230 | out_ice_box(obj) + | ^~~~~~~~~~~ +hack/hack.apply.c: In function 'use_ice_box': +hack/hack.apply.c:249:1: warning: old-style function definition [-Wold-style-definition] + 249 | use_ice_box(obj) + | ^~~~~~~~~~~ +hack/hack.apply.c: In function 'bchit': +hack/hack.apply.c:276:1: warning: old-style function definition [-Wold-style-definition] + 276 | bchit(ddx, ddy, range, sym) + | ^~~~~ +hack/hack.apply.c: In function 'use_whistle': +hack/hack.apply.c:305:1: warning: old-style function definition [-Wold-style-definition] + 305 | use_whistle(obj) + | ^~~~~~~~~~~ +hack/hack.apply.c: In function 'use_magic_whistle': +hack/hack.apply.c:323:1: warning: old-style function definition [-Wold-style-definition] + 323 | use_magic_whistle(obj) + | ^~~~~~~~~~~~~~~~~ +hack/hack.apply.c: In function 'use_pick_axe': +hack/hack.apply.c:446:1: warning: old-style function definition [-Wold-style-definition] + 446 | use_pick_axe(obj) + | ^~~~~~~~~~~~ +hack/hack.apply.c: In function 'doapply': +hack/hack.apply.c:107:44: warning: this statement may fall through [-Wimplicit-fallthrough=] + 107 | if (pl_character[0] == 'W' || u.ulevel > 9) { + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +hack/hack.apply.c:112:9: note: here + 112 | case WHISTLE: + | ^~~~ +hack/hack.end.c: In function 'done1': +hack/hack.end.c:88:1: warning: old-style function definition [-Wold-style-definition] + 88 | done1(n) + | ^~~~~ +hack/hack.end.c: In function 'done_intr': +hack/hack.end.c:110:1: warning: old-style function definition [-Wold-style-definition] + 110 | done_intr(n) + | ^~~~~~~~~ +hack/hack.end.c: In function 'done_hangup': +hack/hack.end.c:119:1: warning: old-style function definition [-Wold-style-definition] + 119 | done_hangup(n) + | ^~~~~~~~~~~ +hack/hack.end.c: In function 'done_in_by': +hack/hack.end.c:128:1: warning: old-style function definition [-Wold-style-definition] + 128 | done_in_by(mtmp) + | ^~~~~~~~~~ +hack/hack.end.c: In function 'done': +hack/hack.end.c:154:1: warning: old-style function definition [-Wold-style-definition] + 154 | done(st1) + | ^~~~ +hack/hack.dog.c: In function 'inroom': +hack/hack.dog.c:474:1: warning: old-style function definition [-Wold-style-definition] + 474 | inroom(x, y) + | ^~~~~~ +hack/hack.dog.c: In function 'tamedog': +hack/hack.dog.c:490:1: warning: old-style function definition [-Wold-style-definition] + 490 | tamedog(mtmp, obj) + | ^~~~~~~ hack/hack.invent.c: In function 'assigninvlet': hack/hack.invent.c:85:1: warning: old-style function definition [-Wold-style-definition] 85 | assigninvlet(otmp) | ^~~~~~~~~~~~ +hack/hack.dog.c: In function 'dogfood': +hack/hack.engrave.c: In function 'engr_at': +hack/hack.engrave.c:88:1: warning: old-style function definition [-Wold-style-definition] + 88 | engr_at(x, y) + | ^~~~~~~ +hack/hack.dog.c:179:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 179 | if (!obj->cursed) + | ^ +hack/hack.dog.c:182:9: note: here + 182 | case BALL_SYM: + | ^~~~ +hack/hack.engrave.c: In function 'sengr_at': +hack/hack.engrave.c:101:1: warning: old-style function definition [-Wold-style-definition] + 101 | sengr_at(s, x, y) + | ^~~~~~~~ hack/hack.invent.c: In function 'addinv': hack/hack.invent.c:121:1: warning: old-style function definition [-Wold-style-definition] 121 | addinv(obj) | ^~~~~~ +hack/hack.engrave.c: In function 'u_wipe_engr': +hack/hack.engrave.c:124:1: warning: old-style function definition [-Wold-style-definition] + 124 | u_wipe_engr(cnt) + | ^~~~~~~~~~~ +hack/hack.engrave.c: In function 'wipe_engr_at': hack/hack.invent.c: In function 'useup': hack/hack.invent.c:168:1: warning: old-style function definition [-Wold-style-definition] 168 | useup(obj) | ^~~~~ +hack/hack.engrave.c:132:1: warning: old-style function definition [-Wold-style-definition] + 132 | wipe_engr_at(x, y, cnt) + | ^~~~~~~~~~~~ hack/hack.invent.c: In function 'freeinv': hack/hack.invent.c:182:1: warning: old-style function definition [-Wold-style-definition] 182 | freeinv(obj) @@ -3105,6 +3106,10 @@ hack/hack.invent.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | freegold(gold) | ^~~~~~~~ +hack/hack.engrave.c: In function 'read_engr_at': +hack/hack.engrave.c:161:1: warning: old-style function definition [-Wold-style-definition] + 161 | read_engr_at(x, y) + | ^~~~~~~~~~~~ hack/hack.invent.c: In function 'deltrap': hack/hack.invent.c:243:1: warning: old-style function definition [-Wold-style-definition] 243 | deltrap(trap) @@ -3113,10 +3118,22 @@ hack/hack.invent.c:260:1: warning: old-style function definition [-Wold-style-definition] 260 | m_at(x, y) | ^~~~ +hack/hack.end.c: In function 'itoa': +hack/hack.end.c:578:1: warning: old-style function definition [-Wold-style-definition] + 578 | itoa(a) + | ^~~~ +hack/hack.engrave.c: In function 'make_engr_at': +hack/hack.engrave.c:184:1: warning: old-style function definition [-Wold-style-definition] + 184 | make_engr_at(x, y, s) + | ^~~~~~~~~~~~ hack/hack.invent.c: In function 'o_at': hack/hack.invent.c:286:1: warning: old-style function definition [-Wold-style-definition] 286 | o_at(x, y) | ^~~~ +hack/hack.end.c: In function 'ordin': +hack/hack.end.c:587:1: warning: old-style function definition [-Wold-style-definition] + 587 | ordin(n) + | ^~~~~ hack/hack.invent.c: In function 'sobj_at': hack/hack.invent.c:298:1: warning: old-style function definition [-Wold-style-definition] 298 | sobj_at(n, x, y) @@ -3129,7 +3146,11 @@ hack/hack.invent.c:321:1: warning: old-style function definition [-Wold-style-definition] 321 | carrying(type) | ^~~~~~~~ +hack/hack.end.c: In function 'eos': hack/hack.invent.c: In function 'o_on': +hack/hack.end.c:619:1: warning: old-style function definition [-Wold-style-definition] + 619 | eos(s) + | ^~~ hack/hack.invent.c:333:1: warning: old-style function definition [-Wold-style-definition] 333 | o_on(id, objchn) | ^~~~ @@ -3137,10 +3158,18 @@ hack/hack.invent.c:346:1: warning: old-style function definition [-Wold-style-definition] 346 | t_at(x, y) | ^~~~ +hack/hack.end.c: In function 'charcat': +hack/hack.end.c:629:1: warning: old-style function definition [-Wold-style-definition] + 629 | charcat(s, c) + | ^~~~~~~ hack/hack.invent.c: In function 'g_at': hack/hack.invent.c:359:1: warning: old-style function definition [-Wold-style-definition] 359 | g_at(x, y) | ^~~~ +hack/hack.end.c: In function 'prscore': +hack/hack.end.c:644:1: warning: old-style function definition [-Wold-style-definition] + 644 | prscore(argc, argv) + | ^~~~~~~ hack/hack.invent.c: In function 'mkgoldobj': hack/hack.invent.c:373:1: warning: old-style function definition [-Wold-style-definition] 373 | mkgoldobj(q) @@ -3149,21 +3178,26 @@ hack/hack.invent.c:394:1: warning: old-style function definition [-Wold-style-definition] 394 | getobj(let, word) | ^~~~~~ +hack/hack.engrave.c: In function 'save_engravings': +hack/hack.engrave.c:348:1: warning: old-style function definition [-Wold-style-definition] + 348 | save_engravings(fd) + | ^~~~~~~~~~~~~~~ +hack/hack.engrave.c: In function 'rest_engravings': +hack/hack.engrave.c:366:1: warning: old-style function definition [-Wold-style-definition] + 366 | rest_engravings(fd) + | ^~~~~~~~~~~~~~~ +hack/hack.engrave.c: In function 'del_engr': +hack/hack.engrave.c:385:1: warning: old-style function definition [-Wold-style-definition] + 385 | del_engr(ep) + | ^~~~~~~~ hack/hack.invent.c: In function 'ckunpaid': hack/hack.invent.c:558:1: warning: old-style function definition [-Wold-style-definition] 558 | ckunpaid(otmp) | ^~~~~~~~ hack/hack.invent.c: In function 'ggetobj': -hack/hack.c: In function 'lookaround': hack/hack.invent.c:567:1: warning: old-style function definition [-Wold-style-definition] 567 | ggetobj(word, fn, max) | ^~~~~~~ -hack/hack.c:599:36: warning: this statement may fall through [-Wimplicit-fallthrough=] - 599 | if (flags.run != 1) - | ^ -hack/hack.c:602:25: note: here - 602 | case CORR_SYM: - | ^~~~ hack/hack.invent.c: In function 'askchain': hack/hack.invent.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | askchain(objchn, olets, allflag, fn, ckfn, max) @@ -3192,6 +3226,49 @@ hack/hack.invent.c:924:1: warning: old-style function definition [-Wold-style-definition] 924 | merged(otmp, obj, lose) | ^~~~~~ +hack/hack.invent.c: In function 'digit': +hack/hack.invent.c:1038:1: warning: old-style function definition [-Wold-style-definition] + 1038 | digit(c) + | ^~~~~ +hack/hack.fight.c: In function 'hitmm': +hack/hack.fight.c:77:1: warning: old-style function definition [-Wold-style-definition] + 77 | hitmm(magr, mdef) + | ^~~~~ +hack/hack.invent.c: In function 'askchain': +hack/hack.invent.c:682:33: warning: this statement may fall through [-Wimplicit-fallthrough=] + 682 | allflag = 1; + | ~~~~~~~~^~~ +hack/hack.invent.c:683:17: note: here + 683 | case 'y': + | ^~~~ +hack/hack.fight.c: In function 'mondied': +hack/hack.fight.c:146:1: warning: old-style function definition [-Wold-style-definition] + 146 | mondied(mdef) + | ^~~~~~~ +hack/hack.fight.c: In function 'monstone': +hack/hack.fight.c:163:1: warning: old-style function definition [-Wold-style-definition] + 163 | monstone(mdef) + | ^~~~~~~~ +hack/hack.fight.c: In function 'fightm': +hack/hack.fight.c:179:1: warning: old-style function definition [-Wold-style-definition] + 179 | fightm(mtmp) + | ^~~~~~ +hack/hack.fight.c: In function 'thitu': +hack/hack.fight.c:194:1: warning: old-style function definition [-Wold-style-definition] + 194 | thitu(tlev, dam, name) + | ^~~~~ +hack/hack.fight.c: In function 'hmon': +hack/hack.fight.c:219:1: warning: old-style function definition [-Wold-style-definition] + 219 | hmon(mon, obj, thrown) /* return TRUE if mon still alive */ + | ^~~~ +hack/hack.fight.c: In function 'attack': +hack/hack.makemon.c: In function 'enexto': +hack/hack.fight.c:346:1: warning: old-style function definition [-Wold-style-definition] + 346 | attack(mtmp) + | ^~~~~~ +hack/hack.makemon.c:183:1: warning: old-style function definition [-Wold-style-definition] + 183 | enexto(xx, yy) + | ^~~~~~ hack/hack.lev.c: In function 'savelev': hack/hack.lev.c:82:1: warning: old-style function definition [-Wold-style-definition] 82 | savelev(fd, lev) @@ -3204,18 +3281,22 @@ hack/hack.lev.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | saveobjchn(fd, otmp) | ^~~~~~~~~~ -hack/hack.invent.c: In function 'digit': -hack/hack.invent.c:1038:1: warning: old-style function definition [-Wold-style-definition] - 1038 | digit(c) - | ^~~~~ +hack/hack.makemon.c: In function 'rloc': +hack/hack.makemon.c:239:1: warning: old-style function definition [-Wold-style-definition] + 239 | rloc(mtmp) + | ^~~~ hack/hack.lev.c: In function 'savemonchn': hack/hack.lev.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | savemonchn(fd, mtmp) | ^~~~~~~~~~ +hack/hack.makemon.c: In function 'mkmon_at': hack/hack.lev.c: In function 'savegoldchn': hack/hack.lev.c:188:1: warning: old-style function definition [-Wold-style-definition] 188 | savegoldchn(fd, gold) | ^~~~~~~~~~~ +hack/hack.makemon.c:267:1: warning: old-style function definition [-Wold-style-definition] + 267 | mkmon_at(let, x, y) + | ^~~~~~~~ hack/hack.lev.c: In function 'savetrapchn': hack/hack.lev.c:203:1: warning: old-style function definition [-Wold-style-definition] 203 | savetrapchn(fd, trap) @@ -3228,114 +3309,14 @@ hack/hack.lev.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | mread(fd, buf, len) | ^~~~~ -hack/hack.invent.c: In function 'askchain': -hack/hack.invent.c:682:33: warning: this statement may fall through [-Wimplicit-fallthrough=] - 682 | allflag = 1; - | ~~~~~~~~^~~ -hack/hack.invent.c:683:17: note: here - 683 | case 'y': - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.main.c -o hack/hack.main.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.makemon.c -o hack/hack.makemon.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mhitu.c -o hack/hack.mhitu.o -hack/hack.end.c: In function 'done1': -hack/hack.end.c:88:1: warning: old-style function definition [-Wold-style-definition] - 88 | done1(n) - | ^~~~~ -hack/hack.end.c: In function 'done_intr': -hack/hack.end.c:110:1: warning: old-style function definition [-Wold-style-definition] - 110 | done_intr(n) - | ^~~~~~~~~ -hack/hack.end.c: In function 'done_hangup': -hack/hack.end.c:119:1: warning: old-style function definition [-Wold-style-definition] - 119 | done_hangup(n) - | ^~~~~~~~~~~ -hack/hack.end.c: In function 'done_in_by': -hack/hack.end.c:128:1: warning: old-style function definition [-Wold-style-definition] - 128 | done_in_by(mtmp) - | ^~~~~~~~~~ -hack/hack.end.c: In function 'done': -hack/hack.end.c:154:1: warning: old-style function definition [-Wold-style-definition] - 154 | done(st1) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mklev.c -o hack/hack.mklev.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkmaze.c -o hack/hack.mkmaze.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkobj.c -o hack/hack.mkobj.o -hack/hack.end.c: In function 'itoa': -hack/hack.end.c:578:1: warning: old-style function definition [-Wold-style-definition] - 578 | itoa(a) +hack/hack.main.c: In function 'main': +hack/hack.main.c:99:1: warning: old-style function definition [-Wold-style-definition] + 99 | main(argc, argv) | ^~~~ -hack/hack.end.c: In function 'ordin': -hack/hack.end.c:587:1: warning: old-style function definition [-Wold-style-definition] - 587 | ordin(n) - | ^~~~~ -hack/hack.end.c: In function 'eos': -hack/hack.end.c:619:1: warning: old-style function definition [-Wold-style-definition] - 619 | eos(s) - | ^~~ -hack/hack.end.c: In function 'charcat': -hack/hack.end.c:629:1: warning: old-style function definition [-Wold-style-definition] - 629 | charcat(s, c) - | ^~~~~~~ -hack/hack.end.c: In function 'prscore': -hack/hack.end.c:644:1: warning: old-style function definition [-Wold-style-definition] - 644 | prscore(argc, argv) - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkshop.c -o hack/hack.mkshop.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mon.c -o hack/hack.mon.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.monst.c -o hack/hack.monst.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.o_init.c -o hack/hack.o_init.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.objnam.c -o hack/hack.objnam.o hack/hack.mhitu.c: In function 'mhitu': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.options.c -o hack/hack.options.o hack/hack.mhitu.c:77:1: warning: old-style function definition [-Wold-style-definition] 77 | mhitu(mtmp) | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.pager.c -o hack/hack.pager.o -hack/hack.mhitu.c: In function 'hitu': -hack/hack.mhitu.c:405:1: warning: old-style function definition [-Wold-style-definition] - 405 | hitu(mtmp, dam) - | ^~~~ -hack/hack.mkobj.c: In function 'mkobj_at': -hack/hack.mkobj.c:75:1: warning: old-style function definition [-Wold-style-definition] - 75 | mkobj_at(let, x, y) - | ^~~~~~~~ -hack/hack.mkobj.c: In function 'mksobj_at': -hack/hack.mkobj.c:87:1: warning: old-style function definition [-Wold-style-definition] - 87 | mksobj_at(otyp, x, y) - | ^~~~~~~~~ -hack/hack.mkobj.c: In function 'mkobj': -hack/hack.mkobj.c:98:1: warning: old-style function definition [-Wold-style-definition] - 98 | mkobj(let) - | ^~~~~ -hack/hack.mkobj.c: In function 'mksobj': -hack/hack.mkobj.c:116:1: warning: old-style function definition [-Wold-style-definition] - 116 | mksobj(otyp) - | ^~~~~~ -hack/hack.mkobj.c: In function 'letter': -hack/hack.mkobj.c:196:1: warning: old-style function definition [-Wold-style-definition] - 196 | letter(c) - | ^~~~~~ -hack/hack.makemon.c: In function 'enexto': -hack/hack.mkobj.c: In function 'weight': -hack/hack.makemon.c:183:1: warning: old-style function definition [-Wold-style-definition] - 183 | enexto(xx, yy) - | ^~~~~~ -hack/hack.mkobj.c:203:1: warning: old-style function definition [-Wold-style-definition] - 203 | weight(obj) - | ^~~~~~ -hack/hack.makemon.c: In function 'rloc': -hack/hack.makemon.c:239:1: warning: old-style function definition [-Wold-style-definition] - 239 | rloc(mtmp) - | ^~~~ -hack/hack.makemon.c: In function 'mkmon_at': -hack/hack.makemon.c:267:1: warning: old-style function definition [-Wold-style-definition] - 267 | mkmon_at(let, x, y) - | ^~~~~~~~ -hack/hack.main.c: In function 'main': -hack/hack.main.c:99:1: warning: old-style function definition [-Wold-style-definition] - 99 | main(argc, argv) - | ^~~~ hack/hack.main.c: In function 'glo': hack/hack.main.c:480:1: warning: old-style function definition [-Wold-style-definition] 480 | glo(foo) @@ -3344,70 +3325,18 @@ hack/hack.main.c:538:1: warning: old-style function definition [-Wold-style-definition] 538 | chdirx(dir, wr) | ^~~~~~ -hack/hack.mkobj.c: In function 'mksobj': -hack/hack.mkobj.c:141:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 141 | if (otmp->otyp >= CORPSE) - | ^ -hack/hack.mkobj.c:149:9: note: here - 149 | case GEM_SYM: - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.potion.c -o hack/hack.potion.o +hack/hack.mhitu.c: In function 'hitu': +hack/hack.mhitu.c:405:1: warning: old-style function definition [-Wold-style-definition] + 405 | hitu(mtmp, dam) + | ^~~~ hack/hack.main.c:549:24: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 549 | (void) setuid(getuid()); /* Ron Wessels */ | ^~~~~~~~~~~~~~~~ hack/hack.main.c:550:24: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 550 | (void) setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.pri.c -o hack/hack.pri.o -hack/hack.mkmaze.c: In function 'walkfrom': -hack/hack.mkmaze.c:155:1: warning: old-style function definition [-Wold-style-definition] - 155 | walkfrom(x, y) - | ^~~~~~~~ -hack/hack.mkmaze.c: In function 'move': -hack/hack.mkmaze.c:177:1: warning: old-style function definition [-Wold-style-definition] - 177 | move(x, y, dir) - | ^~~~ -hack/hack.mkmaze.c: In function 'okay': -hack/hack.mkmaze.c:198:1: warning: old-style function definition [-Wold-style-definition] - 198 | okay(x, y, dir) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.read.c -o hack/hack.read.o -hack/hack.objnam.c: In function 'strprepend': -hack/hack.objnam.c:78:1: warning: old-style function definition [-Wold-style-definition] - 78 | strprepend(s, pref) - | ^~~~~~~~~~ -hack/hack.objnam.c: In function 'sitoa': -hack/hack.objnam.c:92:1: warning: old-style function definition [-Wold-style-definition] - 92 | sitoa(a) - | ^~~~~ -hack/hack.objnam.c: In function 'typename': -hack/hack.objnam.c:101:1: warning: old-style function definition [-Wold-style-definition] - 101 | typename(otyp) - | ^~~~~~~~ -hack/hack.objnam.c: In function 'xname': -hack/hack.objnam.c:152:1: warning: old-style function definition [-Wold-style-definition] - 152 | xname(obj) - | ^~~~~ -hack/hack.objnam.c: In function 'doname': -hack/hack.objnam.c:317:1: warning: old-style function definition [-Wold-style-definition] - 317 | doname(obj) - | ^~~~~~ -hack/hack.objnam.c: In function 'aobjnam': -hack/hack.objnam.c:377:1: warning: old-style function definition [-Wold-style-definition] - 377 | aobjnam(otmp, verb) - | ^~~~~~~ -hack/hack.objnam.c: In function 'Doname': -hack/hack.objnam.c:403:1: warning: old-style function definition [-Wold-style-definition] - 403 | Doname(obj) - | ^~~~~~ -hack/hack.objnam.c: In function 'readobjnam': -hack/hack.objnam.c:417:1: warning: old-style function definition [-Wold-style-definition] - 417 | readobjnam(bp) - | ^~~~~~~~~~ -hack/hack.mon.c: In function 'justswld': -hack/hack.mon.c:176:1: warning: old-style function definition [-Wold-style-definition] - 176 | justswld(mtmp, name) - | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkmaze.c -o hack/hack.mkmaze.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkobj.c -o hack/hack.mkobj.o hack/hack.mklev.c: In function 'addrs': hack/hack.mklev.c:285:1: warning: old-style function definition [-Wold-style-definition] 285 | addrs(lowx, lowy, hix, hiy) @@ -3440,34 +3369,44 @@ hack/hack.mklev.c:563:1: warning: old-style function definition [-Wold-style-definition] 563 | join(a, b) | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mkshop.c -o hack/hack.mkshop.o hack/hack.mklev.c: In function 'makeniche': hack/hack.mklev.c:719:1: warning: old-style function definition [-Wold-style-definition] 719 | makeniche(with_trap) | ^~~~~~~~~ -hack/hack.objnam.c: In function 'xname': -hack/hack.objnam.c:178:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 178 | if (obj->otyp == DEAD_HOMUNCULUS && pl) { - | ^ -hack/hack.objnam.c:185:9: note: here - 185 | case WEAPON_SYM: - | ^~~~ hack/hack.mklev.c: In function 'mktrap': hack/hack.mklev.c:773:1: warning: old-style function definition [-Wold-style-definition] 773 | mktrap(num, mazeflag, croom) | ^~~~~~ -hack/hack.objnam.c:191:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 191 | if (obj->otyp == CRYSKNIFE && pl) { - | ^ -hack/hack.objnam.c:197:9: note: here - 197 | case ARMOR_SYM: - | ^~~~ -hack/hack.objnam.c: In function 'doname': -hack/hack.objnam.c:332:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 332 | if (obj->owornmask & W_ARMOR) - | ^ -hack/hack.objnam.c:335:9: note: here - 335 | case WEAPON_SYM: - | ^~~~ +gomoku/main.c:182:70: warning: '%s' directive writing up to 127 bytes into a region of size 88 [-Wformat-overflow=] + 182 | "Huh? Expected `black' or `white', got `%s'\n", + | ^~ + 183 | buf); + | ~~~ +In file included from /usr/include/stdio.h:970, + from include/stdio.h:35, + from /usr/include/curses.h:246, + from gomoku/main.c:49: +In function 'sprintf', + inlined from 'main' at gomoku/main.c:181:4: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 43 and 170 bytes into a destination of size 128 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.mon.c -o hack/hack.mon.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.monst.c -o hack/hack.monst.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.o_init.c -o hack/hack.o_init.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.objnam.c -o hack/hack.objnam.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.options.c -o hack/hack.options.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.pager.c -o hack/hack.pager.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.potion.c -o hack/hack.potion.o +hack/hack.mon.c: In function 'justswld': +hack/hack.mon.c:176:1: warning: old-style function definition [-Wold-style-definition] + 176 | justswld(mtmp, name) + | ^~~~~~~~ hack/hack.mon.c: In function 'youswld': hack/hack.mon.c:194:1: warning: old-style function definition [-Wold-style-definition] 194 | youswld(mtmp, dam, die, name) @@ -3480,10 +3419,6 @@ hack/hack.mon.c:235:1: warning: old-style function definition [-Wold-style-definition] 235 | dochug(mtmp) | ^~~~~~ -hack/hack.options.c: In function 'parseoptions': -hack/hack.options.c:92:1: warning: old-style function definition [-Wold-style-definition] - 92 | parseoptions(opts, from_env) - | ^~~~~~~~~~~~ hack/hack.mon.c: In function 'mpickgold': hack/hack.mon.c:548:1: warning: old-style function definition [-Wold-style-definition] 548 | mpickgold(mtmp) @@ -3492,14 +3427,11 @@ hack/hack.mon.c:561:1: warning: old-style function definition [-Wold-style-definition] 561 | mpickgems(mtmp) | ^~~~~~~~~ -hack/hack.mkshop.c: In function 'mkzoo': hack/hack.mon.c: In function 'mfndpos': -hack/hack.mkshop.c:212:1: warning: old-style function definition [-Wold-style-definition] - 212 | mkzoo(type) - | ^~~~~ hack/hack.mon.c:579:1: warning: old-style function definition [-Wold-style-definition] 579 | mfndpos(mon, poss, info, flag) | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.pri.c -o hack/hack.pri.o hack/hack.mon.c: In function 'dist': hack/hack.mon.c:674:1: warning: old-style function definition [-Wold-style-definition] 674 | dist(x, y) @@ -3508,46 +3440,22 @@ hack/hack.mon.c:681:1: warning: old-style function definition [-Wold-style-definition] 681 | poisoned(string, pname) | ^~~~~~~~ -hack/hack.mkshop.c: In function 'nexttodoor': -hack/hack.mkshop.c:318:1: warning: old-style function definition [-Wold-style-definition] - 318 | nexttodoor(sx, sy) - | ^~~~~~~~~~ hack/hack.mon.c: In function 'mondead': -hack/hack.mkshop.c: In function 'has_dnstairs': hack/hack.mon.c:710:1: warning: old-style function definition [-Wold-style-definition] 710 | mondead(mtmp) | ^~~~~~~ -hack/hack.mkshop.c:332:1: warning: old-style function definition [-Wold-style-definition] - 332 | has_dnstairs(sroom) - | ^~~~~~~~~~~~ -hack/hack.mkshop.c: In function 'has_upstairs': hack/hack.mon.c: In function 'replmon': -hack/hack.mkshop.c:340:1: warning: old-style function definition [-Wold-style-definition] - 340 | has_upstairs(sroom) - | ^~~~~~~~~~~~ hack/hack.mon.c:730:1: warning: old-style function definition [-Wold-style-definition] 730 | replmon(mtmp, mtmp2) | ^~~~~~~ -hack/hack.mkshop.c: In function 'isbig': hack/hack.mon.c: In function 'relmon': -hack/hack.mkshop.c:348:1: warning: old-style function definition [-Wold-style-definition] - 348 | isbig(sroom) - | ^~~~~ hack/hack.mon.c:746:1: warning: old-style function definition [-Wold-style-definition] 746 | relmon(mon) | ^~~~~~ -hack/hack.mkshop.c: In function 'dist2': hack/hack.mon.c: In function 'monfree': -hack/hack.mkshop.c:356:1: warning: old-style function definition [-Wold-style-definition] - 356 | dist2(x0, y0, x1, y1) - | ^~~~~ hack/hack.mon.c:767:1: warning: old-style function definition [-Wold-style-definition] 767 | monfree(mtmp) | ^~~~~~~ -hack/hack.mkshop.c: In function 'sq': -hack/hack.mkshop.c:363:1: warning: old-style function definition [-Wold-style-definition] - 363 | sq(a) - | ^~ hack/hack.mon.c: In function 'unstuck': hack/hack.mon.c:785:1: warning: old-style function definition [-Wold-style-definition] 785 | unstuck(mtmp) @@ -3556,7 +3464,6 @@ hack/hack.mon.c:801:1: warning: old-style function definition [-Wold-style-definition] 801 | killed(mtmp) | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rip.c -o hack/hack.rip.o hack/hack.mon.c: In function 'newcham': hack/hack.mon.c:952:1: warning: old-style function definition [-Wold-style-definition] 952 | newcham(mtmp, mdat) /* make a chameleon look like a new monster */ @@ -3577,54 +3484,132 @@ hack/hack.mon.c:1033:1: warning: old-style function definition [-Wold-style-definition] 1033 | canseemon(mtmp) | ^~~~~~~~~ -hack/hack.pager.c: In function 'intruph': -hack/hack.pager.c:128:1: warning: old-style function definition [-Wold-style-definition] - 128 | intruph(n) - | ^~~~~~~ -hack/hack.pager.c: In function 'page_more': -hack/hack.pager.c:136:1: warning: old-style function definition [-Wold-style-definition] - 136 | page_more(fp, strip) - | ^~~~~~~~~ -hack/hack.pager.c: In function 'set_pager': -hack/hack.pager.c:188:1: warning: old-style function definition [-Wold-style-definition] - 188 | set_pager(mode) - | ^~~~~~~~~ -hack/hack.pager.c: In function 'page_line': -hack/hack.pager.c:219:1: warning: old-style function definition [-Wold-style-definition] - 219 | page_line(s) /* returns 1 if we should quit */ - | ^~~~~~~~~ -hack/hack.pager.c: In function 'cornline': -hack/hack.pager.c:256:1: warning: old-style function definition [-Wold-style-definition] - 256 | cornline(mode, text) +hack/hack.end.c: In function 'outentry': +hack/hack.end.c:551:33: warning: '%s' directive writing up to 11 bytes into a region of size 10 [-Wformat-overflow=] + 551 | Sprintf(hpbuf, "%s", (t1->hp > 0) ? itoa(t1->hp) : "-"); + | ^~ +In file included from /usr/include/stdio.h:970, + from include/stdio.h:35, + from hack/extern.h:41, + from hack/hack.end.c:73: +In function 'sprintf', + inlined from 'outentry' at hack/hack.end.c:551:3: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 12 bytes into a destination of size 10 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +hack/hack.objnam.c: In function 'strprepend': +hack/hack.objnam.c:78:1: warning: old-style function definition [-Wold-style-definition] + 78 | strprepend(s, pref) + | ^~~~~~~~~~ +hack/hack.objnam.c: In function 'sitoa': +hack/hack.objnam.c:92:1: warning: old-style function definition [-Wold-style-definition] + 92 | sitoa(a) + | ^~~~~ +hack/hack.objnam.c: In function 'typename': +hack/hack.objnam.c:101:1: warning: old-style function definition [-Wold-style-definition] + 101 | typename(otyp) | ^~~~~~~~ -hack/hack.pager.c: In function 'page_file': -hack/hack.pager.c:365:1: warning: old-style function definition [-Wold-style-definition] - 365 | page_file(fnam, silent) /* return: 0 - cannot open fnam; 1 - - | ^~~~~~~~~ -hack/hack.pager.c: In function 'child': -hack/hack.pager.c:467:24: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 467 | (void) setuid(getuid()); - | ^~~~~~~~~~~~~~~~ -hack/hack.pager.c:468:24: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 468 | (void) setgid(getgid()); - | ^~~~~~~~~~~~~~~~ -hack/hack.pager.c:470:24: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 470 | (void) chdir(getenv("HOME")); - | ^~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.read.c -o hack/hack.read.o +hack/hack.objnam.c: In function 'xname': +hack/hack.objnam.c:152:1: warning: old-style function definition [-Wold-style-definition] + 152 | xname(obj) + | ^~~~~ +hack/hack.mkshop.c: In function 'mkzoo': +hack/hack.mkshop.c:212:1: warning: old-style function definition [-Wold-style-definition] + 212 | mkzoo(type) + | ^~~~~ +hack/hack.objnam.c: In function 'doname': +hack/hack.objnam.c:317:1: warning: old-style function definition [-Wold-style-definition] + 317 | doname(obj) + | ^~~~~~ +hack/hack.mkshop.c: In function 'nexttodoor': +hack/hack.mkshop.c:318:1: warning: old-style function definition [-Wold-style-definition] + 318 | nexttodoor(sx, sy) + | ^~~~~~~~~~ +hack/hack.mkshop.c: In function 'has_dnstairs': +hack/hack.mkshop.c:332:1: warning: old-style function definition [-Wold-style-definition] + 332 | has_dnstairs(sroom) + | ^~~~~~~~~~~~ +hack/hack.objnam.c: In function 'aobjnam': +hack/hack.mkshop.c: In function 'has_upstairs': +hack/hack.mkshop.c:340:1: warning: old-style function definition [-Wold-style-definition] + 340 | has_upstairs(sroom) + | ^~~~~~~~~~~~ +hack/hack.objnam.c:377:1: warning: old-style function definition [-Wold-style-definition] + 377 | aobjnam(otmp, verb) + | ^~~~~~~ +hack/hack.mkshop.c: In function 'isbig': +hack/hack.mkshop.c:348:1: warning: old-style function definition [-Wold-style-definition] + 348 | isbig(sroom) + | ^~~~~ +hack/hack.mkshop.c: In function 'dist2': +hack/hack.mkshop.c:356:1: warning: old-style function definition [-Wold-style-definition] + 356 | dist2(x0, y0, x1, y1) + | ^~~~~ +hack/hack.mkshop.c: In function 'sq': +hack/hack.mkshop.c:363:1: warning: old-style function definition [-Wold-style-definition] + 363 | sq(a) + | ^~ +hack/hack.objnam.c: In function 'Doname': +hack/hack.objnam.c:403:1: warning: old-style function definition [-Wold-style-definition] + 403 | Doname(obj) + | ^~~~~~ +hack/hack.objnam.c: In function 'readobjnam': +hack/hack.objnam.c:417:1: warning: old-style function definition [-Wold-style-definition] + 417 | readobjnam(bp) + | ^~~~~~~~~~ hack/hack.o_init.c: In function 'letindex': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rumors.c -o hack/hack.rumors.o hack/hack.o_init.c:76:1: warning: old-style function definition [-Wold-style-definition] 76 | letindex(let) | ^~~~~~~~ +hack/hack.mkobj.c: In function 'mkobj_at': +hack/hack.mkobj.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | mkobj_at(let, x, y) + | ^~~~~~~~ +hack/hack.mkobj.c: In function 'mksobj_at': +hack/hack.mkobj.c:87:1: warning: old-style function definition [-Wold-style-definition] + 87 | mksobj_at(otyp, x, y) + | ^~~~~~~~~ +hack/hack.mkobj.c: In function 'mkobj': +hack/hack.mkobj.c:98:1: warning: old-style function definition [-Wold-style-definition] + 98 | mkobj(let) + | ^~~~~ +hack/hack.mkmaze.c: In function 'walkfrom': +hack/hack.mkmaze.c:155:1: warning: old-style function definition [-Wold-style-definition] + 155 | walkfrom(x, y) + | ^~~~~~~~ +hack/hack.mkobj.c: In function 'mksobj': +hack/hack.mkobj.c:116:1: warning: old-style function definition [-Wold-style-definition] + 116 | mksobj(otyp) + | ^~~~~~ +hack/hack.mkmaze.c: In function 'move': +hack/hack.mkmaze.c:177:1: warning: old-style function definition [-Wold-style-definition] + 177 | move(x, y, dir) + | ^~~~ +hack/hack.mkmaze.c: In function 'okay': +hack/hack.mkmaze.c:198:1: warning: old-style function definition [-Wold-style-definition] + 198 | okay(x, y, dir) + | ^~~~ hack/hack.o_init.c: In function 'probtype': hack/hack.o_init.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | probtype(let) | ^~~~~~~~ +hack/hack.mkobj.c: In function 'letter': +hack/hack.mkobj.c:196:1: warning: old-style function definition [-Wold-style-definition] + 196 | letter(c) + | ^~~~~~ +hack/hack.mkobj.c: In function 'weight': +hack/hack.mkobj.c:203:1: warning: old-style function definition [-Wold-style-definition] + 203 | weight(obj) + | ^~~~~~ hack/hack.o_init.c: In function 'savenames': hack/hack.o_init.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | savenames(fd) | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.save.c -o hack/hack.save.o hack/hack.o_init.c: In function 'restnames': hack/hack.o_init.c:209:1: warning: old-style function definition [-Wold-style-definition] 209 | restnames(fd) @@ -3636,20 +3621,45 @@ hack/extern.h:252:17: note: expected 'char *' but argument is of type 'const char *' 252 | void mread(int, char *, unsigned); | ^~~~~~ +hack/hack.objnam.c: In function 'xname': +hack/hack.objnam.c:178:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 178 | if (obj->otyp == DEAD_HOMUNCULUS && pl) { + | ^ hack/hack.o_init.c:231:45: warning: passing argument 2 of 'mread' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 231 | mread(fd, objects[i].oc_descr, len); | ~~~~~~~~~~^~~~~~~~~ hack/extern.h:252:17: note: expected 'char *' but argument is of type 'const char *' 252 | void mread(int, char *, unsigned); | ^~~~~~ +hack/hack.objnam.c:185:9: note: here + 185 | case WEAPON_SYM: + | ^~~~ +hack/hack.objnam.c:191:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 191 | if (obj->otyp == CRYSKNIFE && pl) { + | ^ +hack/hack.mkobj.c: In function 'mksobj': hack/hack.o_init.c: In function 'interesting_to_discover': +hack/hack.mkobj.c:141:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 141 | if (otmp->otyp >= CORPSE) + | ^ hack/hack.o_init.c:261:1: warning: old-style function definition [-Wold-style-definition] 261 | interesting_to_discover(i) | ^~~~~~~~~~~~~~~~~~~~~~~ -hack/hack.pager.c: In function 'dowhatis': -hack/hack.pager.c:105:56: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] - 105 | (void) strncpy(buf + 1, " ", 7); - | ^ +hack/hack.mkobj.c:149:9: note: here + 149 | case GEM_SYM: + | ^~~~ +hack/hack.objnam.c:197:9: note: here + 197 | case ARMOR_SYM: + | ^~~~ +hack/hack.objnam.c: In function 'doname': +hack/hack.objnam.c:332:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 332 | if (obj->owornmask & W_ARMOR) + | ^ +hack/hack.objnam.c:335:9: note: here + 335 | case WEAPON_SYM: + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rip.c -o hack/hack.rip.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.rumors.c -o hack/hack.rumors.o hack/hack.potion.c: In function 'strange_feeling': hack/hack.potion.c:282:1: warning: old-style function definition [-Wold-style-definition] 282 | strange_feeling(obj, txt) @@ -3662,16 +3672,51 @@ hack/hack.potion.c:370:1: warning: old-style function definition [-Wold-style-definition] 370 | potionbreathe(obj) | ^~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.save.c -o hack/hack.save.o +hack/hack.options.c: In function 'parseoptions': +hack/hack.options.c:92:1: warning: old-style function definition [-Wold-style-definition] + 92 | parseoptions(opts, from_env) + | ^~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.search.c -o hack/hack.search.o -hack/hack.objnam.c: In function 'strprepend': -hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -hack/hack.objnam.c:81:29: note: length computed here - 81 | int i = strlen(pref); - | ^~~~~~~~~~~~ +hack/hack.pager.c: In function 'intruph': +hack/hack.pager.c:128:1: warning: old-style function definition [-Wold-style-definition] + 128 | intruph(n) + | ^~~~~~~ +hack/hack.pager.c: In function 'page_more': +hack/hack.pager.c:136:1: warning: old-style function definition [-Wold-style-definition] + 136 | page_more(fp, strip) + | ^~~~~~~~~ +hack/hack.pager.c: In function 'set_pager': +hack/hack.pager.c:188:1: warning: old-style function definition [-Wold-style-definition] + 188 | set_pager(mode) + | ^~~~~~~~~ +hack/hack.pager.c: In function 'page_line': +hack/hack.pager.c:219:1: warning: old-style function definition [-Wold-style-definition] + 219 | page_line(s) /* returns 1 if we should quit */ + | ^~~~~~~~~ +hack/hack.pager.c: In function 'cornline': +hack/hack.pager.c:256:1: warning: old-style function definition [-Wold-style-definition] + 256 | cornline(mode, text) + | ^~~~~~~~ +hack/hack.pager.c: In function 'page_file': +hack/hack.pager.c:365:1: warning: old-style function definition [-Wold-style-definition] + 365 | page_file(fnam, silent) /* return: 0 - cannot open fnam; 1 - + | ^~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.shk.c -o hack/hack.shk.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.shknam.c -o hack/hack.shknam.o +hack/hack.pager.c: In function 'child': +hack/hack.pager.c:467:24: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 467 | (void) setuid(getuid()); + | ^~~~~~~~~~~~~~~~ +hack/hack.pager.c:468:24: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 468 | (void) setgid(getgid()); + | ^~~~~~~~~~~~~~~~ +hack/hack.pager.c:470:24: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 470 | (void) chdir(getenv("HOME")); + | ^~~~~~~~~~~~~~~~~~~~~ +hack/hack.pager.c: In function 'dowhatis': +hack/hack.pager.c:105:56: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] + 105 | (void) strncpy(buf + 1, " ", 7); + | ^ hack/hack.pri.c: In function 'atl': hack/hack.pri.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | atl(x, y, ch) @@ -3692,10 +3737,19 @@ hack/hack.pri.c:239:1: warning: old-style function definition [-Wold-style-definition] 239 | at(x, y, ch) | ^~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.shknam.c -o hack/hack.shknam.o hack/hack.pri.c: In function 'docorner': hack/hack.pri.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | docorner(xmin, ymax) | ^~~~~~~~ +hack/hack.objnam.c: In function 'strprepend': +hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +hack/hack.objnam.c:81:29: note: length computed here + 81 | int i = strlen(pref); + | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.steal.c -o hack/hack.steal.o hack/hack.pri.c: In function 'news0': hack/hack.pri.c:435:1: warning: old-style function definition [-Wold-style-definition] 435 | news0(x, y) @@ -3728,10 +3782,22 @@ hack/hack.pri.c:622:1: warning: old-style function definition [-Wold-style-definition] 622 | unpobj(obj) | ^~~~~~ +hack/hack.rumors.c: In function 'init_rumors': +hack/hack.rumors.c:77:1: warning: old-style function definition [-Wold-style-definition] + 77 | init_rumors(rumf) + | ^~~~~~~~~~~ hack/hack.pri.c: In function 'pmon': hack/hack.pri.c:668:1: warning: old-style function definition [-Wold-style-definition] 668 | pmon(mon) | ^~~~ +hack/hack.rumors.c: In function 'skipline': +hack/hack.rumors.c:92:1: warning: old-style function definition [-Wold-style-definition] + 92 | skipline(rumf) + | ^~~~~~~~ +hack/hack.rumors.c: In function 'outline': +hack/hack.rumors.c:105:1: warning: old-style function definition [-Wold-style-definition] + 105 | outline(rumf) + | ^~~~~~~ hack/hack.pri.c: In function 'unpmon': hack/hack.pri.c:688:1: warning: old-style function definition [-Wold-style-definition] 688 | unpmon(mon) @@ -3740,6 +3806,11 @@ hack/hack.pri.c:720:1: warning: old-style function definition [-Wold-style-definition] 720 | cornbot(lth) | ^~~~~~~ +hack/hack.rumors.c: In function 'used': +hack/hack.rumors.c:146:1: warning: old-style function definition [-Wold-style-definition] + 146 | used(i) + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.termcap.c -o hack/hack.termcap.o hack/hack.read.c: In function 'identify': hack/hack.read.c:531:1: warning: old-style function definition [-Wold-style-definition] 531 | identify(otmp) /* also called by newmail() */ @@ -3752,41 +3823,10 @@ hack/hack.read.c:630:1: warning: old-style function definition [-Wold-style-definition] 630 | monstersym(ch) /* arnold@ucsfcgl */ | ^~~~~~~~~~ -hack/hack.rumors.c: In function 'init_rumors': -hack/hack.rumors.c:77:1: warning: old-style function definition [-Wold-style-definition] - 77 | init_rumors(rumf) - | ^~~~~~~~~~~ -hack/hack.rumors.c: In function 'skipline': -hack/hack.rumors.c:92:1: warning: old-style function definition [-Wold-style-definition] - 92 | skipline(rumf) - | ^~~~~~~~ -hack/hack.rumors.c: In function 'outline': -hack/hack.rumors.c:105:1: warning: old-style function definition [-Wold-style-definition] - 105 | outline(rumf) - | ^~~~~~~ -hack/hack.rumors.c: In function 'used': -hack/hack.rumors.c:146:1: warning: old-style function definition [-Wold-style-definition] - 146 | used(i) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.steal.c -o hack/hack.steal.o hack/hack.rip.c: In function 'center': hack/hack.rip.c:128:1: warning: old-style function definition [-Wold-style-definition] 128 | center(line, text) | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.termcap.c -o hack/hack.termcap.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.timeout.c -o hack/hack.timeout.o -hack/hack.search.c: In function 'wakeup': -hack/hack.search.c:198:1: warning: old-style function definition [-Wold-style-definition] - 198 | wakeup(mtmp) - | ^~~~~~ -hack/hack.search.c: In function 'seemimic': -hack/hack.search.c:209:1: warning: old-style function definition [-Wold-style-definition] - 209 | seemimic(mtmp) - | ^~~~~~~~ -hack/hack.shknam.c: In function 'findname': -hack/hack.shknam.c:209:1: warning: old-style function definition [-Wold-style-definition] - 209 | findname(nampt, let) - | ^~~~~~~~ hack/hack.save.c: In function 'hangup': hack/hack.save.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | hangup(n) @@ -3799,6 +3839,14 @@ hack/hack.save.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | dorecover(fd) | ^~~~~~~~~ +hack/hack.search.c: In function 'wakeup': +hack/hack.search.c:198:1: warning: old-style function definition [-Wold-style-definition] + 198 | wakeup(mtmp) + | ^~~~~~ +hack/hack.search.c: In function 'seemimic': +hack/hack.search.c:209:1: warning: old-style function definition [-Wold-style-definition] + 209 | seemimic(mtmp) + | ^~~~~~~~ hack/hack.save.c: In function 'restobjchn': hack/hack.save.c:246:1: warning: old-style function definition [-Wold-style-definition] 246 | restobjchn(fd) @@ -3807,7 +3855,9 @@ hack/hack.save.c:274:1: warning: old-style function definition [-Wold-style-definition] 274 | restmonchn(fd) | ^~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.timeout.c -o hack/hack.timeout.o hack/hack.shk.c: In function 'shkname': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.topl.c -o hack/hack.topl.o hack/hack.shk.c:199:1: warning: old-style function definition [-Wold-style-definition] 199 | shkname(mtmp) /* called in do_name.c */ | ^~~~~~~ @@ -3819,26 +3869,7 @@ hack/hack.shk.c:222:1: warning: old-style function definition [-Wold-style-definition] 222 | replshk(mtmp, mtmp2) | ^~~~~~~ -hack/hack.end.c: In function 'outentry': -hack/hack.end.c:551:33: warning: '%s' directive writing up to 11 bytes into a region of size 10 [-Wformat-overflow=] - 551 | Sprintf(hpbuf, "%s", (t1->hp > 0) ? itoa(t1->hp) : "-"); - | ^~ -In file included from /usr/include/stdio.h:970, - from include/stdio.h:35, - from hack/extern.h:41, - from hack/hack.end.c:73: -In function 'sprintf', - inlined from 'outentry' at hack/hack.end.c:551:3: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 12 bytes into a destination of size 10 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.topl.c -o hack/hack.topl.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.track.c -o hack/hack.track.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.trap.c -o hack/hack.trap.o hack/hack.shk.c: In function 'findshk': hack/hack.shk.c:363:1: warning: old-style function definition [-Wold-style-definition] 363 | findshk(roomno) @@ -3867,7 +3898,6 @@ hack/hack.shk.c:675:1: warning: old-style function definition [-Wold-style-definition] 675 | addtobill(obj) | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.tty.c -o hack/hack.tty.o hack/hack.shk.c: In function 'splitbill': hack/hack.shk.c:699:1: warning: old-style function definition [-Wold-style-definition] 699 | splitbill(obj, otmp) @@ -3888,12 +3918,10 @@ hack/hack.shk.c:936:1: warning: old-style function definition [-Wold-style-definition] 936 | shkcatch(obj) | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.u_init.c -o hack/hack.u_init.o hack/hack.shk.c: In function 'shk_move': hack/hack.shk.c:958:1: warning: old-style function definition [-Wold-style-definition] 958 | shk_move(shkp) | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.unix.c -o hack/hack.unix.o hack/hack.shk.c: In function 'shopdig': hack/hack.shk.c:1125:1: warning: old-style function definition [-Wold-style-definition] 1125 | shopdig(fall) @@ -3902,15 +3930,8 @@ hack/hack.shk.c:1160:1: warning: old-style function definition [-Wold-style-definition] 1160 | follower(mtmp) | ^~~~~~~~ -hack/hack.objnam.c: In function 'doname': -hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'doname' at hack/hack.objnam.c:362:7: -hack/hack.objnam.c:81:29: note: length computed here - 81 | int i = strlen(pref); - | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.trap.c -o hack/hack.trap.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.tty.c -o hack/hack.tty.o hack/hack.shk.c: In function 'getprice': hack/hack.shk.c:912:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 912 | pline("Strange ..., carrying a chain?"); @@ -3918,43 +3939,22 @@ hack/hack.shk.c:913:9: note: here 913 | case BALL_SYM: | ^~~~ -hack/hack.steal.c: In function 'stealgold': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.u_init.c -o hack/hack.u_init.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.unix.c -o hack/hack.unix.o +hack/hack.shknam.c: In function 'findname': +hack/hack.shknam.c:209:1: warning: old-style function definition [-Wold-style-definition] + 209 | findname(nampt, let) + | ^~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.vault.c -o hack/hack.vault.o -hack/hack.steal.c:82:1: warning: old-style function definition [-Wold-style-definition] - 82 | stealgold(mtmp) - | ^~~~~~~~~ -hack/hack.steal.c: In function 'steal': -hack/hack.steal.c:140:1: warning: old-style function definition [-Wold-style-definition] - 140 | steal(mtmp) - | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.version.c -o hack/hack.version.o hack/hack.termcap.c: In function 'curs': hack/hack.termcap.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | curs(x, y) | ^~~~ -hack/hack.steal.c: In function 'mpickobj': -hack/hack.steal.c:229:1: warning: old-style function definition [-Wold-style-definition] - 229 | mpickobj(mtmp, otmp) - | ^~~~~~~~ -hack/hack.steal.c: In function 'stealamulet': -hack/hack.steal.c:238:1: warning: old-style function definition [-Wold-style-definition] - 238 | stealamulet(mtmp) - | ^~~~~~~~~~~ hack/hack.termcap.c: In function 'nocmov': -hack/hack.topl.c: In function 'addtopl': hack/hack.termcap.c:190:1: warning: old-style function definition [-Wold-style-definition] 190 | nocmov(x, y) | ^~~~~~ -hack/hack.topl.c:140:1: warning: old-style function definition [-Wold-style-definition] - 140 | addtopl(s) - | ^~~~~~~ -hack/hack.steal.c: In function 'relobj': -hack/hack.steal.c:259:1: warning: old-style function definition [-Wold-style-definition] - 259 | relobj(mtmp, show) - | ^~~~~~ -hack/hack.topl.c: In function 'xmore': -hack/hack.topl.c:153:1: warning: old-style function definition [-Wold-style-definition] - 153 | xmore(s) - | ^~~~~ hack/hack.termcap.c: In function 'cmov': hack/hack.termcap.c:239:1: warning: old-style function definition [-Wold-style-definition] 239 | cmov(x, y) @@ -3967,6 +3967,15 @@ hack/hack.termcap.c:255:1: warning: old-style function definition [-Wold-style-definition] 255 | xputs(s) | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wield.c -o hack/hack.wield.o +hack/hack.topl.c: In function 'addtopl': +hack/hack.topl.c:140:1: warning: old-style function definition [-Wold-style-definition] + 140 | addtopl(s) + | ^~~~~~~ +hack/hack.topl.c: In function 'xmore': +hack/hack.topl.c:153:1: warning: old-style function definition [-Wold-style-definition] + 153 | xmore(s) + | ^~~~~ hack/hack.topl.c: In function 'cmore': hack/hack.topl.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | cmore(s) @@ -3979,6 +3988,7 @@ hack/hack.topl.c:213:1: warning: old-style function definition [-Wold-style-definition] 213 | vpline(line, ap) | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wizard.c -o hack/hack.wizard.o hack/hack.topl.c: In function 'putsym': hack/hack.topl.c:278:1: warning: old-style function definition [-Wold-style-definition] 278 | putsym(c) @@ -3987,31 +3997,38 @@ hack/hack.topl.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | putstr(s) | ^~~~~~ +hack/hack.steal.c: In function 'stealgold': +hack/hack.steal.c:82:1: warning: old-style function definition [-Wold-style-definition] + 82 | stealgold(mtmp) + | ^~~~~~~~~ +hack/hack.steal.c: In function 'steal': +hack/hack.steal.c:140:1: warning: old-style function definition [-Wold-style-definition] + 140 | steal(mtmp) + | ^~~~~ +hack/hack.steal.c: In function 'mpickobj': +hack/hack.steal.c:229:1: warning: old-style function definition [-Wold-style-definition] + 229 | mpickobj(mtmp, otmp) + | ^~~~~~~~ +hack/hack.steal.c: In function 'stealamulet': +hack/hack.steal.c:238:1: warning: old-style function definition [-Wold-style-definition] + 238 | stealamulet(mtmp) + | ^~~~~~~~~~~ +hack/hack.steal.c: In function 'relobj': +hack/hack.steal.c:259:1: warning: old-style function definition [-Wold-style-definition] + 259 | relobj(mtmp, show) + | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.worm.c -o hack/hack.worm.o hack/hack.track.c: In function 'gettrack': hack/hack.track.c:98:1: warning: old-style function definition [-Wold-style-definition] 98 | gettrack(x, y) | ^~~~~~~~ -hack/hack.u_init.c: In function 'ini_inv': -hack/hack.u_init.c:329:1: warning: old-style function definition [-Wold-style-definition] - 329 | ini_inv(trop) - | ^~~~~~~ -hack/hack.u_init.c: In function 'role_index': -hack/hack.u_init.c:438:1: warning: old-style function definition [-Wold-style-definition] - 438 | role_index(pc) - | ^~~~~~~~~~ -hack/hack.objnam.c: In function 'aobjnam': -hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] - 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ - | ^ -In function 'strprepend', - inlined from 'aobjnam' at hack/hack.objnam.c:385:8: -hack/hack.objnam.c:81:29: note: length computed here - 81 | int i = strlen(pref); - | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.worn.c -o hack/hack.worn.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.zap.c -o hack/hack.zap.o hack/hack.tty.c: In function 'settty': hack/hack.tty.c:151:1: warning: old-style function definition [-Wold-style-definition] 151 | settty(s) | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/rnd.c -o hack/rnd.o hack/hack.tty.c: In function 'getlin': hack/hack.tty.c:222:1: warning: old-style function definition [-Wold-style-definition] 222 | getlin(bufp) @@ -4024,6 +4041,17 @@ hack/hack.tty.c:294:1: warning: old-style function definition [-Wold-style-definition] 294 | xwaitforspace(s) | ^~~~~~~~~~~~~ +hack/hack.u_init.c: In function 'ini_inv': +hack/hack.u_init.c:329:1: warning: old-style function definition [-Wold-style-definition] + 329 | ini_inv(trop) + | ^~~~~~~ +hack/hack.u_init.c: In function 'role_index': +hack/hack.u_init.c:438:1: warning: old-style function definition [-Wold-style-definition] + 438 | role_index(pc) + | ^~~~~~~~~~ +./substscr g m hack/hack.6.in hack/hack.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/endgame.c -o hangman/endgame.o +Generating hack/hack.6 from hack/hack.6.in hack/hack.trap.c: In function 'maketrap': hack/hack.trap.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | maketrap(x, y, typ) @@ -4048,10 +4076,31 @@ hack/hack.trap.c:418:1: warning: old-style function definition [-Wold-style-definition] 418 | teleok(x, y) | ^~~~~~ +hack/hack.unix.c: In function 'gethdate': hack/hack.trap.c: In function 'placebc': +hack/hack.unix.c:165:1: warning: old-style function definition [-Wold-style-definition] + 165 | gethdate(name) + | ^~~~~~~~ hack/hack.trap.c:449:1: warning: old-style function definition [-Wold-style-definition] 449 | placebc(attach) | ^~~~~~~ +hack/hack.unix.c: In function 'veryold': +hack/hack.unix.c:229:1: warning: old-style function definition [-Wold-style-definition] + 229 | veryold(fd) + | ^~~~~~~ +hack/hack.objnam.c: In function 'doname': +hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'doname' at hack/hack.objnam.c:362:7: +hack/hack.objnam.c:81:29: note: length computed here + 81 | int i = strlen(pref); + | ^~~~~~~~~~~~ +hack/hack.unix.c: In function 'regularize': +hack/hack.unix.c:525:1: warning: old-style function definition [-Wold-style-definition] + 525 | regularize(s) /* normalize file name - we don't like ..'s + | ^~~~~~~~~~ hack/hack.trap.c: In function 'float_down': hack/hack.trap.c:337:39: warning: this statement may fall through [-Wimplicit-fallthrough=] 337 | if (!xdnstair || u.ustuck) @@ -4059,6 +4108,66 @@ hack/hack.trap.c:340:17: note: here 340 | default: | ^~~~~~~ +hack/hack.wizard.c: In function 'wiz_hit': +hack/hack.wizard.c:105:1: warning: old-style function definition [-Wold-style-definition] + 105 | wiz_hit(mtmp) + | ^~~~~~~ +hack/hack.wizard.c: In function 'inrange': +hack/hack.wizard.c:152:1: warning: old-style function definition [-Wold-style-definition] + 152 | inrange(mtmp) + | ^~~~~~~ +hack/hack.wizard.c: In function 'clonewiz': +hack/hack.wizard.c:269:1: warning: old-style function definition [-Wold-style-definition] + 269 | clonewiz(mtmp) + | ^~~~~~~~ +hack/hack.wizard.c: In function 'inrange': +hack/hack.wizard.c:219:41: warning: this statement may fall through [-Wimplicit-fallthrough=] + 219 | aggravate(); /* aggravate all the + | ^~~~~~~~~~~ +hack/hack.wizard.c:222:33: note: here + 222 | case 2: + | ^~~~ +hack/hack.worm.c: In function 'getwn': +hack/hack.worm.c:80:1: warning: old-style function definition [-Wold-style-definition] + 80 | getwn(mtmp) + | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/extern.c -o hangman/extern.o +hack/hack.worm.c: In function 'initworm': +hack/hack.worm.c:94:1: warning: old-style function definition [-Wold-style-definition] + 94 | initworm(mtmp) + | ^~~~~~~~ +hack/hack.worm.c: In function 'worm_move': +hack/hack.worm.c:110:1: warning: old-style function definition [-Wold-style-definition] + 110 | worm_move(mtmp) + | ^~~~~~~~~ +hack/hack.worm.c: In function 'worm_nomove': +hack/hack.worm.c:143:1: warning: old-style function definition [-Wold-style-definition] + 143 | worm_nomove(mtmp) + | ^~~~~~~~~~~ +hack/hack.worm.c: In function 'wormdead': +hack/hack.worm.c:160:1: warning: old-style function definition [-Wold-style-definition] + 160 | wormdead(mtmp) + | ^~~~~~~~ +hack/hack.worm.c: In function 'wormhit': +hack/hack.worm.c:176:1: warning: old-style function definition [-Wold-style-definition] + 176 | wormhit(mtmp) + | ^~~~~~~ +hack/hack.worm.c: In function 'wormsee': +hack/hack.worm.c:188:1: warning: old-style function definition [-Wold-style-definition] + 188 | wormsee(tmp) + | ^~~~~~~ +hack/hack.worm.c: In function 'pwseg': +hack/hack.worm.c:202:1: warning: old-style function definition [-Wold-style-definition] + 202 | pwseg(wtmp) + | ^~~~~ +hack/hack.worm.c: In function 'cutworm': +hack/hack.worm.c:212:1: warning: old-style function definition [-Wold-style-definition] + 212 | cutworm(mtmp, x, y, weptyp) + | ^~~~~~~ +hack/hack.worm.c: In function 'remseg': +hack/hack.worm.c:285:1: warning: old-style function definition [-Wold-style-definition] + 285 | remseg(wtmp) + | ^~~~~~ hack/hack.vault.c: In function 'restfakecorr': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) @@ -4090,12 +4199,16 @@ hack/hack.vault.c:133:28: note: in expansion of macro 'EGD' 133 | crm->typ = EGD->fakecorr[fcbeg].ftyp; | ^~~ +hack/hack.wield.c: In function 'setuwep': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hack/hack.vault.c:137:17: note: in expansion of macro 'EGD' 137 | EGD->fcbeg++; | ^~~ +hack/hack.wield.c:73:1: warning: old-style function definition [-Wold-style-definition] + 73 | setuwep(obj) + | ^~~~~~~ hack/hack.vault.c: In function 'goldincorridor': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) @@ -4115,12 +4228,24 @@ hack/hack.vault.c:150:26: note: in expansion of macro 'EGD' 150 | if (g_at(EGD->fakecorr[fci].fx, EGD->fakecorr[fci].fy)) | ^~~ +hack/hack.zap.c: In function 'bhitm': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hack/hack.vault.c:150:49: note: in expansion of macro 'EGD' 150 | if (g_at(EGD->fakecorr[fci].fx, EGD->fakecorr[fci].fy)) | ^~~ +hack/hack.zap.c:83:1: warning: old-style function definition [-Wold-style-definition] + 83 | bhitm(mtmp, otmp) + | ^~~~~ +hack/hack.wield.c: In function 'chwepon': +hack/hack.wield.c:132:1: warning: old-style function definition [-Wold-style-definition] + 132 | chwepon(otmp, amount) + | ^~~~~~~ +hack/hack.zap.c: In function 'bhito': +hack/hack.zap.c:138:1: warning: old-style function definition [-Wold-style-definition] + 138 | bhito(obj, otmp) /* object obj was hit by the effect of wand + | ^~~~~ hack/hack.vault.c: In function 'invault': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) @@ -4183,42 +4308,59 @@ hack/hack.vault.c:285:66: note: in expansion of macro 'EGD' 285 | for (i = EGD->fcbeg; i < EGD->fcend; i++) | ^~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/getguess.c -o hangman/getguess.o hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hack/hack.vault.c:285:82: note: in expansion of macro 'EGD' 285 | for (i = EGD->fcbeg; i < EGD->fcend; i++) | ^~~ +hack/hack.zap.c: In function 'exclam': +hack/hack.zap.c:340:1: warning: old-style function definition [-Wold-style-definition] + 340 | exclam(force) + | ^~~~~~ hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hack/hack.vault.c:286:69: note: in expansion of macro 'EGD' 286 | if (EGD->fakecorr[i].fx == nx && | ^~~ +hack/hack.zap.c: In function 'hit': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hack/hack.vault.c:287:69: note: in expansion of macro 'EGD' 287 | EGD->fakecorr[i].fy == ny) | ^~~ +hack/hack.zap.c:352:1: warning: old-style function definition [-Wold-style-definition] + 352 | hit(str, mtmp, force) + | ^~~ +hack/hack.zap.c: In function 'miss': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hack/hack.vault.c:296:57: note: in expansion of macro 'EGD' 296 | EGD->gddone = 1; | ^~~ +hack/hack.zap.c:364:1: warning: old-style function definition [-Wold-style-definition] + 364 | miss(str, mtmp) + | ^~~~ hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hack/hack.vault.c:306:14: note: in expansion of macro 'EGD' 306 | gx = EGD->gdx; | ^~~ +hack/hack.zap.c: In function 'bhit': hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hack/hack.vault.c:307:14: note: in expansion of macro 'EGD' 307 | gy = EGD->gdy; | ^~~ +hack/hack.zap.c:385:1: warning: old-style function definition [-Wold-style-definition] + 385 | bhit(ddx, ddy, range, sym, fhitm, fhito, obj) + | ^~~~ hack/hack.vault.c:115:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 115 | #define EGD ((struct egd *)(&(guard->mextra[0]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4247,107 +4389,6 @@ hack/hack.vault.c:370:1: warning: old-style function definition [-Wold-style-definition] 370 | replgd(mtmp, mtmp2) | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.version.c -o hack/hack.version.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wield.c -o hack/hack.wield.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.wizard.c -o hack/hack.wizard.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.worm.c -o hack/hack.worm.o -dab/main.cc: In function 'int main(int, char**)': -dab/main.cc:193:5: warning: deleting object of abstract class type 'PLAYER' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 193 | delete p[0]; - | ^~~~~~~~~~~ -dab/main.cc:194:5: warning: deleting object of abstract class type 'PLAYER' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] - 194 | delete p[1]; - | ^~~~~~~~~~~ -hack/hack.unix.c: In function 'gethdate': -hack/hack.unix.c:165:1: warning: old-style function definition [-Wold-style-definition] - 165 | gethdate(name) - | ^~~~~~~~ -hack/hack.unix.c: In function 'veryold': -hack/hack.unix.c:229:1: warning: old-style function definition [-Wold-style-definition] - 229 | veryold(fd) - | ^~~~~~~ -hack/hack.unix.c: In function 'regularize': -hack/hack.unix.c:525:1: warning: old-style function definition [-Wold-style-definition] - 525 | regularize(s) /* normalize file name - we don't like ..'s - | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.worn.c -o hack/hack.worn.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/hack.zap.c -o hack/hack.zap.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihack -c hack/rnd.c -o hack/rnd.o -./substscr g m hack/hack.6.in hack/hack.6 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/endgame.c -o hangman/endgame.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/extern.c -o hangman/extern.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/getguess.c -o hangman/getguess.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/getword.c -o hangman/getword.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/main.c -o hangman/main.o -Generating hack/hack.6 from hack/hack.6.in -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/playgame.c -o hangman/playgame.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prdata.c -o hangman/prdata.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prman.c -o hangman/prman.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prword.c -o hangman/prword.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/setup.c -o hangman/setup.o -./substscr g m hangman/hangman.6.in hangman/hangman.6 -hack/hack.zap.c: In function 'bhitm': -hack/hack.zap.c:83:1: warning: old-style function definition [-Wold-style-definition] - 83 | bhitm(mtmp, otmp) - | ^~~~~ -hack/hack.zap.c: In function 'bhito': -hack/hack.zap.c:138:1: warning: old-style function definition [-Wold-style-definition] - 138 | bhito(obj, otmp) /* object obj was hit by the effect of wand - | ^~~~~ -Generating hangman/hangman.6 from hangman/hangman.6.in -hack/hack.worm.c: In function 'getwn': -hack/hack.zap.c: In function 'exclam': -hack/hack.worm.c:80:1: warning: old-style function definition [-Wold-style-definition] - 80 | getwn(mtmp) - | ^~~~~ -hack/hack.zap.c:340:1: warning: old-style function definition [-Wold-style-definition] - 340 | exclam(force) - | ^~~~~~ -hack/hack.zap.c: In function 'hit': -hack/hack.worm.c: In function 'initworm': -hack/hack.worm.c:94:1: warning: old-style function definition [-Wold-style-definition] - 94 | initworm(mtmp) - | ^~~~~~~~ -hack/hack.zap.c:352:1: warning: old-style function definition [-Wold-style-definition] - 352 | hit(str, mtmp, force) - | ^~~ -hack/hack.zap.c: In function 'miss': -hack/hack.worm.c: In function 'worm_move': -hack/hack.zap.c:364:1: warning: old-style function definition [-Wold-style-definition] - 364 | miss(str, mtmp) - | ^~~~ -hack/hack.worm.c:110:1: warning: old-style function definition [-Wold-style-definition] - 110 | worm_move(mtmp) - | ^~~~~~~~~ -hack/hack.zap.c: In function 'bhit': -hack/hack.zap.c:385:1: warning: old-style function definition [-Wold-style-definition] - 385 | bhit(ddx, ddy, range, sym, fhitm, fhito, obj) - | ^~~~ -hack/hack.worm.c: In function 'worm_nomove': -hack/hack.worm.c:143:1: warning: old-style function definition [-Wold-style-definition] - 143 | worm_nomove(mtmp) - | ^~~~~~~~~~~ -hack/hack.worm.c: In function 'wormdead': -hack/hack.worm.c:160:1: warning: old-style function definition [-Wold-style-definition] - 160 | wormdead(mtmp) - | ^~~~~~~~ -hack/hack.worm.c: In function 'wormhit': -hack/hack.worm.c:176:1: warning: old-style function definition [-Wold-style-definition] - 176 | wormhit(mtmp) - | ^~~~~~~ -hack/hack.worm.c: In function 'wormsee': -hack/hack.worm.c:188:1: warning: old-style function definition [-Wold-style-definition] - 188 | wormsee(tmp) - | ^~~~~~~ -hack/hack.worm.c: In function 'pwseg': -hack/hack.worm.c:202:1: warning: old-style function definition [-Wold-style-definition] - 202 | pwseg(wtmp) - | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/comp.c -o mille/comp.o -hack/hack.worm.c: In function 'cutworm': -hack/hack.worm.c:212:1: warning: old-style function definition [-Wold-style-definition] - 212 | cutworm(mtmp, x, y, weptyp) - | ^~~~~~~ hack/hack.zap.c: In function 'dirlet': hack/hack.zap.c:484:1: warning: old-style function definition [-Wold-style-definition] 484 | dirlet(dx, dy) @@ -4356,31 +4397,69 @@ hack/hack.zap.c:495:1: warning: old-style function definition [-Wold-style-definition] 495 | buzz(type, sx, sy, dx, dy) | ^~~~ -hack/hack.wield.c: In function 'setuwep': -hack/hack.wield.c:73:1: warning: old-style function definition [-Wold-style-definition] - 73 | setuwep(obj) - | ^~~~~~~ -hack/hack.worm.c: In function 'remseg': -hack/hack.worm.c:285:1: warning: old-style function definition [-Wold-style-definition] - 285 | remseg(wtmp) +hack/hack.zap.c: In function 'zhit': +hack/hack.zap.c:651:1: warning: old-style function definition [-Wold-style-definition] + 651 | zhit(mon, type) /* returns damage to mon */ + | ^~~~ +hack/rnd.c: In function 'rn1': +hack/rnd.c:76:1: warning: old-style function definition [-Wold-style-definition] + 76 | rn1(x, y) + | ^~~ +hack/hack.zap.c: In function 'revive': +hack/rnd.c: In function 'rn2': +hack/hack.zap.c:693:1: warning: old-style function definition [-Wold-style-definition] + 693 | revive(obj) | ^~~~~~ +hack/rnd.c:83:1: warning: old-style function definition [-Wold-style-definition] + 83 | rn2(x) + | ^~~ +hack/rnd.c: In function 'rnd': +hack/rnd.c:90:1: warning: old-style function definition [-Wold-style-definition] + 90 | rnd(x) + | ^~~ +hack/hack.zap.c: In function 'rloco': +hack/rnd.c: In function 'd': +hack/hack.zap.c:711:1: warning: old-style function definition [-Wold-style-definition] + 711 | rloco(obj) + | ^~~~~ +hack/rnd.c:97:1: warning: old-style function definition [-Wold-style-definition] + 97 | d(n, x) + | ^ +hack/hack.zap.c: In function 'fracture_rock': +hack/hack.zap.c:729:1: warning: old-style function definition [-Wold-style-definition] + 729 | fracture_rock(obj) /* fractured by pick-axe or wand of striking */ + | ^~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/getword.c -o hangman/getword.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/main.c -o hangman/main.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/playgame.c -o hangman/playgame.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prdata.c -o hangman/prdata.o +hack/hack.objnam.c: In function 'aobjnam': +hack/hack.objnam.c:87:16: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] + 87 | (void) strncpy(s, pref, i); /* do not copy trailing 0 */ + | ^ +In function 'strprepend', + inlined from 'aobjnam' at hack/hack.objnam.c:385:8: +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prman.c -o hangman/prman.o +hack/hack.objnam.c:81:29: note: length computed here + 81 | int i = strlen(pref); + | ^~~~~~~~~~~~ +hack/hack.worn.c: In function 'setworn': hack/hack.unix.c: In function 'getdate': hack/hack.unix.c:126:38: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 5 [-Wformat-overflow=] 126 | (void) sprintf(datestr, "%02d%02d%02d", | ^~~~ +hack/hack.worn.c:112:1: warning: old-style function definition [-Wold-style-definition] + 112 | setworn(obj, mask) + | ^~~~~~~ hack/hack.unix.c:126:33: note: directive argument in the range [-2147483647, 2147483647] 126 | (void) sprintf(datestr, "%02d%02d%02d", | ^~~~~~~~~~~~~~ -hack/hack.wield.c: In function 'chwepon': In file included from /usr/include/stdio.h:970, from include/stdio.h:35, from hack/extern.h:41, from hack/hack.unix.c:94: In function 'sprintf', inlined from 'getdate' at hack/hack.unix.c:126:9: -hack/hack.wield.c:132:1: warning: old-style function definition [-Wold-style-definition] - 132 | chwepon(otmp, amount) - | ^~~~~~~ /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 26 bytes into a destination of size 7 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4388,65 +4467,22 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -hack/hack.zap.c: In function 'zhit': -hack/hack.zap.c:651:1: warning: old-style function definition [-Wold-style-definition] - 651 | zhit(mon, type) /* returns damage to mon */ - | ^~~~ -hack/hack.zap.c: In function 'revive': -hack/hack.zap.c:693:1: warning: old-style function definition [-Wold-style-definition] - 693 | revive(obj) - | ^~~~~~ -hack/hack.wizard.c: In function 'wiz_hit': -hack/hack.wizard.c:105:1: warning: old-style function definition [-Wold-style-definition] - 105 | wiz_hit(mtmp) - | ^~~~~~~ -hack/hack.zap.c: In function 'rloco': -hack/hack.zap.c:711:1: warning: old-style function definition [-Wold-style-definition] - 711 | rloco(obj) - | ^~~~~ -hack/hack.zap.c: In function 'fracture_rock': -hack/hack.zap.c:729:1: warning: old-style function definition [-Wold-style-definition] - 729 | fracture_rock(obj) /* fractured by pick-axe or wand of striking */ - | ^~~~~~~~~~~~~ -hack/hack.wizard.c: In function 'inrange': -hack/hack.wizard.c:152:1: warning: old-style function definition [-Wold-style-definition] - 152 | inrange(mtmp) - | ^~~~~~~ -hack/hack.wizard.c: In function 'clonewiz': -hack/hack.wizard.c:269:1: warning: old-style function definition [-Wold-style-definition] - 269 | clonewiz(mtmp) - | ^~~~~~~~ -hack/hack.wizard.c: In function 'inrange': -hack/hack.wizard.c:219:41: warning: this statement may fall through [-Wimplicit-fallthrough=] - 219 | aggravate(); /* aggravate all the - | ^~~~~~~~~~~ -hack/hack.wizard.c:222:33: note: here - 222 | case 2: - | ^~~~ -hack/hack.worn.c: In function 'setworn': -hack/hack.worn.c:112:1: warning: old-style function definition [-Wold-style-definition] - 112 | setworn(obj, mask) - | ^~~~~~~ hack/hack.worn.c: In function 'setnotworn': hack/hack.worn.c:145:1: warning: old-style function definition [-Wold-style-definition] 145 | setnotworn(obj) | ^~~~~~~~~~ -hack/rnd.c: In function 'rn1': -hack/rnd.c:76:1: warning: old-style function definition [-Wold-style-definition] - 76 | rn1(x, y) - | ^~~ -hack/rnd.c: In function 'rn2': -hack/rnd.c:83:1: warning: old-style function definition [-Wold-style-definition] - 83 | rn2(x) - | ^~~ -hack/rnd.c: In function 'rnd': -hack/rnd.c:90:1: warning: old-style function definition [-Wold-style-definition] - 90 | rnd(x) - | ^~~ -hack/rnd.c: In function 'd': -hack/rnd.c:97:1: warning: old-style function definition [-Wold-style-definition] - 97 | d(n, x) - | ^ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/prword.c -o hangman/prword.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ihangman -c hangman/setup.c -o hangman/setup.o +dab/main.cc: In function 'int main(int, char**)': +dab/main.cc:193:5: warning: deleting object of abstract class type 'PLAYER' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 193 | delete p[0]; + | ^~~~~~~~~~~ +dab/main.cc:194:5: warning: deleting object of abstract class type 'PLAYER' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] + 194 | delete p[1]; + | ^~~~~~~~~~~ +./substscr g m hangman/hangman.6.in hangman/hangman.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/comp.c -o mille/comp.o +Generating hangman/hangman.6 from hangman/hangman.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/end.c -o mille/end.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/extern.c -o mille/extern.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/init.c -o mille/init.o @@ -4470,12 +4506,48 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/save.c -o mille/save.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/types.c -o mille/types.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imille -c mille/varpush.c -o mille/varpush.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/cards.c -o monop/cards.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/execute.c -o monop/execute.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/getinp.c -o monop/getinp.o +mille/comp.c: In function 'calcmove': +mille/comp.c:98:33: warning: increment of a boolean expression [-Wbool-operation] + 98 | ++cango; + | ^~ +mille/comp.c:199:45: warning: decrement of a boolean expression [-Wbool-operation] + 199 | if (--cango <= 0) + | ^~ +mille/comp.c: In function 'onecard': +mille/comp.c:406:1: warning: old-style function definition [-Wold-style-definition] + 406 | onecard(pp) + | ^~~~~~~ +mille/comp.c: In function 'canplay': +mille/comp.c:439:1: warning: old-style function definition [-Wold-style-definition] + 439 | canplay(pp, op, card) + | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/houses.c -o monop/houses.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/jail.c -o monop/jail.o +mille/comp.c: In function 'calcmove': +mille/comp.c:216:36: warning: this statement may fall through [-Wimplicit-fallthrough=] + 216 | if (++count200 > 2) { + | ^ +mille/comp.c:220:27: note: here + 220 | case C_75: case C_100: + | ^~~~ +mille/comp.c: In function 'onecard': +mille/comp.c:427:28: warning: this statement may fall through [-Wimplicit-fallthrough=] + 427 | if (spd == C_LIMIT) + | ^ +mille/comp.c:429:19: note: here + 429 | case 50: + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/misc.c -o monop/misc.o mille/end.c: In function 'finalscore': mille/end.c:52:1: warning: old-style function definition [-Wold-style-definition] 52 | finalscore(pp) | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/cards.c -o monop/cards.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/execute.c -o monop/execute.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/monop.c -o monop/monop.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/morg.c -o monop/morg.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/print.c -o monop/print.o mille/misc.c: In function 'error': mille/misc.c:65:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] 65 | vwprintw(Score, str, ap); @@ -4485,14 +4557,11 @@ /usr/include/curses.h:833:28: note: declared here 833 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/prop.c -o monop/prop.o mille/misc.c: In function 'check_ext': mille/misc.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | check_ext(forcomp) | ^~~~~~~~~ -mille/comp.c: In function 'calcmove': -mille/comp.c:98:33: warning: increment of a boolean expression [-Wbool-operation] - 98 | ++cango; - | ^~ mille/misc.c: In function 'getyn': mille/misc.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | getyn(promptno) @@ -4502,76 +4571,44 @@ 54 | main(ac, av) | ^~~~ mille/misc.c: In function 'getcard': -mille/misc.c:115:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 115 | write(0, "\07", 1); - | ^~~~~~~~~~~~~~~~~~ mille/mille.c: In function 'rub': mille/mille.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | rub(dummy) | ^~~ mille/mille.c: In function 'die': +mille/misc.c:115:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 115 | write(0, "\07", 1); + | ^~~~~~~~~~~~~~~~~~ mille/mille.c:154:1: warning: old-style function definition [-Wold-style-definition] 154 | die(code) | ^~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/getinp.c -o monop/getinp.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/rent.c -o monop/rent.o mille/mille.c: In function 'main': -mille/comp.c:199:45: warning: decrement of a boolean expression [-Wbool-operation] - 199 | if (--cango <= 0) - | ^~ -mille/mille.c:61:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 61 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/houses.c -o monop/houses.o -mille/comp.c: In function 'onecard': -mille/comp.c:406:1: warning: old-style function definition [-Wold-style-definition] - 406 | onecard(pp) - | ^~~~~~~ -mille/comp.c: In function 'canplay': -mille/comp.c:439:1: warning: old-style function definition [-Wold-style-definition] - 439 | canplay(pp, op, card) - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/jail.c -o monop/jail.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/misc.c -o monop/misc.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/monop.c -o monop/monop.o mille/print.c: In function 'show_card': mille/print.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | show_card(y, x, c, lc) | ^~~~~~~~~ +mille/mille.c:61:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 61 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mille/print.c: In function 'prscore': mille/print.c:120:1: warning: old-style function definition [-Wold-style-definition] 120 | prscore(for_real) | ^~~~~~~ -mille/comp.c: In function 'calcmove': -mille/comp.c:216:36: warning: this statement may fall through [-Wimplicit-fallthrough=] - 216 | if (++count200 > 2) { - | ^ -mille/comp.c:220:27: note: here - 220 | case C_75: case C_100: - | ^~~~ mille/print.c: In function 'show_score': mille/print.c:171:1: warning: old-style function definition [-Wold-style-definition] 171 | show_score(y, x, s, ls) | ^~~~~~~~~~ -mille/varpush.c: In function 'varpush': -mille/varpush.c:53:1: warning: old-style function definition [-Wold-style-definition] - 53 | varpush(file, func) - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/morg.c -o monop/morg.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/print.c -o monop/print.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/prop.c -o monop/prop.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/rent.c -o monop/rent.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/roll.c -o monop/roll.o -mille/comp.c: In function 'onecard': -mille/comp.c:427:28: warning: this statement may fall through [-Wimplicit-fallthrough=] - 427 | if (spd == C_LIMIT) - | ^ -mille/comp.c:429:19: note: here - 429 | case 50: - | ^~~~ mille/move.c: In function 'playcard': mille/move.c:202:1: warning: old-style function definition [-Wold-style-definition] 202 | playcard(pp) | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/spec.c -o monop/spec.o +mille/roll.c: In function 'roll': +mille/roll.c:51:1: warning: old-style function definition [-Wold-style-definition] + 51 | roll(ndie, nsides) + | ^~~~ mille/move.c: In function 'haspicked': mille/move.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | haspicked(pp) @@ -4588,15 +4625,14 @@ mille/move.c:564:1: warning: old-style function definition [-Wold-style-definition] 564 | sort(hand) | ^~~~ -mille/types.c: In function 'is_repair': -mille/types.c:48:1: warning: old-style function definition [-Wold-style-definition] - 48 | is_repair(card) - | ^~~~~~~~~ -mille/types.c: In function 'safety': -mille/types.c:57:1: warning: old-style function definition [-Wold-style-definition] - 57 | safety(card) +monop/cards.c: In function 'set_up': +mille/save.c: In function 'rest_f': +monop/cards.c:94:1: warning: old-style function definition [-Wold-style-definition] + 94 | set_up(dp) + | ^~~~~~ +mille/save.c:144:1: warning: old-style function definition [-Wold-style-definition] + 144 | rest_f(file) | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/spec.c -o monop/spec.o mille/move.c: In function 'playcard': mille/move.c:229:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | if (pp->nummiles[C_200] == 2) @@ -4616,35 +4652,6 @@ mille/move.c:237:11: note: here 237 | case C_25: | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/trade.c -o monop/trade.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/initdeck.c -o monop/initdeck.o -monop/jail.c: In function 'ret_card': -monop/jail.c:68:1: warning: old-style function definition [-Wold-style-definition] - 68 | ret_card(plr) - | ^~~~~~~~ -monop/jail.c: In function 'move_jail': -monop/jail.c:98:1: warning: old-style function definition [-Wold-style-definition] - 98 | move_jail(r1, r2) - | ^~~~~~~~~ -mille/roll.c: In function 'roll': -mille/roll.c:51:1: warning: old-style function definition [-Wold-style-definition] - 51 | roll(ndie, nsides) - | ^~~~ -./substscr g m monop/monop.6.in monop/monop.6 -monop/getinp.c: In function 'getinp': -monop/getinp.c:53:1: warning: old-style function definition [-Wold-style-definition] - 53 | getinp(prompt, list) - | ^~~~~~ -monop/getinp.c: In function 'comp': -monop/getinp.c:109:1: warning: old-style function definition [-Wold-style-definition] - 109 | comp(s1) - | ^~~~ -Generating monop/monop.6 from monop/monop.6.in -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imorse -c morse/morse.c -o morse/morse.o -monop/cards.c: In function 'set_up': -monop/cards.c:94:1: warning: old-style function definition [-Wold-style-definition] - 94 | set_up(dp) - | ^~~~~~ monop/cards.c: In function 'get_card': monop/cards.c:128:1: warning: old-style function definition [-Wold-style-definition] 128 | get_card(dp) @@ -4652,22 +4659,6 @@ monop/cards.c:138:31: warning: operation on 'dp->last_card' may be undefined [-Wsequence-point] 138 | dp->last_card = ++(dp->last_card) % dp->num_cards; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -monop/rent.c: In function 'rent': -monop/rent.c:47:1: warning: old-style function definition [-Wold-style-definition] - 47 | rent(sqp) - | ^~~~ -monop/misc.c: In function 'getyn': -monop/misc.c:50:1: warning: old-style function definition [-Wold-style-definition] - 50 | getyn(prompt) - | ^~~~~ -monop/misc.c: In function 'get_int': -monop/misc.c:94:1: warning: old-style function definition [-Wold-style-definition] - 94 | get_int(prompt) - | ^~~~~~~ -monop/misc.c: In function 'set_ownlist': -monop/misc.c:127:1: warning: old-style function definition [-Wold-style-definition] - 127 | set_ownlist(pl) - | ^~~~~~~~~~~ monop/houses.c: In function 'buy_h': monop/houses.c:111:1: warning: old-style function definition [-Wold-style-definition] 111 | buy_h(mnp) @@ -4680,18 +4671,50 @@ monop/houses.c:272:1: warning: old-style function definition [-Wold-style-definition] 272 | list_cur(mp) | ^~~~~~~~ +mille/types.c: In function 'is_repair': +mille/types.c:48:1: warning: old-style function definition [-Wold-style-definition] + 48 | is_repair(card) + | ^~~~~~~~~ +mille/types.c: In function 'safety': +mille/types.c:57:1: warning: old-style function definition [-Wold-style-definition] + 57 | safety(card) + | ^~~~~~ +monop/jail.c: In function 'ret_card': +monop/jail.c:68:1: warning: old-style function definition [-Wold-style-definition] + 68 | ret_card(plr) + | ^~~~~~~~ +monop/jail.c: In function 'move_jail': +monop/jail.c:98:1: warning: old-style function definition [-Wold-style-definition] + 98 | move_jail(r1, r2) + | ^~~~~~~~~ +mille/varpush.c: In function 'varpush': +mille/varpush.c:53:1: warning: old-style function definition [-Wold-style-definition] + 53 | varpush(file, func) + | ^~~~~~~ +monop/getinp.c: In function 'getinp': +monop/getinp.c:53:1: warning: old-style function definition [-Wold-style-definition] + 53 | getinp(prompt, list) + | ^~~~~~ +monop/morg.c: In function 'm': +monop/morg.c:140:1: warning: old-style function definition [-Wold-style-definition] + 140 | m(prop) + | ^ monop/print.c: In function 'printsq': monop/print.c:85:1: warning: old-style function definition [-Wold-style-definition] 85 | printsq(sqn, eoln) | ^~~~~~~ -monop/misc.c: In function 'is_monop': -monop/misc.c:232:1: warning: old-style function definition [-Wold-style-definition] - 232 | is_monop(mp, pl) - | ^~~~~~~~ -monop/misc.c: In function 'is_not_monop': -monop/misc.c:249:1: warning: old-style function definition [-Wold-style-definition] - 249 | is_not_monop(mp) - | ^~~~~~~~~~~~ +monop/morg.c: In function 'unm': +monop/morg.c:203:1: warning: old-style function definition [-Wold-style-definition] + 203 | unm(prop) + | ^~~ +monop/getinp.c: In function 'comp': +monop/getinp.c:109:1: warning: old-style function definition [-Wold-style-definition] + 109 | comp(s1) + | ^~~~ +monop/morg.c: In function 'fix_ex': +monop/morg.c:233:1: warning: old-style function definition [-Wold-style-definition] + 233 | fix_ex(com_num) + | ^~~~~~ monop/print.c: In function 'printmorg': monop/print.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | printmorg(sqp) @@ -4700,7 +4723,6 @@ monop/print.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | printhold(pl) | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Inumber -c number/number.c -o number/number.o monop/execute.c: In function 'execute': monop/execute.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | execute(com_num) @@ -4709,16 +4731,27 @@ monop/execute.c:116:1: warning: old-style function definition [-Wold-style-definition] 116 | move(rl) | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/fight.c -o phantasia/fight.o monop/execute.c: In function 'rest_f': monop/execute.c:240:1: warning: old-style function definition [-Wold-style-definition] 240 | rest_f(file) | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/gamesupport.c -o phantasia/gamesupport.o +monop/misc.c: In function 'getyn': +monop/misc.c:50:1: warning: old-style function definition [-Wold-style-definition] + 50 | getyn(prompt) + | ^~~~~ monop/execute.c: In function 'save': monop/execute.c:213:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 213 | write(outf, start, num); | ^~~~~~~~~~~~~~~~~~~~~~~ +monop/misc.c: In function 'get_int': +monop/misc.c:94:1: warning: old-style function definition [-Wold-style-definition] + 94 | get_int(prompt) + | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/trade.c -o monop/trade.o +monop/misc.c: In function 'set_ownlist': +monop/misc.c:127:1: warning: old-style function definition [-Wold-style-definition] + 127 | set_ownlist(pl) + | ^~~~~~~~~~~ monop/execute.c: In function 'rest_f': monop/execute.c:259:9: warning: ignoring return value of 'brk' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | brk(end = start + sbuf.st_size); @@ -4726,7 +4759,15 @@ monop/execute.c:262:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 262 | read(inf, start, num); | ^~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/interplayer.c -o phantasia/interplayer.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imonop -c monop/initdeck.c -o monop/initdeck.o +monop/misc.c: In function 'is_monop': +monop/misc.c:232:1: warning: old-style function definition [-Wold-style-definition] + 232 | is_monop(mp, pl) + | ^~~~~~~~ +monop/misc.c: In function 'is_not_monop': +monop/misc.c:249:1: warning: old-style function definition [-Wold-style-definition] + 249 | is_not_monop(mp) + | ^~~~~~~~~~~~ monop/prop.c: In function 'buy': monop/prop.c:51:1: warning: old-style function definition [-Wold-style-definition] 51 | buy(player, sqrp) @@ -4747,55 +4788,6 @@ monop/prop.c:214:1: warning: old-style function definition [-Wold-style-definition] 214 | prop_worth(plp) | ^~~~~~~~~~ -mille/save.c: In function 'rest_f': -mille/save.c:144:1: warning: old-style function definition [-Wold-style-definition] - 144 | rest_f(file) - | ^~~~~~ -monop/trade.c: In function 'get_list': -monop/trade.c:105:1: warning: old-style function definition [-Wold-style-definition] - 105 | get_list(struct_no, play_no) - | ^~~~~~~~ -monop/trade.c: In function 'set_list': -monop/trade.c:158:1: warning: old-style function definition [-Wold-style-definition] - 158 | set_list(the_list) - | ^~~~~~~~ -monop/trade.c: In function 'move_em': -monop/trade.c:218:1: warning: old-style function definition [-Wold-style-definition] - 218 | move_em(from, to) - | ^~~~~~~ -monop/morg.c: In function 'm': -monop/morg.c:140:1: warning: old-style function definition [-Wold-style-definition] - 140 | m(prop) - | ^ -monop/morg.c: In function 'unm': -monop/morg.c:203:1: warning: old-style function definition [-Wold-style-definition] - 203 | unm(prop) - | ^~~ -monop/morg.c: In function 'fix_ex': -monop/morg.c:233:1: warning: old-style function definition [-Wold-style-definition] - 233 | fix_ex(com_num) - | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/io.c -o phantasia/io.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/main.c -o phantasia/main.o -monop/initdeck.c: In function 'main': -monop/initdeck.c:104:1: warning: old-style function definition [-Wold-style-definition] - 104 | main(ac, av) - | ^~~~ -monop/initdeck.c: In function 'getargs': -monop/initdeck.c:179:1: warning: old-style function definition [-Wold-style-definition] - 179 | getargs(ac, av) - | ^~~~~~~ -monop/initdeck.c: In function 'fwrite_be_offt': -monop/initdeck.c:264:1: warning: old-style function definition [-Wold-style-definition] - 264 | fwrite_be_offt(off, f) - | ^~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/misc.c -o phantasia/misc.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/phantglobs.c -o phantasia/phantglobs.o -monop/roll.c: In function 'roll': -monop/roll.c:68:1: warning: old-style function definition [-Wold-style-definition] - 68 | roll(ndie, nsides) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/setup.c -o phantasia/setup.o In file included from monop/monop.def:109, from monop/monop.c:50: monop/mon.dat:35:1: warning: missing initializer for field 'sq' of 'MON' {aka 'struct mon_st'} [-Wmissing-field-initializers] @@ -4847,7 +4839,6 @@ monop/monop.h:94:18: note: 'sq' declared here 94 | SQUARE *sq[3]; /* list of squares in monop */ | ^~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ipig -c pig/pig.c -o pig/pig.o In file included from monop/monop.def:117: monop/brd.dat:36:1: warning: missing initializer for field 'cost' of 'SQUARE' {aka 'struct sqr_st'} [-Wmissing-field-initializers] 36 | {"=== GO ===", -1, SAFE, 0 }, @@ -4861,6 +4852,7 @@ monop/monop.h:79:26: note: 'desc' declared here 79 | struct prp_st *desc; /* description struct */ | ^~~~ +./substscr g m monop/monop.6.in monop/monop.6 monop/brd.dat:40:1: warning: missing initializer for field 'desc' of 'SQUARE' {aka 'struct sqr_st'} [-Wmissing-field-initializers] 40 | {"Income Tax", -1, INC_TAX, }, | ^ @@ -4879,6 +4871,7 @@ monop/monop.h:80:17: note: 'cost' declared here 80 | int cost; /* cost */ | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Imorse -c morse/morse.c -o morse/morse.o monop/brd.dat:53:1: warning: missing initializer for field 'desc' of 'SQUARE' {aka 'struct sqr_st'} [-Wmissing-field-initializers] 53 | {"Community Chest ii", -1, CC, }, | ^ @@ -4935,11 +4928,53 @@ monop/monop.c:95:1: warning: old-style function definition [-Wold-style-definition] 95 | do_quit(n) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ipom -c pom/pom.c -o pom/pom.o monop/monop.c: In function 'main': monop/monop.c:68:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Generating monop/monop.6 from monop/monop.6.in +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Inumber -c number/number.c -o number/number.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/fight.c -o phantasia/fight.o +monop/rent.c: In function 'rent': +monop/rent.c:47:1: warning: old-style function definition [-Wold-style-definition] + 47 | rent(sqp) + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/gamesupport.c -o phantasia/gamesupport.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/interplayer.c -o phantasia/interplayer.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/io.c -o phantasia/io.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/main.c -o phantasia/main.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/misc.c -o phantasia/misc.o +monop/roll.c: In function 'roll': +monop/roll.c:68:1: warning: old-style function definition [-Wold-style-definition] + 68 | roll(ndie, nsides) + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/phantglobs.c -o phantasia/phantglobs.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iphantasia -c phantasia/setup.c -o phantasia/setup.o +monop/trade.c: In function 'get_list': +monop/trade.c:105:1: warning: old-style function definition [-Wold-style-definition] + 105 | get_list(struct_no, play_no) + | ^~~~~~~~ +monop/trade.c: In function 'set_list': +monop/trade.c:158:1: warning: old-style function definition [-Wold-style-definition] + 158 | set_list(the_list) + | ^~~~~~~~ +monop/trade.c: In function 'move_em': +monop/trade.c:218:1: warning: old-style function definition [-Wold-style-definition] + 218 | move_em(from, to) + | ^~~~~~~ +monop/initdeck.c: In function 'main': +monop/initdeck.c:104:1: warning: old-style function definition [-Wold-style-definition] + 104 | main(ac, av) + | ^~~~ +monop/initdeck.c: In function 'getargs': +monop/initdeck.c:179:1: warning: old-style function definition [-Wold-style-definition] + 179 | getargs(ac, av) + | ^~~~~~~ +monop/initdeck.c: In function 'fwrite_be_offt': +monop/initdeck.c:264:1: warning: old-style function definition [-Wold-style-definition] + 264 | fwrite_be_offt(off, f) + | ^~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ipig -c pig/pig.c -o pig/pig.o morse/morse.c: In function 'main': morse/morse.c:122:1: warning: old-style function definition [-Wold-style-definition] 122 | main(argc, argv) @@ -4960,6 +4995,7 @@ morse/morse.c:130:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ipom -c pom/pom.c -o pom/pom.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Ippt -c ppt/ppt.c -o ppt/ppt.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pattern.c -o primes/pattern.o number/number.c: In function 'main': @@ -4970,10 +5006,12 @@ number/number.c:131:1: warning: old-style function definition [-Wold-style-definition] 131 | convert(line) | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pr_tbl.c -o primes/pr_tbl.o number/number.c: In function 'unit': number/number.c:200:1: warning: old-style function definition [-Wold-style-definition] 200 | unit(len, p, singular) | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/primes.c -o primes/primes.o number/number.c: In function 'number': number/number.c:239:1: warning: old-style function definition [-Wold-style-definition] 239 | number(p, len, singular) @@ -4986,29 +5024,14 @@ number/number.c:97:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/io.c: In function 'getstring': -phantasia/io.c:12:1: warning: old-style function definition [-Wold-style-definition] - 12 | getstring(cp, mx) - | ^~~~~~~~~ -phantasia/io.c: In function 'more': -phantasia/io.c:64:1: warning: old-style function definition [-Wold-style-definition] - 64 | more(where) - | ^~~~ -phantasia/io.c: In function 'getanswer': -phantasia/io.c:157:1: warning: old-style function definition [-Wold-style-definition] - 157 | getanswer(choices, def) - | ^~~~~~~~~ -phantasia/io.c: In function 'catchalarm': -phantasia/io.c:242:1: warning: old-style function definition [-Wold-style-definition] - 242 | catchalarm(dummy) - | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/pr_tbl.c -o primes/pr_tbl.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/primes.c -o primes/primes.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/spsp.c -o primes/spsp.o -phantasia/fight.c: In function 'encounter': -phantasia/fight.c:12:1: warning: old-style function definition [-Wold-style-definition] - 12 | encounter(particular) - | ^~~~~~~~~ +./substscr g n quiz/datfiles/index.in quiz/datfiles/index +Generating quiz/datfiles/index from quiz/datfiles/index.in +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iquiz -c quiz/quiz.c -o quiz/quiz.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iquiz -c quiz/rxp.c -o quiz/rxp.o +./substscr g m quiz/quiz.6.in quiz/quiz.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Irain -c rain/rain.c -o rain/rain.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Irandom -c random/random.c -o random/random.o pig/pig.c: In function 'main': pig/pig.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | main(argc, argv) @@ -5017,26 +5040,40 @@ pig/pig.c:97:1: warning: old-style function definition [-Wold-style-definition] 97 | pigout(buf, len) | ^~~~~~ -./substscr g n quiz/datfiles/index.in quiz/datfiles/index +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/auto.c -o robots/auto.o pig/pig.c: In function 'main': pig/pig.c:69:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Generating quiz/quiz.6 from quiz/quiz.6.in +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/extern.c -o robots/extern.o +phantasia/gamesupport.c: In function 'changestats': +phantasia/gamesupport.c:12:1: warning: old-style function definition [-Wold-style-definition] + 12 | changestats(ingameflag) + | ^~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/flush_in.c -o robots/flush_in.o +phantasia/fight.c: In function 'encounter': +phantasia/fight.c:12:1: warning: old-style function definition [-Wold-style-definition] + 12 | encounter(particular) + | ^~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/init_field.c -o robots/init_field.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/main.c -o robots/main.o phantasia/fight.c: In function 'hitmonster': phantasia/fight.c:599:1: warning: old-style function definition [-Wold-style-definition] 599 | hitmonster(inflict) | ^~~~~~~~~~ -Generating quiz/datfiles/index from quiz/datfiles/index.in -ppt/ppt.c: In function 'main': -ppt/ppt.c:68:1: warning: old-style function definition [-Wold-style-definition] - 68 | main(argc, argv) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iquiz -c quiz/quiz.c -o quiz/quiz.o phantasia/fight.c: In function 'callmonster': phantasia/fight.c:837:1: warning: old-style function definition [-Wold-style-definition] 837 | callmonster(which) | ^~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iquiz -c quiz/rxp.c -o quiz/rxp.o +ppt/ppt.c: In function 'main': +ppt/ppt.c:68:1: warning: old-style function definition [-Wold-style-definition] + 68 | main(argc, argv) + | ^~~~ +phantasia/interplayer.c: In function 'battleplayer': +phantasia/interplayer.c:49:1: warning: old-style function definition [-Wold-style-definition] + 49 | battleplayer(foeplace) + | ^~~~~~~~~~~~ ppt/ppt.c: In function 'putppt': ppt/ppt.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | putppt(c) @@ -5045,32 +5082,40 @@ ppt/ppt.c:76:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./substscr g m quiz/quiz.6.in quiz/quiz.6 -Generating quiz/quiz.6 from quiz/quiz.6.in -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Irain -c rain/rain.c -o rain/rain.o +phantasia/setup.c: In function 'main': +phantasia/setup.c:62:1: warning: old-style function definition [-Wold-style-definition] + 62 | main(argc, argv) + | ^~~~ +phantasia/interplayer.c: In function 'tampered': +phantasia/interplayer.c:389:1: warning: old-style function definition [-Wold-style-definition] + 389 | tampered(what, arg1, arg2) + | ^~~~~~~~ +phantasia/setup.c: In function 'Error': +phantasia/setup.c:223:1: warning: old-style function definition [-Wold-style-definition] + 223 | Error(str, file) + | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/make_level.c -o robots/make_level.o +phantasia/interplayer.c: In function 'userlist': +phantasia/interplayer.c:541:1: warning: old-style function definition [-Wold-style-definition] + 541 | userlist(ingameflag) + | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/move.c -o robots/move.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/move_robs.c -o robots/move_robs.o +phantasia/interplayer.c: In function 'writevoid': +phantasia/interplayer.c:865:1: warning: old-style function definition [-Wold-style-definition] + 865 | writevoid(vp, loc) + | ^~~~~~~~~ +phantasia/misc.c: In function 'descrlocation': +phantasia/misc.c:66:1: warning: old-style function definition [-Wold-style-definition] + 66 | descrlocation(playerp, shortflag) + | ^~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/play_level.c -o robots/play_level.o phantasia/fight.c:846:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 846 | fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/fight.c:881:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 881 | fread(&Othermonster, SZ_MONSTERSTRUCT, 1, Monstfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/misc.c: In function 'descrlocation': -phantasia/misc.c:66:1: warning: old-style function definition [-Wold-style-definition] - 66 | descrlocation(playerp, shortflag) - | ^~~~~~~~~~~~~ -phantasia/fight.c: In function 'awardtreasure': -phantasia/fight.c:1305:52: warning: this statement may fall through [-Wimplicit-fallthrough=] - 1305 | if (Player.p_level <= 1000.0 - | ^ -phantasia/fight.c:1314:41: note: here - 1314 | case 2: - | ^~~~ -phantasia/fight.c:1228:44: warning: this statement may fall through [-Wimplicit-fallthrough=] - 1228 | if (drandom() < 0.33) { - | ^ -phantasia/fight.c:1302:33: note: here - 1302 | case 9: /* treasure type 9 */ - | ^~~~ phantasia/misc.c: In function 'descrtype': phantasia/misc.c:448:1: warning: old-style function definition [-Wold-style-definition] 448 | descrtype(playerp, shortflag) @@ -5079,39 +5124,82 @@ phantasia/misc.c:512:1: warning: old-style function definition [-Wold-style-definition] 512 | findname(name, playerp) | ^~~~~~~~ +phantasia/interplayer.c: In function 'throneroom': phantasia/misc.c: In function 'freerecord': +phantasia/interplayer.c:649:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 649 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/misc.c:554:1: warning: old-style function definition [-Wold-style-definition] 554 | freerecord(playerp, loc) | ^~~~~~~~~~ phantasia/misc.c: In function 'death': +phantasia/fight.c: In function 'awardtreasure': phantasia/misc.c:580:1: warning: old-style function definition [-Wold-style-definition] 580 | death(how) | ^~~~~ -phantasia/gamesupport.c: In function 'changestats': -phantasia/gamesupport.c:12:1: warning: old-style function definition [-Wold-style-definition] - 12 | changestats(ingameflag) - | ^~~~~~~~~~~ +phantasia/fight.c:1305:52: warning: this statement may fall through [-Wimplicit-fallthrough=] + 1305 | if (Player.p_level <= 1000.0 + | ^ +phantasia/fight.c:1314:41: note: here + 1314 | case 2: + | ^~~~ +phantasia/fight.c:1228:44: warning: this statement may fall through [-Wimplicit-fallthrough=] + 1228 | if (drandom() < 0.33) { + | ^ +phantasia/fight.c:1302:33: note: here + 1302 | case 9: /* treasure type 9 */ + | ^~~~ +phantasia/interplayer.c: In function 'dotampered': +phantasia/interplayer.c:722:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 722 | fread((char *) &temp1, sizeof(double), 1, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +phantasia/interplayer.c:771:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 771 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/misc.c: In function 'writerecord': phantasia/misc.c:685:1: warning: old-style function definition [-Wold-style-definition] 685 | writerecord(playerp, place) | ^~~~~~~~~~~ +quiz/rxp.c: In function 'rxp_compile': phantasia/misc.c: In function 'explevel': phantasia/misc.c:695:1: warning: old-style function definition [-Wold-style-definition] 695 | explevel(experience) | ^~~~~~~~ +quiz/rxp.c:90:1: warning: old-style function definition [-Wold-style-definition] + 90 | rxp_compile(s) + | ^~~~~~~~~~~ phantasia/misc.c: In function 'truncstring': phantasia/misc.c:705:1: warning: old-style function definition [-Wold-style-definition] 705 | truncstring(string) | ^~~~~~~~~~~ +quiz/rxp.c: In function 'rxp__compile': phantasia/misc.c: In function 'altercoordinates': +quiz/rxp.c:97:1: warning: old-style function definition [-Wold-style-definition] + 97 | rxp__compile(s, first) + | ^~~~~~~~~~~~ phantasia/misc.c:716:1: warning: old-style function definition [-Wold-style-definition] 716 | altercoordinates(xnew, ynew, operation) | ^~~~~~~~~~~~~~~~ +phantasia/main.c: In function 'main': +quiz/rxp.c: In function 'rxp_match': +quiz/rxp.c:195:1: warning: old-style function definition [-Wold-style-definition] + 195 | rxp_match(s) + | ^~~~~~~~~ +phantasia/main.c:67:1: warning: old-style function definition [-Wold-style-definition] + 67 | main(argc, argv) + | ^~~~ phantasia/misc.c: In function 'readrecord': +quiz/rxp.c: In function 'rxp__match': phantasia/misc.c:769:1: warning: old-style function definition [-Wold-style-definition] 769 | readrecord(playerp, loc) | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Irandom -c random/random.c -o random/random.o +quiz/rxp.c:202:1: warning: old-style function definition [-Wold-style-definition] + 202 | rxp__match(s, first, j_succ, j_fail, sp_fail) + | ^~~~~~~~~~ +quiz/rxp.c: In function 'rxp__expand': +quiz/rxp.c:271:1: warning: old-style function definition [-Wold-style-definition] + 271 | rxp__expand(first) + | ^~~~~~~~~~~ phantasia/misc.c: In function 'initplayer': phantasia/misc.c:869:1: warning: old-style function definition [-Wold-style-definition] 869 | initplayer(playerp) @@ -5120,14 +5208,10 @@ phantasia/misc.c:939:1: warning: old-style function definition [-Wold-style-definition] 939 | error(whichfile) | ^~~~~ -phantasia/interplayer.c: In function 'battleplayer': phantasia/misc.c: In function 'distance': phantasia/misc.c:957:1: warning: old-style function definition [-Wold-style-definition] 957 | distance(x1, x2, y1, y2) | ^~~~~~~~ -phantasia/interplayer.c:49:1: warning: old-style function definition [-Wold-style-definition] - 49 | battleplayer(foeplace) - | ^~~~~~~~~~~~ phantasia/misc.c: In function 'ill_sig': phantasia/misc.c:968:1: warning: old-style function definition [-Wold-style-definition] 968 | ill_sig(whichsig) @@ -5140,6 +5224,23 @@ phantasia/misc.c:1026:1: warning: old-style function definition [-Wold-style-definition] 1026 | collecttaxes(gold, gems) | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/query.c -o robots/query.o +phantasia/io.c: In function 'getstring': +phantasia/io.c:12:1: warning: old-style function definition [-Wold-style-definition] + 12 | getstring(cp, mx) + | ^~~~~~~~~ +phantasia/io.c: In function 'more': +phantasia/io.c:64:1: warning: old-style function definition [-Wold-style-definition] + 64 | more(where) + | ^~~~ +phantasia/io.c: In function 'getanswer': +phantasia/io.c:157:1: warning: old-style function definition [-Wold-style-definition] + 157 | getanswer(choices, def) + | ^~~~~~~~~ +phantasia/io.c: In function 'catchalarm': +phantasia/io.c:242:1: warning: old-style function definition [-Wold-style-definition] + 242 | catchalarm(dummy) + | ^~~~~~~~~~ phantasia/misc.c: In function 'death': phantasia/misc.c:644:57: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 644 | fread((char *) &Curmonster, SZ_MONSTERSTRUCT, 1, Monstfp); @@ -5158,98 +5259,26 @@ phantasia/misc.c:1067:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1067 | fread((char *) &dtemp, sizeof(double), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/interplayer.c: In function 'tampered': -phantasia/interplayer.c:389:1: warning: old-style function definition [-Wold-style-definition] - 389 | tampered(what, arg1, arg2) - | ^~~~~~~~ -phantasia/interplayer.c: In function 'userlist': -phantasia/interplayer.c:541:1: warning: old-style function definition [-Wold-style-definition] - 541 | userlist(ingameflag) - | ^~~~~~~~ -phantasia/setup.c: In function 'main': -phantasia/setup.c:62:1: warning: old-style function definition [-Wold-style-definition] - 62 | main(argc, argv) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/auto.c -o robots/auto.o -phantasia/interplayer.c: In function 'writevoid': -phantasia/interplayer.c:865:1: warning: old-style function definition [-Wold-style-definition] - 865 | writevoid(vp, loc) - | ^~~~~~~~~ -phantasia/main.c: In function 'main': -phantasia/main.c:67:1: warning: old-style function definition [-Wold-style-definition] - 67 | main(argc, argv) +quiz/quiz.c: In function 'main': +quiz/quiz.c:80:1: warning: old-style function definition [-Wold-style-definition] + 80 | main(argc, argv) | ^~~~ -phantasia/setup.c: In function 'Error': -phantasia/setup.c:223:1: warning: old-style function definition [-Wold-style-definition] - 223 | Error(str, file) - | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/extern.c -o robots/extern.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/flush_in.c -o robots/flush_in.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/init_field.c -o robots/init_field.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/main.c -o robots/main.o -phantasia/interplayer.c: In function 'throneroom': -phantasia/interplayer.c:649:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 649 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/interplayer.c: In function 'dotampered': -phantasia/interplayer.c:722:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 722 | fread((char *) &temp1, sizeof(double), 1, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/interplayer.c:771:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 771 | fread((char *) &Enrgyvoid, SZ_VOIDSTRUCT, 1, Energyvoidfp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -quiz/rxp.c: In function 'rxp_compile': -quiz/rxp.c:90:1: warning: old-style function definition [-Wold-style-definition] - 90 | rxp_compile(s) - | ^~~~~~~~~~~ -quiz/rxp.c: In function 'rxp__compile': -quiz/rxp.c:97:1: warning: old-style function definition [-Wold-style-definition] - 97 | rxp__compile(s, first) - | ^~~~~~~~~~~~ -quiz/rxp.c: In function 'rxp_match': -quiz/rxp.c:195:1: warning: old-style function definition [-Wold-style-definition] - 195 | rxp_match(s) - | ^~~~~~~~~ -quiz/rxp.c: In function 'rxp__match': -quiz/rxp.c:202:1: warning: old-style function definition [-Wold-style-definition] - 202 | rxp__match(s, first, j_succ, j_fail, sp_fail) - | ^~~~~~~~~~ -quiz/rxp.c: In function 'rxp__expand': -quiz/rxp.c:271:1: warning: old-style function definition [-Wold-style-definition] - 271 | rxp__expand(first) - | ^~~~~~~~~~~ phantasia/main.c: In function 'genchar': phantasia/main.c:890:1: warning: old-style function definition [-Wold-style-definition] 890 | genchar(type) | ^~~~~~~ +quiz/quiz.c: In function 'get_file': +quiz/quiz.c:123:1: warning: old-style function definition [-Wold-style-definition] + 123 | get_file(file) + | ^~~~~~~~ phantasia/main.c: In function 'cleanup': phantasia/main.c:1015:1: warning: old-style function definition [-Wold-style-definition] 1015 | cleanup(doexit) | ^~~~~~~ -pom/pom.c: In function 'main': -pom/pom.c:95:1: warning: old-style function definition [-Wold-style-definition] - 95 | main(argc, argv) - | ^~~~ -pom/pom.c: In function 'potm': -pom/pom.c:156:1: warning: old-style function definition [-Wold-style-definition] - 156 | potm(days) - | ^~~~ -pom/pom.c: In function 'dtor': -pom/pom.c:193:1: warning: old-style function definition [-Wold-style-definition] - 193 | dtor(deg) - | ^~~~ -pom/pom.c: In function 'adj360': -pom/pom.c:204:1: warning: old-style function definition [-Wold-style-definition] - 204 | adj360(deg) - | ^~~~~~ -pom/pom.c: In function 'parsetime': -pom/pom.c:218:1: warning: old-style function definition [-Wold-style-definition] - 218 | parsetime(p) - | ^~~~~~~~~ -pom/pom.c: In function 'main': -pom/pom.c:104:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +quiz/quiz.c: In function 'get_cats': +quiz/quiz.c:196:1: warning: old-style function definition [-Wold-style-definition] + 196 | get_cats(cat1, cat2) + | ^~~~~~~~ phantasia/main.c: In function 'main': phantasia/main.c:92:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 92 | cleanup(TRUE); @@ -5275,36 +5304,6 @@ phantasia/main.c:154:17: note: here 154 | default: | ^~~~~~~ -phantasia/main.c: In function 'procmain': -phantasia/main.c:522:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 522 | leavegame(); - | ^~~~~~~~~~~ -phantasia/main.c:525:9: note: here - 525 | case '6': /* cloak */ - | ^~~~ -rain/rain.c: In function 'main': -rain/rain.c:80:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 80 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -random/random.c: In function 'main': -random/random.c:66:1: warning: old-style function definition [-Wold-style-definition] - 66 | main(argc, argv) - | ^~~~ -random/random.c:76:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 76 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -quiz/quiz.c: In function 'main': -quiz/quiz.c:80:1: warning: old-style function definition [-Wold-style-definition] - 80 | main(argc, argv) - | ^~~~ -quiz/quiz.c: In function 'get_file': -quiz/quiz.c:123:1: warning: old-style function definition [-Wold-style-definition] - 123 | get_file(file) - | ^~~~~~~~ -quiz/quiz.c: In function 'get_cats': -quiz/quiz.c:196:1: warning: old-style function definition [-Wold-style-definition] - 196 | get_cats(cat1, cat2) - | ^~~~~~~~ quiz/quiz.c: In function 'next_cat': quiz/quiz.c:312:1: warning: old-style function definition [-Wold-style-definition] 312 | next_cat(s) @@ -5325,6 +5324,7 @@ quiz/quiz.c:88:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/rnd_pos.c -o robots/rnd_pos.o quiz/quiz.c: In function 'next_cat': quiz/quiz.c:326:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 326 | if (!esc) @@ -5332,29 +5332,62 @@ quiz/quiz.c:328:17: note: here 328 | default: | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/make_level.c -o robots/make_level.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/move.c -o robots/move.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/move_robs.c -o robots/move_robs.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/play_level.c -o robots/play_level.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/query.c -o robots/query.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/rnd_pos.c -o robots/rnd_pos.o +phantasia/main.c: In function 'procmain': +phantasia/main.c:522:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 522 | leavegame(); + | ^~~~~~~~~~~ +phantasia/main.c:525:9: note: here + 525 | case '6': /* cloak */ + | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/score.c -o robots/score.o +random/random.c: In function 'main': +random/random.c:66:1: warning: old-style function definition [-Wold-style-definition] + 66 | main(argc, argv) + | ^~~~ ./substscr g m robots/robots.6.in robots/robots.6 +random/random.c:76:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 76 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +rain/rain.c: In function 'main': +rain/rain.c:80:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 80 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Generating robots/robots.6 from robots/robots.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/assorted.c -o sail/assorted.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/game.c -o sail/game.o +pom/pom.c: In function 'main': +pom/pom.c:95:1: warning: old-style function definition [-Wold-style-definition] + 95 | main(argc, argv) + | ^~~~ +pom/pom.c: In function 'potm': +pom/pom.c:156:1: warning: old-style function definition [-Wold-style-definition] + 156 | potm(days) + | ^~~~ +pom/pom.c: In function 'dtor': +pom/pom.c:193:1: warning: old-style function definition [-Wold-style-definition] + 193 | dtor(deg) + | ^~~~ +pom/pom.c: In function 'adj360': +pom/pom.c:204:1: warning: old-style function definition [-Wold-style-definition] + 204 | adj360(deg) + | ^~~~~~ +pom/pom.c: In function 'parsetime': +pom/pom.c:218:1: warning: old-style function definition [-Wold-style-definition] + 218 | parsetime(p) + | ^~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/globals.c -o sail/globals.o -Generating robots/robots.6 from robots/robots.6.in +pom/pom.c: In function 'main': +pom/pom.c:104:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 104 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_1.c -o sail/dr_1.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_2.c -o sail/dr_2.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_3.c -o sail/dr_3.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_4.c -o sail/dr_4.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_5.c -o sail/dr_5.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_main.c -o sail/dr_main.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/lo_main.c -o sail/lo_main.o robots/auto.c: In function 'distance': robots/auto.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | distance(x1, y1, x2, y2) | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_4.c -o sail/dr_4.o robots/auto.c: In function 'xinc': robots/auto.c:93:1: warning: old-style function definition [-Wold-style-definition] 93 | xinc(dir) @@ -5387,8 +5420,34 @@ robots/auto.c:330:1: warning: old-style function definition [-Wold-style-definition] 330 | between(rob, hp) | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_5.c -o sail/dr_5.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/dr_main.c -o sail/dr_main.o +robots/main.c: In function 'main': +robots/main.c:54:1: warning: old-style function definition [-Wold-style-definition] + 54 | main(ac, av) + | ^~~~ +robots/move.c: In function 'do_move': +robots/move.c:244:1: warning: old-style function definition [-Wold-style-definition] + 244 | do_move(dy, dx) + | ^~~~~~~ +robots/main.c: In function 'quit': +robots/move.c: In function 'eaten': +robots/move.c:281:1: warning: old-style function definition [-Wold-style-definition] + 281 | eaten(pos) + | ^~~~~ +robots/main.c:199:1: warning: old-style function definition [-Wold-style-definition] + 199 | quit(dummy) + | ^~~~ +robots/main.c: In function 'main': +robots/main.c:71:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 71 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/lo_main.c -o sail/lo_main.o +robots/move_robs.c: In function 'move_robots': +robots/move_robs.c:48:1: warning: old-style function definition [-Wold-style-definition] + 48 | move_robots(was_sig) + | ^~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/main.c -o sail/main.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/misc.c -o sail/misc.o sail/dr_5.c:45:71: warning: argument 4 of type 'int *' declared as a pointer [-Warray-parameter=] 45 | subtract(struct ship *from, struct ship *fromcap, int totalfrom, int *crewfrom, int pcfrom) | ~~~~~^~~~~~~~ @@ -5396,12 +5455,31 @@ sail/extern.h:321:51: note: previously declared as an array 'int[3]' 321 | void subtract (struct ship *, struct ship *, int, int [3], int); | ^~~~~~~ +robots/init_field.c: In function 'telmsg': +robots/init_field.c:126:1: warning: old-style function definition [-Wold-style-definition] + 126 | telmsg(on) + | ^~~~~~ sail/dr_5.c:68:50: warning: argument 3 of type 'int *' declared as a pointer [-Warray-parameter=] 68 | mensent(struct ship *from, struct ship *to, int *crew, struct ship **captured, int *pc, int isdefense) | ~~~~~^~~~ +robots/move_robs.c: In function 'add_score': sail/extern.h:322:44: note: previously declared as an array 'int[3]' 322 | int mensent (struct ship *, struct ship *, int[3], struct ship **, int *, | ^~~~~~ +robots/move_robs.c:132:1: warning: old-style function definition [-Wold-style-definition] + 132 | add_score(add) + | ^~~~~~~~~ +robots/move_robs.c: In function 'sign': +robots/move_robs.c:145:1: warning: old-style function definition [-Wold-style-definition] + 145 | sign(n) + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/misc.c -o sail/misc.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/parties.c -o sail/parties.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_1.c -o sail/pl_1.o +robots/query.c: In function 'query': +robots/query.c:48:1: warning: old-style function definition [-Wold-style-definition] + 48 | query(prompt) + | ^~~~~ robots/score.c: In function 'read_score': robots/score.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | read_score(inf) @@ -5422,6 +5500,7 @@ robots/score.c:208:1: warning: old-style function definition [-Wold-style-definition] 208 | cmp_sc(s1, s2) | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_2.c -o sail/pl_2.o robots/score.c: In function 'read_score': robots/score.c:68:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | read(inf, Top, sizeof Top); @@ -5433,65 +5512,17 @@ robots/score.c:105:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(inf, Top, sizeof Top); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/parties.c -o sail/parties.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_1.c -o sail/pl_1.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_2.c -o sail/pl_2.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_3.c -o sail/pl_3.o -robots/query.c: In function 'query': -robots/query.c:48:1: warning: old-style function definition [-Wold-style-definition] - 48 | query(prompt) - | ^~~~~ -robots/init_field.c: In function 'telmsg': -robots/init_field.c:126:1: warning: old-style function definition [-Wold-style-definition] - 126 | telmsg(on) - | ^~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_4.c -o sail/pl_4.o -robots/move.c: In function 'do_move': -robots/move.c:244:1: warning: old-style function definition [-Wold-style-definition] - 244 | do_move(dy, dx) - | ^~~~~~~ -robots/move.c: In function 'eaten': -robots/move.c:281:1: warning: old-style function definition [-Wold-style-definition] - 281 | eaten(pos) - | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_5.c -o sail/pl_5.o robots/rnd_pos.c: In function 'rnd': robots/rnd_pos.c:65:1: warning: old-style function definition [-Wold-style-definition] 65 | rnd(range) | ^~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_5.c -o sail/pl_5.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_6.c -o sail/pl_6.o -robots/score.c: In function 'score': -robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] - 200 | strncpy(scp->s_name, pp->pw_name, MAXNAME); - | ^ -robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] -robots/main.c: In function 'main': -robots/main.c:54:1: warning: old-style function definition [-Wold-style-definition] - 54 | main(ac, av) - | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_7.c -o sail/pl_7.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/pl_main.c -o sail/pl_main.o -robots/main.c: In function 'quit': -robots/main.c:199:1: warning: old-style function definition [-Wold-style-definition] - 199 | quit(dummy) - | ^~~~ -robots/main.c: In function 'main': -robots/main.c:71:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 71 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/sync.c -o sail/sync.o -robots/move_robs.c: In function 'move_robots': -robots/move_robs.c:48:1: warning: old-style function definition [-Wold-style-definition] - 48 | move_robots(was_sig) - | ^~~~~~~~~~~ -robots/move_robs.c: In function 'add_score': -robots/move_robs.c:132:1: warning: old-style function definition [-Wold-style-definition] - 132 | add_score(add) - | ^~~~~~~~~ -robots/move_robs.c: In function 'sign': -robots/move_robs.c:145:1: warning: old-style function definition [-Wold-style-definition] - 145 | sign(n) - | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isail -c sail/version.c -o sail/version.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isnake/snake -c snake/snake/snake.c -o snake/snake/snake.o sail/main.c: In function 'main': @@ -5499,18 +5530,18 @@ 65 | setegid(gid); | ^~~~~~~~~~~~ ./substscr g m snake/snake/snake.6.in snake/snake/snake.6 -robots/score.c: In function 'set_name': -robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] -Generating snake/snake/snake.6 from snake/snake/snake.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Isnake/snscore -Isnake/snake -c snake/snscore/snscore.c -o snake/snscore/snscore.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/input.c -o tetris/input.o +Generating snake/snake/snake.6 from snake/snake/snake.6.in x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/scores.c -o tetris/scores.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/screen.c -o tetris/screen.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/shapes.c -o tetris/shapes.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itetris -c tetris/tetris.c -o tetris/tetris.o -./substscr g m tetris/tetris.6.in tetris/tetris.6 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/abandon.c -o trek/abandon.o -Generating tetris/tetris.6 from tetris/tetris.6.in +robots/score.c: In function 'score': +robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] + 200 | strncpy(scp->s_name, pp->pw_name, MAXNAME); + | ^ +robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] sail/misc.c: In function 'logger': sail/misc.c:206:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | setegid(egid); @@ -5521,50 +5552,15 @@ sail/misc.c:211:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | setegid(gid); | ^~~~~~~~~~~~ -sail/pl_7.c: In function 'Signal': -sail/pl_7.c:183:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] - 183 | vwprintw(scroll_w, format, ap); - | ^~~~~~~~ -In file included from sail/pl_7.c:41: -/usr/include/curses.h:833:28: note: declared here - 833 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ - | ^~~~~~~~ -sail/pl_7.c: In function 'Msg': -sail/pl_7.c:199:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] - 199 | vwprintw(scroll_w, fmt, ap); - | ^~~~~~~~ -/usr/include/curses.h:833:28: note: declared here - 833 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ - | ^~~~~~~~ +./substscr g m tetris/tetris.6.in tetris/tetris.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/abandon.c -o trek/abandon.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/attack.c -o trek/attack.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/autover.c -o trek/autover.o -sail/sync.c: In function 'sync_exists': -sail/sync.c:130:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 130 | setegid(egid); - | ^~~~~~~~~~~~~ -sail/sync.c:132:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 132 | setegid(gid); - | ^~~~~~~~~~~~ -sail/sync.c:139:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 139 | setegid(gid); - | ^~~~~~~~~~~~ -sail/sync.c:142:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 142 | setegid(gid); - | ^~~~~~~~~~~~ -sail/sync.c: In function 'sync_open': -sail/sync.c:155:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 155 | setegid(egid); - | ^~~~~~~~~~~~~ -sail/sync.c:162:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 162 | setegid(gid); - | ^~~~~~~~~~~~ -sail/sync.c: In function 'sync_close': -sail/sync.c:175:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 175 | setegid(egid); - | ^~~~~~~~~~~~~ -sail/sync.c:177:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 177 | setegid(gid); - | ^~~~~~~~~~~~ +Generating tetris/tetris.6 from tetris/tetris.6.in +tetris/input.c: In function 'rwait': +tetris/input.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | rwait(tvp) + | ^~~~~ tetris/shapes.c: In function 'fits_in': tetris/shapes.c:82:1: warning: old-style function definition [-Wold-style-definition] 82 | fits_in(shape, pos) @@ -5580,13 +5576,6 @@ 103 | int *o = shape->off; | ^~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/capture.c -o trek/capture.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/cgetc.c -o trek/cgetc.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/check_out.c -o trek/check_out.o -trek/abandon.c: In function 'abandon': -trek/abandon.c:71:1: warning: old-style function definition [-Wold-style-definition] - 71 | abandon(v) - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/checkcond.c -o trek/checkcond.o sail/pl_5.c: In function 'acceptmove': sail/pl_5.c:80:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 80 | dir -= 2; @@ -5594,19 +5583,9 @@ sail/pl_5.c:81:17: note: here 81 | case 'r': | ^~~~ -tetris/input.c: In function 'rwait': -tetris/input.c:75:1: warning: old-style function definition [-Wold-style-definition] - 75 | rwait(tvp) - | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/compkl.c -o trek/compkl.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/computer.c -o trek/computer.o -snake/snscore/snscore.c: In function 'main': -snake/snscore/snscore.c:78:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 78 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -snake/snscore/snscore.c:88:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 88 | fread(&allbest, sizeof(short), 1, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/cgetc.c -o trek/cgetc.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/check_out.c -o trek/check_out.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/checkcond.c -o trek/checkcond.o sail/pl_main.c: In function 'initialize': sail/pl_main.c:88:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | scanf("%d", &game); @@ -5617,29 +5596,44 @@ sail/pl_main.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | scanf("%9s", buf); | ^~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/damage.c -o trek/damage.o -trek/capture.c: In function 'capture': -trek/capture.c:60:1: warning: old-style function definition [-Wold-style-definition] - 60 | capture(v) +trek/abandon.c: In function 'abandon': +trek/abandon.c:71:1: warning: old-style function definition [-Wold-style-definition] + 71 | abandon(v) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/damaged.c -o trek/damaged.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dcrept.c -o trek/dcrept.o -trek/check_out.c: In function 'check_out': -trek/check_out.c:56:1: warning: old-style function definition [-Wold-style-definition] - 56 | check_out(device) - | ^~~~~~~~~ -trek/cgetc.c: In function 'cgetc': -trek/cgetc.c:44:9: warning: old-style function definition [-Wold-style-definition] - 44 | char cgetc(i) - | ^~~~~ +sail/pl_7.c: In function 'Signal': +sail/pl_7.c:183:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] + 183 | vwprintw(scroll_w, format, ap); + | ^~~~~~~~ +In file included from sail/pl_7.c:41: +/usr/include/curses.h:833:28: note: declared here + 833 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ + | ^~~~~~~~ +sail/pl_7.c: In function 'Msg': +sail/pl_7.c:199:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] + 199 | vwprintw(scroll_w, fmt, ap); + | ^~~~~~~~ +/usr/include/curses.h:833:28: note: declared here + 833 | extern NCURSES_EXPORT(int) vwprintw (WINDOW *, const char *, va_list) GCC_DEPRECATED(use vw_printw) /* implemented */ + | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/compkl.c -o trek/compkl.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/computer.c -o trek/computer.o +robots/score.c: In function 'set_name': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/damage.c -o trek/damage.o +robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] sail/dr_2.c: In function 'try.constprop.isra': +snake/snscore/snscore.c: In function 'main': +snake/snscore/snscore.c:78:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 78 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +snake/snscore/snscore.c:88:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 88 | fread(&allbest, sizeof(short), 1, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sail/dr_2.c:238:38: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 238 | sprintf(st, "%d", n); | ^~ sail/dr_2.c:238:37: note: directive argument in the range [1, 2147483647] 238 | sprintf(st, "%d", n); | ^~~~ -trek/damaged.c: In function 'damaged': In file included from /usr/include/stdio.h:970, from include/stdio.h:35, from sail/dr_2.c:41: @@ -5652,32 +5646,29 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -trek/damaged.c:51:1: warning: old-style function definition [-Wold-style-definition] - 51 | damaged(dev) +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/damaged.c -o trek/damaged.o +tetris/screen.c: In function 'put': +tetris/screen.c:131:1: warning: old-style function definition [-Wold-style-definition] + 131 | put(c) + | ^~~ +tetris/screen.c: In function 'stopset': +tetris/screen.c:217:1: warning: old-style function definition [-Wold-style-definition] + 217 | stopset(sig) | ^~~~~~~ -tetris/tetris.c: In function 'main': -tetris/tetris.c:128:1: warning: old-style function definition [-Wold-style-definition] - 128 | main(argc, argv) +tetris/screen.c: In function 'scr_stop': +tetris/screen.c:231:1: warning: old-style function definition [-Wold-style-definition] + 231 | scr_stop(sig) + | ^~~~~~~~ +tetris/screen.c: In function 'stop': +tetris/screen.c:343:1: warning: old-style function definition [-Wold-style-definition] + 343 | stop(why) | ^~~~ -trek/attack.c: In function 'attack': -trek/attack.c:76:1: warning: old-style function definition [-Wold-style-definition] - 76 | attack(resting) - | ^~~~~~ -tetris/tetris.c: In function 'onintr': -tetris/tetris.c:324:1: warning: old-style function definition [-Wold-style-definition] - 324 | onintr(signo) - | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dcrept.c -o trek/dcrept.o +tetris/screen.c: In function 'scr_msg': +tetris/screen.c:488:1: warning: old-style function definition [-Wold-style-definition] + 488 | scr_msg(s, set) + | ^~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/destruct.c -o trek/destruct.o -tetris/tetris.c: In function 'main': -tetris/tetris.c:141:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 141 | setegid(gid); - | ^~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dock.c -o trek/dock.o -trek/damage.c: In function 'damage': -trek/damage.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | damage(dev1, dam) - | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpgame.c -o trek/dumpgame.o tetris/scores.c: In function 'getscores': tetris/scores.c:94:1: warning: old-style function definition [-Wold-style-definition] 94 | getscores(fpp) @@ -5694,7 +5685,15 @@ tetris/scores.c:278:1: warning: old-style function definition [-Wold-style-definition] 278 | checkscores(hs, num) | ^~~~~~~~~~~ +trek/cgetc.c: In function 'cgetc': +trek/cgetc.c:44:9: warning: old-style function definition [-Wold-style-definition] + 44 | char cgetc(i) + | ^~~~~ +trek/capture.c: In function 'capture': tetris/scores.c: In function 'showscores': +trek/capture.c:60:1: warning: old-style function definition [-Wold-style-definition] + 60 | capture(v) + | ^~~~~~~ tetris/scores.c:353:1: warning: old-style function definition [-Wold-style-definition] 353 | showscores(level) | ^~~~~~~~~~ @@ -5702,43 +5701,71 @@ tetris/scores.c:408:1: warning: old-style function definition [-Wold-style-definition] 408 | printem(level, offset, hs, n, me) | ^~~~~~~ +sail/sync.c: In function 'sync_exists': tetris/scores.c: In function 'getscores': +sail/sync.c:130:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 130 | setegid(egid); + | ^~~~~~~~~~~~~ +sail/sync.c:132:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 132 | setegid(gid); + | ^~~~~~~~~~~~ tetris/scores.c:113:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | setegid(egid); | ^~~~~~~~~~~~~ +sail/sync.c:139:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 139 | setegid(gid); + | ^~~~~~~~~~~~ tetris/scores.c:120:25: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | setegid(gid); | ^~~~~~~~~~~~ tetris/scores.c:128:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | setegid(gid); | ^~~~~~~~~~~~ -tetris/screen.c: In function 'put': -tetris/screen.c:131:1: warning: old-style function definition [-Wold-style-definition] - 131 | put(c) - | ^~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpme.c -o trek/dumpme.o -tetris/screen.c: In function 'stopset': -tetris/screen.c:217:1: warning: old-style function definition [-Wold-style-definition] - 217 | stopset(sig) - | ^~~~~~~ -tetris/screen.c: In function 'scr_stop': -tetris/screen.c:231:1: warning: old-style function definition [-Wold-style-definition] - 231 | scr_stop(sig) - | ^~~~~~~~ -tetris/screen.c: In function 'stop': -tetris/screen.c:343:1: warning: old-style function definition [-Wold-style-definition] - 343 | stop(why) +sail/sync.c:142:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 142 | setegid(gid); + | ^~~~~~~~~~~~ +sail/sync.c: In function 'sync_open': +sail/sync.c:155:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 155 | setegid(egid); + | ^~~~~~~~~~~~~ +sail/sync.c:162:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 162 | setegid(gid); + | ^~~~~~~~~~~~ +trek/attack.c: In function 'attack': +trek/attack.c:76:1: warning: old-style function definition [-Wold-style-definition] + 76 | attack(resting) + | ^~~~~~ +sail/sync.c: In function 'sync_close': +sail/sync.c:175:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 175 | setegid(egid); + | ^~~~~~~~~~~~~ +sail/sync.c:177:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 177 | setegid(gid); + | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dock.c -o trek/dock.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpgame.c -o trek/dumpgame.o +tetris/tetris.c: In function 'main': +tetris/tetris.c:128:1: warning: old-style function definition [-Wold-style-definition] + 128 | main(argc, argv) | ^~~~ -tetris/screen.c: In function 'scr_msg': -tetris/screen.c:488:1: warning: old-style function definition [-Wold-style-definition] - 488 | scr_msg(s, set) - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpssradio.c -o trek/dumpssradio.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/events.c -o trek/events.o -trek/dcrept.c: In function 'dcrept': -trek/dcrept.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | dcrept(v) +tetris/tetris.c: In function 'onintr': +tetris/tetris.c:324:1: warning: old-style function definition [-Wold-style-definition] + 324 | onintr(signo) | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpme.c -o trek/dumpme.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/dumpssradio.c -o trek/dumpssradio.o +tetris/tetris.c: In function 'main': +tetris/tetris.c:141:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 141 | setegid(gid); + | ^~~~~~~~~~~~ +trek/damaged.c: In function 'damaged': +trek/damaged.c:51:1: warning: old-style function definition [-Wold-style-definition] + 51 | damaged(dev) + | ^~~~~~~ +trek/check_out.c: In function 'check_out': +trek/check_out.c:56:1: warning: old-style function definition [-Wold-style-definition] + 56 | check_out(device) + | ^~~~~~~~~ snake/snake/snake.c: In function 'main': snake/snake/snake.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | main(argc, argv) @@ -5747,11 +5774,7 @@ snake/snake/snake.c:251:1: warning: old-style function definition [-Wold-style-definition] 251 | point(ps, x, y) | ^~~~~ -trek/compkl.c: In function 'compkldist': -trek/compkl.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | compkldist(f) - | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/externs.c -o trek/externs.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/events.c -o trek/events.o snake/snake/snake.c: In function 'snrand': snake/snake/snake.c:483:1: warning: old-style function definition [-Wold-style-definition] 483 | snrand(sp) @@ -5768,28 +5791,27 @@ snake/snake/snake.c:659:1: warning: old-style function definition [-Wold-style-definition] 659 | spacewarp(w) | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/getcodi.c -o trek/getcodi.o snake/snake/snake.c: In function 'stretch': snake/snake/snake.c:740:1: warning: old-style function definition [-Wold-style-definition] 740 | stretch(ps) | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/externs.c -o trek/externs.o snake/snake/snake.c: In function 'surround': snake/snake/snake.c:788:1: warning: old-style function definition [-Wold-style-definition] 788 | surround(ps) | ^~~~~~~~ -trek/dock.c: In function 'dock': -trek/dock.c:61:1: warning: old-style function definition [-Wold-style-definition] - 61 | dock(v) - | ^~~~ -trek/dock.c: In function 'undock': -trek/dock.c:135:1: warning: old-style function definition [-Wold-style-definition] - 135 | undock(v) +trek/dcrept.c: In function 'dcrept': +trek/compkl.c: In function 'compkldist': +trek/dcrept.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | dcrept(v) | ^~~~~~ +trek/compkl.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | compkldist(f) + | ^~~~~~~~~~ snake/snake/snake.c: In function 'win': snake/snake/snake.c:832:1: warning: old-style function definition [-Wold-style-definition] 832 | win(ps) | ^~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/getpar.c -o trek/getpar.o snake/snake/snake.c: In function 'chk': snake/snake/snake.c:922:1: warning: old-style function definition [-Wold-style-definition] 922 | chk(sp) @@ -5798,11 +5820,11 @@ snake/snake/snake.c:960:1: warning: old-style function definition [-Wold-style-definition] 960 | winnings(won) | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/help.c -o trek/help.o snake/snake/snake.c: In function 'stop': snake/snake/snake.c:969:1: warning: old-style function definition [-Wold-style-definition] 969 | stop(dummy) | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/getcodi.c -o trek/getcodi.o snake/snake/snake.c: In function 'length': snake/snake/snake.c:988:1: warning: old-style function definition [-Wold-style-definition] 988 | length(num) @@ -5811,23 +5833,15 @@ snake/snake/snake.c:995:1: warning: old-style function definition [-Wold-style-definition] 995 | logit(msg) | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/getpar.c -o trek/getpar.o snake/snake/snake.c: In function 'main': snake/snake/snake.c:162:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -trek/computer.c: In function 'computer': -trek/computer.c:112:1: warning: old-style function definition [-Wold-style-definition] - 112 | computer(v) - | ^~~~~~~~ -trek/computer.c: In function 'kalc': -trek/computer.c:320:1: warning: old-style function definition [-Wold-style-definition] - 320 | kalc(tqx, tqy, tsx, tsy, dist) - | ^~~~ -trek/computer.c: In function 'prkalc': -trek/destruct.c: In function 'destruct': -trek/destruct.c:69:1: warning: old-style function definition [-Wold-style-definition] - 69 | destruct(v) - | ^~~~~~~~ +trek/damage.c: In function 'damage': +trek/damage.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | damage(dev1, dam) + | ^~~~~~ snake/snake/snake.c: In function 'post': snake/snake/snake.c:540:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 540 | read(rawscores, &allbscore, sizeof(short)); @@ -5847,27 +5861,42 @@ snake/snake/snake.c:562:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 562 | write(rawscores, &uid, sizeof(short)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -trek/computer.c:350:1: warning: old-style function definition [-Wold-style-definition] - 350 | prkalc(course, dist) - | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/help.c -o trek/help.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/impulse.c -o trek/impulse.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/initquad.c -o trek/initquad.o +trek/dock.c: In function 'dock': +trek/dock.c:61:1: warning: old-style function definition [-Wold-style-definition] + 61 | dock(v) + | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/kill.c -o trek/kill.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/klmove.c -o trek/klmove.o -trek/dumpme.c: In function 'dumpme': -trek/dumpme.c:57:1: warning: old-style function definition [-Wold-style-definition] - 57 | dumpme(flag) +trek/dock.c: In function 'undock': +trek/dock.c:135:1: warning: old-style function definition [-Wold-style-definition] + 135 | undock(v) | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/klmove.c -o trek/klmove.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/lose.c -o trek/lose.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/lrscan.c -o trek/lrscan.o +trek/computer.c: In function 'computer': +trek/computer.c:112:1: warning: old-style function definition [-Wold-style-definition] + 112 | computer(v) + | ^~~~~~~~ +trek/computer.c: In function 'kalc': +trek/computer.c:320:1: warning: old-style function definition [-Wold-style-definition] + 320 | kalc(tqx, tqy, tsx, tsy, dist) + | ^~~~ +trek/computer.c: In function 'prkalc': +trek/computer.c:350:1: warning: old-style function definition [-Wold-style-definition] + 350 | prkalc(course, dist) + | ^~~~~~ trek/getcodi.c: In function 'getcodi': trek/getcodi.c:55:1: warning: old-style function definition [-Wold-style-definition] 55 | getcodi(co, di) | ^~~~~~~ -trek/events.c: In function 'events': -trek/events.c:57:1: warning: old-style function definition [-Wold-style-definition] - 57 | events(warp) +trek/dumpme.c: In function 'dumpme': +trek/dumpme.c:57:1: warning: old-style function definition [-Wold-style-definition] + 57 | dumpme(flag) | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/lrscan.c -o trek/lrscan.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/main.c -o trek/main.o trek/dumpgame.c: In function 'dumpgame': trek/dumpgame.c:85:1: warning: old-style function definition [-Wold-style-definition] 85 | dumpgame(v) @@ -5877,6 +5906,7 @@ 154 | readdump(fd1) | ^~~~~~~~ trek/dumpgame.c: In function 'dumpgame': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/move.c -o trek/move.o trek/dumpgame.c:98:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | write(fd, &version, sizeof version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5886,10 +5916,48 @@ trek/dumpgame.c:105:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(fd, d->area, i); | ^~~~~~~~~~~~~~~~~~~~~ -trek/help.c: In function 'help': -trek/help.c:71:1: warning: old-style function definition [-Wold-style-definition] - 71 | help(v) - | ^~~~ +trek/destruct.c: In function 'destruct': +trek/destruct.c:69:1: warning: old-style function definition [-Wold-style-definition] + 69 | destruct(v) + | ^~~~~~~~ +trek/kill.c: In function 'killk': +trek/impulse.c: In function 'impulse': +trek/kill.c:61:1: warning: old-style function definition [-Wold-style-definition] + 61 | killk(ix, iy) + | ^~~~~ +trek/impulse.c:51:1: warning: old-style function definition [-Wold-style-definition] + 51 | impulse(v) + | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/nova.c -o trek/nova.o +trek/kill.c: In function 'killb': +trek/kill.c:102:1: warning: old-style function definition [-Wold-style-definition] + 102 | killb(qx, qy) + | ^~~~~ +trek/kill.c: In function 'kills': +trek/kill.c:151:1: warning: old-style function definition [-Wold-style-definition] + 151 | kills(x, y, f) + | ^~~~~ +trek/kill.c: In function 'killd': +trek/kill.c:195:1: warning: old-style function definition [-Wold-style-definition] + 195 | killd(x, y, f) + | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/out.c -o trek/out.o +trek/initquad.c: In function 'initquad': +trek/initquad.c:62:1: warning: old-style function definition [-Wold-style-definition] + 62 | initquad(f) + | ^~~~~~~~ +trek/initquad.c: In function 'sector': +trek/initquad.c:145:1: warning: old-style function definition [-Wold-style-definition] + 145 | sector(x, y) + | ^~~~~~ +trek/events.c: In function 'events': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/phaser.c -o trek/phaser.o +trek/events.c:57:1: warning: old-style function definition [-Wold-style-definition] + 57 | events(warp) + | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/play.c -o trek/play.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/ram.c -o trek/ram.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/ranf.c -o trek/ranf.o tetris/tetris.c:197:66: warning: '%s' directive writing up to 9 bytes into a region of size between 1 and 46 [-Wformat-overflow=] 197 | "%s - left %s - rotate %s - right %s - drop %s - pause %s - quit", | ^~ @@ -5908,7 +5976,33 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +trek/lrscan.c: In function 'lrscan': +trek/lrscan.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | lrscan(v) + | ^~~~~~ +trek/lose.c: In function 'lose': +trek/lose.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | lose(why) + | ^~~~ +trek/klmove.c: In function 'klmove': +trek/klmove.c:68:1: warning: old-style function definition [-Wold-style-definition] + 68 | klmove(fl) + | ^~~~~~ +trek/help.c: In function 'help': +trek/help.c:71:1: warning: old-style function definition [-Wold-style-definition] + 71 | help(v) + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/rest.c -o trek/rest.o +trek/nova.c: In function 'nova': +trek/nova.c:59:1: warning: old-style function definition [-Wold-style-definition] + 59 | nova(x, y) + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/schedule.c -o trek/schedule.o trek/getpar.c: In function 'getintpar': +trek/out.c: In function 'out': +trek/out.c:50:1: warning: old-style function definition [-Wold-style-definition] + 50 | out(dev) + | ^~~ trek/getpar.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | getintpar(s) | ^~~~~~~~~ @@ -5928,6 +6022,7 @@ trek/getpar.c:203:1: warning: old-style function definition [-Wold-style-definition] 203 | getstrpar(s, r, l, t) | ^~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/score.c -o trek/score.o trek/getpar.c: In function 'skiptonl': trek/getpar.c:259:1: warning: old-style function definition [-Wold-style-definition] 259 | skiptonl(c) @@ -5944,78 +6039,19 @@ trek/getpar.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | scanf("%*[\t ;]"); | ^~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/main.c -o trek/main.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/move.c -o trek/move.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/nova.c -o trek/nova.o -trek/klmove.c: In function 'klmove': -trek/impulse.c: In function 'impulse': -trek/impulse.c:51:1: warning: old-style function definition [-Wold-style-definition] - 51 | impulse(v) - | ^~~~~~~ -trek/klmove.c:68:1: warning: old-style function definition [-Wold-style-definition] - 68 | klmove(fl) - | ^~~~~~ -trek/initquad.c: In function 'initquad': -trek/initquad.c:62:1: warning: old-style function definition [-Wold-style-definition] - 62 | initquad(f) - | ^~~~~~~~ -trek/initquad.c: In function 'sector': -trek/initquad.c:145:1: warning: old-style function definition [-Wold-style-definition] - 145 | sector(x, y) - | ^~~~~~ -trek/lrscan.c: In function 'lrscan': -trek/lrscan.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | lrscan(v) - | ^~~~~~ -trek/kill.c: In function 'killk': -trek/kill.c:61:1: warning: old-style function definition [-Wold-style-definition] - 61 | killk(ix, iy) - | ^~~~~ -trek/kill.c: In function 'killb': -trek/kill.c:102:1: warning: old-style function definition [-Wold-style-definition] - 102 | killb(qx, qy) - | ^~~~~ -trek/kill.c: In function 'kills': -trek/kill.c:151:1: warning: old-style function definition [-Wold-style-definition] - 151 | kills(x, y, f) - | ^~~~~ -trek/kill.c: In function 'killd': -trek/kill.c:195:1: warning: old-style function definition [-Wold-style-definition] - 195 | killd(x, y, f) - | ^~~~~ -trek/lose.c: In function 'lose': -trek/lose.c:75:1: warning: old-style function definition [-Wold-style-definition] - 75 | lose(why) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/out.c -o trek/out.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/phaser.c -o trek/phaser.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/play.c -o trek/play.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/ram.c -o trek/ram.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/ranf.c -o trek/ranf.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/rest.c -o trek/rest.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/schedule.c -o trek/schedule.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/score.c -o trek/score.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/setup.c -o trek/setup.o x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/setwarp.c -o trek/setwarp.o +trek/move.c: In function 'move': +trek/move.c:80:8: warning: old-style function definition [-Wold-style-definition] + 80 | double move(ramflag, course, time, speed) + | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/shield.c -o trek/shield.o -trek/nova.c: In function 'nova': -trek/nova.c:59:1: warning: old-style function definition [-Wold-style-definition] - 59 | nova(x, y) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/snova.c -o trek/snova.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/srscan.c -o trek/srscan.o -trek/out.c: In function 'out': trek/play.c: In function 'myreset': -trek/out.c:50:1: warning: old-style function definition [-Wold-style-definition] - 50 | out(dev) - | ^~~ trek/play.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | myreset(v) | ^~~~~~~ -trek/rest.c: In function 'rest': -trek/rest.c:61:1: warning: old-style function definition [-Wold-style-definition] - 61 | rest(v) - | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/snova.c -o trek/snova.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/srscan.c -o trek/srscan.o trek/main.c: In function 'main': trek/main.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | main(argc, argv) @@ -6026,13 +6062,16 @@ trek/main.c:169:25: warning: variable 'opencode' set but not used [-Wunused-but-set-variable] 169 | char opencode; | ^~~~~~~~ +trek/main.c:176:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 176 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ trek/ranf.c: In function 'ranf': trek/ranf.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | ranf(max) | ^~~~ -trek/main.c:176:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 176 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/systemname.c -o trek/systemname.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/torped.c -o trek/torped.o +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/visual.c -o trek/visual.o trek/ram.c: In function 'ram': trek/ram.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | ram(ix, iy) @@ -6041,11 +6080,39 @@ trek/phaser.c:97:1: warning: old-style function definition [-Wold-style-definition] 97 | phaser(v) | ^~~~~~ -trek/move.c: In function 'move': -trek/move.c:80:8: warning: old-style function definition [-Wold-style-definition] - 80 | double move(ramflag, course, time, speed) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/systemname.c -o trek/systemname.o +trek/rest.c: In function 'rest': +trek/rest.c:61:1: warning: old-style function definition [-Wold-style-definition] + 61 | rest(v) + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/warp.c -o trek/warp.o +trek/shield.c: In function 'shield': +trek/shield.c:70:1: warning: old-style function definition [-Wold-style-definition] + 70 | shield(f) + | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/win.c -o trek/win.o +trek/setwarp.c: In function 'setwarp': +trek/setwarp.c:54:1: warning: old-style function definition [-Wold-style-definition] + 54 | setwarp(v) + | ^~~~~~~ +trek/systemname.c: In function 'systemname': +trek/systemname.c:54:13: warning: old-style function definition [-Wold-style-definition] + 54 | const char *systemname(q1) + | ^~~~~~~~~~ +./substscr g m trek/trek.6.in trek/trek.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworm -c worm/worm.c -o worm/worm.o +Generating trek/trek.6 from trek/trek.6.in +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworms -c worms/worms.c -o worms/worms.o +trek/srscan.c: In function 'srscan': +trek/srscan.c:69:1: warning: old-style function definition [-Wold-style-definition] + 69 | srscan(f) + | ^~~~~~ +./substscr g s wtf/wtf.in wtf/wtf +trek/visual.c: In function 'visual': +trek/visual.c:72:1: warning: old-style function definition [-Wold-style-definition] + 72 | visual(z) + | ^~~~~~ +./substscr g m wtf/wtf.6.in wtf/wtf.6 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iwump -c wump/wump.c -o wump/wump.o trek/schedule.c: In function 'schedule': trek/schedule.c:56:15: warning: old-style function definition [-Wold-style-definition] 56 | struct event *schedule(type, offset, x, y, z) @@ -6058,6 +6125,7 @@ trek/schedule.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | unschedule(e1) | ^~~~~~~~~~ +Generating wtf/wtf from wtf/wtf.in trek/schedule.c: In function 'xsched': trek/schedule.c:151:15: warning: old-style function definition [-Wold-style-definition] 151 | struct event *xsched(ev1, factor, x, y, z) @@ -6066,53 +6134,35 @@ trek/schedule.c:171:1: warning: old-style function definition [-Wold-style-definition] 171 | xresched(e1, ev1, factor) | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/torped.c -o trek/torped.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/visual.c -o trek/visual.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/warp.c -o trek/warp.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Itrek -c trek/win.c -o trek/win.o -./substscr g m trek/trek.6.in trek/trek.6 -trek/shield.c: In function 'shield': -trek/shield.c:70:1: warning: old-style function definition [-Wold-style-definition] - 70 | shield(f) - | ^~~~~~ -Generating trek/trek.6 from trek/trek.6.in -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworm -c worm/worm.c -o worm/worm.o -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iworms -c worms/worms.c -o worms/worms.o -./substscr g s wtf/wtf.in wtf/wtf -./substscr g m wtf/wtf.6.in wtf/wtf.6 -trek/systemname.c: In function 'systemname': -trek/systemname.c:54:13: warning: old-style function definition [-Wold-style-definition] - 54 | const char *systemname(q1) - | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/bsdgames-2.17=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -Iwump -c wump/wump.c -o wump/wump.o -Generating wtf/wtf from wtf/wtf.in Generating wtf/wtf.6 from wtf/wtf.6.in -trek/setwarp.c: In function 'setwarp': -trek/setwarp.c:54:1: warning: old-style function definition [-Wold-style-definition] - 54 | setwarp(v) - | ^~~~~~~ x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now adventure/crc.o adventure/data.o adventure/done.o adventure/init.o adventure/io.o adventure/main.o adventure/save.o adventure/subr.o adventure/vocab.o adventure/wizard.o -o adventure/adventure +trek/snova.c: In function 'snova': +trek/snova.c:67:1: warning: old-style function definition [-Wold-style-definition] + 67 | snova(x, y) + | ^~~~~ x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now arithmetic/arithmetic.o lib/getprogname.o -o arithmetic/arithmetic -trek/srscan.c: In function 'srscan': -trek/srscan.c:69:1: warning: old-style function definition [-Wold-style-definition] - 69 | srscan(f) - | ^~~~~~ x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now atc/extern.o atc/grammar.o atc/graphics.o atc/input.o atc/lex.o atc/list.o atc/log.o atc/main.o atc/tunable.o atc/update.o lib/strlcpy.o -lm -lncurses -lfl -o atc/atc -trek/visual.c: In function 'visual': -trek/visual.c:72:1: warning: old-style function definition [-Wold-style-definition] - 72 | visual(z) - | ^~~~~~ x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now backgammon/backgammon/extra.o backgammon/backgammon/main.o backgammon/backgammon/move.o backgammon/backgammon/text.o backgammon/backgammon/version.o backgammon/common_source/allow.o backgammon/common_source/board.o backgammon/common_source/check.o backgammon/common_source/fancy.o backgammon/common_source/init.o backgammon/common_source/odds.o backgammon/common_source/one.o backgammon/common_source/save.o backgammon/common_source/subs.o backgammon/common_source/table.o -lncurses -o backgammon/backgammon/backgammon x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now backgammon/teachgammon/data.o backgammon/teachgammon/teach.o backgammon/teachgammon/ttext1.o backgammon/teachgammon/ttext2.o backgammon/teachgammon/tutor.o backgammon/common_source/allow.o backgammon/common_source/board.o backgammon/common_source/check.o backgammon/common_source/fancy.o backgammon/common_source/init.o backgammon/common_source/one.o backgammon/common_source/save.o backgammon/common_source/subs.o backgammon/common_source/table.o -lncurses -o backgammon/teachgammon/teachgammon x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now battlestar/battlestar.o battlestar/command1.o battlestar/command2.o battlestar/command3.o battlestar/command4.o battlestar/command5.o battlestar/command6.o battlestar/command7.o battlestar/cypher.o battlestar/dayfile.o battlestar/dayobjs.o battlestar/fly.o battlestar/getcom.o battlestar/globals.o battlestar/init.o battlestar/misc.o battlestar/nightfile.o battlestar/nightobjs.o battlestar/parse.o battlestar/room.o battlestar/save.o battlestar/words.o lib/fgetln.o -lncurses -o battlestar/battlestar x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now bcd/bcd.o -o bcd/bcd x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/boggle/bog.o boggle/boggle/help.o boggle/boggle/mach.o boggle/boggle/prtable.o boggle/boggle/timer.o boggle/boggle/word.o -lncurses -o boggle/boggle/boggle -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkindex/mkindex.o -o boggle/mkindex/mkindex x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkdict/mkdict.o -o boggle/mkdict/mkdict -trek/snova.c: In function 'snova': -trek/snova.c:67:1: warning: old-style function definition [-Wold-style-definition] - 67 | snova(x, y) - | ^~~~~ +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now boggle/mkindex/mkindex.o -o boggle/mkindex/mkindex +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now caesar/caesar.o -lm -o caesar/caesar +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/canfield/canfield.o -lncurses -o canfield/canfield/canfield +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/cfscores/cfscores.o -o canfield/cfscores/cfscores +trek/torped.c: In function 'torped': +trek/torped.c:70:1: warning: old-style function definition [-Wold-style-definition] + 70 | torped(v) + | ^~~~~~ +trek/torped.c: In function 'randcourse': +trek/torped.c:233:1: warning: old-style function definition [-Wold-style-definition] + 233 | randcourse(n) + | ^~~~~~~~~~ +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now cribbage/cards.o cribbage/crib.o cribbage/extern.o cribbage/instr.o cribbage/io.o cribbage/score.o cribbage/support.o -lncurses -o cribbage/cribbage +x86_64-linux-gnu-g++ -Wl,-z,relro -Wl,-z,now dab/algor.o dab/board.o dab/box.o dab/gamescreen.o dab/human.o dab/main.o dab/player.o dab/random.o dab/ttyscrn.o -lncurses -o dab/dab +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now fish/fish.o -o fish/fish trek/warp.c: In function 'dowarp': trek/warp.c:65:1: warning: old-style function definition [-Wold-style-definition] 65 | dowarp(fl) @@ -6121,11 +6171,16 @@ trek/warp.c:77:1: warning: old-style function definition [-Wold-style-definition] 77 | warp(fl, c, d) | ^~~~ +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now gomoku/bdinit.o gomoku/bdisp.o gomoku/main.o gomoku/makemove.o gomoku/pickmove.o gomoku/stoc.o -lncurses -o gomoku/gomoku +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hack/alloc.o hack/hack.Decl.o hack/hack.apply.o hack/hack.bones.o hack/hack.o hack/hack.cmd.o hack/hack.do.o hack/hack.do_name.o hack/hack.do_wear.o hack/hack.dog.o hack/hack.eat.o hack/hack.end.o hack/hack.engrave.o hack/hack.fight.o hack/hack.invent.o hack/hack.ioctl.o hack/hack.lev.o hack/hack.main.o hack/hack.makemon.o hack/hack.mhitu.o hack/hack.mklev.o hack/hack.mkmaze.o hack/hack.mkobj.o hack/hack.mkshop.o hack/hack.mon.o hack/hack.monst.o hack/hack.o_init.o hack/hack.objnam.o hack/hack.options.o hack/hack.pager.o hack/hack.potion.o hack/hack.pri.o hack/hack.read.o hack/hack.rip.o hack/hack.rumors.o hack/hack.save.o hack/hack.search.o hack/hack.shk.o hack/hack.shknam.o hack/hack.steal.o hack/hack.termcap.o hack/hack.timeout.o hack/hack.topl.o hack/hack.track.o hack/hack.trap.o hack/hack.tty.o hack/hack.u_init.o hack/hack.unix.o hack/hack.vault.o hack/hack.version.o hack/hack.wield.o hack/hack.wizard.o hack/hack.worm.o hack/hack.worn.o hack/hack.zap.o hack/rnd.o -lncurses -o hack/hack +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hangman/endgame.o hangman/extern.o hangman/getguess.o hangman/getword.o hangman/main.o hangman/playgame.o hangman/prdata.o hangman/prman.o hangman/prword.o hangman/setup.o -lncurses -o hangman/hangman worm/worm.c: In function 'main': worm/worm.c:96:1: warning: old-style function definition [-Wold-style-definition] 96 | main(argc, argv) | ^~~~ +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now mille/comp.o mille/end.o mille/extern.o mille/init.o mille/mille.o mille/misc.o mille/move.o mille/print.o mille/roll.o mille/save.o mille/types.o mille/varpush.o -lncurses -o mille/mille worm/worm.c: In function 'display': +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now monop/cards.o monop/execute.o monop/getinp.o monop/houses.o monop/jail.o monop/misc.o monop/monop.o monop/morg.o monop/print.o monop/prop.o monop/rent.o monop/roll.o monop/spec.o monop/trade.o -o monop/monop worm/worm.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | display(pos, chr) | ^~~~~~~ @@ -6137,6 +6192,7 @@ worm/worm.c:215:1: warning: old-style function definition [-Wold-style-definition] 215 | wake(dummy) | ^~~~ +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now monop/initdeck.o -o monop/initdeck worm/worm.c: In function 'rnd': worm/worm.c:224:1: warning: old-style function definition [-Wold-style-definition] 224 | rnd(range) @@ -6153,21 +6209,17 @@ worm/worm.c:102:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now caesar/caesar.o -lm -o caesar/caesar -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/cfscores/cfscores.o -o canfield/cfscores/cfscores -trek/torped.c: In function 'torped': -trek/torped.c:70:1: warning: old-style function definition [-Wold-style-definition] - 70 | torped(v) - | ^~~~~~ -trek/torped.c: In function 'randcourse': -trek/torped.c:233:1: warning: old-style function definition [-Wold-style-definition] - 233 | randcourse(n) - | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/canfield/canfield.o -lncurses -o canfield/canfield/canfield +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now morse/morse.o -o morse/morse +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now number/number.o -o number/number +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now phantasia/phantglobs.o phantasia/setup.o -lm -o phantasia/setup wump/wump.c: In function 'main': wump/wump.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | main(argc, argv) | ^~~~ +worms/worms.c: In function 'main': +worms/worms.c:187:1: warning: old-style function definition [-Wold-style-definition] + 187 | main(argc, argv) + | ^~~~ wump/wump.c: In function 'move_to': wump/wump.c:316:1: warning: old-style function definition [-Wold-style-definition] 316 | move_to(room_number) @@ -6183,6 +6235,12 @@ wump/wump.c:521:1: warning: old-style function definition [-Wold-style-definition] 521 | gcd(a, b) | ^~~ +worms/worms.c: In function 'onsig': +worms/worms.c:345:1: warning: old-style function definition [-Wold-style-definition] + 345 | onsig(signo) + | ^~~~~ +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now pig/pig.o -o pig/pig +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now pom/pom.o -lm -o pom/pom wump/wump.c: In function 'getans': wump/wump.c:666:1: warning: old-style function definition [-Wold-style-definition] 666 | getans(prompt) @@ -6191,6 +6249,10 @@ wump/wump.c:739:1: warning: old-style function definition [-Wold-style-definition] 739 | int_compare(a, b) | ^~~~~~~~~~~ +worms/worms.c: In function 'main': +worms/worms.c:202:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 202 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ wump/wump.c: In function 'jump': wump/wump.c:845:1: warning: old-style function definition [-Wold-style-definition] 845 | jump(where) @@ -6199,32 +6261,6 @@ wump/wump.c:148:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -worms/worms.c: In function 'main': -worms/worms.c:187:1: warning: old-style function definition [-Wold-style-definition] - 187 | main(argc, argv) - | ^~~~ -worms/worms.c: In function 'onsig': -worms/worms.c:345:1: warning: old-style function definition [-Wold-style-definition] - 345 | onsig(signo) - | ^~~~~ -worms/worms.c: In function 'main': -worms/worms.c:202:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 202 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now cribbage/cards.o cribbage/crib.o cribbage/extern.o cribbage/instr.o cribbage/io.o cribbage/score.o cribbage/support.o -lncurses -o cribbage/cribbage -x86_64-linux-gnu-g++ -Wl,-z,relro -Wl,-z,now dab/algor.o dab/board.o dab/box.o dab/gamescreen.o dab/human.o dab/main.o dab/player.o dab/random.o dab/ttyscrn.o -lncurses -o dab/dab -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now fish/fish.o -o fish/fish -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now gomoku/bdinit.o gomoku/bdisp.o gomoku/main.o gomoku/makemove.o gomoku/pickmove.o gomoku/stoc.o -lncurses -o gomoku/gomoku -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hack/alloc.o hack/hack.Decl.o hack/hack.apply.o hack/hack.bones.o hack/hack.o hack/hack.cmd.o hack/hack.do.o hack/hack.do_name.o hack/hack.do_wear.o hack/hack.dog.o hack/hack.eat.o hack/hack.end.o hack/hack.engrave.o hack/hack.fight.o hack/hack.invent.o hack/hack.ioctl.o hack/hack.lev.o hack/hack.main.o hack/hack.makemon.o hack/hack.mhitu.o hack/hack.mklev.o hack/hack.mkmaze.o hack/hack.mkobj.o hack/hack.mkshop.o hack/hack.mon.o hack/hack.monst.o hack/hack.o_init.o hack/hack.objnam.o hack/hack.options.o hack/hack.pager.o hack/hack.potion.o hack/hack.pri.o hack/hack.read.o hack/hack.rip.o hack/hack.rumors.o hack/hack.save.o hack/hack.search.o hack/hack.shk.o hack/hack.shknam.o hack/hack.steal.o hack/hack.termcap.o hack/hack.timeout.o hack/hack.topl.o hack/hack.track.o hack/hack.trap.o hack/hack.tty.o hack/hack.u_init.o hack/hack.unix.o hack/hack.vault.o hack/hack.version.o hack/hack.wield.o hack/hack.wizard.o hack/hack.worm.o hack/hack.worn.o hack/hack.zap.o hack/rnd.o -lncurses -o hack/hack -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now hangman/endgame.o hangman/extern.o hangman/getguess.o hangman/getword.o hangman/main.o hangman/playgame.o hangman/prdata.o hangman/prman.o hangman/prword.o hangman/setup.o -lncurses -o hangman/hangman -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now mille/comp.o mille/end.o mille/extern.o mille/init.o mille/mille.o mille/misc.o mille/move.o mille/print.o mille/roll.o mille/save.o mille/types.o mille/varpush.o -lncurses -o mille/mille -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now monop/cards.o monop/execute.o monop/getinp.o monop/houses.o monop/jail.o monop/misc.o monop/monop.o monop/morg.o monop/print.o monop/prop.o monop/rent.o monop/roll.o monop/spec.o monop/trade.o -o monop/monop -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now monop/initdeck.o -o monop/initdeck -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now morse/morse.o -o morse/morse -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now number/number.o -o number/number -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now phantasia/phantglobs.o phantasia/setup.o -lm -o phantasia/setup -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now pig/pig.o -o pig/pig -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now pom/pom.o -lm -o pom/pom x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now ppt/ppt.o -o ppt/ppt x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now primes/pattern.o primes/pr_tbl.o primes/primes.o primes/spsp.o -lm -o primes/primes x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now quiz/quiz.o quiz/rxp.o lib/fgetln.o -o quiz/quiz @@ -6232,19 +6268,19 @@ x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now random/random.o -o random/random x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now robots/auto.o robots/extern.o robots/flush_in.o robots/init_field.o robots/main.o robots/make_level.o robots/move.o robots/move_robs.o robots/play_level.o robots/query.o robots/rnd_pos.o robots/score.o -lncurses -o robots/robots x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now snake/snscore/snscore.o -o snake/snscore/snscore -boggle/mkdict/mkdict boggle/mkdict/dictionary -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now sail/assorted.o sail/game.o sail/globals.o sail/dr_1.o sail/dr_2.o sail/dr_3.o sail/dr_4.o sail/dr_5.o sail/dr_main.o sail/lo_main.o sail/main.o sail/misc.o sail/parties.o sail/pl_1.o sail/pl_2.o sail/pl_3.o sail/pl_4.o sail/pl_5.o sail/pl_6.o sail/pl_7.o sail/pl_main.o sail/sync.o sail/version.o lib/strlcpy.o -lncurses -o sail/sail -106161 words -boggle/mkindex/mkindex boggle/mkindex/dictindex x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now tetris/input.o tetris/scores.o tetris/screen.o tetris/shapes.o tetris/tetris.o -lncurses -o tetris/tetris -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worms/worms.o -lncurses -o worms/worms -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now phantasia/fight.o phantasia/gamesupport.o phantasia/interplayer.o phantasia/io.o phantasia/main.o phantasia/misc.o phantasia/phantglobs.o -lm -lncurses -o phantasia/phantasia -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now trek/abandon.o trek/attack.o trek/autover.o trek/capture.o trek/cgetc.o trek/check_out.o trek/checkcond.o trek/compkl.o trek/computer.o trek/damage.o trek/damaged.o trek/dcrept.o trek/destruct.o trek/dock.o trek/dumpgame.o trek/dumpme.o trek/dumpssradio.o trek/events.o trek/externs.o trek/getcodi.o trek/getpar.o trek/help.o trek/impulse.o trek/initquad.o trek/kill.o trek/klmove.o trek/lose.o trek/lrscan.o trek/main.o trek/move.o trek/nova.o trek/out.o trek/phaser.o trek/play.o trek/ram.o trek/ranf.o trek/rest.o trek/schedule.o trek/score.o trek/setup.o trek/setwarp.o trek/shield.o trek/snova.o trek/srscan.o trek/systemname.o trek/torped.o trek/visual.o trek/warp.o trek/win.o -lm -o trek/trek +boggle/mkdict/mkdict boggle/mkdict/dictionary monop/initdeck monop/cards.inp monop/cards.pck -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worm/worm.o -lncurses -o worm/worm There were 16 com. chest and 16 chance cards cd phantasia && ./setup -m monsters.asc +106161 words +boggle/mkindex/mkindex boggle/mkindex/dictindex +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now sail/assorted.o sail/game.o sail/globals.o sail/dr_1.o sail/dr_2.o sail/dr_3.o sail/dr_4.o sail/dr_5.o sail/dr_main.o sail/lo_main.o sail/main.o sail/misc.o sail/parties.o sail/pl_1.o sail/pl_2.o sail/pl_3.o sail/pl_4.o sail/pl_5.o sail/pl_6.o sail/pl_7.o sail/pl_main.o sail/sync.o sail/version.o lib/strlcpy.o -lncurses -o sail/sail touch phantasia/scorefiles.stamp +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now trek/abandon.o trek/attack.o trek/autover.o trek/capture.o trek/cgetc.o trek/check_out.o trek/checkcond.o trek/compkl.o trek/computer.o trek/damage.o trek/damaged.o trek/dcrept.o trek/destruct.o trek/dock.o trek/dumpgame.o trek/dumpme.o trek/dumpssradio.o trek/events.o trek/externs.o trek/getcodi.o trek/getpar.o trek/help.o trek/impulse.o trek/initquad.o trek/kill.o trek/klmove.o trek/lose.o trek/lrscan.o trek/main.o trek/move.o trek/nova.o trek/out.o trek/phaser.o trek/play.o trek/ram.o trek/ranf.o trek/rest.o trek/schedule.o trek/score.o trek/setup.o trek/setwarp.o trek/shield.o trek/snova.o trek/srscan.o trek/systemname.o trek/torped.o trek/visual.o trek/warp.o trek/win.o -lm -o trek/trek +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now phantasia/fight.o phantasia/gamesupport.o phantasia/interplayer.o phantasia/io.o phantasia/main.o phantasia/misc.o phantasia/phantglobs.o -lm -lncurses -o phantasia/phantasia +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worm/worm.o -lncurses -o worm/worm +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worms/worms.o -lncurses -o worms/worms x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now snake/snake/snake.o -lncurses -lm -o snake/snake/snake x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now wump/wump.o -o wump/wump make[2]: Leaving directory '/build/reproducible-path/bsdgames-2.17' @@ -6257,7 +6293,7 @@ troff::312: error: environment stack underflow make[1]: Leaving directory '/build/reproducible-path/bsdgames-2.17' dh_auto_test - make -j42 test "TESTSUITEFLAGS=-j42 --verbose" VERBOSE=1 + make -j40 test "TESTSUITEFLAGS=-j40 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/bsdgames-2.17' set -e; for f in tests/*.test; do echo $f; $f; done tests/battlestar.test @@ -6372,7 +6408,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/bsdgames/ - make -j42 install DESTDIR=/build/reproducible-path/bsdgames-2.17/debian/bsdgames AM_UPDATE_INFO_DIR=no + make -j40 install DESTDIR=/build/reproducible-path/bsdgames-2.17/debian/bsdgames AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/bsdgames-2.17' set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/reproducible-path/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/reproducible-path/bsdgames-2.17/debian/bsdgames$d; done @@ -6430,165 +6466,165 @@ set -e; for g in Game_List `cat atc/games/Game_List`; do install -c -m 0644 atc/games/$g /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/atc/$g; done install -c -m 0755 atc/atc /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/atc install -c -m 0755 backgammon/backgammon/backgammon /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/backgammon +: adventure +: arithmetic install -c -m 0755 backgammon/teachgammon/teachgammon /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/teachgammon +: atc +: backgammon +/build/reproducible-path/bsdgames-2.17/install-man adventure/adventure.6 +/build/reproducible-path/bsdgames-2.17/install-man arithmetic/arithmetic.6 +: teachgammon install -c -m 0755 battlestar/battlestar /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/battlestar +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/atc_score +/build/reproducible-path/bsdgames-2.17/install-man backgammon/backgammon/backgammon.6 install -c -m 0755 bcd/bcd /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/bcd install -c -m 0755 boggle/boggle/boggle /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/boggle -install -c -m 0644 boggle/mkindex/dictindex /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictindex +/build/reproducible-path/bsdgames-2.17/install-man backgammon.6 teachgammon.6 +: battlestar install -c -m 0644 boggle/mkdict/dictionary /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictionary +: bcd +: boggle +install -c -m 0644 boggle/mkindex/dictindex /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictindex +/build/reproducible-path/bsdgames-2.17/install-man battlestar/battlestar.6 install -c -m 0755 caesar/caesar /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/caesar -install -c -m 0755 canfield/cfscores/cfscores /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/cfscores install -c -m 0755 canfield/canfield/canfield /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/canfield +/build/reproducible-path/bsdgames-2.17/install-man bcd/bcd.6 +/build/reproducible-path/bsdgames-2.17/install-man boggle/boggle/boggle.6 +install -c -m 0755 canfield/cfscores/cfscores /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/cfscores +: caesar install -c -m 0755 countmail/countmail /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/countmail +: canfield install -c -m 0755 cribbage/cribbage /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/cribbage +: cfscores +/build/reproducible-path/bsdgames-2.17/install-man atc/atc.6 +install -c -m 0755 caesar/rot13 /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/rot13 +: countmail +/build/reproducible-path/bsdgames-2.17/install-man canfield/canfield/canfield.6 +: cribbage +/build/reproducible-path/bsdgames-2.17/install-man canfield.6 cfscores.6 install -c -m 0755 dab/dab /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/dab +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/battlestar.log +: rot13 +install -c -m 0644 boggle/boggle/helpfile /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/helpfile +/build/reproducible-path/bsdgames-2.17/install-man countmail/countmail.6 +install -c -m 0644 cribbage/cribbage.n /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/cribbage.instr +: dab install -c -m 0755 fish/fish /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/go-fish +/build/reproducible-path/bsdgames-2.17/install-man caesar/caesar.6 +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/criblog install -c -m 0755 gomoku/gomoku /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/gomoku +/build/reproducible-path/bsdgames-2.17/install-man dab/dab.6 +: go-fish install -c -m 0755 hack/hack /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/hack +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/cfscores +: gomoku install -c -m 0755 hangman/hangman /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/hangman install -c -m 0755 mille/mille /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/mille +install -c -m 0644 fish/fish.instr /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/fish.instr install -c -m 0755 monop/monop /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/monop -install -c -m 0755 morse/morse /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/morse -install -c -m 0755 number/number /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/number -install -c -m 0755 phantasia/phantasia /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/phantasia -install -c -m 0755 pig/pig /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/pig -install -c -m 0755 pom/pom /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/pom -install -c -m 0755 ppt/ppt /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/ppt -install -c -m 0755 primes/primes /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/primes -set -e; for c in africa america areas arith asia babies bard chinese collectives ed elements europe flowers greek inca index latin locomotive midearth morse mult murders poetry posneg pres province seq-easy seq-hard sexes sov spell state trek ucc; do install -c -m 0644 quiz/datfiles/$c /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/quiz/$c; done -install -c -m 0755 quiz/quiz /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/quiz -: adventure -install -c -m 0755 rain/rain /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/rain -/build/reproducible-path/bsdgames-2.17/install-man adventure/adventure.6 -install -c -m 0755 random/random /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/random -install -c -m 0755 robots/robots /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/robots -install -c -m 0755 sail/sail /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/sail -install -c -m 0755 snake/snake/snake /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/snake -install -c -m 0755 snake/snscore/snscore /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/snscore -install -c -m 0755 tetris/tetris /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/tetris-bsd -install -c -m 0755 trek/trek /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/trek -install -c -m 0755 wargames/wargames /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wargames -install -c -m 0755 worm/worm /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/worm -install -c -m 0755 worms/worms /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/worms -install -c -m 0755 wtf/wtf /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wtf -: bcd -: arithmetic -: atc -: backgammon -: teachgammon -: battlestar -: boggle -: caesar -: cfscores -: canfield -: countmail -: cribbage -: dab -: go-fish -: gomoku : hack +/build/reproducible-path/bsdgames-2.17/install-man gomoku/gomoku.6 : hangman : mille +ln -sf fish.6 fish/go-fish.6 # hack for rename : monop -: morse -: number -: phantasia -: pig -: pom -: ppt -: primes -/build/reproducible-path/bsdgames-2.17/install-man bcd/bcd.6 -: quiz -: rain -: random -: robots -: sail -: snake -: snscore -: tetris-bsd -: trek -: wargames -: worm -: worms -/build/reproducible-path/bsdgames-2.17/install-man arithmetic/arithmetic.6 -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/atc_score -: wtf -/build/reproducible-path/bsdgames-2.17/install-man backgammon/backgammon/backgammon.6 -/build/reproducible-path/bsdgames-2.17/install-man backgammon.6 teachgammon.6 -/build/reproducible-path/bsdgames-2.17/install-man battlestar/battlestar.6 -/build/reproducible-path/bsdgames-2.17/install-man boggle/boggle/boggle.6 -install -c -m 0755 caesar/rot13 /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/rot13 -/build/reproducible-path/bsdgames-2.17/install-man canfield.6 cfscores.6 -/build/reproducible-path/bsdgames-2.17/install-man canfield/canfield/canfield.6 -/build/reproducible-path/bsdgames-2.17/install-man countmail/countmail.6 -install -c -m 0644 cribbage/cribbage.n /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/cribbage.instr -/build/reproducible-path/bsdgames-2.17/install-man dab/dab.6 -install -c -m 0644 fish/fish.instr /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/fish.instr -/build/reproducible-path/bsdgames-2.17/install-man gomoku/gomoku.6 +install -c -m 0755 morse/morse /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/morse +/build/reproducible-path/bsdgames-2.17/install-man caesar.6 rot13.6 install -d -m 0755 /build/reproducible-path/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/hack /build/reproducible-path/bsdgames-2.17/install-man hangman/hangman.6 /build/reproducible-path/bsdgames-2.17/install-man mille/mille.6 /build/reproducible-path/bsdgames-2.17/install-man monop/monop.6 +: morse +/build/reproducible-path/bsdgames-2.17/install-man cribbage/cribbage.6 +install -d /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack +/build/reproducible-path/bsdgames-2.17/install-man fish/go-fish.6 +install -c -m 0755 number/number /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/number +install -c -m 0755 phantasia/phantasia /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/phantasia /build/reproducible-path/bsdgames-2.17/install-man bcd.6 morse.6 +install -c -m 0755 pig/pig /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/pig +set -e; for f in data help hh rumors; do install -c -m 0644 hack/$f /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack/$f; done +: number +install -c -m 0755 pom/pom /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/pom +: phantasia +: pig +install -c -m 0755 ppt/ppt /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/ppt +install -c -m 0755 primes/primes /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/primes /build/reproducible-path/bsdgames-2.17/install-man number/number.6 +install -c -m 0644 monop/cards.pck /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/monop-cards.pck +: pom (set -e; for f in gold lastdead mess monsters motd void; do \ cp phantasia/$f /build/reproducible-path/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/phantasia/$f; \ /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/phantasia/$f; done) /build/reproducible-path/bsdgames-2.17/install-man pig/pig.6 +rm -f fish/go-fish.6 +: ppt +: primes /build/reproducible-path/bsdgames-2.17/install-man pom/pom.6 +set -e; for c in africa america areas arith asia babies bard chinese collectives ed elements europe flowers greek inca index latin locomotive midearth morse mult murders poetry posneg pres province seq-easy seq-hard sexes sov spell state trek ucc; do install -c -m 0644 quiz/datfiles/$c /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/quiz/$c; done +install -c -m 0755 quiz/quiz /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/quiz +install -c -m 0755 rain/rain /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/rain /build/reproducible-path/bsdgames-2.17/install-man bcd.6 ppt.6 /build/reproducible-path/bsdgames-2.17/install-man primes/primes.6 +install -c -m 0755 random/random /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/random +: quiz +install -c -m 0755 robots/robots /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/robots +: rain +install -c -m 0755 sail/sail /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/sail +install -c -m 0755 snake/snake/snake /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/snake +: random +install -c -m 0755 snake/snscore/snscore /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/snscore +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm /build/reproducible-path/bsdgames-2.17/install-man quiz/quiz.6 +: robots /build/reproducible-path/bsdgames-2.17/install-man rain/rain.6 +: sail +: snake /build/reproducible-path/bsdgames-2.17/install-man random/random.6 +: snscore +install -c -m 0755 tetris/tetris /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/tetris-bsd /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/robots_roll +install -c -m 0755 trek/trek /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/trek +install -c -m 0755 wargames/wargames /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wargames /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/saillog /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/snake.log /build/reproducible-path/bsdgames-2.17/install-man snake.6 snscore.6 +: tetris-bsd +: trek +: wargames +install -c -m 0755 worm/worm /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/worm +install -c -m 0755 worms/worms /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/worms +install -c -m 0755 wtf/wtf /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wtf /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/tetris-bsd.scores +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/hack/record /build/reproducible-path/bsdgames-2.17/install-man trek/trek.6 /build/reproducible-path/bsdgames-2.17/install-man wargames/wargames.6 +: worm +: worms +: wtf +install -c -m 0755 wump/wump /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wump /build/reproducible-path/bsdgames-2.17/install-man worm/worm.6 -/build/reproducible-path/bsdgames-2.17/install-man worms/worms.6 -/build/reproducible-path/bsdgames-2.17/install-man atc/atc.6 -install -c -m 0644 wtf/acronyms /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/battlestar.log -install -c -m 0644 boggle/boggle/helpfile /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/helpfile -: rot13 -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/cfscores -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/criblog -ln -sf fish.6 fish/go-fish.6 # hack for rename -install -d /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack -install -c -m 0644 monop/cards.pck /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/monop-cards.pck /build/reproducible-path/bsdgames-2.17/install-man robots/robots.6 install -d -m 0750 /build/reproducible-path/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/sail +/build/reproducible-path/bsdgames-2.17/install-man worms/worms.6 +install -c -m 0644 wtf/acronyms /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms +: wump /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/snakerawscores -ln -f tetris/tetris.6 tetris/tetris-bsd.6 -install -c -m 0644 trek/USD.doc/trek.me /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/doc/bsdgames/trek.me -install -c -m 0644 wtf/acronyms.comp /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms.comp -/build/reproducible-path/bsdgames-2.17/install-man caesar/caesar.6 -/build/reproducible-path/bsdgames-2.17/install-man cribbage/cribbage.6 -/build/reproducible-path/bsdgames-2.17/install-man fish/go-fish.6 -set -e; for f in data help hh rumors; do install -c -m 0644 hack/$f /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack/$f; done /build/reproducible-path/bsdgames-2.17/install-man sail/sail.6 -/build/reproducible-path/bsdgames-2.17/install-man snake/snake/snake.6 -/build/reproducible-path/bsdgames-2.17/install-man tetris/tetris-bsd.6 -/build/reproducible-path/bsdgames-2.17/install-man wtf/wtf.6 -/build/reproducible-path/bsdgames-2.17/install-man caesar.6 rot13.6 -rm -f fish/go-fish.6 -install -c -m 0755 wump/wump /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wump -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm -: wump +install -c -m 0644 wtf/acronyms.comp /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms.comp install -c -m 0644 wump/wump.info /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/wump.info -rm -f tetris/tetris-bsd.6 +/build/reproducible-path/bsdgames-2.17/install-man hack/hack.6 +install -c -m 0644 trek/USD.doc/trek.me /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/doc/bsdgames/trek.me +ln -f tetris/tetris.6 tetris/tetris-bsd.6 +/build/reproducible-path/bsdgames-2.17/install-man wtf/wtf.6 /build/reproducible-path/bsdgames-2.17/install-man wump/wump.6 -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/hack/record +/build/reproducible-path/bsdgames-2.17/install-man tetris/tetris-bsd.6 +/build/reproducible-path/bsdgames-2.17/install-man snake/snake/snake.6 +rm -f tetris/tetris-bsd.6 (set -e; for f in scoreboard characs; do \ if [ ! -e /var/games/bsdgames/phantasia/$f ]; then \ cp phantasia/$f /build/reproducible-path/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/phantasia/$f; fi; done; \ /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/phantasia/scoreboard; \ /build/reproducible-path/bsdgames-2.17/install-score -p /var/games/bsdgames/phantasia/characs) -/build/reproducible-path/bsdgames-2.17/install-man hack/hack.6 /build/reproducible-path/bsdgames-2.17/install-man phantasia/phantasia.6 make[1]: Leaving directory '/build/reproducible-path/bsdgames-2.17' debian/rules override_dh_install @@ -6682,12 +6718,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1005069/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1005069/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/845312 and its subdirectories -I: Current time: Sun Oct 18 17:17:41 -12 2026 -I: pbuilder-time-stamp: 1792387061 +I: removing directory /srv/workspace/pbuilder/1005069 and its subdirectories +I: Current time: Tue Sep 16 12:55:51 +14 2025 +I: pbuilder-time-stamp: 1757976951