Diff of the two buildlogs: -- --- b1/build.log 2025-10-31 18:27:52.995032803 +0000 +++ b2/build.log 2025-10-31 18:29:11.223128445 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Oct 31 06:26:13 -12 2025 -I: pbuilder-time-stamp: 1761935173 +I: Current time: Fri Dec 4 14:50:54 +14 2026 +I: pbuilder-time-stamp: 1796345454 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -45,52 +45,84 @@ 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/3441596/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3714102/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 Dec 4 00:51 /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/3714102/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3714102/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=12 ' - 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=16 nocheck' + 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='737197accf3a4d9fb4838a77e1b28cc2' - 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='3441596' - PS1='# ' - PS2='> ' + INVOCATION_ID=f9b52d97068f44dcaad19711d88910ff + 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=3714102 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.jEhs9cnj/pbuilderrc_Msut --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.jEhs9cnj/b1 --logfile b1/build.log bsdgames_2.17-35.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.jEhs9cnj/pbuilderrc_yBJI --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.jEhs9cnj/b2 --logfile b2/build.log bsdgames_2.17-35.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom01-amd64 6.12.48+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3441596/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3714102/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -194,7 +226,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 2s (16.2 MB/s) +Fetched 27.9 MB in 0s (56.5 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 ... 19869 files and directories currently installed.) @@ -436,7 +468,11 @@ Solving dependencies... 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/3714102/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/3714102/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 -j12 + make -j16 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 @@ -644,16 +680,16 @@ ./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 ./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 -./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 adventure/setup.c: In function 'main': 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 +mv atc/lex.yy.c atc/lex.c +./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 ./mkdep atc/update.c atc/update.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 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 -mv atc/lex.yy.c atc/lex.c ./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 ./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 @@ -664,19 +700,19 @@ ./mkdep backgammon/common_source/check.c backgammon/common_source/check.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/fancy.c backgammon/common_source/fancy.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/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 +mv atc/y.tab.c atc/grammar.c ./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/y.tab.h atc/grammar.h ./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 +touch atc/grammar.h ./mkdep backgammon/teachgammon/data.c backgammon/teachgammon/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 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source ./mkdep backgammon/teachgammon/teach.c backgammon/teachgammon/teach.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/teachgammon -Ibackgammon/common_source ./mkdep backgammon/teachgammon/ttext1.c backgammon/teachgammon/ttext1.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/teachgammon -Ibackgammon/common_source -mv atc/y.tab.c atc/grammar.c ./mkdep backgammon/teachgammon/ttext2.c backgammon/teachgammon/ttext2.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/teachgammon -Ibackgammon/common_source -mv atc/y.tab.h atc/grammar.h ./mkdep backgammon/teachgammon/tutor.c backgammon/teachgammon/tutor.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/teachgammon -Ibackgammon/common_source -touch atc/grammar.h ./mkdep battlestar/battlestar.c battlestar/battlestar.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/command1.c battlestar/command1.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/command2.c battlestar/command2.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 @@ -721,25 +757,25 @@ ./mkdep cribbage/support.c cribbage/support.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 -Icribbage ./mkdep dab/algor.cc dab/algor.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/board.cc dab/board.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++ ./mkdep dab/box.cc dab/box.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++ ./mkdep dab/gamescreen.cc dab/gamescreen.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/human.cc dab/human.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++ ./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 +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/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 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 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 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 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 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 ./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 @@ -755,7 +791,15 @@ ./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 ./mkdep hangman/prman.c hangman/prman.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/prword.c hangman/prword.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/setup.c hangman/setup.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 mille/comp.c mille/comp.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/end.c mille/end.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/extern.c mille/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 -Imille +./mkdep mille/init.c mille/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 -Iinclude -Imille +./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 hack/makedefs.c: In function 'main': +./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 hack/makedefs.c:93:1: warning: old-style function definition [-Wold-style-definition] 93 | main(argc, argv) | ^~~~ @@ -775,14 +819,6 @@ hack/makedefs.c:334:1: warning: old-style function definition [-Wold-style-definition] 334 | digit(ch) | ^~~~~ -./mkdep hangman/setup.c hangman/setup.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 mille/comp.c mille/comp.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/end.c mille/end.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/extern.c mille/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 -Imille -./mkdep mille/init.c mille/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 -Iinclude -Imille -./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 ./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 ./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 @@ -923,8 +959,8 @@ ./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 hack/makedefs hack/def.objects.h >hack/hack.onames.h +./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 ./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 ./mkdep hack/hack.apply.c hack/hack.apply.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 @@ -993,19 +1029,80 @@ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/wizard.c -o adventure/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 -Iarithmetic -c arithmetic/arithmetic.c -o arithmetic/arithmetic.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/getprogname.c -o lib/getprogname.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/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 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/extern.c -o atc/extern.o +adventure/vocab.c: In function 'dstroy': +adventure/vocab.c:55:1: warning: old-style function definition [-Wold-style-definition] + 55 | dstroy(object) + | ^~~~~~ +adventure/vocab.c: In function 'juggle': +adventure/vocab.c:62:1: warning: old-style function definition [-Wold-style-definition] + 62 | juggle(object) + | ^~~~~~ +adventure/vocab.c: In function 'move': +adventure/vocab.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | move(object, where) + | ^~~~ +adventure/wizard.c: In function 'datime': +adventure/vocab.c: In function 'put': +adventure/vocab.c:90:1: warning: old-style function definition [-Wold-style-definition] + 90 | put(object, where, pval) + | ^~~ +adventure/vocab.c: In function 'carry': +adventure/vocab.c:98:1: warning: old-style function definition [-Wold-style-definition] + 98 | carry(object, where) + | ^~~~~ +adventure/wizard.c:56:1: warning: old-style function definition [-Wold-style-definition] + 56 | datime(d, t) + | ^~~~~~ +adventure/vocab.c: In function 'drop': +adventure/vocab.c:119:1: warning: old-style function definition [-Wold-style-definition] + 119 | drop(object, where) + | ^~~~ +adventure/vocab.c: In function 'vocab': +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: In function 'ran': +adventure/wizard.c:153:1: warning: old-style function definition [-Wold-style-definition] + 153 | ran(range) + | ^~~ +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/done.c: In function 'done': +adventure/main.c: In function 'main': +adventure/main.c:65:1: warning: old-style function definition [-Wold-style-definition] + 65 | main(argc, argv) + | ^~~~ 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/init.c: In function 'trapdel': +adventure/init.c:279:1: warning: old-style function definition [-Wold-style-definition] + 279 | trapdel(n) /* come here if he hits a del */ + | ^~~~~~~ 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 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/lex.c -o atc/lex.o +adventure/main.c:74:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 74 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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++) adventure/subr.c: In function 'toting': adventure/subr.c:55:1: warning: old-style function definition [-Wold-style-definition] 55 | toting(objj) @@ -1038,117 +1135,12 @@ adventure/subr.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | pct(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 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/list.c -o atc/list.o 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: In function 'main': -adventure/main.c:65:1: warning: old-style function definition [-Wold-style-definition] - 65 | main(argc, argv) - | ^~~~ -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) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -adventure/io.c: In function 'getin': -adventure/main.c:74:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 74 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -adventure/io.c:57:1: warning: old-style function definition [-Wold-style-definition] - 57 | getin(wrd1, wrd2) /* get command from user */ - | ^~~~~ -adventure/init.c: In function 'trapdel': -adventure/init.c:279:1: warning: old-style function definition [-Wold-style-definition] - 279 | trapdel(n) /* come here if he hits a del */ - | ^~~~~~~ -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/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 */ - | ^~~~~ -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/vocab.c: In function 'dstroy': -adventure/vocab.c:55:1: warning: old-style function definition [-Wold-style-definition] - 55 | dstroy(object) - | ^~~~~~ -adventure/vocab.c: In function 'juggle': -adventure/vocab.c:62:1: warning: old-style function definition [-Wold-style-definition] - 62 | juggle(object) - | ^~~~~~ -adventure/io.c:552:24: warning: variable 'save' set but not used [-Wunused-but-set-variable] - 552 | char *numst, save; - | ^~~~ -adventure/vocab.c: In function 'move': -adventure/vocab.c:75:1: warning: old-style function definition [-Wold-style-definition] - 75 | move(object, where) - | ^~~~ -adventure/vocab.c: In function 'put': -adventure/vocab.c:90:1: warning: old-style function definition [-Wold-style-definition] - 90 | put(object, where, pval) - | ^~~ -adventure/vocab.c: In function 'carry': -adventure/vocab.c:98:1: warning: old-style function definition [-Wold-style-definition] - 98 | carry(object, where) - | ^~~~~ -adventure/vocab.c: In function 'drop': -adventure/vocab.c:119:1: warning: old-style function definition [-Wold-style-definition] - 119 | drop(object, where) - | ^~~~ -adventure/vocab.c: In function 'vocab': -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: In function 'datime': -adventure/wizard.c:56:1: warning: old-style function definition [-Wold-style-definition] - 56 | datime(d, t) - | ^~~~~~ -adventure/wizard.c: In function 'ran': -adventure/wizard.c:153:1: warning: old-style function definition [-Wold-style-definition] - 153 | ran(range) - | ^~~ -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, - | ^~~~ -adventure/save.c: In function 'restore': -adventure/save.c:160:1: warning: old-style function definition [-Wold-style-definition] - 160 | restore(infile) - | ^~~~~~~ -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++) -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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/log.c -o atc/log.o arithmetic/arithmetic.c: In function 'main': arithmetic/arithmetic.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | main(argc, argv) @@ -1177,66 +1169,6 @@ arithmetic/arithmetic.c:120:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | 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 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/graphics.c -o atc/graphics.o -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] -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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/log.c -o atc/log.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/main.c -o atc/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 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/tunable.c -o atc/tunable.o -atc/graphics.c: In function 'setup_screen': -atc/graphics.c:127:1: warning: old-style function definition [-Wold-style-definition] - 127 | setup_screen(scp) - | ^~~~~~~~~~~~ -atc/graphics.c: In function 'draw_line': -atc/graphics.c:220:1: warning: old-style function definition [-Wold-style-definition] - 220 | draw_line(w, x, y, lx, ly, s) - | ^~~~~~~~~ -atc/graphics.c: In function 'ioclrtoeol': -atc/graphics.c:240:1: warning: old-style function definition [-Wold-style-definition] - 240 | ioclrtoeol(pos) - | ^~~~~~~~~~ -atc/graphics.c: In function 'iomove': -atc/graphics.c:250:1: warning: old-style function definition [-Wold-style-definition] - 250 | iomove(pos) - | ^~~~~~ -atc/graphics.c: In function 'ioaddstr': -atc/graphics.c:259:1: warning: old-style function definition [-Wold-style-definition] - 259 | ioaddstr(pos, str) - | ^~~~~~~~ -atc/graphics.c: In function 'ioerror': -atc/graphics.c:278:1: warning: old-style function definition [-Wold-style-definition] - 278 | ioerror(pos, len, str) - | ^~~~~~~ -atc/graphics.c: In function 'quit': -atc/graphics.c:294:1: warning: old-style function definition [-Wold-style-definition] - 294 | quit(dummy) - | ^~~~ -atc/graphics.c: In function 'loser': -atc/graphics.c:378:1: warning: old-style function definition [-Wold-style-definition] - 378 | loser(p, s) - | ^~~~~ -atc/list.c: In function 'append': -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) - | ^~~~~~ -lex.yy.c:1270:16: warning: 'input' defined but not used [-Wunused-function] atc/input.c: In function 'push': atc/input.c:206:1: warning: old-style function definition [-Wold-style-definition] 206 | push(ruleno, ch) @@ -1309,7 +1241,6 @@ atc/input.c:586:1: warning: old-style function definition [-Wold-style-definition] 586 | to_dir(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 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/update.c -o atc/update.o atc/input.c: In function 'rel_dir': atc/input.c:594:1: warning: old-style function definition [-Wold-style-definition] 594 | rel_dir(c) @@ -1330,9 +1261,117 @@ atc/input.c:655:1: warning: old-style function definition [-Wold-style-definition] 655 | dir_no(ch) | ^~~~~~ +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/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 */ + | ^~~~~ +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, + | ^~~~ +adventure/save.c: In function 'restore': +adventure/save.c:160:1: warning: old-style function definition [-Wold-style-definition] + 160 | restore(infile) + | ^~~~~~~ +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/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:552:24: warning: variable 'save' set but not used [-Wunused-but-set-variable] + 552 | char *numst, save; + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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/main.c -o atc/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 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/tunable.c -o atc/tunable.o +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] +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 -DBSD -DYY_NO_UNPUT -Iinclude -Iatc -c atc/update.c -o atc/update.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/strlcpy.c -o lib/strlcpy.o ./substscr g m atc/atc.6.in atc/atc.6 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/extra.c -o backgammon/backgammon/extra.o +atc/graphics.c: In function 'setup_screen': +atc/graphics.c:127:1: warning: old-style function definition [-Wold-style-definition] + 127 | setup_screen(scp) + | ^~~~~~~~~~~~ +atc/graphics.c: In function 'draw_line': +atc/graphics.c:220:1: warning: old-style function definition [-Wold-style-definition] + 220 | draw_line(w, x, y, lx, ly, s) + | ^~~~~~~~~ +atc/graphics.c: In function 'ioclrtoeol': +atc/graphics.c:240:1: warning: old-style function definition [-Wold-style-definition] + 240 | ioclrtoeol(pos) + | ^~~~~~~~~~ +atc/graphics.c: In function 'iomove': +atc/graphics.c:250:1: warning: old-style function definition [-Wold-style-definition] + 250 | iomove(pos) + | ^~~~~~ +atc/graphics.c: In function 'ioaddstr': +atc/graphics.c:259:1: warning: old-style function definition [-Wold-style-definition] + 259 | ioaddstr(pos, str) + | ^~~~~~~~ +atc/graphics.c: In function 'ioerror': +atc/graphics.c:278:1: warning: old-style function definition [-Wold-style-definition] + 278 | ioerror(pos, len, str) + | ^~~~~~~ +atc/graphics.c: In function 'quit': +atc/graphics.c:294:1: warning: old-style function definition [-Wold-style-definition] + 294 | quit(dummy) + | ^~~~ +atc/graphics.c: In function 'loser': +atc/graphics.c:378:1: warning: old-style function definition [-Wold-style-definition] + 378 | loser(p, 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 -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 +atc/list.c: In function 'append': +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) + | ^~~~~~ atc/log.c: In function 'compar': atc/log.c:59:1: warning: old-style function definition [-Wold-style-definition] 59 | compar(va, vb) @@ -1353,7 +1392,16 @@ 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/data.c -o backgammon/teachgammon/data.o +backgammon/backgammon/extra.c: In function 'freemen': +backgammon/backgammon/extra.c:191:1: warning: old-style function definition [-Wold-style-definition] + 191 | freemen(b) + | ^~~~~~~ +backgammon/backgammon/extra.c: In function 'trapped': +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 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/text.c -o backgammon/backgammon/text.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/version.c -o backgammon/backgammon/version.o atc/main.c: In function 'main': atc/main.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | main(ac, av) @@ -1370,9 +1418,6 @@ atc/main.c:80:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | 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 -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 atc/update.c: In function 'update': atc/update.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | update(dummy) @@ -1401,92 +1446,84 @@ atc/update.c:404:1: warning: old-style function definition [-Wold-style-definition] 404 | dir_deg(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/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 -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 -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/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: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) - | ^ -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) - | ^ -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()); +backgammon/backgammon/main.c:472:38: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] + 472 | if (board[i] * cturn) + | ~~~~~~~~~^~~~~~~ +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/backgammon/move.c: In function 'move': +backgammon/backgammon/move.c:96:1: warning: old-style function definition [-Wold-style-definition] + 96 | move(okay) + | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -backgammon/teachgammon/ttext2.c: In function 'text': -backgammon/teachgammon/ttext2.c:130:1: warning: old-style function definition [-Wold-style-definition] - 130 | text(txt) +backgammon/backgammon/move.c: In function 'trymove': +backgammon/backgammon/move.c:188:1: warning: old-style function definition [-Wold-style-definition] + 188 | trymove(mvnum, swapped) + | ^~~~~~~ +backgammon/backgammon/move.c: In function 'binsert': +backgammon/backgammon/move.c:262:1: warning: old-style function definition [-Wold-style-definition] + 262 | binsert(new) + | ^~~~~~~ +backgammon/backgammon/move.c: In function 'bcomp': +backgammon/backgammon/move.c:304:1: warning: old-style function definition [-Wold-style-definition] + 304 | bcomp(a, b) + | ^~~~~ +backgammon/backgammon/move.c: In function 'mvcheck': +backgammon/backgammon/move.c:322:1: warning: old-style function definition [-Wold-style-definition] + 322 | mvcheck(incumbent, candidate) + | ^~~~~~~ +backgammon/backgammon/move.c: In function 'makefree': +backgammon/backgammon/move.c:345:1: warning: old-style function definition [-Wold-style-definition] + 345 | makefree(dead) + | ^~~~~~~~ +backgammon/backgammon/move.c: In function 'boardcopy': +backgammon/backgammon/move.c:397:1: warning: old-style function definition [-Wold-style-definition] + 397 | boardcopy(s) + | ^~~~~~~~~ +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/teachgammon/ttext2.c:133:29: warning: variable 'begin' set but not used [-Wunused-but-set-variable] - 133 | const char *const *begin; - | ^~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -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) - | ^~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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/fancy.c -o backgammon/common_source/fancy.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/init.c -o backgammon/common_source/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 -DEXEC_PATH=\"/usr/games/backgammon\" -DTEACH_PATH=\"/usr/games/teachgammon\" -Iinclude -Ibackgammon/common_source -c backgammon/common_source/odds.c -o backgammon/common_source/odds.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/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 +backgammon/common_source/check.c: In function 'movokay': backgammon/common_source/fancy.c: In function 'bsect': +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: + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 backgammon/common_source/fancy.c:190:1: warning: old-style function definition [-Wold-style-definition] 190 | bsect(b, rpos, cpos, cnext) | ^~~~~ -backgammon/common_source/check.c: In function 'movokay': +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) + | ^~~~ +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/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:108:1: warning: old-style function definition [-Wold-style-definition] - 108 | movokay(mv) - | ^~~~~~~ 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) @@ -1495,13 +1532,6 @@ backgammon/common_source/fancy.c:389:1: warning: old-style function definition [-Wold-style-definition] 389 | curmove(r, c) | ^~~~~~~ -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: - | ^~~~ 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) @@ -1510,6 +1540,7 @@ backgammon/common_source/fancy.c:689:1: warning: old-style function definition [-Wold-style-definition] 689 | getcaps(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 -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 backgammon/common_source/fancy.c: In function 'newpos': 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); @@ -1518,34 +1549,11 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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/extra.c -o backgammon/backgammon/extra.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/main.c -o backgammon/backgammon/main.o -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) - | ^~~~~~~ -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) - | ^~~~~~ -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) - | ^~~~~~ -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/one.c: In function 'backone': -backgammon/common_source/one.c:151:1: warning: old-style function definition [-Wold-style-definition] - 151 | backone(i) - | ^~~~~~~ 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) | ^~~~ +./substscr g m backgammon/backgammon/backgammon.6.in backgammon/backgammon/backgammon.6 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) @@ -1622,16 +1630,10 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -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/table.c: In function 'dotable': -backgammon/common_source/table.c:199:1: warning: old-style function definition [-Wold-style-definition] - 199 | dotable(c, 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 -DV7 -Iinclude -Ibackgammon/teachgammon -Ibackgammon/common_source -c backgammon/teachgammon/data.c -o backgammon/teachgammon/data.o +backgammon/common_source/one.c: In function 'makmove': backgammon/common_source/subs.c: In function 'errexit': +Generating backgammon/backgammon/backgammon.6 from backgammon/backgammon/backgammon.6.in backgammon/common_source/subs.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | errexit(s) | ^~~~~~~ @@ -1639,7 +1641,9 @@ backgammon/common_source/subs.c:73:1: warning: old-style function definition [-Wold-style-definition] 73 | addbuf(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 -DV7 -Iinclude -Ibackgammon/backgammon -Ibackgammon/common_source -c backgammon/backgammon/text.c -o backgammon/backgammon/text.o +backgammon/common_source/one.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | makmove(i) + | ^~~~~~~ backgammon/common_source/subs.c: In function 'writec': backgammon/common_source/subs.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | writec(c) @@ -1664,6 +1668,11 @@ backgammon/common_source/subs.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | getarg(arg) | ^~~~~~ +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) + | ^~~~~~ +backgammon/common_source/one.c: In function 'checkd': backgammon/common_source/subs.c: In function 'fixtty': backgammon/common_source/subs.c:434:1: warning: old-style function definition [-Wold-style-definition] 434 | fixtty(t) @@ -1672,95 +1681,106 @@ backgammon/common_source/subs.c:445:1: warning: old-style function definition [-Wold-style-definition] 445 | getout(dummy) | ^~~~~~ +backgammon/common_source/one.c:121:1: warning: old-style function definition [-Wold-style-definition] + 121 | checkd(d) + | ^~~~~~ 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/backgammon/extra.c: In function 'freemen': -backgammon/backgammon/extra.c:191:1: warning: old-style function definition [-Wold-style-definition] - 191 | freemen(b) - | ^~~~~~~ -backgammon/backgammon/extra.c: In function 'trapped': -backgammon/backgammon/extra.c:210:1: warning: old-style function definition [-Wold-style-definition] - 210 | trapped(n, inc) +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) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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/odds.c -o backgammon/common_source/odds.o -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/backgammon/main.c:472:38: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - 472 | if (board[i] * cturn) - | ~~~~~~~~~^~~~~~~ -backgammon/backgammon/main.c:103:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 103 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./substscr g m backgammon/backgammon/backgammon.6.in backgammon/backgammon/backgammon.6 -backgammon/backgammon/text.c: In function 'text': -Generating backgammon/backgammon/backgammon.6 from backgammon/backgammon/backgammon.6.in -backgammon/backgammon/text.c:110:1: warning: old-style function definition [-Wold-style-definition] - 110 | text(t) - | ^~~~ -backgammon/backgammon/move.c: In function 'move': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -backgammon/backgammon/move.c:96:1: warning: old-style function definition [-Wold-style-definition] - 96 | move(okay) - | ^~~~ -backgammon/backgammon/move.c: In function 'trymove': -backgammon/backgammon/move.c:188:1: warning: old-style function definition [-Wold-style-definition] - 188 | trymove(mvnum, swapped) +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) | ^~~~~~~ -backgammon/backgammon/move.c: In function 'binsert': -backgammon/backgammon/move.c:262:1: warning: old-style function definition [-Wold-style-definition] - 262 | binsert(new) +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 +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) + | ^~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 +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) | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -backgammon/backgammon/move.c: In function 'bcomp': -backgammon/backgammon/move.c:304:1: warning: old-style function definition [-Wold-style-definition] - 304 | bcomp(a, b) - | ^~~~~ -backgammon/backgammon/move.c: In function 'mvcheck': -backgammon/backgammon/move.c:322:1: warning: old-style function definition [-Wold-style-definition] - 322 | mvcheck(incumbent, candidate) - | ^~~~~~~ -backgammon/backgammon/move.c: In function 'makefree': -backgammon/backgammon/move.c:345:1: warning: old-style function definition [-Wold-style-definition] - 345 | makefree(dead) - | ^~~~~~~~ -backgammon/backgammon/move.c: In function 'boardcopy': -backgammon/backgammon/move.c:397:1: warning: old-style function definition [-Wold-style-definition] - 397 | boardcopy(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 -Ibattlestar -c battlestar/command2.c -o battlestar/command2.o -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) - | ^~~~ -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) - | ^~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -battlestar/battlestar.c: In function 'main': -battlestar/battlestar.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | main(argc, argv) +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) + | ^~~~~ +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) | ^~~~ -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/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) + | ^ +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) + | ^ +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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -battlestar/command1.c: In function 'moveplayer': -battlestar/command1.c:44:1: warning: old-style function definition [-Wold-style-definition] - 44 | moveplayer(thataway, token) - | ^~~~~~~~~~ -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. */ - | ^~~~~~~ +backgammon/teachgammon/ttext2.c: In function 'text': +backgammon/teachgammon/ttext2.c:130:1: warning: old-style function definition [-Wold-style-definition] + 130 | text(txt) + | ^~~~ +backgammon/teachgammon/ttext2.c:133:29: warning: variable 'begin' set but not used [-Wunused-but-set-variable] + 133 | const char *const *begin; + | ^~~~~ 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)) { @@ -1768,11 +1788,18 @@ battlestar/command2.c:257:17: note: here 257 | case -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 -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/command7.c -o battlestar/command7.o +battlestar/battlestar.c: In function 'main': +battlestar/battlestar.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | main(argc, argv) + | ^~~~ battlestar/command4.c: In function 'take': battlestar/command4.c:44:1: warning: old-style function definition [-Wold-style-definition] 44 | take(from) | ^~~~ +battlestar/battlestar.c:67:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 67 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ battlestar/command4.c: In function 'throw': battlestar/command4.c:189:1: warning: old-style function definition [-Wold-style-definition] 189 | throw(name) @@ -1781,19 +1808,15 @@ battlestar/command4.c:269:1: warning: old-style function definition [-Wold-style-definition] 269 | drop(name) | ^~~~ -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) - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -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/cypher.c -o battlestar/cypher.o +battlestar/command1.c: In function 'moveplayer': +battlestar/command1.c:44:1: warning: old-style function definition [-Wold-style-definition] + 44 | moveplayer(thataway, token) + | ^~~~~~~~~~ +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. */ + | ^~~~~~~ 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."); @@ -1807,8 +1830,23 @@ battlestar/command3.c:138:25: note: here 138 | case AMULET: | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +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) + | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +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/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 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); @@ -1834,20 +1872,15 @@ battlestar/cypher.c:418:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 418 | fgets(buffer, 10, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 battlestar/fly.c: In function 'succumb': battlestar/fly.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | succumb(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/globals.c -o battlestar/globals.o battlestar/fly.c: In function 'moveenemy': battlestar/fly.c:250:1: warning: old-style function definition [-Wold-style-definition] 250 | moveenemy(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/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 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) @@ -1856,7 +1889,11 @@ battlestar/getcom.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | getword(buf1, buf2, 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 -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 battlestar/init.c: In function 'initialize': battlestar/init.c:48:1: warning: old-style function definition [-Wold-style-definition] 48 | initialize(filename) @@ -1869,6 +1906,8 @@ battlestar/init.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | checkout(uname) | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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 */ @@ -1877,15 +1916,10 @@ battlestar/misc.c:58:1: warning: old-style function definition [-Wold-style-definition] 58 | ucard(array) | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -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 -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 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/bog.c -o boggle/boggle/bog.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/help.c -o boggle/boggle/help.o battlestar/parse.c: In function 'hash': battlestar/parse.c:63:1: warning: old-style function definition [-Wold-style-definition] 63 | hash(s) @@ -1898,6 +1932,76 @@ 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 +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 -DNEW_STYLE -Iinclude -Iboggle/boggle -c boggle/boggle/word.c -o boggle/boggle/word.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 +bcd/bcd.c: In function 'main': +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) + | ^~~~ +bcd/bcd.c:131:1: warning: old-style function definition [-Wold-style-definition] + 131 | main(argc, argv) + | ^~~~ +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +boggle/boggle/prtable.c: In function 'prtable': +boggle/boggle/prtable.c:66:1: warning: old-style function definition [-Wold-style-definition] + 66 | prtable(base, num, d_cols, width, prentry, length) + | ^~~~~~~ +boggle/boggle/prtable.c:74:13: warning: variable 'col' set but not used [-Wunused-but-set-variable] + 74 | int col, row; + | ^~~ +boggle/boggle/prtable.c: In function 'get_maxlen': +boggle/boggle/prtable.c:117:1: warning: old-style function definition [-Wold-style-definition] + 117 | get_maxlen(base, num, length) + | ^~~~~~~~~~ battlestar/save.c: In function 'restore': battlestar/save.c:44:1: warning: old-style function definition [-Wold-style-definition] 44 | restore(filename) @@ -2004,64 +2108,37 @@ 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/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) +boggle/boggle/timer.c: In function 'waitch': +boggle/boggle/timer.c:102:1: warning: old-style function definition [-Wold-style-definition] + 102 | waitch(delay) | ^~~~~~ -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: - | ^~~~~~~ -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/timer.c: In function 'delay': +boggle/boggle/timer.c:113:1: warning: old-style function definition [-Wold-style-definition] + 113 | delay(tenths) + | ^~~~~ +boggle/boggle/word.c: In function 'nextword': +boggle/boggle/word.c:68:1: warning: old-style function definition [-Wold-style-definition] + 68 | nextword(fp) | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -bcd/bcd.c: In function 'main': -bcd/bcd.c:131:1: warning: old-style function definition [-Wold-style-definition] - 131 | main(argc, argv) - | ^~~~ -bcd/bcd.c: In function 'printcard': -bcd/bcd.c:157:1: warning: old-style function definition [-Wold-style-definition] - 157 | printcard(str) +boggle/boggle/word.c: In function 'dictseek': +boggle/boggle/word.c:111:1: warning: old-style function definition [-Wold-style-definition] + 111 | dictseek(fp, offset, ptrname) + | ^~~~~~~~ +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/boggle/word.c: In function 'loaddict': +boggle/boggle/word.c:141:1: warning: old-style function definition [-Wold-style-definition] + 141 | loaddict(fp) + | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +boggle/boggle/word.c: In function 'loadindex': +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:138:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 138 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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) - | ^~~~ +./substscr g s caesar/rot13.in caesar/rot13 +Generating caesar/rot13 from caesar/rot13.in 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) @@ -2090,14 +2167,16 @@ 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 -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 +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) + | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -Icanfield/canfield -c canfield/canfield/canfield.c -o canfield/canfield/canfield.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) | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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) @@ -2123,8 +2202,6 @@ 374 | showword(n) | ^~~~~~~~ boggle/boggle/mach.c: In function 'showstr': -./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 boggle/boggle/mach.c:474:1: warning: old-style function definition [-Wold-style-definition] 474 | showstr(str, delaysecs) | ^~~~~~~ @@ -2148,7 +2225,6 @@ boggle/boggle/mach.c:593:1: warning: old-style function definition [-Wold-style-definition] 593 | stop_catcher(signo) | ^~~~~~~~~~~~ -Generating caesar/rot13 from caesar/rot13.in 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) @@ -2161,76 +2237,6 @@ 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 -Icanfield/canfield -c canfield/canfield/canfield.c -o canfield/canfield/canfield.o -boggle/boggle/prtable.c: In function 'prtable': -boggle/boggle/prtable.c:66:1: warning: old-style function definition [-Wold-style-definition] - 66 | prtable(base, num, d_cols, width, prentry, length) - | ^~~~~~~ -boggle/boggle/prtable.c:74:13: warning: variable 'col' set but not used [-Wunused-but-set-variable] - 74 | int col, row; - | ^~~ -boggle/boggle/prtable.c: In function 'get_maxlen': -boggle/boggle/prtable.c:117:1: warning: old-style function definition [-Wold-style-definition] - 117 | get_maxlen(base, num, length) - | ^~~~~~~~~~ -./substscr g m canfield/canfield/canfield.6.in canfield/canfield/canfield.6 -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/cards.c -o cribbage/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 -Icribbage -c cribbage/crib.c -o cribbage/crib.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) - | ^~~~~~~~ -boggle/boggle/word.c: In function 'dictseek': -boggle/boggle/word.c:111:1: warning: old-style function definition [-Wold-style-definition] - 111 | dictseek(fp, offset, ptrname) - | ^~~~~~~~ -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/boggle/word.c: In function 'loaddict': -boggle/boggle/word.c:141:1: warning: old-style function definition [-Wold-style-definition] - 141 | loaddict(fp) - | ^~~~~~~~ -boggle/boggle/word.c: In function 'loadindex': -boggle/boggle/word.c:188:1: warning: old-style function definition [-Wold-style-definition] - 188 | loadindex(indexfile) - | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -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) - | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -cribbage/cards.c: In function 'makedeck': -cribbage/cards.c:54:1: warning: old-style function definition [-Wold-style-definition] - 54 | makedeck(d) - | ^~~~~~~~ -cribbage/cards.c: In function 'shuffle': -cribbage/cards.c:75:1: warning: old-style function definition [-Wold-style-definition] - 75 | shuffle(d) - | ^~~~~~~ -cribbage/cards.c: In function 'eq': -cribbage/cards.c:93:1: warning: old-style function definition [-Wold-style-definition] - 93 | eq(a, b) - | ^~ -cribbage/cards.c: In function 'is_one': -cribbage/cards.c:103:1: warning: old-style function definition [-Wold-style-definition] - 103 | is_one(a, b, n) - | ^~~~~~ -cribbage/cards.c: In function 'cremove': -cribbage/cards.c:120:1: warning: old-style function definition [-Wold-style-definition] - 120 | cremove(a, d, n) - | ^~~~~~~ -cribbage/cards.c: In function 'sorthand': -cribbage/cards.c:138:1: warning: old-style function definition [-Wold-style-definition] - 138 | sorthand(h, n) - | ^~~~~~~~ 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) @@ -2246,7 +2252,9 @@ 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-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +./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 -Icribbage -c cribbage/cards.c -o cribbage/cards.o +Generating canfield/canfield/canfield.6 from canfield/canfield/canfield.6.in caesar/caesar.c: In function 'main': caesar/caesar.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | main(argc, argv) @@ -2259,9 +2267,6 @@ 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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 canfield/canfield/canfield.c: In function 'initdeck': canfield/canfield/canfield.c:517:1: warning: old-style function definition [-Wold-style-definition] 517 | initdeck(deck) @@ -2278,11 +2283,11 @@ canfield/canfield/canfield.c:578:1: warning: old-style function definition [-Wold-style-definition] 578 | printrank(a, b, cp, inverse) | ^~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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) | ^~~~~~~~~ -Generating cribbage/cribbage.6 from cribbage/cribbage.6.in 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) @@ -2359,12 +2364,43 @@ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cribbage/cards.c: In function 'makedeck': +cribbage/cards.c:54:1: warning: old-style function definition [-Wold-style-definition] + 54 | makedeck(d) + | ^~~~~~~~ +cribbage/cards.c: In function 'shuffle': +cribbage/cards.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | shuffle(d) + | ^~~~~~~ +cribbage/cards.c: In function 'eq': +cribbage/cards.c:93:1: warning: old-style function definition [-Wold-style-definition] + 93 | eq(a, b) + | ^~ +cribbage/cards.c: In function 'is_one': +cribbage/cards.c:103:1: warning: old-style function definition [-Wold-style-definition] + 103 | is_one(a, b, n) + | ^~~~~~ +cribbage/cards.c: In function 'cremove': +cribbage/cards.c:120:1: warning: old-style function definition [-Wold-style-definition] + 120 | cremove(a, d, n) + | ^~~~~~~ +cribbage/cards.c: In function 'sorthand': +cribbage/cards.c:138:1: warning: old-style function definition [-Wold-style-definition] + 138 | sorthand(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 -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 cribbage/crib.c: In function 'main': cribbage/crib.c:62:1: warning: old-style function definition [-Wold-style-definition] 62 | main(argc, argv) | ^~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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 cribbage/crib.c: In function 'playhand': cribbage/crib.c:303:1: warning: old-style function definition [-Wold-style-definition] 303 | playhand(mycrib) @@ -2385,6 +2421,7 @@ cribbage/crib.c:432:1: warning: old-style function definition [-Wold-style-definition] 432 | prcrib(mycrib, blank) | ^~~~~~ +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 cribbage/crib.c: In function 'peg': cribbage/crib.c:463:1: warning: old-style function definition [-Wold-style-definition] 463 | peg(mycrib) @@ -2397,36 +2434,38 @@ cribbage/crib.c:636:1: warning: old-style function definition [-Wold-style-definition] 636 | score(mycrib) | ^~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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-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++ +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 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/crib.c:79:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 79 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cribbage/score.c: In function 'fifteens': cribbage/score.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | fifteens(hand, n) | ^~~~~~~~ cribbage/score.c: In function 'pairuns': +cribbage/support.c: In function 'cchose': cribbage/score.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | pairuns(h, n) | ^~~~~~~ +cribbage/support.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | cchose(h, n, s) + | ^~~~~~ 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/score.c: In function 'adjust': -cribbage/score.c:351:1: warning: old-style function definition [-Wold-style-definition] - 351 | adjust(cb, tnv) - | ^~~~~~ -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 -cribbage/support.c: In function 'cchose': -cribbage/support.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | cchose(h, n, s) - | ^~~~~~ cribbage/support.c: In function 'plyrhand': +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 cribbage/support.c:127:1: warning: old-style function definition [-Wold-style-definition] 127 | plyrhand(hand, s) | ^~~~~~~~ @@ -2434,7 +2473,10 @@ cribbage/support.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | comphand(h, s) | ^~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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 'chkscr': cribbage/support.c:183:1: warning: old-style function definition [-Wold-style-definition] 183 | chkscr(scr, inc) @@ -2463,6 +2505,12 @@ cribbage/support.c:353:1: warning: old-style function definition [-Wold-style-definition] 353 | makeknown(h, n) | ^~~~~~~~~ +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 +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++ +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++ cribbage/io.c: In function 'msgcard': cribbage/io.c:81:1: warning: old-style function definition [-Wold-style-definition] 81 | msgcard(c, brief) @@ -2471,7 +2519,6 @@ cribbage/io.c:96:1: warning: old-style function definition [-Wold-style-definition] 96 | msgcrd(c, brfrank, mid, brfsuit) | ^~~~~~ -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 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) @@ -2504,13 +2551,6 @@ cribbage/io.c:585:1: warning: old-style function definition [-Wold-style-definition] 585 | receive_intr(signo) | ^~~~~~~~~~~~ -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++ -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/human.cc -o dab/human.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/main.cc -o dab/main.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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); @@ -2519,23 +2559,11 @@ 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-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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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 -gomoku/bdinit.c: In function 'bdinit': -gomoku/bdinit.c:48:1: warning: old-style function definition [-Wold-style-definition] - 48 | bdinit(bp) - | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 fish/fish.c: In function 'main': fish/fish.c:99:1: warning: old-style function definition [-Wold-style-definition] 99 | main(argc, argv) @@ -2557,7 +2585,6 @@ 327 | chkwinner(player, hand) | ^~~~~~~~~ fish/fish.c: In function 'printplayer': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 fish/fish.c:357:1: warning: old-style function definition [-Wold-style-definition] 357 | printplayer(player) | ^~~~~~~~~~~ @@ -2581,6 +2608,11 @@ 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 -Igomoku -c gomoku/main.c -o gomoku/main.o +gomoku/bdinit.c: In function 'bdinit': +gomoku/bdinit.c:48:1: warning: old-style function definition [-Wold-style-definition] + 48 | bdinit(bp) + | ^~~~~~ gomoku/bdisp.c: In function 'bdwho': gomoku/bdisp.c:120:1: warning: old-style function definition [-Wold-style-definition] 120 | bdwho(update) @@ -2597,36 +2629,24 @@ 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 -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 +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/makemove.c: In function 'makemove': gomoku/makemove.c:62:1: warning: old-style function definition [-Wold-style-definition] 62 | makemove(us, mv) | ^~~~~~~~ -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]; - | ^ -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/stoc.c: In function 'lton': -gomoku/stoc.c:103:1: warning: old-style function definition [-Wold-style-definition] - 103 | lton(c) - | ^~~~ -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/makemove.c: In function 'update_overlap': gomoku/main.c: In function 'readinput': gomoku/main.c:338:1: warning: old-style function definition [-Wold-style-definition] 338 | readinput(fp) @@ -2635,11 +2655,19 @@ gomoku/main.c:498:1: warning: old-style function definition [-Wold-style-definition] 498 | dlog(str) | ^~~~ +hack/alloc.c: In function 'alloc': gomoku/main.c: In function 'glog': gomoku/main.c:511:1: warning: old-style function definition [-Wold-style-definition] 511 | glog(str) | ^~~~ +hack/alloc.c:95:1: warning: old-style function definition [-Wold-style-definition] + 95 | alloc(lth) + | ^~~~~ gomoku/main.c: In function 'quitsig': +hack/alloc.c: In function 'enlarge': +hack/alloc.c:106:1: warning: old-style function definition [-Wold-style-definition] + 106 | enlarge(ptr, lth) + | ^~~~~~~ gomoku/main.c:534:1: warning: old-style function definition [-Wold-style-definition] 534 | quitsig(dummy) | ^~~~~~~ @@ -2647,11 +2675,33 @@ gomoku/main.c:544:1: warning: old-style function definition [-Wold-style-definition] 544 | panic(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.Decl.c -o hack/hack.Decl.o +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]; + | ^ gomoku/main.c: In function 'main': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 gomoku/main.c:98:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | 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.c -o hack/hack.o +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/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.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/pickmove.c: In function 'pickmove': gomoku/pickmove.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | pickmove(us) @@ -2664,14 +2714,6 @@ gomoku/pickmove.c:230:1: warning: old-style function definition [-Wold-style-definition] 230 | scanframes(color) | ^~~~~~~~~~ -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': -hack/alloc.c:106:1: warning: old-style function definition [-Wold-style-definition] - 106 | enlarge(ptr, lth) - | ^~~~~~~ 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) @@ -2711,28 +2753,39 @@ 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.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 hack/hack.c: In function 'seeoff': hack/hack.c:114:1: warning: old-style function definition [-Wold-style-definition] 114 | seeoff(mode) | ^~~~~~ +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.c: In function 'cansee': 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.c:747:1: warning: old-style function definition [-Wold-style-definition] + 747 | cansee(x, y) + | ^~~~~~ +hack/hack.c: In function 'sgn': +hack/hack.c:762:1: warning: old-style function definition [-Wold-style-definition] + 762 | sgn(a) + | ^~~ 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.c: In function 'movobj': -hack/hack.c:384:1: warning: old-style function definition [-Wold-style-definition] - 384 | movobj(obj, ox, oy) - | ^~~~~~ +hack/hack.c: In function 'nomul': +hack/hack.c:831:1: warning: old-style function definition [-Wold-style-definition] + 831 | nomul(nval) + | ^~~~~ +hack/hack.c: In function 'losestr': hack/hack.apply.c: In function 'ck_ice_box': +hack/hack.c:881:1: warning: old-style function definition [-Wold-style-definition] + 881 | losestr(num) /* may kill you; cause may be poison or */ + | ^~~~~~~ hack/hack.apply.c:223:1: warning: old-style function definition [-Wold-style-definition] 223 | ck_ice_box(obj) | ^~~~~~~~~~ @@ -2740,6 +2793,14 @@ hack/hack.apply.c:230:1: warning: old-style function definition [-Wold-style-definition] 230 | out_ice_box(obj) | ^~~~~~~~~~~ +hack/hack.c: In function 'losehp': +hack/hack.c:894:1: warning: old-style function definition [-Wold-style-definition] + 894 | losehp(n, knam) + | ^~~~~~ +hack/hack.c: In function 'losehp_m': +hack/hack.c:909:1: warning: old-style function definition [-Wold-style-definition] + 909 | losehp_m(n, mtmp) + | ^~~~~~~~ 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) @@ -2756,48 +2817,6 @@ 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.c: In function 'cansee': -hack/hack.c:747:1: warning: old-style function definition [-Wold-style-definition] - 747 | cansee(x, y) - | ^~~~~~ -hack/hack.c: In function 'sgn': -hack/hack.c:762:1: warning: old-style function definition [-Wold-style-definition] - 762 | sgn(a) - | ^~~ -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.c: In function 'nomul': -hack/hack.c:831:1: warning: old-style function definition [-Wold-style-definition] - 831 | nomul(nval) - | ^~~~~ -hack/hack.c: In function 'losestr': -hack/hack.c:881:1: warning: old-style function definition [-Wold-style-definition] - 881 | losestr(num) /* may kill you; cause may be poison or */ - | ^~~~~~~ -hack/hack.c: In function 'losehp': -hack/hack.c:894:1: warning: old-style function definition [-Wold-style-definition] - 894 | losehp(n, knam) - | ^~~~~~ -hack/hack.c: In function 'losehp_m': -hack/hack.c:909:1: warning: old-style function definition [-Wold-style-definition] - 909 | losehp_m(n, mtmp) - | ^~~~~~~~ -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: - | ^~~~ 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", | ^~ @@ -2816,11 +2835,52 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.do_name.c -o hack/hack.do_name.o +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) + | ^~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +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 '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: + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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.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 <> */ + | ^~~~~~~ +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) + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 hack/hack.do.c: In function 'drop': hack/hack.do.c:87:1: warning: old-style function definition [-Wold-style-definition] 87 | drop(obj) @@ -2837,6 +2897,8 @@ 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.engrave.c -o hack/hack.engrave.o +hack/hack.do_name.c: In function 'getpos': 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) @@ -2849,31 +2911,29 @@ hack/hack.do.c:566:1: warning: old-style function definition [-Wold-style-definition] 566 | set_wounded_legs(side, timex) | ^~~~~~~~~~~~~~~~ -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 <> */ +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.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_wear.c: In function 'dorr': +hack/hack.do_wear.c:141:1: warning: old-style function definition [-Wold-style-definition] + 141 | dorr(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.do_wear.c -o hack/hack.do_wear.o -hack/hack.do_name.c: In function 'getpos': +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) + | ^~~~~~~~ hack/hack.do_name.c:74:1: warning: old-style function definition [-Wold-style-definition] 74 | getpos(force, goal) | ^~~~~~ +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.do_name.c: In function 'do_oname': hack/hack.do_name.c:169:1: warning: old-style function definition [-Wold-style-definition] 169 | do_oname(obj) @@ -2914,6 +2974,7 @@ 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.fight.c -o hack/hack.fight.o 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) { @@ -2921,65 +2982,6 @@ hack/hack.do_name.c:298:9: note: here 298 | 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 -Ihack -c hack/hack.dog.c -o hack/hack.dog.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.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) - | ^~~~~~~~ -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) - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -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) - | ^~~~~~~~~ -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: - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.eat.c: In function 'morehungry': hack/hack.eat.c:367:1: warning: old-style function definition [-Wold-style-definition] 367 | morehungry(num) @@ -3000,7 +3002,6 @@ hack/hack.eat.c:460:1: warning: old-style function definition [-Wold-style-definition] 460 | eatcorpse(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.invent.c -o hack/hack.invent.o hack/hack.eat.c:495:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 495 | flags.botl = 1; | ~~~~~~~~~~~^~~ @@ -3025,6 +3026,62 @@ hack/hack.eat.c:541:9: note: here 541 | case 'a': | ^~~~ +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) + | ^~~~~~~~~ +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) + | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.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.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.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.fight.c:346:1: warning: old-style function definition [-Wold-style-definition] + 346 | attack(mtmp) + | ^~~~~~ hack/hack.end.c: In function 'done1': hack/hack.end.c:88:1: warning: old-style function definition [-Wold-style-definition] 88 | done1(n) @@ -3045,6 +3102,14 @@ hack/hack.end.c:154:1: warning: old-style function definition [-Wold-style-definition] 154 | done(st1) | ^~~~ +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.end.c: In function 'itoa': hack/hack.end.c:578:1: warning: old-style function definition [-Wold-style-definition] 578 | itoa(a) @@ -3053,6 +3118,7 @@ hack/hack.end.c:587:1: warning: old-style function definition [-Wold-style-definition] 587 | ordin(n) | ^~~~~ +hack/hack.engrave.c: In function 'u_wipe_engr': hack/hack.end.c: In function 'eos': hack/hack.end.c:619:1: warning: old-style function definition [-Wold-style-definition] 619 | eos(s) @@ -3065,15 +3131,6 @@ hack/hack.end.c:644:1: warning: old-style function definition [-Wold-style-definition] 644 | prscore(argc, argv) | ^~~~~~~ -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) | ^~~~~~~~~~~ @@ -3101,35 +3158,8 @@ hack/hack.engrave.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | del_engr(ep) | ^~~~~~~~ -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.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 */ - | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -hack/hack.fight.c: In function 'attack': -hack/hack.fight.c:346:1: warning: old-style function definition [-Wold-style-definition] - 346 | attack(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.lev.c -o hack/hack.lev.o hack/hack.invent.c: In function 'assigninvlet': hack/hack.invent.c:85:1: warning: old-style function definition [-Wold-style-definition] 85 | assigninvlet(otmp) @@ -3162,7 +3192,6 @@ hack/hack.invent.c:243:1: warning: old-style function definition [-Wold-style-definition] 243 | deltrap(trap) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.invent.c: In function 'm_at': hack/hack.invent.c:260:1: warning: old-style function definition [-Wold-style-definition] 260 | m_at(x, y) @@ -3215,7 +3244,6 @@ hack/hack.invent.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | askchain(objchn, olets, allflag, fn, ckfn, max) | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.invent.c: In function 'obj_to_let': hack/hack.invent.c:700:1: warning: old-style function definition [-Wold-style-definition] 700 | obj_to_let(obj) /* should of course only be called for things @@ -3251,7 +3279,6 @@ 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.makemon.c -o hack/hack.makemon.o 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) : "-"); @@ -3269,18 +3296,19 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -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.makemon.c: In function 'enexto': +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]; + | ^~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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) | ^~~~~~~ -hack/hack.makemon.c:183:1: warning: old-style function definition [-Wold-style-definition] - 183 | enexto(xx, yy) - | ^~~~~~ hack/hack.lev.c: In function 'bwrite': hack/hack.lev.c:133:1: warning: old-style function definition [-Wold-style-definition] 133 | bwrite(fd, loc, num) @@ -3298,25 +3326,35 @@ 188 | savegoldchn(fd, gold) | ^~~~~~~~~~~ hack/hack.lev.c: In function 'savetrapchn': -hack/hack.makemon.c: In function 'rloc': hack/hack.lev.c:203:1: warning: old-style function definition [-Wold-style-definition] 203 | savetrapchn(fd, trap) | ^~~~~~~~~~~ -hack/hack.makemon.c:239:1: warning: old-style function definition [-Wold-style-definition] - 239 | rloc(mtmp) - | ^~~~ hack/hack.lev.c: In function 'getlev': hack/hack.lev.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | getlev(fd, pid, lev) | ^~~~~~ -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.lev.c: In function 'mread': hack/hack.lev.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | mread(fd, buf, len) | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.makemon.c: In function 'enexto': +hack/hack.makemon.c:183:1: warning: old-style function definition [-Wold-style-definition] + 183 | enexto(xx, yy) + | ^~~~~~ +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': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.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) @@ -3331,18 +3369,7 @@ 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.mhitu.c -o hack/hack.mhitu.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.mklev.c -o hack/hack.mklev.o -hack/hack.mhitu.c: In function 'mhitu': -hack/hack.mhitu.c:77:1: warning: old-style function definition [-Wold-style-definition] - 77 | mhitu(mtmp) - | ^~~~~ -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) - | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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) @@ -3371,6 +3398,7 @@ hack/hack.mklev.c:453:1: warning: old-style function definition [-Wold-style-definition] 453 | maker(lowx, ddx, lowy, ddy) | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 'join': hack/hack.mklev.c:563:1: warning: old-style function definition [-Wold-style-definition] 563 | join(a, b) @@ -3383,6 +3411,14 @@ hack/hack.mklev.c:773:1: warning: old-style function definition [-Wold-style-definition] 773 | mktrap(num, mazeflag, croom) | ^~~~~~ +hack/hack.mhitu.c: In function 'mhitu': +hack/hack.mhitu.c:77:1: warning: old-style function definition [-Wold-style-definition] + 77 | mhitu(mtmp) + | ^~~~~ +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) + | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.mkmaze.c: In function 'walkfrom': hack/hack.mkmaze.c:155:1: warning: old-style function definition [-Wold-style-definition] @@ -3396,7 +3432,6 @@ 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.mon.c -o hack/hack.mon.o 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) @@ -3421,7 +3456,6 @@ hack/hack.mkobj.c:203:1: warning: old-style function definition [-Wold-style-definition] 203 | weight(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.monst.c -o hack/hack.monst.o 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) @@ -3429,9 +3463,7 @@ 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.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.mon.c -o hack/hack.mon.o hack/hack.mkshop.c: In function 'mkzoo': hack/hack.mkshop.c:212:1: warning: old-style function definition [-Wold-style-definition] 212 | mkzoo(type) @@ -3460,59 +3492,13 @@ hack/hack.mkshop.c:363:1: warning: old-style function definition [-Wold-style-definition] 363 | sq(a) | ^~ -hack/hack.o_init.c: In function 'letindex': -hack/hack.o_init.c:76:1: warning: old-style function definition [-Wold-style-definition] - 76 | letindex(let) - | ^~~~~~~~ -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.o_init.c: In function 'savenames': -hack/hack.o_init.c:179:1: warning: old-style function definition [-Wold-style-definition] - 179 | savenames(fd) - | ^~~~~~~~~ -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) - | ^~~~~~~~~ -hack/hack.o_init.c:226:45: warning: passing argument 2 of 'mread' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 226 | mread(fd, objects[i].oc_name, len); - | ~~~~~~~~~~^~~~~~~~ -In file included from hack/hack.o_init.c:71: -hack/extern.h:252:17: note: expected 'char *' but argument is of type 'const char *' - 252 | void mread(int, char *, unsigned); - | ^~~~~~ -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.o_init.c: In function 'interesting_to_discover': -hack/hack.o_init.c:261:1: warning: old-style function definition [-Wold-style-definition] - 261 | interesting_to_discover(i) - | ^~~~~~~~~~~~~~~~~~~~~~~ -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': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.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.objnam.c:152:1: warning: old-style function definition [-Wold-style-definition] - 152 | xname(obj) - | ^~~~~ 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) @@ -3525,7 +3511,6 @@ hack/hack.mon.c:235:1: warning: old-style function definition [-Wold-style-definition] 235 | dochug(mtmp) | ^~~~~~ -hack/hack.objnam.c: In function 'doname': hack/hack.mon.c: In function 'mpickgold': hack/hack.mon.c:548:1: warning: old-style function definition [-Wold-style-definition] 548 | mpickgold(mtmp) @@ -3567,33 +3552,17 @@ 785 | unstuck(mtmp) | ^~~~~~~ hack/hack.mon.c: In function 'killed': -hack/hack.objnam.c:317:1: warning: old-style function definition [-Wold-style-definition] - 317 | doname(obj) - | ^~~~~~ hack/hack.mon.c:801:1: warning: old-style function definition [-Wold-style-definition] 801 | killed(mtmp) | ^~~~~~ -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.mon.c: In function 'newcham': -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.mon.c:952:1: warning: old-style function definition [-Wold-style-definition] 952 | newcham(mtmp, mdat) /* make a chameleon look like a new monster */ | ^~~~~~~ -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 'mnexto': hack/hack.mon.c:997:1: warning: old-style function definition [-Wold-style-definition] 997 | mnexto(mtmp) /* Make monster mtmp next to you (if | ^~~~~~ -hack/hack.options.c: In function 'parseoptions': hack/hack.mon.c: In function 'ishuman': hack/hack.mon.c:1009:1: warning: old-style function definition [-Wold-style-definition] 1009 | ishuman(mtmp) @@ -3606,22 +3575,87 @@ hack/hack.mon.c:1033:1: warning: old-style function definition [-Wold-style-definition] 1033 | canseemon(mtmp) | ^~~~~~~~~ -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.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 +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) + | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.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.o_init.c: In function 'letindex': +hack/hack.o_init.c:76:1: warning: old-style function definition [-Wold-style-definition] + 76 | letindex(let) + | ^~~~~~~~ +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.o_init.c: In function 'savenames': +hack/hack.o_init.c:179:1: warning: old-style function definition [-Wold-style-definition] + 179 | savenames(fd) + | ^~~~~~~~~ +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) + | ^~~~~~~~~ hack/hack.objnam.c: In function 'xname': +hack/hack.o_init.c:226:45: warning: passing argument 2 of 'mread' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 226 | mread(fd, objects[i].oc_name, len); + | ~~~~~~~~~~^~~~~~~~ hack/hack.objnam.c:178:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 178 | if (obj->otyp == DEAD_HOMUNCULUS && pl) { | ^ +In file included from hack/hack.o_init.c:71: +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.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:197:9: note: here 197 | case ARMOR_SYM: | ^~~~ +hack/hack.o_init.c: In function 'interesting_to_discover': +hack/hack.o_init.c:261:1: warning: old-style function definition [-Wold-style-definition] + 261 | interesting_to_discover(i) + | ^~~~~~~~~~~~~~~~~~~~~~~ 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) @@ -3629,54 +3663,32 @@ hack/hack.objnam.c:335:9: note: here 335 | case WEAPON_SYM: | ^~~~ -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.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.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.pri.c -o hack/hack.pri.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.read.c -o hack/hack.read.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.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.objnam.c: In function 'aobjnam': +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 */ | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -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); | ^~~~~~~~~~~~ -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() */ - | ^~~~~~~~ -hack/hack.read.c: In function 'litroom': -hack/hack.read.c:541:1: warning: old-style function definition [-Wold-style-definition] - 541 | litroom(on) - | ^~~~~~~ +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) + | ^~~~~~~~~~~~~~~ +hack/hack.potion.c: In function 'potionhit': +hack/hack.potion.c:300:1: warning: old-style function definition [-Wold-style-definition] + 300 | potionhit(mon, obj) + | ^~~~~~~~~ +hack/hack.potion.c: In function 'potionbreathe': +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.rip.c -o hack/hack.rip.o hack/hack.pri.c: In function 'atl': -hack/hack.read.c: In function 'monstersym': hack/hack.pri.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | atl(x, y, ch) | ^~~ -hack/hack.read.c:630:1: warning: old-style function definition [-Wold-style-definition] - 630 | monstersym(ch) /* arnold@ucsfcgl */ - | ^~~~~~~~~~ hack/hack.pri.c: In function 'on_scr': hack/hack.pri.c:140:1: warning: old-style function definition [-Wold-style-definition] 140 | on_scr(x, y) @@ -3718,49 +3730,38 @@ 539 | prl1(x, y) | ^~~~ hack/hack.pri.c: In function 'nose1': -hack/hack.potion.c: In function 'strange_feeling': hack/hack.pri.c:562:1: warning: old-style function definition [-Wold-style-definition] 562 | nose1(x, y) | ^~~~~ -hack/hack.potion.c:282:1: warning: old-style function definition [-Wold-style-definition] - 282 | strange_feeling(obj, txt) - | ^~~~~~~~~~~~~~~ +hack/hack.pager.c: In function 'intruph': hack/hack.pri.c: In function 'vism_at': hack/hack.pri.c:586:1: warning: old-style function definition [-Wold-style-definition] 586 | vism_at(x, y) | ^~~~~~~ -hack/hack.potion.c: In function 'potionhit': -hack/hack.potion.c:300:1: warning: old-style function definition [-Wold-style-definition] - 300 | potionhit(mon, obj) - | ^~~~~~~~~ +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.pri.c: In function 'unpobj': hack/hack.pri.c:622:1: warning: old-style function definition [-Wold-style-definition] 622 | unpobj(obj) | ^~~~~~ hack/hack.pri.c: In function 'pmon': -hack/hack.potion.c: In function 'potionbreathe': hack/hack.pri.c:668:1: warning: old-style function definition [-Wold-style-definition] 668 | pmon(mon) | ^~~~ -hack/hack.potion.c:370:1: warning: old-style function definition [-Wold-style-definition] - 370 | potionbreathe(obj) - | ^~~~~~~~~~~~~ +hack/hack.pager.c:136:1: warning: old-style function definition [-Wold-style-definition] + 136 | page_more(fp, strip) + | ^~~~~~~~~ hack/hack.pri.c: In function 'unpmon': hack/hack.pri.c:688:1: warning: old-style function definition [-Wold-style-definition] 688 | unpmon(mon) | ^~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.pri.c: In function 'cornbot': hack/hack.pri.c:720:1: warning: old-style function definition [-Wold-style-definition] 720 | cornbot(lth) | ^~~~~~~ -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) @@ -3777,10 +3778,10 @@ 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.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.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.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()); @@ -3791,6 +3792,32 @@ 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.save.c -o hack/hack.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 -Ihack -c hack/hack.search.c -o hack/hack.search.o +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.rip.c: In function 'center': +hack/hack.rip.c:128:1: warning: old-style function definition [-Wold-style-definition] + 128 | center(line, text) + | ^~~~~~ +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() */ + | ^~~~~~~~ +hack/hack.read.c: In function 'litroom': +hack/hack.read.c:541:1: warning: old-style function definition [-Wold-style-definition] + 541 | litroom(on) + | ^~~~~~~ +hack/hack.read.c: In function 'monstersym': +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) @@ -3803,14 +3830,25 @@ hack/hack.rumors.c:146:1: warning: old-style function definition [-Wold-style-definition] 146 | used(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.rip.c: In function 'center': -hack/hack.rip.c:128:1: warning: old-style function definition [-Wold-style-definition] - 128 | center(line, text) +hack/hack.search.c: In function 'wakeup': +hack/hack.search.c:198:1: warning: old-style function definition [-Wold-style-definition] + 198 | wakeup(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.shk.c -o hack/hack.shk.o +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.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.shknam.c -o hack/hack.shknam.o hack/hack.save.c: In function 'hangup': hack/hack.save.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | hangup(n) @@ -3828,26 +3866,21 @@ 246 | restobjchn(fd) | ^~~~~~~~~~ hack/hack.save.c: In function 'restmonchn': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.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.search.c -o hack/hack.search.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.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.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) - | ^~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.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.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.shk.c: In function 'shkname': hack/hack.shk.c:199:1: warning: old-style function definition [-Wold-style-definition] 199 | shkname(mtmp) /* called in do_name.c */ @@ -3860,6 +3893,7 @@ hack/hack.shk.c:222:1: warning: old-style function definition [-Wold-style-definition] 222 | replshk(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.topl.c -o hack/hack.topl.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) @@ -3909,6 +3943,10 @@ 936 | shkcatch(obj) | ^~~~~~~~ hack/hack.shk.c: In function 'shk_move': +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.shk.c:958:1: warning: old-style function definition [-Wold-style-definition] 958 | shk_move(shkp) | ^~~~~~~~ @@ -3920,7 +3958,6 @@ hack/hack.shk.c:1160:1: warning: old-style function definition [-Wold-style-definition] 1160 | follower(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.timeout.c -o hack/hack.timeout.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?"); @@ -3928,18 +3965,32 @@ hack/hack.shk.c:913:9: note: here 913 | case BALL_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.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.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.track.c -o hack/hack.track.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) + | ^~~~~ +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) + | ^~~~~~ 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.termcap.c: In function 'nocmov': -hack/hack.steal.c:82:1: warning: old-style function definition [-Wold-style-definition] - 82 | stealgold(mtmp) - | ^~~~~~~~~ hack/hack.termcap.c:190:1: warning: old-style function definition [-Wold-style-definition] 190 | nocmov(x, y) | ^~~~~~ @@ -3955,23 +4006,7 @@ hack/hack.termcap.c:255:1: warning: old-style function definition [-Wold-style-definition] 255 | xputs(s) | ^~~~~ -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.tty.c -o hack/hack.tty.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.topl.c: In function 'addtopl': hack/hack.topl.c:140:1: warning: old-style function definition [-Wold-style-definition] 140 | addtopl(s) @@ -4000,14 +4035,24 @@ hack/hack.topl.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | putstr(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.tty.c -o hack/hack.tty.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.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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.track.c: In function 'gettrack': hack/hack.track.c:98:1: warning: old-style function definition [-Wold-style-definition] 98 | gettrack(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 -Ihack -c hack/hack.unix.c -o hack/hack.unix.o hack/hack.trap.c: In function 'maketrap': -hack/hack.tty.c: In function 'settty': +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) + | ^~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.trap.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | maketrap(x, y, typ) | ^~~~~~~~ @@ -4019,69 +4064,12 @@ hack/hack.trap.c:209:1: warning: old-style function definition [-Wold-style-definition] 209 | mintrap(mtmp) | ^~~~~~~ -hack/hack.trap.c: In function 'selftouch': -hack/hack.tty.c:151:1: warning: old-style function definition [-Wold-style-definition] - 151 | settty(s) - | ^~~~~~ -hack/hack.tty.c: In function 'getlin': -hack/hack.tty.c:222:1: warning: old-style function definition [-Wold-style-definition] - 222 | getlin(bufp) - | ^~~~~~ -hack/hack.tty.c: In function 'cgetret': -hack/hack.trap.c:302:1: warning: old-style function definition [-Wold-style-definition] - 302 | selftouch(arg) - | ^~~~~~~~~ -hack/hack.trap.c: In function 'teleds': -hack/hack.tty.c:277:1: warning: old-style function definition [-Wold-style-definition] - 277 | cgetret(s) - | ^~~~~~~ -hack/hack.tty.c: In function 'xwaitforspace': -hack/hack.tty.c:294:1: warning: old-style function definition [-Wold-style-definition] - 294 | xwaitforspace(s) - | ^~~~~~~~~~~~~ -hack/hack.trap.c:391:1: warning: old-style function definition [-Wold-style-definition] - 391 | teleds(nux, nuy) - | ^~~~~~ -hack/hack.trap.c: In function 'teleok': -hack/hack.trap.c:418:1: warning: old-style function definition [-Wold-style-definition] - 418 | teleok(x, y) - | ^~~~~~ -hack/hack.trap.c: In function 'placebc': -hack/hack.trap.c:449:1: warning: old-style function definition [-Wold-style-definition] - 449 | placebc(attach) - | ^~~~~~~ -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) - | ~~~~~~~~~~^~~~~~~~~~~ -hack/hack.trap.c:340:17: note: here - 340 | 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 -Ihack -c hack/hack.vault.c -o hack/hack.vault.o -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) - | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.unix.c: In function 'gethdate': hack/hack.unix.c:165:1: warning: old-style function definition [-Wold-style-definition] 165 | gethdate(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.wield.c -o hack/hack.wield.o -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.wizard.c -o hack/hack.wizard.o hack/hack.vault.c: In function 'restfakecorr': +hack/hack.trap.c: In function 'selftouch': 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]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4100,12 +4088,19 @@ hack/hack.vault.c:127:23: note: in expansion of macro 'EGD' 127 | fcx = EGD->fakecorr[fcbeg].fx; | ^~~ +hack/hack.trap.c:302:1: warning: old-style function definition [-Wold-style-definition] + 302 | selftouch(arg) + | ^~~~~~~~~ +hack/hack.unix.c: In function 'veryold': 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:128:23: note: in expansion of macro 'EGD' 128 | fcy = EGD->fakecorr[fcbeg].fy; | ^~~ +hack/hack.unix.c:229:1: warning: old-style function definition [-Wold-style-definition] + 229 | veryold(fd) + | ^~~~~~~ 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]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4137,12 +4132,32 @@ 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.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 'teleds': +hack/hack.trap.c:391:1: warning: old-style function definition [-Wold-style-definition] + 391 | teleds(nux, nuy) + | ^~~~~~ +hack/hack.trap.c: In function 'teleok': +hack/hack.trap.c:418:1: warning: old-style function definition [-Wold-style-definition] + 418 | teleok(x, y) + | ^~~~~~ 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.trap.c: In function 'placebc': +hack/hack.trap.c:449:1: warning: old-style function definition [-Wold-style-definition] + 449 | placebc(attach) + | ^~~~~~~ +hack/hack.tty.c: In function 'settty': +hack/hack.tty.c:151:1: warning: old-style function definition [-Wold-style-definition] + 151 | settty(s) + | ^~~~~~ 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]))) @@ -4150,6 +4165,10 @@ hack/hack.vault.c:220:17: note: in expansion of macro 'EGD' 220 | EGD->gddone = 0; | ^~~ +hack/hack.tty.c: In function 'getlin': +hack/hack.tty.c:222:1: warning: old-style function definition [-Wold-style-definition] + 222 | getlin(bufp) + | ^~~~~~ 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]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4174,12 +4193,16 @@ hack/hack.vault.c:251:17: note: in expansion of macro 'EGD' 251 | EGD->fakecorr[0].fx = x; | ^~~ +hack/hack.tty.c: In function 'cgetret': 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:252:17: note: in expansion of macro 'EGD' 252 | EGD->fakecorr[0].fy = y; | ^~~ +hack/hack.tty.c:277:1: warning: old-style function definition [-Wold-style-definition] + 277 | cgetret(s) + | ^~~~~~~ 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]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4192,6 +4215,10 @@ hack/hack.vault.c:255:17: note: in expansion of macro 'EGD' 255 | EGD->fcend = 1; | ^~~ +hack/hack.tty.c: In function 'xwaitforspace': +hack/hack.tty.c:294:1: warning: old-style function definition [-Wold-style-definition] + 294 | xwaitforspace(s) + | ^~~~~~~~~~~~~ hack/hack.vault.c: In function 'gd_move': 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]))) @@ -4229,6 +4256,13 @@ hack/hack.vault.c:296:57: note: in expansion of macro 'EGD' 296 | EGD->gddone = 1; | ^~~ +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) + | ~~~~~~~~~~^~~~~~~~~~~ +hack/hack.trap.c:340:17: note: here + 340 | default: + | ^~~~~~~ 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]))) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4265,6 +4299,13 @@ hack/hack.vault.c:354:13: note: in expansion of macro 'EGD' 354 | if (EGD->gddone) | ^~~ +hack/hack.vault.c: In function 'replgd': +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.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 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", @@ -4285,23 +4326,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -hack/hack.vault.c: In function 'replgd': -hack/hack.vault.c:370:1: warning: old-style function definition [-Wold-style-definition] - 370 | replgd(mtmp, mtmp2) - | ^~~~~~ -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.wield.c: In function 'chwepon': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.wield.c:132:1: warning: old-style function definition [-Wold-style-definition] - 132 | chwepon(otmp, amount) - | ^~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.wizard.c: In function 'wiz_hit': hack/hack.wizard.c:105:1: warning: old-style function definition [-Wold-style-definition] 105 | wiz_hit(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/rnd.c -o hack/rnd.o hack/hack.wizard.c: In function 'inrange': hack/hack.wizard.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | inrange(mtmp) @@ -4310,7 +4341,6 @@ hack/hack.wizard.c:269:1: warning: old-style function definition [-Wold-style-definition] 269 | clonewiz(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.worn.c -o hack/hack.worn.o 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 @@ -4318,62 +4348,10 @@ hack/hack.wizard.c:222:33: note: here 222 | case 2: | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 Generating hack/hack.6 from hack/hack.6.in -hack/hack.worm.c: In function 'getwn': -hack/hack.worm.c:80:1: warning: old-style function definition [-Wold-style-definition] - 80 | getwn(mtmp) - | ^~~~~ -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.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) - | ^~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 hack/hack.zap.c: In function 'bhitm': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.zap.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | bhitm(mtmp, otmp) | ^~~~~ @@ -4381,8 +4359,8 @@ 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 | ^~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 hack/hack.zap.c: In function 'exclam': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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.zap.c:340:1: warning: old-style function definition [-Wold-style-definition] 340 | exclam(force) | ^~~~~~ @@ -4407,9 +4385,13 @@ 495 | buzz(type, sx, sy, dx, dy) | ^~~~ hack/hack.zap.c: In function 'zhit': +hack/hack.wield.c: In function 'setuwep': hack/hack.zap.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | zhit(mon, type) /* returns damage to mon */ | ^~~~ +hack/hack.wield.c:73:1: warning: old-style function definition [-Wold-style-definition] + 73 | setuwep(obj) + | ^~~~~~~ hack/hack.zap.c: In function 'revive': hack/hack.zap.c:693:1: warning: old-style function definition [-Wold-style-definition] 693 | revive(obj) @@ -4418,10 +4400,62 @@ hack/hack.zap.c:711:1: warning: old-style function definition [-Wold-style-definition] 711 | rloco(obj) | ^~~~~ +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 '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.worm.c: In function 'getwn': +hack/hack.worm.c:80:1: warning: old-style function definition [-Wold-style-definition] + 80 | getwn(mtmp) + | ^~~~~ +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.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) @@ -4438,6 +4472,8 @@ 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/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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 @@ -4446,13 +4482,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/setup.c -o hangman/setup.o ./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 -mille/end.c: In function 'finalscore': -mille/end.c:52:1: warning: old-style function definition [-Wold-style-definition] - 52 | finalscore(pp) - | ^~~~~~~~~~ +Generating hangman/hangman.6 from hangman/hangman.6.in hangman/main.c: In function 'main': hangman/main.c:53:1: warning: old-style function definition [-Wold-style-definition] 53 | main(argc, argv) @@ -4465,7 +4496,17 @@ hangman/main.c:60:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | 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 -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/mille.c -o mille/mille.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/misc.c -o mille/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 -Imille -c mille/move.c -o mille/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 -Imille -c mille/print.c -o mille/print.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 -Imille -c mille/roll.c -o mille/roll.o mille/comp.c: In function 'calcmove': mille/comp.c:98:33: warning: increment of a boolean expression [-Wbool-operation] 98 | ++cango; @@ -4473,10 +4514,8 @@ mille/comp.c:199:45: warning: decrement of a boolean expression [-Wbool-operation] 199 | if (--cango <= 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 -Imille -c mille/mille.c -o mille/mille.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/save.c -o mille/save.o mille/comp.c: In function 'onecard': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/misc.c -o mille/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 -Imille -c mille/move.c -o mille/move.o mille/comp.c:406:1: warning: old-style function definition [-Wold-style-definition] 406 | onecard(pp) | ^~~~~~~ @@ -4484,6 +4523,7 @@ 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 -Imille -c mille/types.c -o mille/types.o mille/comp.c: In function 'calcmove': mille/comp.c:216:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 216 | if (++count200 > 2) { @@ -4498,7 +4538,27 @@ 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 -Imille -c mille/print.c -o mille/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 -Imille -c mille/varpush.c -o mille/varpush.o +mille/mille.c: In function 'main': +mille/mille.c:54:1: warning: old-style function definition [-Wold-style-definition] + 54 | main(ac, av) + | ^~~~ +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/mille.c:154:1: warning: old-style function definition [-Wold-style-definition] + 154 | die(code) + | ^~~ +mille/mille.c: In function 'main': +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/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/misc.c: In function 'error': mille/misc.c:65:9: warning: 'vwprintw' is deprecated [-Wdeprecated-declarations] 65 | vwprintw(Score, str, ap); @@ -4508,10 +4568,6 @@ /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 */ | ^~~~~~~~ -mille/move.c: In function 'playcard': -mille/move.c:202:1: warning: old-style function definition [-Wold-style-definition] - 202 | playcard(pp) - | ^~~~~~~~ mille/misc.c: In function 'check_ext': mille/misc.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | check_ext(forcomp) @@ -4520,10 +4576,14 @@ mille/misc.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | getyn(promptno) | ^~~~~ -mille/mille.c: In function 'main': -mille/mille.c:54:1: warning: old-style function definition [-Wold-style-definition] - 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/move.c: In function 'playcard': +mille/move.c:202:1: warning: old-style function definition [-Wold-style-definition] + 202 | playcard(pp) + | ^~~~~~~~ mille/move.c: In function 'haspicked': mille/move.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | haspicked(pp) @@ -4532,30 +4592,18 @@ mille/move.c:506:1: warning: old-style function definition [-Wold-style-definition] 506 | account(card) | ^~~~~~~ -mille/mille.c: In function 'rub': -mille/mille.c:141:1: warning: old-style function definition [-Wold-style-definition] - 141 | rub(dummy) - | ^~~ mille/move.c: In function 'prompt': mille/move.c:532:1: warning: old-style function definition [-Wold-style-definition] 532 | prompt(promptno) | ^~~~~~ -mille/mille.c: In function 'die': -mille/mille.c:154:1: warning: old-style function definition [-Wold-style-definition] - 154 | die(code) - | ^~~ -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/move.c: In function 'sort': mille/move.c:564:1: warning: old-style function definition [-Wold-style-definition] 564 | sort(hand) | ^~~~ -mille/mille.c: In function 'main': -mille/mille.c:61:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 61 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 'playcard': mille/move.c:229:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | if (pp->nummiles[C_200] == 2) @@ -4575,11 +4623,18 @@ 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 -Imille -c mille/roll.c -o mille/roll.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/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 +monop/houses.c: In function 'buy_h': +monop/houses.c:111:1: warning: old-style function definition [-Wold-style-definition] + 111 | buy_h(mnp) + | ^~~~~ +monop/houses.c: In function 'sell_h': +monop/houses.c:214:1: warning: old-style function definition [-Wold-style-definition] + 214 | sell_h(mnp) + | ^~~~~~ +monop/houses.c: In function 'list_cur': +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) @@ -4588,22 +4643,14 @@ mille/types.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | safety(card) | ^~~~~~ -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) - | ^~~~~~~~ -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; - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 mille/varpush.c: In function 'varpush': mille/varpush.c:53:1: warning: old-style function definition [-Wold-style-definition] 53 | varpush(file, func) | ^~~~~~~ +mille/save.c: In function 'rest_f': +mille/save.c:144:1: warning: old-style function definition [-Wold-style-definition] + 144 | rest_f(file) + | ^~~~~~ 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) @@ -4616,16 +4663,28 @@ mille/print.c:171:1: warning: old-style function definition [-Wold-style-definition] 171 | show_score(y, x, s, ls) | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/roll.c: In function 'roll': -mille/roll.c:51:1: warning: old-style function definition [-Wold-style-definition] - 51 | 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 -Imonop -c monop/jail.c -o monop/jail.o +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) | ^~~~ -mille/save.c: In function 'rest_f': -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/misc.c -o monop/misc.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) | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/monop.c -o monop/monop.o +monop/cards.c: In function 'get_card': +monop/cards.c:128:1: warning: old-style function definition [-Wold-style-definition] + 128 | get_card(dp) + | ^~~~~~~~ +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/execute.c: In function 'execute': monop/execute.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | execute(com_num) @@ -4638,8 +4697,6 @@ 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 -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 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); @@ -4651,15 +4708,6 @@ 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 -Imonop -c monop/monop.c -o monop/monop.o -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) - | ^~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 monop/jail.c: In function 'ret_card': monop/jail.c:68:1: warning: old-style function definition [-Wold-style-definition] @@ -4669,18 +4717,6 @@ monop/jail.c:98:1: warning: old-style function definition [-Wold-style-definition] 98 | move_jail(r1, r2) | ^~~~~~~~~ -monop/houses.c: In function 'buy_h': -monop/houses.c:111:1: warning: old-style function definition [-Wold-style-definition] - 111 | buy_h(mnp) - | ^~~~~ -monop/houses.c: In function 'sell_h': -monop/houses.c:214:1: warning: old-style function definition [-Wold-style-definition] - 214 | sell_h(mnp) - | ^~~~~~ -monop/houses.c: In function 'list_cur': -monop/houses.c:272:1: warning: old-style function definition [-Wold-style-definition] - 272 | list_cur(mp) - | ^~~~~~~~ monop/misc.c: In function 'getyn': monop/misc.c:50:1: warning: old-style function definition [-Wold-style-definition] 50 | getyn(prompt) @@ -4701,7 +4737,19 @@ monop/misc.c:249:1: warning: old-style function definition [-Wold-style-definition] 249 | is_not_monop(mp) | ^~~~~~~~~~~~ +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) + | ^~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +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 -Imonop -c monop/prop.c -o monop/prop.o In file included from monop/monop.def:109, from monop/monop.c:50: @@ -4727,7 +4775,6 @@ monop/mon.dat:38:1: warning: missing initializer for field 'sq' of 'MON' {aka 'struct mon_st'} [-Wmissing-field-initializers] 38 | {0, -1, 3, 0, 2, "Orange", "ORANGE", {16,18,19}}, | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 monop/monop.h:94:18: note: 'sq' declared here 94 | SQUARE *sq[3]; /* list of squares in monop */ | ^~ @@ -4737,6 +4784,7 @@ 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 -Imonop -c monop/rent.c -o monop/rent.o monop/mon.dat:40:1: warning: missing initializer for field 'sq' of 'MON' {aka 'struct mon_st'} [-Wmissing-field-initializers] 40 | {0, -1, 3, 0, 3, "Yellow", "YELLOW", {26,27,29}}, | ^ @@ -4834,12 +4882,12 @@ monop/monop.h:79:26: note: 'desc' declared here 79 | struct prp_st *desc; /* description struct */ | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 monop/monop.c: In function 'main': monop/monop.c:63:1: warning: old-style function definition [-Wold-style-definition] 63 | main(ac, av) | ^~~~ monop/monop.c: In function 'do_quit': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 monop/monop.c:95:1: warning: old-style function definition [-Wold-style-definition] 95 | do_quit(n) | ^~~~~~~ @@ -4847,6 +4895,9 @@ monop/monop.c:68:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | 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/spec.c -o monop/spec.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/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/print.c: In function 'printsq': monop/print.c:85:1: warning: old-style function definition [-Wold-style-definition] 85 | printsq(sqn, eoln) @@ -4859,19 +4910,10 @@ monop/print.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | printhold(pl) | ^~~~~~~~~ -monop/morg.c: In function 'm': -monop/morg.c:140:1: warning: old-style function definition [-Wold-style-definition] - 140 | m(prop) - | ^ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -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) - | ^~~~~~ +monop/roll.c: In function 'roll': +monop/roll.c:68:1: warning: old-style function definition [-Wold-style-definition] + 68 | roll(ndie, nsides) + | ^~~~ monop/prop.c: In function 'buy': monop/prop.c:51:1: warning: old-style function definition [-Wold-style-definition] 51 | buy(player, sqrp) @@ -4889,20 +4931,17 @@ 136 | value(sqp) | ^~~~~ monop/prop.c: In function 'prop_worth': +./substscr g m monop/monop.6.in monop/monop.6 monop/prop.c:214:1: warning: old-style function definition [-Wold-style-definition] 214 | prop_worth(plp) | ^~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -Imorse -c morse/morse.c -o morse/morse.o monop/rent.c: In function 'rent': monop/rent.c:47:1: warning: old-style function definition [-Wold-style-definition] 47 | rent(sqp) | ^~~~ -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 -Imonop -c monop/initdeck.c -o monop/initdeck.o -./substscr g m monop/monop.6.in monop/monop.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 -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 Generating monop/monop.6 from monop/monop.6.in monop/trade.c: In function 'get_list': monop/trade.c:105:1: warning: old-style function definition [-Wold-style-definition] @@ -4916,7 +4955,6 @@ monop/trade.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | move_em(from, to) | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/initdeck.c: In function 'main': monop/initdeck.c:104:1: warning: old-style function definition [-Wold-style-definition] 104 | main(ac, av) @@ -4925,11 +4963,13 @@ monop/initdeck.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | getargs(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 -Iphantasia -c phantasia/gamesupport.c -o phantasia/gamesupport.o 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) | ^~~~~~~~~~~~~~ morse/morse.c: In function 'main': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 morse/morse.c:122:1: warning: old-style function definition [-Wold-style-definition] 122 | main(argc, argv) | ^~~~ @@ -4949,14 +4989,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 -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 number/number.c: In function 'main': number/number.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | main(argc, argv) @@ -4969,6 +5002,7 @@ 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 -Iinclude -Iphantasia -c phantasia/main.c -o phantasia/main.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) @@ -4977,16 +5011,13 @@ number/number.c:286:1: warning: old-style function definition [-Wold-style-definition] 286 | pfract(len, 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 -Iinclude -Iphantasia -c phantasia/setup.c -o phantasia/setup.o number/number.c: In function 'main': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 number/number.c:97:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | 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 -Ipig -c pig/pig.c -o pig/pig.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 -Iinclude -Iphantasia -c phantasia/setup.c -o phantasia/setup.o phantasia/fight.c: In function 'encounter': phantasia/fight.c:12:1: warning: old-style function definition [-Wold-style-definition] 12 | encounter(particular) @@ -4996,13 +5027,35 @@ 599 | hitmonster(inflict) | ^~~~~~~~~~ phantasia/fight.c: In function 'callmonster': +phantasia/fight.c:837:1: warning: old-style function definition [-Wold-style-definition] + 837 | callmonster(which) + | ^~~~~~~~~~~ +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/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 */ + | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 phantasia/io.c: In function 'getstring': phantasia/io.c:12:1: warning: old-style function definition [-Wold-style-definition] 12 | getstring(cp, mx) | ^~~~~~~~~ -phantasia/fight.c:837:1: warning: old-style function definition [-Wold-style-definition] - 837 | callmonster(which) - | ^~~~~~~~~~~ phantasia/io.c: In function 'more': phantasia/io.c:64:1: warning: old-style function definition [-Wold-style-definition] 64 | more(where) @@ -5011,19 +5064,23 @@ phantasia/io.c:157:1: warning: old-style function definition [-Wold-style-definition] 157 | getanswer(choices, def) | ^~~~~~~~~ -phantasia/interplayer.c: In function 'battleplayer': -phantasia/interplayer.c:49:1: warning: old-style function definition [-Wold-style-definition] - 49 | battleplayer(foeplace) - | ^~~~~~~~~~~~ phantasia/io.c: In function 'catchalarm': phantasia/io.c:242:1: warning: old-style function definition [-Wold-style-definition] 242 | catchalarm(dummy) | ^~~~~~~~~~ +phantasia/interplayer.c: In function 'battleplayer': +phantasia/interplayer.c:49:1: warning: old-style function definition [-Wold-style-definition] + 49 | battleplayer(foeplace) + | ^~~~~~~~~~~~ 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/gamesupport.c: In function 'changestats': +phantasia/gamesupport.c:12:1: warning: old-style function definition [-Wold-style-definition] + 12 | changestats(ingameflag) + | ^~~~~~~~~~~ phantasia/interplayer.c:541:1: warning: old-style function definition [-Wold-style-definition] 541 | userlist(ingameflag) | ^~~~~~~~ @@ -5031,25 +5088,7 @@ phantasia/interplayer.c:865:1: warning: old-style function definition [-Wold-style-definition] 865 | writevoid(vp, loc) | ^~~~~~~~~ -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/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 */ - | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 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); @@ -5058,11 +5097,10 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/pr_tbl.c -o primes/pr_tbl.o pig/pig.c: In function 'main': pig/pig.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | main(argc, argv) @@ -5075,63 +5113,23 @@ pig/pig.c:69:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -phantasia/main.c: In function 'main': -phantasia/main.c:67:1: warning: old-style function definition [-Wold-style-definition] - 67 | 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 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/primes.c -o primes/primes.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/main.c: In function 'genchar': -phantasia/main.c:890:1: warning: old-style function definition [-Wold-style-definition] - 890 | genchar(type) - | ^~~~~~~ phantasia/setup.c: In function 'Error': phantasia/setup.c:223:1: warning: old-style function definition [-Wold-style-definition] 223 | Error(str, file) | ^~~~~ -phantasia/main.c: In function 'cleanup': -phantasia/main.c:1015:1: warning: old-style function definition [-Wold-style-definition] - 1015 | cleanup(doexit) - | ^~~~~~~ -phantasia/main.c: In function 'main': -phantasia/main.c:92:25: warning: this statement may fall through [-Wimplicit-fallthrough=] - 92 | cleanup(TRUE); - | ^~~~~~~~~~~~~ -phantasia/main.c:95:17: note: here - 95 | case 'p': /* purge old players */ - | ^~~~ -phantasia/main.c:97:25: warning: this statement may fall through [-Wimplicit-fallthrough=] - 97 | cleanup(TRUE); - | ^~~~~~~~~~~~~ -phantasia/main.c:100:17: note: here - 100 | case 'S': /* set 'Wizard' */ - | ^~~~ -phantasia/main.c:110:25: warning: this statement may fall through [-Wimplicit-fallthrough=] - 110 | cleanup(TRUE); - | ^~~~~~~~~~~~~ -phantasia/main.c:113:17: note: here - 113 | case 'b': /* scoreboard */ - | ^~~~ -phantasia/main.c:151:25: warning: this statement may fall through [-Wimplicit-fallthrough=] - 151 | cleanup(TRUE); - | ^~~~~~~~~~~~~ -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 */ - | ^~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 phantasia/misc.c: In function 'descrlocation': phantasia/misc.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | descrlocation(playerp, shortflag) | ^~~~~~~~~~~~~ +phantasia/main.c: In function 'main': +phantasia/main.c:67:1: warning: old-style function definition [-Wold-style-definition] + 67 | main(argc, argv) + | ^~~~ phantasia/misc.c: In function 'descrtype': phantasia/misc.c:448:1: warning: old-style function definition [-Wold-style-definition] 448 | descrtype(playerp, shortflag) @@ -5148,26 +5146,52 @@ phantasia/misc.c:580:1: warning: old-style function definition [-Wold-style-definition] 580 | death(how) | ^~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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/misc.c: In function 'writerecord': phantasia/misc.c:685:1: warning: old-style function definition [-Wold-style-definition] 685 | writerecord(playerp, place) | ^~~~~~~~~~~ +pom/pom.c: In function 'main': phantasia/misc.c: In function 'explevel': phantasia/misc.c:695:1: warning: old-style function definition [-Wold-style-definition] 695 | explevel(experience) | ^~~~~~~~ +pom/pom.c:95:1: warning: old-style function definition [-Wold-style-definition] + 95 | main(argc, argv) + | ^~~~ phantasia/misc.c: In function 'truncstring': phantasia/misc.c:705:1: warning: old-style function definition [-Wold-style-definition] 705 | truncstring(string) | ^~~~~~~~~~~ +./substscr g n quiz/datfiles/index.in quiz/datfiles/index phantasia/misc.c: In function 'altercoordinates': phantasia/misc.c:716:1: warning: old-style function definition [-Wold-style-definition] 716 | altercoordinates(xnew, ynew, operation) | ^~~~~~~~~~~~~~~~ +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) + | ^~~~~~~~~ phantasia/misc.c: In function 'readrecord': phantasia/misc.c:769:1: warning: old-style function definition [-Wold-style-definition] 769 | readrecord(playerp, loc) | ^~~~~~~~~~ +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()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/misc.c: In function 'initplayer': phantasia/misc.c:869:1: warning: old-style function definition [-Wold-style-definition] 869 | initplayer(playerp) @@ -5185,6 +5209,7 @@ 968 | ill_sig(whichsig) | ^~~~~~~ phantasia/misc.c: In function 'descrstatus': +Generating quiz/datfiles/index from quiz/datfiles/index.in phantasia/misc.c:979:1: warning: old-style function definition [-Wold-style-definition] 979 | descrstatus(playerp) | ^~~~~~~~~~~ @@ -5192,14 +5217,58 @@ phantasia/misc.c:1026:1: warning: old-style function definition [-Wold-style-definition] 1026 | collecttaxes(gold, gems) | ^~~~~~~~~~~~ +phantasia/main.c: In function 'genchar': +phantasia/main.c:890:1: warning: old-style function definition [-Wold-style-definition] + 890 | genchar(type) + | ^~~~~~~ ppt/ppt.c: In function 'main': ppt/ppt.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | main(argc, argv) | ^~~~ +phantasia/main.c: In function 'cleanup': +phantasia/main.c:1015:1: warning: old-style function definition [-Wold-style-definition] + 1015 | cleanup(doexit) + | ^~~~~~~ ppt/ppt.c: In function 'putppt': ppt/ppt.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | putppt(c) | ^~~~~~ +phantasia/main.c: In function 'main': +phantasia/main.c:92:25: warning: this statement may fall through [-Wimplicit-fallthrough=] + 92 | cleanup(TRUE); + | ^~~~~~~~~~~~~ +phantasia/main.c:95:17: note: here + 95 | case 'p': /* purge old players */ + | ^~~~ +phantasia/main.c:97:25: warning: this statement may fall through [-Wimplicit-fallthrough=] + 97 | cleanup(TRUE); + | ^~~~~~~~~~~~~ +phantasia/main.c:100:17: note: here + 100 | case 'S': /* set 'Wizard' */ + | ^~~~ +phantasia/main.c:110:25: warning: this statement may fall through [-Wimplicit-fallthrough=] + 110 | cleanup(TRUE); + | ^~~~~~~~~~~~~ +ppt/ppt.c: In function 'main': +ppt/ppt.c:76:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 76 | setregid(getgid(), getgid()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +phantasia/main.c:113:17: note: here + 113 | case 'b': /* scoreboard */ + | ^~~~ +phantasia/main.c:151:25: warning: this statement may fall through [-Wimplicit-fallthrough=] + 151 | cleanup(TRUE); + | ^~~~~~~~~~~~~ +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 */ + | ^~~~ 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); @@ -5210,53 +5279,21 @@ phantasia/misc.c:730:9: note: here 730 | case A_SPECIFIC: /* just move player */ | ^~~~ -ppt/ppt.c: In function 'main': -ppt/ppt.c:76:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] - 76 | setregid(getgid(), getgid()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ phantasia/misc.c: In function 'readrecord': phantasia/misc.c:774:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 774 | fread((char *) playerp, SZ_PLAYERSTRUCT, 1, Playersfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/misc.c: In function 'collecttaxes': 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 -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 -D_GNU_SOURCE -Iinclude -Iprimes -c primes/spsp.c -o primes/spsp.o -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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./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 -Iinclude -Iquiz -c quiz/quiz.c -o quiz/quiz.o -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/rxp.c -o quiz/rxp.o ./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 +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 -Irandom -c random/random.c -o random/random.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/auto.c -o robots/auto.o quiz/quiz.c: In function 'main': quiz/quiz.c:80:1: warning: old-style function definition [-Wold-style-definition] 80 | main(argc, argv) @@ -5265,12 +5302,12 @@ quiz/quiz.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | get_file(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/auto.c -o robots/auto.o 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': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 quiz/quiz.c:312:1: warning: old-style function definition [-Wold-style-definition] 312 | next_cat(s) | ^~~~~~~~ @@ -5297,6 +5334,8 @@ 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/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 quiz/rxp.c: In function 'rxp_compile': quiz/rxp.c:90:1: warning: old-style function definition [-Wold-style-definition] 90 | rxp_compile(s) @@ -5321,15 +5360,15 @@ 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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 +random/random.c:76:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] + 76 | 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/main.c -o robots/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 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/make_level.c -o robots/make_level.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) @@ -5342,7 +5381,6 @@ robots/auto.c:116:1: warning: old-style function definition [-Wold-style-definition] 116 | yinc(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 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/init_field.c -o robots/init_field.o robots/auto.c: In function 'closest_robot': robots/auto.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | closest_robot(dist) @@ -5355,7 +5393,6 @@ robots/auto.c:228:1: warning: old-style function definition [-Wold-style-definition] 228 | move_towards(dx, dy) | ^~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 robots/auto.c: In function 'move_away': robots/auto.c:258:1: warning: old-style function definition [-Wold-style-definition] 258 | move_away(rob) @@ -5368,16 +5405,13 @@ 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 -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 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 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/rnd_pos.c -o robots/rnd_pos.o robots/main.c: In function 'quit': robots/main.c:199:1: warning: old-style function definition [-Wold-style-definition] 199 | quit(dummy) @@ -5386,6 +5420,9 @@ 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 -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/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 robots/init_field.c: In function 'telmsg': robots/init_field.c:126:1: warning: old-style function definition [-Wold-style-definition] 126 | telmsg(on) @@ -5398,7 +5435,6 @@ 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 -DFANCY -DMAX_PER_UID=5 -Iinclude -Irobots -c robots/score.c -o robots/score.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) @@ -5412,18 +5448,17 @@ 145 | sign(n) | ^~~~ ./substscr g m robots/robots.6.in robots/robots.6 -robots/query.c: In function 'query': -robots/query.c:48:1: warning: old-style function definition [-Wold-style-definition] - 48 | query(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 -Isail -c sail/assorted.c -o sail/assorted.o 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/game.c -o sail/game.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/globals.c -o sail/globals.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/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 +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) @@ -5455,19 +5490,21 @@ 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/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 +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/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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] -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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) | ~~~~~^~~~~~~~ @@ -5481,14 +5518,13 @@ 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 *, | ^~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -robots/score.c: In function 'set_name': -robots/score.c:200:9: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 sail/main.c: In function 'main': sail/main.c:65:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | setegid(gid); | ^~~~~~~~~~~~ +robots/score.c: In function 'set_name': +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); @@ -5499,6 +5535,15 @@ sail/misc.c:211:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | 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 -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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 sail/dr_2.c: In function 'try.constprop.isra': 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); @@ -5518,14 +5563,11 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +./substscr g m snake/snake/snake.6.in snake/snake/snake.6 +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 sail/pl_5.c: In function 'acceptmove': sail/pl_5.c:80:29: warning: this statement may fall through [-Wimplicit-fallthrough=] 80 | dir -= 2; @@ -5533,10 +5575,21 @@ sail/pl_5.c:81:17: note: here 81 | case 'r': | ^~~~ +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); + | ^~~~~~~~~~~~~~~~~~ +sail/pl_main.c:208:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 208 | fgets(captain, sizeof captain, stdin); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sail/pl_main.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 222 | scanf("%9s", buf); + | ^~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 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 */ @@ -5548,26 +5601,9 @@ /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 -Isail -c sail/sync.c -o sail/sync.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); - | ^~~~~~~~~~~~~~~~~~ -sail/pl_main.c:208:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 208 | fgets(captain, sizeof captain, stdin); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -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 -./substscr g m snake/snake/snake.6.in snake/snake/snake.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 -Isnake/snscore -Isnake/snake -c snake/snscore/snscore.c -o snake/snscore/snscore.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/input.c -o tetris/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 -Iinclude -Itetris -c tetris/scores.c -o tetris/scores.o -sail/sync.c: In function 'sync_exists': x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +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); | ^~~~~~~~~~~~~ @@ -5594,57 +5630,12 @@ sail/sync.c:177:17: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | setegid(gid); | ^~~~~~~~~~~~ -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 -Itetris -c tetris/shapes.c -o tetris/shapes.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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -tetris/scores.c: In function 'getscores': -tetris/scores.c:94:1: warning: old-style function definition [-Wold-style-definition] - 94 | getscores(fpp) - | ^~~~~~~~~ -tetris/scores.c: In function 'savescore': -tetris/scores.c:149:1: warning: old-style function definition [-Wold-style-definition] - 149 | savescore(level) - | ^~~~~~~~~ -tetris/scores.c: In function 'cmpscores': -tetris/scores.c:248:1: warning: old-style function definition [-Wold-style-definition] - 248 | cmpscores(x, y) - | ^~~~~~~~~ -tetris/scores.c: In function 'checkscores': -tetris/scores.c:278:1: warning: old-style function definition [-Wold-style-definition] - 278 | checkscores(hs, num) - | ^~~~~~~~~~~ -tetris/scores.c: In function 'showscores': -tetris/scores.c:353:1: warning: old-style function definition [-Wold-style-definition] - 353 | showscores(level) - | ^~~~~~~~~~ -tetris/scores.c: In function 'printem': -tetris/scores.c:408:1: warning: old-style function definition [-Wold-style-definition] - 408 | printem(level, offset, hs, n, me) - | ^~~~~~~ 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) | ^~~~ -tetris/scores.c: In function 'getscores': -tetris/scores.c:113:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 113 | setegid(egid); - | ^~~~~~~~~~~~~ -tetris/scores.c:120:25: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 120 | setegid(gid); - | ^~~~~~~~~~~~ snake/snake/snake.c: In function 'point': -tetris/scores.c:128:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] - 128 | setegid(gid); - | ^~~~~~~~~~~~ snake/snake/snake.c:251:1: warning: old-style function definition [-Wold-style-definition] 251 | point(ps, x, y) | ^~~~~ @@ -5685,9 +5676,13 @@ 960 | winnings(won) | ^~~~~~~~ snake/snake/snake.c: In function 'stop': +tetris/input.c: In function 'rwait': snake/snake/snake.c:969:1: warning: old-style function definition [-Wold-style-definition] 969 | stop(dummy) | ^~~~ +tetris/input.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | rwait(tvp) + | ^~~~~ snake/snake/snake.c: In function 'length': snake/snake/snake.c:988:1: warning: old-style function definition [-Wold-style-definition] 988 | length(num) @@ -5719,6 +5714,14 @@ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 -Itetris -c tetris/tetris.c -o tetris/tetris.o 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) @@ -5753,27 +5756,65 @@ 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 -Itetris -c tetris/tetris.c -o tetris/tetris.o ./substscr g m tetris/tetris.6.in tetris/tetris.6 +tetris/scores.c: In function 'getscores': +tetris/scores.c:94:1: warning: old-style function definition [-Wold-style-definition] + 94 | getscores(fpp) + | ^~~~~~~~~ +tetris/scores.c: In function 'savescore': +tetris/scores.c:149:1: warning: old-style function definition [-Wold-style-definition] + 149 | savescore(level) + | ^~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +tetris/scores.c: In function 'cmpscores': +tetris/scores.c:248:1: warning: old-style function definition [-Wold-style-definition] + 248 | cmpscores(x, y) + | ^~~~~~~~~ +tetris/scores.c: In function 'checkscores': +tetris/scores.c:278:1: warning: old-style function definition [-Wold-style-definition] + 278 | checkscores(hs, num) + | ^~~~~~~~~~~ +tetris/scores.c: In function 'showscores': +tetris/scores.c:353:1: warning: old-style function definition [-Wold-style-definition] + 353 | showscores(level) + | ^~~~~~~~~~ +tetris/scores.c: In function 'printem': +tetris/scores.c:408:1: warning: old-style function definition [-Wold-style-definition] + 408 | printem(level, offset, hs, n, me) + | ^~~~~~~ +tetris/scores.c: In function 'getscores': +tetris/scores.c:113:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] + 113 | setegid(egid); + | ^~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 Generating tetris/tetris.6 from tetris/tetris.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 -Itrek -c trek/autover.c -o trek/autover.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/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) | ^~~~~~~ -trek/cgetc.c: In function 'cgetc': -trek/cgetc.c:44:9: warning: old-style function definition [-Wold-style-definition] - 44 | char cgetc(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 -Itrek -c trek/check_out.c -o trek/check_out.o trek/capture.c: In function 'capture': trek/capture.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | capture(v) | ^~~~~~~ +trek/cgetc.c: In function 'cgetc': +trek/cgetc.c:44:9: warning: old-style function definition [-Wold-style-definition] + 44 | char cgetc(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 -Itrek -c trek/checkcond.c -o trek/checkcond.o +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 'main': tetris/tetris.c:128:1: warning: old-style function definition [-Wold-style-definition] 128 | main(argc, argv) @@ -5782,29 +5823,42 @@ tetris/tetris.c:324:1: warning: old-style function definition [-Wold-style-definition] 324 | onintr(signo) | ^~~~~~ -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 'main': -trek/check_out.c: In function 'check_out': 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/compkl.c -o trek/compkl.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) | ^~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +trek/damaged.c: In function 'damaged': +trek/damaged.c:51:1: warning: old-style function definition [-Wold-style-definition] + 51 | damaged(dev) + | ^~~~~~~ trek/compkl.c: In function 'compkldist': trek/compkl.c:58:1: warning: old-style function definition [-Wold-style-definition] 58 | compkldist(f) | ^~~~~~~~~~ +trek/damage.c: In function 'damage': +trek/damage.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | damage(dev1, dam) + | ^~~~~~ +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) + | ^~~~~~ 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", | ^~ @@ -5823,38 +5877,22 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -trek/damaged.c: In function 'damaged': -trek/damaged.c:51:1: warning: old-style function definition [-Wold-style-definition] - 51 | damaged(dev) - | ^~~~~~~ -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/damage.c: In function 'damage': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -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/dcrept.c -o trek/dcrept.o trek/dcrept.c: In function 'dcrept': trek/dcrept.c:58:1: warning: old-style function definition [-Wold-style-definition] 58 | dcrept(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/destruct.c -o trek/destruct.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/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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -trek/destruct.c: In function 'destruct': -trek/destruct.c:69:1: warning: old-style function definition [-Wold-style-definition] - 69 | destruct(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/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/getcodi.c -o trek/getcodi.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/getpar.c -o trek/getpar.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/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 trek/dock.c: In function 'dock': trek/dock.c:61:1: warning: old-style function definition [-Wold-style-definition] 61 | dock(v) @@ -5863,12 +5901,24 @@ 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/events.c -o trek/events.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/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/initquad.c -o trek/initquad.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/kill.c -o trek/kill.o trek/dumpme.c: In function 'dumpme': trek/dumpme.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | dumpme(flag) | ^~~~~~ +trek/destruct.c: In function 'destruct': +trek/destruct.c:69:1: warning: old-style function definition [-Wold-style-definition] + 69 | destruct(v) + | ^~~~~~~~ +trek/getcodi.c: In function 'getcodi': +trek/getcodi.c:55:1: warning: old-style function definition [-Wold-style-definition] + 55 | getcodi(co, di) + | ^~~~~~~ +trek/impulse.c: In function 'impulse': +trek/impulse.c:51:1: warning: old-style function definition [-Wold-style-definition] + 51 | impulse(v) + | ^~~~~~~ trek/dumpgame.c: In function 'dumpgame': trek/dumpgame.c:85:1: warning: old-style function definition [-Wold-style-definition] 85 | dumpgame(v) @@ -5887,22 +5937,34 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 -trek/getcodi.c: In function 'getcodi': -trek/getcodi.c:55:1: warning: old-style function definition [-Wold-style-definition] - 55 | getcodi(co, di) - | ^~~~~~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/initquad.c: In function 'initquad': +trek/kill.c: In function 'killk': +trek/initquad.c:62:1: warning: old-style function definition [-Wold-style-definition] + 62 | initquad(f) + | ^~~~~~~~ +trek/kill.c:61:1: warning: old-style function definition [-Wold-style-definition] + 61 | killk(ix, iy) + | ^~~~~ +trek/kill.c: In function 'killb': +trek/initquad.c: In function 'sector': +trek/kill.c:102:1: warning: old-style function definition [-Wold-style-definition] + 102 | killb(qx, qy) + | ^~~~~ +trek/initquad.c:145:1: warning: old-style function definition [-Wold-style-definition] + 145 | sector(x, y) + | ^~~~~~ +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/events.c: In function 'events': 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/lose.c -o trek/lose.o trek/getpar.c: In function 'getintpar': trek/getpar.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | getintpar(s) @@ -5939,60 +6001,50 @@ trek/getpar.c:222:17: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 222 | scanf("%*[\t ;]"); | ^~~~~~~~~~~~~~~~~ -trek/impulse.c: In function 'impulse': -trek/impulse.c:51:1: warning: old-style function definition [-Wold-style-definition] - 51 | impulse(v) - | ^~~~~~~ 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/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/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/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) - | ^~~~~~ x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 trek/klmove.c: In function 'klmove': trek/klmove.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | klmove(fl) | ^~~~~~ -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/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/ranf.c -o trek/ranf.o trek/lrscan.c: In function 'lrscan': -trek/lrscan.c:58:1: warning: old-style function definition [-Wold-style-definition] - 58 | lrscan(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 -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/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/phaser.c -o trek/phaser.o +trek/lrscan.c:58:1: warning: old-style function definition [-Wold-style-definition] + 58 | lrscan(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/out.c: In function 'out': +trek/out.c:50:1: warning: old-style function definition [-Wold-style-definition] + 50 | out(dev) + | ^~~ +trek/play.c: In function 'myreset': +trek/play.c:89:1: warning: old-style function definition [-Wold-style-definition] + 89 | myreset(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) + | ^~~~ +trek/lose.c: In function 'lose': +trek/lose.c:75:1: warning: old-style function definition [-Wold-style-definition] + 75 | lose(why) + | ^~~~ trek/main.c: In function 'main': trek/main.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | main(argc, argv) @@ -6006,133 +6058,106 @@ trek/main.c:176:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 176 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -trek/out.c: In function 'out': -trek/out.c:50:1: warning: old-style function definition [-Wold-style-definition] - 50 | out(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/play.c -o trek/play.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/ram.c -o trek/ram.o -trek/play.c: In function 'myreset': -trek/play.c:89:1: warning: old-style function definition [-Wold-style-definition] - 89 | myreset(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/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 trek/phaser.c: In function 'phaser': trek/phaser.c:97:1: warning: old-style function definition [-Wold-style-definition] 97 | phaser(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/score.c -o trek/score.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/setup.c -o trek/setup.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) - | ^~~~~~~~ -trek/schedule.c: In function 'reschedule': -trek/schedule.c:98:1: warning: old-style function definition [-Wold-style-definition] - 98 | reschedule(e1, offset) - | ^~~~~~~~~~ -trek/schedule.c: In function 'unschedule': -trek/schedule.c:125:1: warning: old-style function definition [-Wold-style-definition] - 125 | unschedule(e1) - | ^~~~~~~~~~ -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) - | ^~~~~~ -trek/schedule.c: In function 'xresched': -trek/schedule.c:171:1: warning: old-style function definition [-Wold-style-definition] - 171 | xresched(e1, ev1, factor) - | ^~~~~~~~ trek/ram.c: In function 'ram': -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/ram.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | ram(ix, iy) | ^~~ -x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/rest.c: In function 'rest': +trek/rest.c:61:1: warning: old-style function definition [-Wold-style-definition] + 61 | rest(v) + | ^~~~ trek/ranf.c: In function 'ranf': trek/ranf.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | ranf(max) | ^~~~ +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/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 -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/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 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/srscan.c -o trek/srscan.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/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/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 -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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/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 -Itrek -c trek/win.c -o trek/win.o trek/snova.c: In function 'snova': +x86_64-linux-gnu-gcc -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 trek/snova.c:67:1: warning: old-style function definition [-Wold-style-definition] 67 | snova(x, y) | ^~~~~ +Generating trek/trek.6 from trek/trek.6.in +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) + | ^~~~~~~~ +trek/schedule.c: In function 'reschedule': +trek/schedule.c:98:1: warning: old-style function definition [-Wold-style-definition] + 98 | reschedule(e1, offset) + | ^~~~~~~~~~ +trek/schedule.c: In function 'unschedule': +trek/schedule.c:125:1: warning: old-style function definition [-Wold-style-definition] + 125 | unschedule(e1) + | ^~~~~~~~~~ +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) + | ^~~~~~ +trek/schedule.c: In function 'xresched': +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 -Iworms -c worms/worms.c -o worms/worms.o 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 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 ./substscr g s wtf/wtf.in wtf/wtf Generating wtf/wtf from wtf/wtf.in -./substscr g m wtf/wtf.6.in wtf/wtf.6 -Generating wtf/wtf.6 from wtf/wtf.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 -Iwump -c wump/wump.c -o wump/wump.o -trek/warp.c: In function 'dowarp': -trek/warp.c:65:1: warning: old-style function definition [-Wold-style-definition] - 65 | dowarp(fl) - | ^~~~~~ trek/torped.c: In function 'torped': -trek/warp.c: In function 'warp': -trek/warp.c:77:1: warning: old-style function definition [-Wold-style-definition] - 77 | warp(fl, c, d) - | ^~~~ trek/torped.c:70:1: warning: old-style function definition [-Wold-style-definition] 70 | torped(v) | ^~~~~~ trek/torped.c: In function 'randcourse': -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/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 arithmetic/arithmetic.o lib/getprogname.o -o arithmetic/arithmetic -worms/worms.c: In function 'main': -worms/worms.c:187:1: warning: old-style function definition [-Wold-style-definition] - 187 | main(argc, argv) +trek/warp.c: In function 'dowarp': +trek/warp.c:65:1: warning: old-style function definition [-Wold-style-definition] + 65 | dowarp(fl) + | ^~~~~~ +trek/warp.c: In function 'warp': +trek/warp.c:77:1: warning: old-style function definition [-Wold-style-definition] + 77 | warp(fl, c, d) | ^~~~ +./substscr g m wtf/wtf.6.in wtf/wtf.6 +Generating wtf/wtf.6 from wtf/wtf.6.in worm/worm.c: In function 'main': worm/worm.c:96:1: warning: old-style function definition [-Wold-style-definition] 96 | 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) - | ^~~~~ worm/worm.c: In function 'display': worm/worm.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | display(pos, chr) @@ -6157,19 +6182,28 @@ worm/worm.c:260:1: warning: old-style function definition [-Wold-style-definition] 260 | process(ch) | ^~~~~~~ -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()); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ worm/worm.c: In function 'main': 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 -g -O2 -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/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 +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 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 +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now arithmetic/arithmetic.o lib/getprogname.o -o arithmetic/arithmetic 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 -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 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 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 wump/wump.c: In function 'main': +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 wump/wump.c:141:1: warning: old-style function definition [-Wold-style-definition] 141 | main(argc, argv) | ^~~~ @@ -6177,6 +6211,7 @@ wump/wump.c:316:1: warning: old-style function definition [-Wold-style-definition] 316 | move_to(room_number) | ^~~~~~~ +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 wump/wump.c: In function 'shoot': wump/wump.c:408:1: warning: old-style function definition [-Wold-style-definition] 408 | shoot(room_list) @@ -6188,6 +6223,8 @@ wump/wump.c:521:1: warning: old-style function definition [-Wold-style-definition] 521 | gcd(a, b) | ^~~ +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 wump/wump.c: In function 'getans': wump/wump.c:666:1: warning: old-style function definition [-Wold-style-definition] 666 | getans(prompt) @@ -6196,7 +6233,6 @@ wump/wump.c:739:1: warning: old-style function definition [-Wold-style-definition] 739 | int_compare(a, b) | ^~~~~~~~~~~ -x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now bcd/bcd.o -o bcd/bcd wump/wump.c: In function 'jump': wump/wump.c:845:1: warning: old-style function definition [-Wold-style-definition] 845 | jump(where) @@ -6205,9 +6241,9 @@ wump/wump.c:148:9: warning: ignoring return value of 'setregid' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | setregid(getgid(), getgid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 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 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 x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now canfield/canfield/canfield.o -lncurses -o canfield/canfield/canfield @@ -6236,16 +6272,16 @@ 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 snake/snscore/snscore.o -o snake/snscore/snscore 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 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 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 boggle/mkdict/mkdict boggle/mkdict/dictionary monop/initdeck monop/cards.inp monop/cards.pck -cd phantasia && ./setup -m monsters.asc There were 16 com. chest and 16 chance cards -touch phantasia/scorefiles.stamp +cd phantasia && ./setup -m monsters.asc +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 106161 words +x86_64-linux-gnu-gcc -Wl,-z,relro -Wl,-z,now worm/worm.o -lncurses -o worm/worm boggle/mkindex/mkindex boggle/mkindex/dictindex +touch phantasia/scorefiles.stamp 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' # Generate a pdf file for trek documentation, see #874680 @@ -6256,115 +6292,7 @@ tbl::443: error: column separation specified for last column troff::312: error: environment stack underflow make[1]: Leaving directory '/build/reproducible-path/bsdgames-2.17' - dh_auto_test - make -j12 test TESTSUITEFLAGS="-j12 --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 -battlestar test 1... PASS -battlestar test 2... PASS -battlestar test 3... PASS -battlestar test 4... PASS -battlestar test 5... PASS -battlestar test 6... PASS -battlestar test 7... PASS -battlestar test 8... PASS -battlestar test 9... PASS -battlestar test 10... PASS -battlestar test 11... PASS -battlestar test 12... PASS -battlestar test 13... PASS -battlestar test 14... PASS -battlestar test 15... PASS -battlestar test 16... PASS -battlestar test 17... PASS -battlestar test 18... PASS -battlestar test 19... PASS -battlestar test 20... PASS -battlestar test 21... PASS -battlestar test 22... PASS -battlestar test 23... PASS -battlestar test 24... PASS -battlestar test 25... PASS -battlestar test 26... PASS -battlestar test 27... PASS -battlestar test 28... PASS -battlestar test 29... PASS -battlestar test 30... PASS -battlestar test 31... PASS -battlestar test 32... PASS -battlestar test 33... PASS -battlestar test 34... PASS -battlestar test 35... PASS -battlestar test 36... PASS -battlestar test 37... PASS -battlestar test 38... PASS -battlestar test 39... PASS -battlestar test 40... PASS -battlestar test 41... PASS -battlestar test 42... PASS -battlestar test 43... PASS -tests/bcd.test -bcd test 1... PASS -bcd test 2... PASS -bcd test 3... PASS -bcd test 4... PASS -bcd test 5... PASS -tests/caesar.test -caesar test 1... PASS -caesar test 2... PASS -caesar test 3... PASS -tests/factor.test -tests/morse.test -morse test 1... PASS -morse test 2... PASS -morse test 3... PASS -morse test 4... PASS -morse test 5... PASS -morse test 6... PASS -morse test 7... PASS -tests/number.test -number test 1... PASS -number test 2... PASS -number test 3... PASS -tests/pig.test -pig test 1... PASS -pig test 2... PASS -pig test 3... PASS -tests/pom.test -pom test 1... PASS -pom test 2... PASS -pom test 3... PASS -pom test 4... PASS -pom test 5... PASS -pom test 6... PASS -pom test 7... PASS -pom test 8... PASS -pom test 9... PASS -pom test 10... PASS -pom test 11... PASS -pom test 12... PASS -pom test 13... PASS -pom test 14... PASS -pom test 15... PASS -pom test 16... PASS -pom test 17... PASS -pom test 18... PASS -pom test 19... PASS -pom test 20... PASS -pom test 21... PASS -pom test 22... PASS -pom test 23... PASS -pom test 24... PASS -tests/ppt.test -ppt test 1... PASS -ppt test 2... PASS -ppt test 3... PASS -tests/primes.test -primes test 1... PASS -primes test 2... PASS -primes test 3... PASS -make[1]: Leaving directory '/build/reproducible-path/bsdgames-2.17' +dh: command-omitted: The call to "dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary @@ -6372,7 +6300,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/bsdgames/ - make -j12 install DESTDIR=/build/reproducible-path/bsdgames-2.17/debian/bsdgames AM_UPDATE_INFO_DIR=no + make -j16 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 @@ -6385,8 +6313,8 @@ 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 set -e; for d in /usr/share/games/bsdgames/boggle /; do mkdir -p /build/reproducible-path/bsdgames-2.17/debian/bsdgames$d; done -set -e; for d in /usr/share/games/bsdgames/boggle /; do mkdir -p /build/reproducible-path/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /usr/games /usr/share/man/man6 /usr/share/games/bsdgames/boggle /; do mkdir -p /build/reproducible-path/bsdgames-2.17/debian/bsdgames$d; done +set -e; for d in /usr/share/games/bsdgames/boggle /; do mkdir -p /build/reproducible-path/bsdgames-2.17/debian/bsdgames$d; done set -e; for d in /; 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 set -e; for d in /usr/games /usr/share/man/man6 /; do mkdir -p /build/reproducible-path/bsdgames-2.17/debian/bsdgames$d; done @@ -6429,161 +6357,161 @@ install -c -m 0755 arithmetic/arithmetic /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/arithmetic 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/teachgammon/teachgammon /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/teachgammon install -c -m 0755 backgammon/backgammon/backgammon /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/backgammon -install -c -m 0755 battlestar/battlestar /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/battlestar -install -c -m 0755 bcd/bcd /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/bcd -install -c -m 0644 boggle/mkindex/dictindex /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictindex -install -c -m 0644 boggle/mkdict/dictionary /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictionary : adventure : arithmetic -: battlestar +install -c -m 0755 backgammon/teachgammon/teachgammon /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/teachgammon : atc -: teachgammon : backgammon -: bcd /build/reproducible-path/bsdgames-2.17/install-man adventure/adventure.6 /build/reproducible-path/bsdgames-2.17/install-man arithmetic/arithmetic.6 -/build/reproducible-path/bsdgames-2.17/install-man battlestar/battlestar.6 +: teachgammon /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/atc_score -/build/reproducible-path/bsdgames-2.17/install-man backgammon.6 teachgammon.6 /build/reproducible-path/bsdgames-2.17/install-man backgammon/backgammon/backgammon.6 -/build/reproducible-path/bsdgames-2.17/install-man bcd/bcd.6 +install -c -m 0755 battlestar/battlestar /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/battlestar +install -c -m 0755 bcd/bcd /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/bcd +install -c -m 0644 boggle/mkdict/dictionary /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictionary install -c -m 0755 boggle/boggle/boggle /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/boggle +/build/reproducible-path/bsdgames-2.17/install-man backgammon.6 teachgammon.6 +install -c -m 0644 boggle/mkindex/dictindex /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/dictindex +: battlestar +: bcd +: boggle 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 -/build/reproducible-path/bsdgames-2.17/install-man atc/atc.6 -: boggle -: caesar -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/battlestar.log 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 boggle/boggle/boggle.6 -install -c -m 0755 caesar/rot13 /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/rot13 install -c -m 0755 countmail/countmail /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/countmail +/build/reproducible-path/bsdgames-2.17/install-man battlestar/battlestar.6 +/build/reproducible-path/bsdgames-2.17/install-man bcd/bcd.6 +/build/reproducible-path/bsdgames-2.17/install-man boggle/boggle/boggle.6 +: caesar : cfscores : canfield -: rot13 : countmail install -c -m 0755 cribbage/cribbage /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/cribbage +install -c -m 0755 dab/dab /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/dab +install -c -m 0755 fish/fish /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/go-fish +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 atc/atc.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 caesar/caesar.6 /build/reproducible-path/bsdgames-2.17/install-man countmail/countmail.6 -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-score /var/games/bsdgames/battlestar.log : cribbage -install -c -m 0755 dab/dab /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/dab -install -c -m 0644 cribbage/cribbage.n /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/cribbage.instr -install -c -m 0755 fish/fish /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/go-fish -install -c -m 0755 gomoku/gomoku /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/gomoku -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/cfscores -/build/reproducible-path/bsdgames-2.17/install-man caesar.6 rot13.6 +: dab +: go-fish +: gomoku +: rot13 install -c -m 0755 hack/hack /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/hack +install -c -m 0644 boggle/boggle/helpfile /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/boggle/helpfile install -c -m 0755 hangman/hangman /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/hangman +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-score /var/games/bsdgames/cfscores +/build/reproducible-path/bsdgames-2.17/install-man gomoku/gomoku.6 +/build/reproducible-path/bsdgames-2.17/install-man caesar/caesar.6 +: hack +: hangman +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/criblog +ln -sf fish.6 fish/go-fish.6 # hack for rename install -c -m 0755 mille/mille /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/mille 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 -: dab install -c -m 0755 number/number /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/number -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/criblog -: go-fish -: gomoku -: hack -: hangman -/build/reproducible-path/bsdgames-2.17/install-man dab/dab.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 : mille : monop : morse -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 -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 fish/go-fish.6 : number +install -d /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/hack +/build/reproducible-path/bsdgames-2.17/install-man caesar.6 rot13.6 /build/reproducible-path/bsdgames-2.17/install-man mille/mille.6 /build/reproducible-path/bsdgames-2.17/install-man monop/monop.6 /build/reproducible-path/bsdgames-2.17/install-man bcd.6 morse.6 -ln -sf fish.6 fish/go-fish.6 # hack for rename -/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 number/number.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 number/number.6 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 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 fish/go-fish.6 -: phantasia -: pig install -c -m 0755 pom/pom /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/pom +/build/reproducible-path/bsdgames-2.17/install-man cribbage/cribbage.6 install -c -m 0755 ppt/ppt /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/ppt +: phantasia +: pig +: pom +rm -f fish/go-fish.6 +: 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 (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 -install -c -m 0755 primes/primes /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/primes -: pom -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 -rm -f fish/go-fish.6 install -c -m 0755 quiz/quiz /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/quiz +/build/reproducible-path/bsdgames-2.17/install-man pig/pig.6 +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 pom/pom.6 +/build/reproducible-path/bsdgames-2.17/install-man bcd.6 ppt.6 +: primes +: quiz install -c -m 0755 rain/rain /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/rain 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 -: ppt -: primes install -c -m 0755 sail/sail /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/sail -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm -: quiz : rain +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/hack/perm +/build/reproducible-path/bsdgames-2.17/install-man primes/primes.6 +/build/reproducible-path/bsdgames-2.17/install-man quiz/quiz.6 : random : robots -/build/reproducible-path/bsdgames-2.17/install-man bcd.6 ppt.6 -/build/reproducible-path/bsdgames-2.17/install-man primes/primes.6 : sail -/build/reproducible-path/bsdgames-2.17/install-man quiz/quiz.6 /build/reproducible-path/bsdgames-2.17/install-man rain/rain.6 -/build/reproducible-path/bsdgames-2.17/install-man random/random.6 -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/robots_roll -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/saillog 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 -/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/hack/record 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-man random/random.6 +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/robots_roll +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/saillog : snake -install -c -m 0755 trek/trek /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/trek : snscore -/build/reproducible-path/bsdgames-2.17/install-man robots/robots.6 : 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 /build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/snake.log +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/hack/record /build/reproducible-path/bsdgames-2.17/install-man snake.6 snscore.6 -install -c -m 0755 wargames/wargames /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wargames -install -d -m 0750 /build/reproducible-path/bsdgames-2.17/debian/bsdgames/var/games/bsdgames/sail -/build/reproducible-path/bsdgames-2.17/install-man hack/hack.6 -: trek /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/snakerawscores -/build/reproducible-path/bsdgames-2.17/install-man sail/sail.6 -/build/reproducible-path/bsdgames-2.17/install-man trek/trek.6 +: trek : wargames -install -c -m 0755 worm/worm /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/worm -/build/reproducible-path/bsdgames-2.17/install-man wargames/wargames.6 -install -c -m 0755 worms/worms /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/worms -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 0755 wtf/wtf /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wtf -/build/reproducible-path/bsdgames-2.17/install-man snake/snake/snake.6 -ln -f tetris/tetris.6 tetris/tetris-bsd.6 : worm : worms -/build/reproducible-path/bsdgames-2.17/install-man tetris/tetris-bsd.6 -: wtf +install -c -m 0755 wtf/wtf /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/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 trek/trek.6 +/build/reproducible-path/bsdgames-2.17/install-man wargames/wargames.6 +/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 worm/worm.6 /build/reproducible-path/bsdgames-2.17/install-man worms/worms.6 -install -c -m 0755 wump/wump /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/games/wump -install -c -m 0644 wtf/acronyms /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms +: wtf : wump -rm -f tetris/tetris-bsd.6 +/build/reproducible-path/bsdgames-2.17/install-score /var/games/bsdgames/snakerawscores +/build/reproducible-path/bsdgames-2.17/install-man sail/sail.6 +/build/reproducible-path/bsdgames-2.17/install-man hack/hack.6 +install -c -m 0644 wtf/acronyms /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/acronyms install -c -m 0644 wump/wump.info /build/reproducible-path/bsdgames-2.17/debian/bsdgames/usr/share/games/bsdgames/wump.info +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 +/build/reproducible-path/bsdgames-2.17/install-man tetris/tetris-bsd.6 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 wump/wump.6 /build/reproducible-path/bsdgames-2.17/install-man wtf/wtf.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; \ @@ -6673,8 +6601,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'bsdgames' in '../bsdgames_2.17-35_amd64.deb'. dpkg-deb: building package 'bsdgames-dbgsym' in '../bsdgames-dbgsym_2.17-35_amd64.deb'. +dpkg-deb: building package 'bsdgames' in '../bsdgames_2.17-35_amd64.deb'. dpkg-genbuildinfo --build=binary -O../bsdgames_2.17-35_amd64.buildinfo dpkg-genchanges --build=binary -O../bsdgames_2.17-35_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -6682,12 +6610,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/3714102/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3714102/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/3441596 and its subdirectories -I: Current time: Fri Oct 31 06:27:52 -12 2025 -I: pbuilder-time-stamp: 1761935272 +I: removing directory /srv/workspace/pbuilder/3714102 and its subdirectories +I: Current time: Fri Dec 4 14:52:10 +14 2026 +I: pbuilder-time-stamp: 1796345530