Diff of the two buildlogs: -- --- b1/build.log 2022-02-10 19:31:53.768033249 +0000 +++ b2/build.log 2022-02-10 19:37:20.981923590 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Feb 10 07:22:38 -12 2022 -I: pbuilder-time-stamp: 1644520958 +I: Current time: Thu Mar 16 15:54:57 +14 2023 +I: pbuilder-time-stamp: 1678931697 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./nethack_3.6.6-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.VrldRtCX/trustedkeys.kbx': General error -gpgv: Signature made Sat Jan 9 09:43:32 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.89BqhJlI/trustedkeys.kbx': General error +gpgv: Signature made Sun Jan 10 11:43:32 2021 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -37,135 +37,169 @@ dpkg-source: info: applying 0021-fix-kfreebsd-ftbfs.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2317722/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3900278/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/3900278/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3900278/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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,-fixfilepath parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + 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,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='6e71fac788174882895c1d8ed584ef82' - 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='2317722' - PS1='# ' - PS2='> ' + INVOCATION_ID=a0fd32d598c445d2aad3f60c6ca3e407 + 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=3900278 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/tmp.hSltgRyLyV/pbuilderrc_ErWq --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.hSltgRyLyV/b1 --logfile b1/build.log nethack_3.6.6-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.hSltgRyLyV/pbuilderrc_DmZj --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.hSltgRyLyV/b2 --logfile b2/build.log nethack_3.6.6-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 6 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/2317722/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Mar 16 15:55 sh -> bash + lrwxrwxrwx 1 root root 4 Mar 13 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/3900278/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -469,7 +503,7 @@ Get: 234 http://deb.debian.org/debian bullseye/main amd64 qtmultimedia5-dev amd64 5.15.2-3 [50.3 kB] Get: 235 http://deb.debian.org/debian bullseye/main amd64 xfonts-encodings all 1:1.0.4-2.1 [573 kB] Get: 236 http://deb.debian.org/debian bullseye/main amd64 xfonts-utils amd64 1:7.7+6 [93.0 kB] -Fetched 113 MB in 4s (29.5 MB/s) +Fetched 113 MB in 2s (74.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19655 files and directories currently installed.) @@ -1443,7 +1477,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/nethack-3.6.6/ && 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 > ../nethack_3.6.6-2_source.changes +hostname: Name or service not known +I: Running cd /build/nethack-3.6.6/ && 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 > ../nethack_3.6.6-2_source.changes dpkg-buildpackage: info: source package nethack dpkg-buildpackage: info: source version 3.6.6-2 dpkg-buildpackage: info: source distribution unstable @@ -1514,26 +1549,173 @@ make[2]: Entering directory '/build/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o alloc.o alloc.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dlb.o dlb.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o isaac64.o isaac64.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c make[3]: Entering directory '/build/nethack-3.6.6/util' ./makedefs -o -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o isaac64.o isaac64.c make[3]: Leaving directory '/build/nethack-3.6.6/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c make[3]: Entering directory '/build/nethack-3.6.6/util' ./makedefs -p make[3]: Leaving directory '/build/nethack-3.6.6/util' touch ../src/hack.h-t -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o allmain.o allmain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o apply.o apply.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o weapon.o weapon.c make[3]: Entering directory '/build/nethack-3.6.6/util' ./makedefs -z +make[3]: Leaving directory '/build/nethack-3.6.6/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o were.o were.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wield.o wield.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o windows.o windows.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wizard.o wizard.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worm.o worm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worn.o worn.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o write.o write.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o zap.o zap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o getline.o ../win/tty/getline.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o termcap.o ../win/tty/termcap.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from ../sys/unix/unixmain.c:8: +In function 'strncat', + inlined from 'main' at ../sys/unix/unixmain.c:244:20: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topl.o ../win/tty/topl.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from write.c:4: +In function 'strncpy', + inlined from 'dowrite' at write.c:161:16: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wintty.o ../win/tty/wintty.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmain.o ../win/curses/cursmain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o curswins.o ../win/curses/curswins.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmisc.o ../win/curses/cursmisc.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursdial.o ../win/curses/cursdial.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursstat.o ../win/curses/cursstat.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinit.o ../win/curses/cursinit.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmesg.o ../win/curses/cursmesg.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinvt.o ../win/curses/cursinvt.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o allmain.o allmain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o apply.o apply.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from ../win/curses/cursstat.c:7: +In function 'strncpy', + inlined from 'curs_HPbar' at ../win/curses/cursstat.c:925:12: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../win/curses/cursstat.c: In function 'curs_HPbar': +../win/curses/cursstat.c:923:30: note: length computed here + 923 | if (bar_len > (k = (int) strlen(text))) /* 26 for vertical status */ + | ^~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o artifact.o artifact.c +../win/curses/cursinit.c: In function 'curses_choose_character': cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o attrib.o attrib.c -make[3]: Leaving directory '/build/nethack-3.6.6/util' +../win/curses/cursinit.c:455:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 455 | sprintf(choice, "%s%c", tmpchoice, '\033'); + | ^ +In file included from /usr/include/stdio.h:867, + from /usr/include/curses.h:192, + from ../win/curses/cursinit.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o bones.o bones.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cmd.o cmd.c +weapon.c: In function 'enhance_weapon_skill': +weapon.c:1261:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] + 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), + | ^~ + 1262 | sklnambuf); + | ~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1258:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] + 1258 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, + | ^~ + 1259 | P_NAME(i), sklnambuf); + | ~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1253:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] + 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), + | ^~ + 1254 | sklnambuf, P_ADVANCE(i), + | ~~~~~~~~~ +weapon.c:1253:38: note: directive argument in the range [0, 65535] + 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), + | ^~~~~~~~~~~~~~~~~~~~~ +weapon.c:1253:38: note: directive argument in the range [-325120, 327680] +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1249:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] + 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, + | ^~~~~ + 1250 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), + | ~~~~~~~~~ +weapon.c:1249:38: note: directive argument in the range [0, 65535] + 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1249:38: note: directive argument in the range [-325120, 327680] +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dbridge.o dbridge.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o decl.o decl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o detect.o detect.c @@ -1543,19 +1725,6 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_name.o do_name.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o do_wear.o do_wear.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dog.o dog.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dogmove.o dogmove.c -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from cmd.c:6: -In function 'strncpy', - inlined from 'attributes_enlightenment' at cmd.c:2727:20: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 2793 | Sprintf(condbuf, "condition/%s/%s", @@ -1572,6 +1741,20 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from cmd.c:6: +In function 'strncpy', + inlined from 'attributes_enlightenment' at cmd.c:2727:20: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dogmove.o dogmove.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dokick.o dokick.c do_name.c: In function 'getpos_menu': do_name.c:604:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 604 | Sprintf(fullbuf, "%s%s%s", firstmatch, @@ -1586,17 +1769,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dokick.o dokick.c -dogmove.c: In function 'droppables': -cc1: warning: function may return address of local variable [-Wreturn-local-addr] -dogmove.c:29:28: note: declared here - 29 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; - | ^~~~~ -dogmove.c:29:28: note: declared here -dogmove.c:29:28: note: declared here -dogmove.c:29:28: note: declared here -dogmove.c:29:28: note: declared here -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dothrow.o dothrow.c do_name.c: In function 'getpos': do_name.c:190:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); @@ -1624,11 +1796,37 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +botl.c: In function 'status_hilite_menu_add': +botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] + 3385 | Sprintf(obuf, "%s or %s", + | ^~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from botl.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dothrow.o dothrow.c +dogmove.c: In function 'droppables': +cc1: warning: function may return address of local variable [-Wreturn-local-addr] +dogmove.c:29:28: note: declared here + 29 | struct obj *obj, *wep, dummy, *pickaxe, *unihorn, *key; + | ^~~~~ +dogmove.c:29:28: note: declared here +dogmove.c:29:28: note: declared here +dogmove.c:29:28: note: declared here +dogmove.c:29:28: note: declared here cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o drawing.o drawing.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o dungeon.o dungeon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o eat.o eat.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o end.o end.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o engrave.o engrave.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o exper.o exper.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o explode.o explode.c cmd.c: In function 'enlght_halfdmg': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -1643,20 +1841,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -botl.c: In function 'status_hilite_menu_add': -botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] - 3385 | Sprintf(obuf, "%s or %s", - | ^~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from botl.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'one_characteristic': cmd.c:1653:22: warning: '%s' directive writing between 3 and 4 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -1671,9 +1855,8 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o exper.o exper.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o explode.o explode.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o extralev.o extralev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o files.o files.c cmd.c: In function 'background_enlightenment.constprop': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -1688,22 +1871,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o files.o files.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o fountain.o fountain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hack.o hack.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hacklib.o hacklib.c -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from engrave.c:6: -In function 'strncat', - inlined from 'doengrave' at engrave.c:1154:12: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ explode.c: In function 'explode': explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), @@ -1718,10 +1885,24 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o fountain.o fountain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hack.o hack.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o hacklib.o hacklib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o invent.o invent.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from engrave.c:6: +In function 'strncat', + inlined from 'doengrave' at engrave.c:1154:12: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o light.o light.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o lock.o lock.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mail.o mail.c cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -1788,7 +1969,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o makemon.o makemon.c cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); | ^~ @@ -1828,8 +2008,9 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mail.o mail.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o makemon.o makemon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mapglyph.o mapglyph.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mcastu.o mcastu.c hacklib.c: In function 'yyyymmddhhmmss': hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, @@ -1847,6 +2028,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mcastu.o mcastu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mhitm.o mhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mhitu.o mhitu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o minion.o minion.c @@ -1856,6 +2038,8 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkobj.o mkobj.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mkroom.o mkroom.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mon.o mon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mondata.o mondata.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o monmove.o monmove.c cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -1948,8 +2132,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mondata.o mondata.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o monmove.o monmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mplayer.o mplayer.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o mthrowu.o mthrowu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o muse.o muse.c @@ -1969,7 +2151,6 @@ pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] 598 | int vlen = 0; | ^~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o potion.o potion.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -1994,15 +2175,12 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o potion.o potion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o pray.o pray.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o priest.o priest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o quest.o quest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o questpgr.o questpgr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o read.o read.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rect.o rect.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o region.o region.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o restore.o restore.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rip.o rip.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -2037,8 +2215,10 @@ objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rnd.o rnd.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o role.o role.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rect.o rect.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o region.o region.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o restore.o restore.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rip.o rip.c options.c: In function 'option_help': options.c:6279:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, @@ -2053,8 +2233,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rumors.o rumors.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o save.o save.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -2072,21 +2250,11 @@ objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rnd.o rnd.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o role.o role.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o rumors.o rumors.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o save.o save.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shk.o shk.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shknam.o shknam.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sit.o sit.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sounds.o sounds.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sp_lev.o sp_lev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o spell.o spell.c -sounds.c: In function 'domonnoise': -sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] - 622 | verbl_msg = vampmsg[vampindex]; - | ~~~~~~~^~~~~~~~~~~ -sounds.c:592:38: note: while referencing 'vampmsg' - 592 | static const char *const vampmsg[] = { - | ^~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sys.o sys.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steal.o steal.c potion.c: In function 'potionhit': potion.c:1406:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); @@ -2114,9 +2282,23 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o shknam.o shknam.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sit.o sit.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sounds.o sounds.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sp_lev.o sp_lev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o spell.o spell.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o sys.o sys.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steal.o steal.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o steed.o steed.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o teleport.o teleport.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o timeout.o timeout.c +sounds.c: In function 'domonnoise': +sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] + 622 | verbl_msg = vampmsg[vampindex]; + | ~~~~~~~^~~~~~~~~~~ +sounds.c:592:38: note: while referencing 'vampmsg' + 592 | static const char *const vampmsg[] = { + | ^~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topten.o topten.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o track.o track.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o trap.o trap.c @@ -2125,13 +2307,9 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vault.o vault.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vision.o vision.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o vis_tab.o vis_tab.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o weapon.o weapon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o were.o were.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wield.o wield.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o windows.o windows.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wizard.o wizard.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worm.o worm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o worn.o worn.c +/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' +../util/makedefs -v +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o version.o version.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -2144,149 +2322,6 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o write.o write.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o zap.o zap.c -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from write.c:4: -In function 'strncpy', - inlined from 'dowrite' at write.c:161:16: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c -weapon.c: In function 'enhance_weapon_skill': -weapon.c:1261:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] - 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), - | ^~ - 1262 | sklnambuf); - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1258:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] - 1258 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, - | ^~ - 1259 | P_NAME(i), sklnambuf); - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1253:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] - 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), - | ^~ - 1254 | sklnambuf, P_ADVANCE(i), - | ~~~~~~~~~ -weapon.c:1253:38: note: directive argument in the range [0, 65535] - 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), - | ^~~~~~~~~~~~~~~~~~~~~ -weapon.c:1253:38: note: directive argument in the range [-325120, 327680] -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1249:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] - 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, - | ^~~~~ - 1250 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), - | ~~~~~~~~~ -weapon.c:1249:38: note: directive argument in the range [0, 65535] - 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, - | ^~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1249:38: note: directive argument in the range [-325120, 327680] -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o getline.o ../win/tty/getline.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o termcap.o ../win/tty/termcap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o topl.o ../win/tty/topl.c -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from ../sys/unix/unixmain.c:8: -In function 'strncat', - inlined from 'main' at ../sys/unix/unixmain.c:244:20: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o wintty.o ../win/tty/wintty.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmain.o ../win/curses/cursmain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o curswins.o ../win/curses/curswins.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmisc.o ../win/curses/cursmisc.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursdial.o ../win/curses/cursdial.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursstat.o ../win/curses/cursstat.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinit.o ../win/curses/cursinit.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursmesg.o ../win/curses/cursmesg.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o cursinvt.o ../win/curses/cursinvt.c -/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from ../win/curses/cursstat.c:7: -In function 'strncpy', - inlined from 'curs_HPbar' at ../win/curses/cursstat.c:925:12: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../win/curses/cursstat.c: In function 'curs_HPbar': -../win/curses/cursstat.c:923:30: note: length computed here - 923 | if (bar_len > (k = (int) strlen(text))) /* 26 for vertical status */ - | ^~~~~~~~~~~~ -../util/makedefs -v -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DCURSES_GRAPHICS -c -o version.o version.c -../win/curses/cursinit.c: In function 'curses_choose_character': -../win/curses/cursinit.c:455:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 455 | sprintf(choice, "%s%c", tmpchoice, '\033'); - | ^ -In file included from /usr/include/stdio.h:867, - from /usr/include/curses.h:192, - from ../win/curses/cursinit.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sp_lev.c: In function 'load_special': sp_lev.c:4272:20: warning: 'typ' may be used uninitialized in this function [-Wmaybe-uninitialized] 4272 | levl[x][y].typ = (*(int *) arg); @@ -2346,8 +2381,8 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dlb.o dlb.c make[3]: Entering directory '/build/nethack-3.6.6/util' ./makedefs -o -make[3]: Leaving directory '/build/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o isaac64.o isaac64.c +make[3]: Leaving directory '/build/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixres.o ../sys/unix/unixres.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o Window.o ../win/X11/Window.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dialogs.o ../win/X11/dialogs.c @@ -2355,193 +2390,15 @@ ./makedefs -p make[3]: Leaving directory '/build/nethack-3.6.6/util' touch ../src/hack.h-t -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o weapon.o weapon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o were.o were.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o allmain.o allmain.c make[3]: Entering directory '/build/nethack-3.6.6/util' ./makedefs -z -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wield.o wield.c make[3]: Leaving directory '/build/nethack-3.6.6/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o windows.o windows.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wizard.o wizard.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worm.o worm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worn.o worn.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o write.o write.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o zap.o zap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o getline.o ../win/tty/getline.c -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from write.c:4: -In function 'strncpy', - inlined from 'dowrite' at write.c:161:16: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o termcap.o ../win/tty/termcap.c -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from ../sys/unix/unixmain.c:8: -In function 'strncat', - inlined from 'main' at ../sys/unix/unixmain.c:244:20: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topl.o ../win/tty/topl.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintty.o ../win/tty/wintty.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winX.o ../win/X11/winX.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmap.o ../win/X11/winmap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmenu.o ../win/X11/winmenu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmesg.o ../win/X11/winmesg.c -../win/X11/winX.c: In function 'init_standard_windows': -../win/X11/winX.c:2575:46: warning: passing argument 2 of 'XtAppSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [-Wdiscarded-qualifiers] - 2575 | (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../win/X11/winX.c:19: -/usr/include/X11/Intrinsic.h:1771:5: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)(char *)' - 1771 | XtErrorHandler /* handler */ _X_NORETURN - | ^ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmisc.o ../win/X11/winmisc.c -../win/X11/winX.c: In function 'X11_init_nhwindows': -../win/X11/winX.c:1508:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1508 | (void) seteuid(getuid()); - | ^~~~~~~~~~~~~~~~~ -../win/X11/winX.c:1569:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1569 | (void) seteuid(savuid); - | ^~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winstat.o ../win/X11/winstat.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintext.o ../win/X11/wintext.c -../win/X11/winmap.c: In function 'map_update': -../win/X11/winmap.c:1243:24: warning: variable 'win_start_col' set but not used [-Wunused-but-set-variable] - 1243 | int win_start_row, win_start_col; - | ^~~~~~~~~~~~~ -../win/X11/winmap.c:1243:9: warning: variable 'win_start_row' set but not used [-Wunused-but-set-variable] - 1243 | int win_start_row, win_start_col; - | ^~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winval.o ../win/X11/winval.c -../win/X11/winmisc.c: In function 'X11_player_selection_randomize': -../win/X11/winmisc.c:504:13: warning: variable 'fully_specified_role' set but not used [-Wunused-but-set-variable] - 504 | boolean fully_specified_role, choose_race_first; - | ^~~~~~~~~~~~~~~~~~~~ -make[3]: Entering directory '/build/nethack-3.6.6/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/share/tilemap.c -../win/X11/winstat.c: In function 'X11_status_update_tty': -../win/X11/winstat.c:314:20: warning: variable 'oncearound' set but not used [-Wunused-but-set-variable] - 314 | static boolean oncearound = FALSE; /* prevent premature partial display */ - | ^~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o allmain.o allmain.c -In file included from /usr/include/string.h:495, - from /usr/include/X11/Intrinsic.h:61, - from ../win/X11/winX.c:19: -In function 'strncpy', - inlined from 'done_button' at ../win/X11/winX.c:1834:12: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../win/X11/winX.c: In function 'done_button': -../win/X11/winX.c:1828:11: note: length computed here - 1828 | len = strlen(s); - | ^~~~~~~~~ -In file included from /usr/include/string.h:495, - from /usr/include/X11/Intrinsic.h:61, - from ../win/X11/winX.c:19: -In function 'strncpy', - inlined from 'askname_done' at ../win/X11/winX.c:1756:12: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../win/X11/winX.c: In function 'askname_done': -../win/X11/winX.c:1746:11: note: length computed here - 1746 | len = strlen(s); - | ^~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o apply.o apply.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o artifact.o artifact.c -weapon.c: In function 'enhance_weapon_skill': -weapon.c:1261:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] - 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), - | ^~ - 1262 | sklnambuf); - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1258:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] - 1258 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, - | ^~ - 1259 | P_NAME(i), sklnambuf); - | ~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1253:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] - 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), - | ^~ - 1254 | sklnambuf, P_ADVANCE(i), - | ~~~~~~~~~ -weapon.c:1253:38: note: directive argument in the range [0, 65535] - 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), - | ^~~~~~~~~~~~~~~~~~~~~ -weapon.c:1253:38: note: directive argument in the range [-325120, 327680] -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1249:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] - 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, - | ^~~~~ - 1250 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), - | ~~~~~~~~~ -weapon.c:1249:38: note: directive argument in the range [0, 65535] - 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, - | ^~~~~~~~~~~~~~~~~~~~~~~~ -weapon.c:1249:38: note: directive argument in the range [-325120, 327680] -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from weapon.c:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o attrib.o attrib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ball.o ball.c -cc -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o bones.o bones.c -./tilemap -make[3]: Leaving directory '/build/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o cmd.o cmd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dbridge.o dbridge.c @@ -2552,6 +2409,7 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do.o do.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_name.o do_name.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o do_wear.o do_wear.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dog.o dog.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -2564,24 +2422,9 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dog.o dog.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dogmove.o dogmove.c -botl.c: In function 'status_hilite_linestr_gather_conditions': -botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] - 2793 | Sprintf(condbuf, "condition/%s/%s", - | ^~ - 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); - | ~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from botl.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dokick.o dokick.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dothrow.o dothrow.c dogmove.c: In function 'droppables': cc1: warning: function may return address of local variable [-Wreturn-local-addr] dogmove.c:29:28: note: declared here @@ -2605,7 +2448,23 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dokick.o dokick.c +botl.c: In function 'status_hilite_linestr_gather_conditions': +botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] + 2793 | Sprintf(condbuf, "condition/%s/%s", + | ^~ + 2794 | conditionbitmask2str(cond_maps[i].bm), clrbuf); + | ~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from botl.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 267) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o drawing.o drawing.c do_name.c: In function 'getpos': do_name.c:190:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); @@ -2633,25 +2492,10 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dothrow.o dothrow.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o drawing.o drawing.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o dungeon.o dungeon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o eat.o eat.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o end.o end.c -botl.c: In function 'status_hilite_menu_add': -botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] - 3385 | Sprintf(obuf, "%s or %s", - | ^~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from botl.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o engrave.o engrave.c cmd.c: In function 'enlght_halfdmg': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -2680,8 +2524,33 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o engrave.o engrave.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from engrave.c:6: +In function 'strncat', + inlined from 'doengrave' at engrave.c:1154:12: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o exper.o exper.c +botl.c: In function 'status_hilite_menu_add': +botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] + 3385 | Sprintf(obuf, "%s or %s", + | ^~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from botl.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'background_enlightenment.constprop': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -2701,7 +2570,6 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o files.o files.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o fountain.o fountain.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hack.o hack.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hacklib.o hacklib.c explode.c: In function 'explode': explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), @@ -2716,24 +2584,20 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from engrave.c:6: -In function 'strncat', - inlined from 'doengrave' at engrave.c:1154:12: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o hacklib.o hacklib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o invent.o invent.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o light.o light.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o lock.o lock.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mail.o mail.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o makemon.o makemon.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mapglyph.o mapglyph.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mcastu.o mcastu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitm.o mhitm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitu.o mhitu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o minion.o minion.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mklev.o mklev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmap.o mkmap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmaze.o mkmaze.c cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -2800,19 +2664,15 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hacklib.c: In function 'yyyymmddhhmmss': -hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] - 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, - | ^~~~ -hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] - 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] + 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); + | ^~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from hacklib.c:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 + from cmd.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); @@ -2825,7 +2685,7 @@ from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 267) into a destination of size 256 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 267 bytes into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); @@ -2838,33 +2698,36 @@ from ../include/config.h:588, from ../include/hack.h:10, from cmd.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 11 and 267 bytes into a destination of size 256 +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 267) into a destination of size 256 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] - 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); - | ^~ +hacklib.c: In function 'yyyymmddhhmmss': +hacklib.c:1031:28: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 4 and 11 [-Wformat-overflow=] + 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, + | ^~~~ +hacklib.c:1031:22: note: directive argument in the range [-2147483647, 2147483647] + 1031 | Sprintf(datestr, "%04ld%02d%02d%02d%02d%02d", datenum, lt->tm_mon + 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from ../include/global.h:9, from ../include/config.h:588, from ../include/hack.h:10, - from cmd.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 11 or more bytes (assuming 267) into a destination of size 256 + from hacklib.c:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 15 and 67 bytes into a destination of size 15 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mcastu.o mcastu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitm.o mhitm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mhitu.o mhitu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o minion.o minion.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mklev.o mklev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmap.o mkmap.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkmaze.o mkmaze.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkobj.o mkobj.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mkroom.o mkroom.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mon.o mon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mondata.o mondata.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o monmove.o monmove.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mplayer.o mplayer.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mthrowu.o mthrowu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o muse.o muse.c cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -2957,22 +2820,26 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mon.o mon.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mondata.o mondata.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o monmove.o monmove.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mplayer.o mplayer.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o mthrowu.o mthrowu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o muse.o muse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o music.o music.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o o_init.o o_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o objnam.o objnam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o options.o options.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pager.o pager.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pickup.o pickup.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from pager.c:9: +In function 'strncpy', + inlined from 'checkfile.constprop' at pager.c:652:16: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pline.o pline.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o polyself.o polyself.c pline.c: In function 'vpline': -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o potion.o potion.c pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] 129 | int vlen = 0; | ^~~~ @@ -2992,28 +2859,12 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from pager.c:9: -In function 'strncpy', - inlined from 'checkfile.constprop' at pager.c:652:16: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o polyself.o polyself.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o potion.o potion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o pray.o pray.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o priest.o priest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o quest.o quest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o questpgr.o questpgr.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o read.o read.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rect.o rect.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o region.o region.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o restore.o restore.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rip.o rip.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rnd.o rnd.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -3031,7 +2882,6 @@ objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o role.o role.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -3049,25 +2899,7 @@ objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rumors.o rumors.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o save.o save.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shk.o shk.c -options.c: In function 'option_help': -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shknam.o shknam.c -options.c:6279:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] - 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, - | ^~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from options.c:17: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sit.o sit.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o read.o read.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -3085,9 +2917,45 @@ objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rect.o rect.c +options.c: In function 'option_help': +options.c:6279:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] + 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, + | ^~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from options.c:17: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o region.o region.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o restore.o restore.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rip.o rip.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rnd.o rnd.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o role.o role.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o rumors.o rumors.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o save.o save.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shk.o shk.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o shknam.o shknam.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sit.o sit.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sounds.o sounds.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sp_lev.o sp_lev.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o spell.o spell.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sys.o sys.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steal.o steal.c +sounds.c: In function 'domonnoise': +sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] + 622 | verbl_msg = vampmsg[vampindex]; + | ~~~~~~~^~~~~~~~~~~ +sounds.c:592:38: note: while referencing 'vampmsg' + 592 | static const char *const vampmsg[] = { + | ^~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steed.o steed.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o teleport.o teleport.c potion.c: In function 'potionhit': potion.c:1406:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1406 | Sprintf(saddle_glows, "%s %s", buf, aobjnam(saddle, "glow")); @@ -3115,42 +2983,209 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o sys.o sys.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steal.o steal.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o steed.o steed.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o teleport.o teleport.c -sounds.c: In function 'domonnoise': -sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] - 622 | verbl_msg = vampmsg[vampindex]; - | ~~~~~~~^~~~~~~~~~~ -sounds.c:592:38: note: while referencing 'vampmsg' - 592 | static const char *const vampmsg[] = { - | ^~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o timeout.o timeout.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topten.o topten.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o track.o track.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from options.c:17: +In function 'strncat', + inlined from 'doset' at options.c:4692:28: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o trap.o trap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o u_init.o u_init.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o uhitm.o uhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vault.o vault.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vision.o vision.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o vis_tab.o vis_tab.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o tile.o tile.c -/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' -../util/makedefs -v -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o version.o version.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o weapon.o weapon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o were.o were.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wield.o wield.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o windows.o windows.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wizard.o wizard.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worm.o worm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o worn.o worn.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o write.o write.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o zap.o zap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o posixregex.o ../sys/share/posixregex.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o ioctl.o ../sys/share/ioctl.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, from ../include/global.h:136, from ../include/config.h:588, from ../include/hack.h:10, - from options.c:17: + from write.c:4: +In function 'strncpy', + inlined from 'dowrite' at write.c:161:16: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixmain.o ../sys/unix/unixmain.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixtty.o ../sys/share/unixtty.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o unixunix.o ../sys/unix/unixunix.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o getline.o ../win/tty/getline.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from ../sys/unix/unixmain.c:8: In function 'strncat', - inlined from 'doset' at options.c:4692:28: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + inlined from 'main' at ../sys/unix/unixmain.c:244:20: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o termcap.o ../win/tty/termcap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o topl.o ../win/tty/topl.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintty.o ../win/tty/wintty.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winX.o ../win/X11/winX.c +weapon.c: In function 'enhance_weapon_skill': +weapon.c:1261:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] + 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), + | ^~ + 1262 | sklnambuf); + | ~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 5 or more bytes (assuming 264) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1258:49: warning: '%s' directive writing up to 255 bytes into a region of size between 248 and 252 [-Wformat-overflow=] + 1258 | Sprintf(buf, " %s %-*s [%s]", prefix, longest, + | ^~ + 1259 | P_NAME(i), sklnambuf); + | ~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 265) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1253:46: warning: '%s' directive writing up to 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] + 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), + | ^~ + 1254 | sklnambuf, P_ADVANCE(i), + | ~~~~~~~~~ +weapon.c:1253:38: note: directive argument in the range [0, 65535] + 1253 | Sprintf(buf, " %s%s\t%s\t%5d(%4d)", prefix, P_NAME(i), + | ^~~~~~~~~~~~~~~~~~~~~ +weapon.c:1253:38: note: directive argument in the range [-325120, 327680] +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 15 or more bytes (assuming 277) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1249:47: warning: '%-12s' directive writing between 12 and 255 bytes into a region of size between 250 and 254 [-Wformat-overflow=] + 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, + | ^~~~~ + 1250 | longest, P_NAME(i), sklnambuf, P_ADVANCE(i), + | ~~~~~~~~~ +weapon.c:1249:38: note: directive argument in the range [0, 65535] + 1249 | Sprintf(buf, " %s%-*s %-12s %5d(%4d)", prefix, + | ^~~~~~~~~~~~~~~~~~~~~~~~ +weapon.c:1249:38: note: directive argument in the range [-325120, 327680] +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from weapon.c:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 27 or more bytes (assuming 277) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmap.o ../win/X11/winmap.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmenu.o ../win/X11/winmenu.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmesg.o ../win/X11/winmesg.c +../win/X11/winmap.c: In function 'map_update': +../win/X11/winmap.c:1243:24: warning: variable 'win_start_col' set but not used [-Wunused-but-set-variable] + 1243 | int win_start_row, win_start_col; + | ^~~~~~~~~~~~~ +../win/X11/winmap.c:1243:9: warning: variable 'win_start_row' set but not used [-Wunused-but-set-variable] + 1243 | int win_start_row, win_start_col; + | ^~~~~~~~~~~~~ +../win/X11/winX.c: In function 'init_standard_windows': +../win/X11/winX.c:2575:46: warning: passing argument 2 of 'XtAppSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [-Wdiscarded-qualifiers] + 2575 | (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); + | ^~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../win/X11/winX.c:19: +/usr/include/X11/Intrinsic.h:1771:5: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)(char *)' + 1771 | XtErrorHandler /* handler */ _X_NORETURN + | ^ +../win/X11/winX.c: In function 'X11_init_nhwindows': +../win/X11/winX.c:1508:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1508 | (void) seteuid(getuid()); + | ^~~~~~~~~~~~~~~~~ +../win/X11/winX.c:1569:12: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1569 | (void) seteuid(savuid); + | ^~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winmisc.o ../win/X11/winmisc.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winstat.o ../win/X11/winstat.c +../win/X11/winmisc.c: In function 'X11_player_selection_randomize': +../win/X11/winmisc.c:504:13: warning: variable 'fully_specified_role' set but not used [-Wunused-but-set-variable] + 504 | boolean fully_specified_role, choose_race_first; + | ^~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o wintext.o ../win/X11/wintext.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o winval.o ../win/X11/winval.c +In file included from /usr/include/string.h:495, + from /usr/include/X11/Intrinsic.h:61, + from ../win/X11/winX.c:19: +In function 'strncpy', + inlined from 'done_button' at ../win/X11/winX.c:1834:12: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../win/X11/winX.c: In function 'done_button': +../win/X11/winX.c:1828:11: note: length computed here + 1828 | len = strlen(s); + | ^~~~~~~~~ +In file included from /usr/include/string.h:495, + from /usr/include/X11/Intrinsic.h:61, + from ../win/X11/winX.c:19: +In function 'strncpy', + inlined from 'askname_done' at ../win/X11/winX.c:1756:12: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../win/X11/winX.c: In function 'askname_done': +../win/X11/winX.c:1746:11: note: length computed here + 1746 | len = strlen(s); + | ^~~~~~~~~ +make[3]: Entering directory '/build/nethack-3.6.6/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c ../win/share/tilemap.c +../win/X11/winstat.c: In function 'X11_status_update_tty': +../win/X11/winstat.c:314:20: warning: variable 'oncearound' set but not used [-Wunused-but-set-variable] + 314 | static boolean oncearound = FALSE; /* prevent premature partial display */ + | ^~~~~~~~~~ +cc -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o +./tilemap +make[3]: Leaving directory '/build/nethack-3.6.6/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o tile.o tile.c +/bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' +../util/makedefs -v +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DX11_GRAPHICS -c -o version.o version.c sp_lev.c: In function 'load_special': sp_lev.c:4272:20: warning: 'typ' may be used uninitialized in this function [-Wmaybe-uninitialized] 4272 | levl[x][y].typ = (*(int *) arg); @@ -3207,12 +3242,12 @@ /usr/bin/make LFLAGS='-g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now' CFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC' WINSRC='$(WINQT4SRC)' WINOBJ='$(WINQT4OBJ)' WINLIB='$(WINQT5LIB)' LINK='$(CXX)' GAME='nethack-qt' -C src 'nethack-qt' make[2]: Entering directory '/build/nethack-3.6.6/src' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o alloc.o alloc.c -make[3]: Entering directory '/build/nethack-3.6.6/util' -./makedefs -o -make[3]: Leaving directory '/build/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dlb.o dlb.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o isaac64.o isaac64.c +make[3]: Entering directory '/build/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o unixres.o ../sys/unix/unixres.c +./makedefs -o +make[3]: Leaving directory '/build/nethack-3.6.6/util' g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4clust.o ../win/Qt4/qt4clust.cpp /usr/bin/moc -o qt4main.moc ../win/Qt4/qt4main.h /usr/bin/moc -o qt4kde0.moc ../win/Qt4/qt4kde0.h @@ -3230,9 +3265,9 @@ make[3]: Leaving directory '/build/nethack-3.6.6/util' touch ../src/hack.h-t cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o weapon.o weapon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o were.o were.c make[3]: Entering directory '/build/nethack-3.6.6/util' ./makedefs -z -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o were.o were.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o wield.o wield.c make[3]: Leaving directory '/build/nethack-3.6.6/util' cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o windows.o windows.c @@ -3262,6 +3297,7 @@ g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4click.o ../win/Qt4/qt4click.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4delay.o ../win/Qt4/qt4delay.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4glyph.o ../win/Qt4/qt4glyph.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4icon.o ../win/Qt4/qt4icon.cpp In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -3274,13 +3310,8 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 30 bytes from a string of length 31 [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4icon.o ../win/Qt4/qt4icon.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4inv.o ../win/Qt4/qt4inv.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4key.o ../win/Qt4/qt4key.cpp -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4line.o ../win/Qt4/qt4line.cpp -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4main.o ../win/Qt4/qt4main.cpp -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4map.o ../win/Qt4/qt4map.cpp -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4menu.o ../win/Qt4/qt4menu.cpp weapon.c: In function 'enhance_weapon_skill': weapon.c:1261:47: warning: '%s' directive writing up to 255 bytes into a region of size between 249 and 253 [-Wformat-overflow=] 1261 | Sprintf(buf, " %s%s\t[%s]", prefix, P_NAME(i), @@ -3350,14 +3381,23 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4line.o ../win/Qt4/qt4line.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4main.o ../win/Qt4/qt4main.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4map.o ../win/Qt4/qt4map.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4menu.o ../win/Qt4/qt4menu.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4msg.o ../win/Qt4/qt4msg.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4plsel.o ../win/Qt4/qt4plsel.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4rip.o ../win/Qt4/qt4rip.cpp ../win/Qt4/qt4str.cpp: In function 'QString nethack_qt4::nh_capitalize_words(const QString&)': ../win/Qt4/qt4str.cpp:38:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 38 | for (size_t i = 0; i < words.size(); ++i) { | ~~^~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4plsel.o ../win/Qt4/qt4plsel.cpp -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4rip.o ../win/Qt4/qt4rip.cpp g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4set.o ../win/Qt4/qt4set.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4stat.o ../win/Qt4/qt4stat.cpp +../win/Qt4/qt4msg.cpp: In member function 'virtual void nethack_qt4::NetHackQtMessageWindow::PutStr(int, const QString&)': +../win/Qt4/qt4msg.cpp:144:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 144 | if (list->count() >= ::iflags.msg_history) + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../win/Qt4/qt4key.cpp: In member function 'Qt::KeyboardModifiers nethack_qt4::NetHackQtKeyBuffer::GetState()': ../win/Qt4/qt4key.cpp:67:27: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::KeyboardModifier; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 67 | if ( Empty() ) return 0; @@ -3382,19 +3422,46 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ -../win/Qt4/qt4glyph.cpp: In constructor 'nethack_qt4::NetHackQtGlyphs::NetHackQtGlyphs()': -../win/Qt4/qt4glyph.cpp:55:55: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 55 | msg.sprintf("Cannot load x11tiles or nhtiles.bmp"); - | ^ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4streq.o ../win/Qt4/qt4streq.cpp +../win/Qt4/qt4rip.cpp: In function 'void nethack_qt4::tryload(QPixmap&, const char*)': +../win/Qt4/qt4rip.cpp:44:38: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 44 | msg.sprintf("Cannot load \"%s\"", fn); + | ^ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4glyph.cpp:21: + from ../win/Qt4/qt4rip.cpp:18: /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4svsel.o ../win/Qt4/qt4svsel.cpp +../win/Qt4/qt4main.cpp: In function 'QString nethack_qt4::aboutMsg()': +../win/Qt4/qt4main.cpp:457:12: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 457 | PATCHLEVEL); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4main.cpp:21: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4win.o ../win/Qt4/qt4win.cpp +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4xcmd.o ../win/Qt4/qt4xcmd.cpp +In file included from ../win/Qt4/qt4bind.cpp:36: +../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': +../win/Qt4/qt4menu.h:24:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 24 | int lwidth = fm.width(item(i)->text()); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, + from ../win/Qt4/qt4bind.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ ../win/Qt4/qt4icon.cpp: In member function 'void nethack_qt4::NetHackQtLabelledIcon::setLabel(const QString&, long int, long int, const QString&)': ../win/Qt4/qt4icon.cpp:74:22: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 74 | buf.sprintf("%ld", v); @@ -3408,6 +3475,62 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ +g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4yndlg.o ../win/Qt4/qt4yndlg.cpp +../win/Qt4/qt4bind.cpp: In constructor 'nethack_qt4::NetHackQtBind::NetHackQtBind(int&, char**)': +../win/Qt4/qt4bind.cpp:115:14: warning: 'static void QCoreApplication::flush()' is deprecated [-Wdeprecated-declarations] + 115 | qApp->flush(); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcommandlineparser.h:45, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:55, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4bind.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:169:31: note: declared here + 169 | QT_DEPRECATED static void flush(); + | ^~~~~ +../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_init_nhwindows(int*, char**)': +../win/Qt4/qt4bind.cpp:147:19: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] + 147 | QApplication::setColorSpec(ManyColor); + | ^~~~~~~~~~~~ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:24, + from ../win/Qt4/qt4bind.cpp:23: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here + 106 | QT_DEPRECATED static void setColorSpec(int); + | ^~~~~~~~~~~~ +../win/Qt4/qt4bind.cpp:147:41: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] + 147 | QApplication::setColorSpec(ManyColor); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:24, + from ../win/Qt4/qt4bind.cpp:23: +/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here + 106 | QT_DEPRECATED static void setColorSpec(int); + | ^~~~~~~~~~~~ +../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_display_file(const char*, int)': +../win/Qt4/qt4bind.cpp:366:49: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 366 | message.sprintf("File not found: %s\n",filename); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4bind.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4bind.cpp: In member function 'virtual bool nethack_qt4::NetHackQtBind::notify(QObject*, QEvent*)': +../win/Qt4/qt4bind.cpp:682:51: warning: comparison of integer expressions of different signedness: 'QFlags::Int' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 682 | && ((key_macro[i].state&key_event->modifiers())==key_macro[i].state)) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +../win/Qt4/qt4map.cpp: In member function 'virtual void nethack_qt4::NetHackQtMapViewport::paintEvent(QPaintEvent*)': +../win/Qt4/qt4map.cpp:121:20: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 121 | if ( fm.width("M") > qt_settings->glyphs().width() ) + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, + from ../win/Qt4/qt4map.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ In file included from ../win/Qt4/qt4menu.cpp:24: ../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': ../win/Qt4/qt4menu.h:24:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] @@ -3418,6 +3541,19 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ +../win/Qt4/qt4glyph.cpp: In constructor 'nethack_qt4::NetHackQtGlyphs::NetHackQtGlyphs()': +../win/Qt4/qt4glyph.cpp:55:55: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 55 | msg.sprintf("Cannot load x11tiles or nhtiles.bmp"); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4glyph.cpp:21: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ ../win/Qt4/qt4menu.cpp: In constructor 'nethack_qt4::NetHackQtMenuWindow::NetHackQtMenuWindow(QWidget*)': ../win/Qt4/qt4menu.cpp:120:28: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::WindowType; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 120 | prompt.setParent(this,0); @@ -3467,16 +3603,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ -In file included from ../win/Qt4/qt4bind.cpp:36: -../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': -../win/Qt4/qt4menu.h:24:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 24 | int lwidth = fm.width(item(i)->text()); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4bind.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ ../win/Qt4/qt4menu.cpp: In member function 'void nethack_qt4::NetHackQtMenuWindow::AddRow(int, const nethack_qt4::NetHackQtMenuWindow::MenuItem&)': ../win/Qt4/qt4menu.cpp:350:34: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 350 | WidenColumn(0, fm.width("999999")); @@ -3505,81 +3631,55 @@ ../win/Qt4/qt4menu.cpp:395:18: warning: comparison of integer expressions of different signedness: 'const unsigned int' and 'int' [-Wsign-compare] 395 | if (mi.color != -1) { | ~~~~~~~~~^~~~~ -../win/Qt4/qt4map.cpp: In member function 'virtual void nethack_qt4::NetHackQtMapViewport::paintEvent(QPaintEvent*)': -../win/Qt4/qt4map.cpp:121:20: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 121 | if ( fm.width("M") > qt_settings->glyphs().width() ) - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4map.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ +../win/Qt4/qt4plsel.cpp: In constructor 'nethack_qt4::NetHackQtPlayerSelector::NetHackQtPlayerSelector(nethack_qt4::NetHackQtKeyBuffer&)': +../win/Qt4/qt4plsel.cpp:185:18: warning: unused variable 'vbgb' [-Wunused-variable] + 185 | QVBoxLayout* vbgb = new QVBoxLayout(genderbox); + | ^~~~ +../win/Qt4/qt4plsel.cpp:186:18: warning: unused variable 'vbab' [-Wunused-variable] + 186 | QVBoxLayout* vbab = new QVBoxLayout(alignbox); + | ^~~~ ../win/Qt4/qt4menu.cpp: In member function 'virtual void nethack_qt4::NetHackQtMenuWindow::keyPressEvent(QKeyEvent*)': ../win/Qt4/qt4menu.cpp:496:22: warning: comparison of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 496 | if (itemlist[i].ch == key || itemlist[i].gch == key) ../win/Qt4/qt4menu.cpp:496:48: warning: comparison of integer expressions of different signedness: 'char' and 'unsigned int' [-Wsign-compare] 496 | if (itemlist[i].ch == key || itemlist[i].gch == key) -../win/Qt4/qt4bind.cpp: In constructor 'nethack_qt4::NetHackQtBind::NetHackQtBind(int&, char**)': -../win/Qt4/qt4bind.cpp:115:14: warning: 'static void QCoreApplication::flush()' is deprecated [-Wdeprecated-declarations] - 115 | qApp->flush(); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcommandlineparser.h:45, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:55, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4bind.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:169:31: note: declared here - 169 | QT_DEPRECATED static void flush(); - | ^~~~~ -../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_init_nhwindows(int*, char**)': -../win/Qt4/qt4bind.cpp:147:19: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] - 147 | QApplication::setColorSpec(ManyColor); - | ^~~~~~~~~~~~ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:24, - from ../win/Qt4/qt4bind.cpp:23: -/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here - 106 | QT_DEPRECATED static void setColorSpec(int); - | ^~~~~~~~~~~~ -../win/Qt4/qt4bind.cpp:147:41: warning: 'static void QApplication::setColorSpec(int)' is deprecated [-Wdeprecated-declarations] - 147 | QApplication::setColorSpec(ManyColor); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QtWidgets:24, - from ../win/Qt4/qt4bind.cpp:23: -/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:106:31: note: declared here - 106 | QT_DEPRECATED static void setColorSpec(int); - | ^~~~~~~~~~~~ -../win/Qt4/qt4bind.cpp: In static member function 'static void nethack_qt4::NetHackQtBind::qt_display_file(const char*, int)': -../win/Qt4/qt4bind.cpp:366:49: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 366 | message.sprintf("File not found: %s\n",filename); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4bind.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4bind.cpp: In member function 'virtual bool nethack_qt4::NetHackQtBind::notify(QObject*, QEvent*)': -../win/Qt4/qt4bind.cpp:682:51: warning: comparison of integer expressions of different signedness: 'QFlags::Int' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 682 | && ((key_macro[i].state&key_event->modifiers())==key_macro[i].state)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4stat.o ../win/Qt4/qt4stat.cpp -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4streq.o ../win/Qt4/qt4streq.cpp -../win/Qt4/qt4main.cpp: In function 'QString nethack_qt4::aboutMsg()': -../win/Qt4/qt4main.cpp:457:12: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 457 | PATCHLEVEL); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4main.cpp:21: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ +../win/Qt4/qt4main.cpp: At global scope: +../win/Qt4/qt4main.cpp:419:21: warning: 'nethack_qt4::cast_c_xpm' defined but not used [-Wunused-variable] + 419 | static const char * cast_c_xpm[] = { + | ^~~~~~~~~~ +../win/Qt4/qt4main.cpp:400:21: warning: 'nethack_qt4::cast_b_xpm' defined but not used [-Wunused-variable] + 400 | static const char * cast_b_xpm[] = { + | ^~~~~~~~~~ +../win/Qt4/qt4main.cpp:381:21: warning: 'nethack_qt4::cast_a_xpm' defined but not used [-Wunused-variable] + 381 | static const char * cast_a_xpm[] = { + | ^~~~~~~~~~ +make[3]: Entering directory '/build/nethack-3.6.6/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c ../win/share/tilemap.c +cc -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o +./tilemap +make[3]: Leaving directory '/build/nethack-3.6.6/util' +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o allmain.o allmain.c +../win/Qt4/qt4bind.cpp: At global scope: +../win/Qt4/qt4bind.cpp:722:13: warning: 'void nethack_qt4::Qt_positionbar(char*)' defined but not used [-Wunused-function] + 722 | static void Qt_positionbar(char *) {} + | ^~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o apply.o apply.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o artifact.o artifact.c +../win/Qt4/qt4menu.cpp: In member function 'virtual void nethack_qt4::NetHackQtTextWindow::UseRIP(int, time_t)': +../win/Qt4/qt4menu.cpp:670:54: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 17 [-Wformat-truncation=] + 670 | snprintf(rip_line[NAME_LINE], STONE_LINE_LEN+1, "%s", plname); + | ^~ ~~~~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from ../win/Qt4/qt4menu.cpp:8: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 17 + 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 68 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o attrib.o attrib.c In file included from ../win/Qt4/qt4map.cpp:28: ../include/qt_xpms.h: At global scope: ../include/qt_xpms.h:1363:20: warning: 'wis_xpm' defined but not used [-Wunused-variable] @@ -3648,79 +3748,11 @@ ../include/qt_xpms.h:3:20: warning: 'blind_xpm' defined but not used [-Wunused-variable] 3 | static const char *blind_xpm[] = { | ^~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4svsel.o ../win/Qt4/qt4svsel.cpp -../win/Qt4/qt4plsel.cpp: In constructor 'nethack_qt4::NetHackQtPlayerSelector::NetHackQtPlayerSelector(nethack_qt4::NetHackQtKeyBuffer&)': -../win/Qt4/qt4plsel.cpp:185:18: warning: unused variable 'vbgb' [-Wunused-variable] - 185 | QVBoxLayout* vbgb = new QVBoxLayout(genderbox); - | ^~~~ -../win/Qt4/qt4plsel.cpp:186:18: warning: unused variable 'vbab' [-Wunused-variable] - 186 | QVBoxLayout* vbab = new QVBoxLayout(alignbox); - | ^~~~ -../win/Qt4/qt4bind.cpp: At global scope: -../win/Qt4/qt4bind.cpp:722:13: warning: 'void nethack_qt4::Qt_positionbar(char*)' defined but not used [-Wunused-function] - 722 | static void Qt_positionbar(char *) {} - | ^~~~~~~~~~~~~~ -../win/Qt4/qt4msg.cpp: In member function 'virtual void nethack_qt4::NetHackQtMessageWindow::PutStr(int, const QString&)': -../win/Qt4/qt4msg.cpp:144:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 144 | if (list->count() >= ::iflags.msg_history) - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4win.o ../win/Qt4/qt4win.cpp -../win/Qt4/qt4main.cpp: At global scope: -../win/Qt4/qt4main.cpp:419:21: warning: 'nethack_qt4::cast_c_xpm' defined but not used [-Wunused-variable] - 419 | static const char * cast_c_xpm[] = { - | ^~~~~~~~~~ -../win/Qt4/qt4main.cpp:400:21: warning: 'nethack_qt4::cast_b_xpm' defined but not used [-Wunused-variable] - 400 | static const char * cast_b_xpm[] = { - | ^~~~~~~~~~ -../win/Qt4/qt4main.cpp:381:21: warning: 'nethack_qt4::cast_a_xpm' defined but not used [-Wunused-variable] - 381 | static const char * cast_a_xpm[] = { - | ^~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4xcmd.o ../win/Qt4/qt4xcmd.cpp -../win/Qt4/qt4menu.cpp: In member function 'virtual void nethack_qt4::NetHackQtTextWindow::UseRIP(int, time_t)': -../win/Qt4/qt4menu.cpp:670:54: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size 17 [-Wformat-truncation=] - 670 | snprintf(rip_line[NAME_LINE], STONE_LINE_LEN+1, "%s", plname); - | ^~ ~~~~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from ../win/Qt4/qt4menu.cpp:8: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:35: note: '__builtin_snprintf' output between 1 and 32 bytes into a destination of size 17 - 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 68 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -I. -I/usr/include -c -o qt4yndlg.o ../win/Qt4/qt4yndlg.cpp -../win/Qt4/qt4rip.cpp: In function 'void nethack_qt4::tryload(QPixmap&, const char*)': -../win/Qt4/qt4rip.cpp:44:38: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 44 | msg.sprintf("Cannot load \"%s\"", fn); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4rip.cpp:18: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -make[3]: Entering directory '/build/nethack-3.6.6/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c ../win/share/tilemap.c -cc -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -o tilemap tilemap.o -./tilemap -make[3]: Leaving directory '/build/nethack-3.6.6/util' -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o allmain.o allmain.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o apply.o apply.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o artifact.o artifact.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o attrib.o attrib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o ball.o ball.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o bones.o bones.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o botl.o botl.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o cmd.o cmd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dbridge.o dbridge.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o decl.o decl.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o detect.o detect.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dig.o dig.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -3733,7 +3765,9 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 12 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o display.o display.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o decl.o decl.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o detect.o detect.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dig.o dig.c botl.c: In function 'status_hilite_linestr_gather_conditions': botl.c:2793:48: warning: '%s' directive writing up to 255 bytes into a region of size 245 [-Wformat-overflow=] 2793 | Sprintf(condbuf, "condition/%s/%s", @@ -3750,8 +3784,7 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o do.o do.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o do_name.o do_name.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o display.o display.c cmd.c: In function 'enlght_halfdmg': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -3780,20 +3813,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -do_name.c: In function 'getpos_menu': -do_name.c:604:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] - 604 | Sprintf(fullbuf, "%s%s%s", firstmatch, - | ^ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from do_name.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'background_enlightenment.constprop': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -3808,163 +3827,11 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -do_name.c: In function 'getpos': -do_name.c:190:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] - 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); - | ^~ ~~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from do_name.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -do_name.c:190:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] - 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); - | ^~ ~~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from do_name.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -botl.c: In function 'status_hilite_menu_add': -botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] - 3385 | Sprintf(obuf, "%s or %s", - | ^~~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from botl.c:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o do.o do.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o do_name.o do_name.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o do_wear.o do_wear.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dog.o dog.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dogmove.o dogmove.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dokick.o dokick.c -../win/Qt4/qt4stat.cpp: In member function 'void nethack_qt4::NetHackQtStatusWindow::updateStats()': -../win/Qt4/qt4stat.cpp:376:39: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 376 | buf.sprintf("STR:%d",ACURR(A_STR)-100); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4stat.cpp:378:25: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 378 | buf.sprintf("STR:18/**"); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4stat.cpp:380:43: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 380 | buf.sprintf("STR:18/%02d",ACURR(A_STR)-18); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4stat.cpp:382:35: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 382 | buf.sprintf("STR:%d",ACURR(A_STR)); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4stat.cpp:437:65: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 437 | buf2.sprintf("%s the %s", plname, buf.toLatin1().constData()); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4stat.cpp:444:53: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 444 | buf.sprintf("%s, level ", dungeons[u.uz.dnum].dname); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4stat.cpp:453:28: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 453 | buf.sprintf("/%d", u.mhmax); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4stat.cpp:459:29: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 459 | buf.sprintf("/%d", u.uhpmax); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -../win/Qt4/qt4stat.cpp:463:32: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] - 463 | buf.sprintf("/%d", u.uenmax); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, - from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, - from ../win/Qt4/qt4stat.cpp:20: -/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here - 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); - | ^~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dothrow.o dothrow.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o drawing.o drawing.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dungeon.o dungeon.c cmd.c: In function 'enlightenment': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 247 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -4070,6 +3937,34 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +botl.c: In function 'status_hilite_menu_add': +botl.c:3385:38: warning: ' or ' directive writing 4 bytes into a region of size between 1 and 80 [-Wformat-overflow=] + 3385 | Sprintf(obuf, "%s or %s", + | ^~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from botl.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 163 bytes into a destination of size 80 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +do_name.c: In function 'getpos_menu': +do_name.c:604:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] + 604 | Sprintf(fullbuf, "%s%s%s", firstmatch, + | ^ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from do_name.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 257) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dogmove.c: In function 'droppables': cc1: warning: function may return address of local variable [-Wreturn-local-addr] dogmove.c:29:28: note: declared here @@ -4079,9 +3974,33 @@ dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here dogmove.c:29:28: note: declared here -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o eat.o eat.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o end.o end.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o engrave.o engrave.c +do_name.c: In function 'getpos': +do_name.c:190:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] + 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); + | ^~ ~~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from do_name.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +do_name.c:190:31: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] + 190 | Sprintf(sbuf, "Type a %s when you are at the right place.", kbuf); + | ^~ ~~~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from do_name.c:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 41 and 296 bytes into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'show_conduct': cmd.c:1653:24: warning: '%s' directive writing up to 255 bytes into a region of size between 246 and 251 [-Wformat-overflow=] 1653 | Sprintf(buf, " %s%s%s%s.", start, middle, end, ps); @@ -4174,30 +4093,136 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ../win/Qt4/qt4stat.cpp:28: -../include/qt_xpms.h: At global scope: -../include/qt_xpms.h:949:20: warning: 'pile_mark_xpm' defined but not used [-Wunused-variable] - 949 | static const char *pile_mark_xpm[] = { - | ^~~~~~~~~~~~~ -../include/qt_xpms.h:936:20: warning: 'pet_mark_small_xpm' defined but not used [-Wunused-variable] - 936 | static const char *pet_mark_small_xpm[] = { - | ^~~~~~~~~~~~~~~~~~ -../include/qt_xpms.h:920:20: warning: 'pet_mark_xpm' defined but not used [-Wunused-variable] - 920 | static const char *pet_mark_xpm[] = { - | ^~~~~~~~~~~~ -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from engrave.c:6: -In function 'strncat', - inlined from 'doengrave' at engrave.c:1154:12: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] - 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dokick.o dokick.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dothrow.o dothrow.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o drawing.o drawing.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o dungeon.o dungeon.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o eat.o eat.c +In file included from ../win/Qt4/qt4win.cpp:72: +../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': +../win/Qt4/qt4menu.h:24:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 24 | int lwidth = fm.width(item(i)->text()); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, + from ../win/Qt4/qt4win.cpp:60: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o end.o end.c +../win/Qt4/qt4stat.cpp: In member function 'void nethack_qt4::NetHackQtStatusWindow::updateStats()': +../win/Qt4/qt4stat.cpp:376:39: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 376 | buf.sprintf("STR:%d",ACURR(A_STR)-100); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4stat.cpp:378:25: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 378 | buf.sprintf("STR:18/**"); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4stat.cpp:380:43: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 380 | buf.sprintf("STR:18/%02d",ACURR(A_STR)-18); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4stat.cpp:382:35: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 382 | buf.sprintf("STR:%d",ACURR(A_STR)); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4stat.cpp:437:65: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 437 | buf2.sprintf("%s the %s", plname, buf.toLatin1().constData()); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4stat.cpp:444:53: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 444 | buf.sprintf("%s, level ", dungeons[u.uz.dnum].dname); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4stat.cpp:453:28: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 453 | buf.sprintf("/%d", u.mhmax); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4stat.cpp:459:29: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 459 | buf.sprintf("/%d", u.uhpmax); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +../win/Qt4/qt4stat.cpp:463:32: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] + 463 | buf.sprintf("/%d", u.uenmax); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:6, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGuiDepends:3, + from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:3, + from ../win/Qt4/qt4stat.cpp:20: +/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:393:14: note: declared here + 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); + | ^~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o engrave.o engrave.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o exper.o exper.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o explode.o explode.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o extralev.o extralev.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o files.o files.c ../win/Qt4/qt4streq.cpp: In member function 'bool nethack_qt4::NetHackQtStringRequestor::Get(char*, int)': ../win/Qt4/qt4streq.cpp:81:42: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 81 | resize(fontMetrics().width(prompt.text())+50,fontMetrics().height()*6); @@ -4215,14 +4240,6 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o explode.o explode.c -../win/Qt4/qt4svsel.cpp: In constructor 'nethack_qt4::NetHackQtSavedGameSelector::NetHackQtSavedGameSelector(const char**)': -../win/Qt4/qt4svsel.cpp:63:18: warning: unused variable 'bgl' [-Wunused-variable] - 63 | QVBoxLayout *bgl = new QVBoxLayout(box); - | ^~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o extralev.o extralev.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o files.o files.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o fountain.o fountain.c explode.c: In function 'explode': explode.c:539:67: warning: '%s' directive writing up to 255 bytes into a region of size 236 [-Wformat-overflow=] 539 | Sprintf(killer.name, "caught %sself in %s own %s", uhim(), @@ -4237,31 +4254,39 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o fountain.o fountain.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from engrave.c:6: +In function 'strncat', + inlined from 'doengrave' at engrave.c:1154:12: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] + 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o hack.o hack.c -../win/Qt4/qt4xcmd.cpp: In constructor 'nethack_qt4::NetHackQtExtCmdRequestor::NetHackQtExtCmdRequestor(QWidget*)': -../win/Qt4/qt4xcmd.cpp:56:55: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 56 | butw = std::max(butw,30+fm.width(extcmdlist[i].ef_txt)); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4xcmd.cpp:19: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ -In file included from ../win/Qt4/qt4win.cpp:72: -../win/Qt4/qt4menu.h: In member function 'int nethack_qt4::NetHackQtTextListBox::TotalWidth() const': -../win/Qt4/qt4menu.h:24:43: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] - 24 | int lwidth = fm.width(item(i)->text()); - | ^ -In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, - from ../win/Qt4/qt4win.cpp:60: -/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here - 106 | int width(const QString &, int len = -1) const; - | ^~~~~ +../win/Qt4/qt4svsel.cpp: In constructor 'nethack_qt4::NetHackQtSavedGameSelector::NetHackQtSavedGameSelector(const char**)': +../win/Qt4/qt4svsel.cpp:63:18: warning: unused variable 'bgl' [-Wunused-variable] + 63 | QVBoxLayout *bgl = new QVBoxLayout(box); + | ^~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o hacklib.o hacklib.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o invent.o invent.c +In file included from ../win/Qt4/qt4stat.cpp:28: +../include/qt_xpms.h: At global scope: +../include/qt_xpms.h:949:20: warning: 'pile_mark_xpm' defined but not used [-Wunused-variable] + 949 | static const char *pile_mark_xpm[] = { + | ^~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o light.o light.c +../include/qt_xpms.h:936:20: warning: 'pet_mark_small_xpm' defined but not used [-Wunused-variable] + 936 | static const char *pet_mark_small_xpm[] = { + | ^~~~~~~~~~~~~~~~~~ +../include/qt_xpms.h:920:20: warning: 'pet_mark_xpm' defined but not used [-Wunused-variable] + 920 | static const char *pet_mark_xpm[] = { + | ^~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o lock.o lock.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mail.o mail.c ../win/Qt4/qt4yndlg.cpp: In member function 'char nethack_qt4::NetHackQtYnDialog::Exec()': ../win/Qt4/qt4yndlg.cpp:117:51: warning: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations] 117 | QGroupBox *group = new QGroupBox(bigq ? QString::null : qlabel, this); @@ -4287,10 +4312,10 @@ /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:954:23: note: declared here 954 | static const Null null; | ^~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o makemon.o makemon.c ../win/Qt4/qt4yndlg.cpp:185:18: warning: comparison of integer expressions of different signedness: 'uint' {aka 'unsigned int'} and 'int' [-Wsign-compare] 185 | for (uint i=0; itm_mon + 1, @@ -4320,8 +4348,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mcastu.o mcastu.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mhitm.o mhitm.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mhitu.o mhitu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o minion.o minion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mklev.o mklev.c @@ -4333,6 +4359,15 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mondata.o mondata.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o monmove.o monmove.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mplayer.o mplayer.c +../win/Qt4/qt4xcmd.cpp: In constructor 'nethack_qt4::NetHackQtExtCmdRequestor::NetHackQtExtCmdRequestor(QWidget*)': +../win/Qt4/qt4xcmd.cpp:56:55: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] + 56 | butw = std::max(butw,30+fm.width(extcmdlist[i].ef_txt)); + | ^ +In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:26, + from ../win/Qt4/qt4xcmd.cpp:19: +/usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here + 106 | int width(const QString &, int len = -1) const; + | ^~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o mthrowu.o mthrowu.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o muse.o muse.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o music.o music.c @@ -4341,23 +4376,12 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o options.o options.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o pager.o pager.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o pickup.o pickup.c -In file included from /usr/include/string.h:495, - from ../include/system.h:306, - from ../include/unixconf.h:322, - from ../include/global.h:136, - from ../include/config.h:588, - from ../include/hack.h:10, - from pager.c:9: -In function 'strncpy', - inlined from 'checkfile.constprop' at pager.c:652:16: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o pline.o pline.c pline.c: In function 'vpline': pline.c:129:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] 129 | int vlen = 0; | ^~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o polyself.o polyself.c pline.c: In function 'vconfig_error_add': pline.c:598:9: warning: variable 'vlen' set but not used [-Wunused-but-set-variable] 598 | int vlen = 0; @@ -4374,10 +4398,21 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o polyself.o polyself.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o potion.o potion.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o pray.o pray.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o priest.o priest.c +In file included from /usr/include/string.h:495, + from ../include/system.h:306, + from ../include/unixconf.h:322, + from ../include/global.h:136, + from ../include/config.h:588, + from ../include/hack.h:10, + from pager.c:9: +In function 'strncpy', + inlined from 'checkfile.constprop' at pager.c:652:16: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o quest.o quest.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o questpgr.o questpgr.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o read.o read.c @@ -4402,7 +4437,6 @@ objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o rnd.o rnd.c In file included from /usr/include/string.h:495, from ../include/system.h:306, from ../include/unixconf.h:322, @@ -4413,20 +4447,6 @@ In function 'strncpy', inlined from 'strprepend' at objnam.c:76:12, inlined from 'doname_base' at objnam.c:1286:10: -options.c: In function 'option_help': -options.c:6279:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] - 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, - | ^~~ -In file included from /usr/include/stdio.h:867, - from ../include/global.h:9, - from ../include/config.h:588, - from ../include/hack.h:10, - from options.c:17: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4434,6 +4454,7 @@ objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o rnd.o rnd.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o role.o role.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o rumors.o rumors.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o save.o save.c @@ -4454,11 +4475,32 @@ objnam.c:69:28: note: length computed here 69 | register int i = (int) strlen(pref); | ^~~~~~~~~~~~ +options.c: In function 'option_help': +options.c:6279:28: warning: ' - ' directive writing 3 bytes into a region of size between 1 and 236 [-Wformat-overflow=] + 6279 | Sprintf(buf, "%-20s - %s%c", buf2, compopt[i].descr, + | ^~~ +In file included from /usr/include/stdio.h:867, + from ../include/global.h:9, + from ../include/config.h:588, + from ../include/hack.h:10, + from options.c:17: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 25 or more bytes (assuming 260) into a destination of size 256 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o shk.o shk.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o shknam.o shknam.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o sit.o sit.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o sounds.o sounds.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o sp_lev.o sp_lev.c +sounds.c: In function 'domonnoise': +sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] + 622 | verbl_msg = vampmsg[vampindex]; + | ~~~~~~~^~~~~~~~~~~ +sounds.c:592:38: note: while referencing 'vampmsg' + 592 | static const char *const vampmsg[] = { + | ^~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o spell.o spell.c potion.c: In function 'potionhit': potion.c:1406:41: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] @@ -4487,13 +4529,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sounds.c: In function 'domonnoise': -sounds.c:622:40: warning: array subscript [0, 1] is outside array bounds of 'const char * const[2]' [-Warray-bounds] - 622 | verbl_msg = vampmsg[vampindex]; - | ~~~~~~~^~~~~~~~~~~ -sounds.c:592:38: note: while referencing 'vampmsg' - 592 | static const char *const vampmsg[] = { - | ^~~~~~~ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o sys.o sys.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o steal.o steal.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o steed.o steed.c @@ -4503,6 +4538,9 @@ cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o track.o track.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o trap.o trap.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o u_init.o u_init.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o uhitm.o uhitm.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o vault.o vault.c +cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o vision.o vision.c sounds.c: In function 'add_sound_mapping': sounds.c:1135:33: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1135 | Sprintf(filespec, "%s/%s", sounddir, filename); @@ -4517,9 +4555,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o uhitm.o uhitm.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o vault.o vault.c -cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o vision.o vision.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o vis_tab.o vis_tab.c cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/nethack-3.6.6=. -fstack-protector-strong -Wformat -Werror=format-security -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DQT_GRAPHICS -DDEFAULT_WINDOW_SYS=\"Qt\" -DNOTTYGRAPHICS -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5 -fPIC -c -o tile.o tile.c /bin/sh ../sys/unix/gitinfo.sh 1 #before 'makedefs -v' @@ -4810,9 +4845,9 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'nethack-common-dbgsym' in '../nethack-common-dbgsym_3.6.6-2_amd64.deb'. -dpkg-deb: building package 'nethack-qt-dbgsym' in '../nethack-qt-dbgsym_3.6.6-2_amd64.deb'. dpkg-deb: building package 'nethack-console-dbgsym' in '../nethack-console-dbgsym_3.6.6-2_amd64.deb'. dpkg-deb: building package 'nethack-x11-dbgsym' in '../nethack-x11-dbgsym_3.6.6-2_amd64.deb'. +dpkg-deb: building package 'nethack-qt-dbgsym' in '../nethack-qt-dbgsym_3.6.6-2_amd64.deb'. dpkg-deb: building package 'nethack-console' in '../nethack-console_3.6.6-2_amd64.deb'. dpkg-deb: building package 'nethack-qt' in '../nethack-qt_3.6.6-2_amd64.deb'. dpkg-deb: building package 'nethack-x11' in '../nethack-x11_3.6.6-2_amd64.deb'. @@ -4824,12 +4859,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/3900278/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3900278/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/2317722 and its subdirectories -I: Current time: Thu Feb 10 07:31:53 -12 2022 -I: pbuilder-time-stamp: 1644521513 +I: removing directory /srv/workspace/pbuilder/3900278 and its subdirectories +I: Current time: Thu Mar 16 16:00:20 +14 2023 +I: pbuilder-time-stamp: 1678932020