Diff of the two buildlogs: -- --- b1/build.log 2021-08-10 08:18:11.400262805 +0000 +++ b2/build.log 2021-08-10 08:25:47.523202440 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 9 20:12:55 -12 2021 -I: pbuilder-time-stamp: 1628583175 +I: Current time: Tue Sep 13 04:41:16 +14 2022 +I: pbuilder-time-stamp: 1662993676 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 [./simutrans_121.0-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.eiAUyDY0/trustedkeys.kbx': General error -gpgv: Signature made Sat May 2 08:42:07 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.eTaAE2Pn/trustedkeys.kbx': General error +gpgv: Signature made Sun May 3 10:42:07 2020 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -35,135 +35,169 @@ dpkg-source: info: applying 0110-path_max.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21363/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/24431/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +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/24431/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/24431/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='21363' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=24431 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.wl1qdkEUrv/pbuilderrc_HvE4 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.wl1qdkEUrv/b1 --logfile b1/build.log simutrans_121.0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.wl1qdkEUrv/pbuilderrc_64ir --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.wl1qdkEUrv/b2 --logfile b2/build.log --extrapackages usrmerge simutrans_121.0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink12-arm64 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 07:06:07 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-153-generic #160-Ubuntu SMP Thu Jul 29 07:06:07 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 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 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 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 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 07:09 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 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 07:09 more - -rwsr-xr-x 1 root root 51360 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 14496 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 8 23:21 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 07:09 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/21363/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 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 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 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 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 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 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 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 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 2021 more + -rwsr-xr-x 1 root root 51360 Jul 29 2021 mount + -rwxr-xr-x 1 root root 14496 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 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 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 13 04:41 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 12 07:44 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 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/24431/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -420,7 +454,7 @@ Get: 207 http://deb.debian.org/debian bullseye/main arm64 libsdl2-mixer-2.0-0 arm64 2.0.4+dfsg1-3 [63.8 kB] Get: 208 http://deb.debian.org/debian bullseye/main arm64 libsdl2-mixer-dev arm64 2.0.4+dfsg1-3 [80.3 kB] Get: 209 http://deb.debian.org/debian bullseye/main arm64 quilt all 0.66-2.1 [319 kB] -Fetched 81.7 MB in 2s (45.9 MB/s) +Fetched 81.7 MB in 2s (47.8 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 ... 19646 files and directories currently installed.) @@ -1278,8 +1312,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (2079 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 26783 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/simutrans-121.0/ && 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 > ../simutrans_121.0-1_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/simutrans-121.0/ && 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 > ../simutrans_121.0-1_source.changes dpkg-buildpackage: info: source package simutrans dpkg-buildpackage: info: source version 121.0-1 dpkg-buildpackage: info: source distribution unstable @@ -1325,8 +1396,8 @@ ===> HOSTCXX clipboard_internal.cc ===> HOSTCXX bauer/brueckenbauer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/clipboard_internal.o clipboard_internal.cc -===> HOSTCXX bauer/fabrikbauer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/bauer/brueckenbauer.o bauer/brueckenbauer.cc +===> HOSTCXX bauer/fabrikbauer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/bauer/fabrikbauer.o bauer/fabrikbauer.cc ===> HOSTCXX bauer/goods_manager.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/bauer/goods_manager.o bauer/goods_manager.cc @@ -1338,6 +1409,30 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/bauer/vehikelbauer.o bauer/vehikelbauer.cc ===> HOSTCXX bauer/wegbauer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/bauer/wegbauer.o bauer/wegbauer.cc +In file included from bauer/goods_manager.cc:11: +bauer/../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': +bauer/../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } + | ^~~~ +In file included from bauer/../halthandle_t.h:4, + from bauer/../simware.h:4, + from bauer/goods_manager.cc:11: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/goods_manager.cc:11: +bauer/../simware.h: In member function 'void ware_t::set_zwischenziel(const halthandle_t&)': +bauer/../simware.h:70:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 70 | void set_zwischenziel(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } + | ^~~~~~~~~~~~ +In file included from bauer/../halthandle_t.h:4, + from bauer/../simware.h:4, + from bauer/goods_manager.cc:11: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +===> HOSTCXX boden/boden.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/boden.o boden/boden.cc In file included from bauer/../gui/minimap.h:4, from bauer/tunnelbauer.cc:14: bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -1361,84 +1456,181 @@ bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from bauer/goods_manager.cc:11: -bauer/../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': -bauer/../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } - | ^~~~ -In file included from bauer/../halthandle_t.h:4, - from bauer/../simware.h:4, - from bauer/goods_manager.cc:11: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/goods_manager.cc:11: -bauer/../simware.h: In member function 'void ware_t::set_zwischenziel(const halthandle_t&)': -bauer/../simware.h:70:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 70 | void set_zwischenziel(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } - | ^~~~~~~~~~~~ -In file included from bauer/../halthandle_t.h:4, - from bauer/../simware.h:4, - from bauer/goods_manager.cc:11: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ +In file included from bauer/../gui/minimap.h:4, + from bauer/hausbauer.cc:23: +bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from bauer/../descriptor/../display/simgraph.h:22, + from bauer/../descriptor/image.h:10, + from bauer/../descriptor/image_list.h:10, + from bauer/../descriptor/image_array.h:10, + from bauer/../descriptor/building_desc.h:11, + from bauer/hausbauer.cc:10: +bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from bauer/../gui/components/gui_container.h:23, + from bauer/../gui/components/gui_aligned_container.h:4, + from bauer/../gui/gui_frame.h:20, + from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.cc:21: +bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../vehicle/../boden/wege/weg.h:14, + from bauer/../vehicle/../boden/grund.h:19, + from bauer/../vehicle/simvehicle.h:20, + from bauer/vehikelbauer.cc:9: +bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from bauer/hausbauer.cc:23: +bauer/../gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': +bauer/../gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 202 | new_size = size; + | ^~~~ +In file included from bauer/../descriptor/../display/simgraph.h:22, + from bauer/../descriptor/image.h:10, + from bauer/../descriptor/image_list.h:10, + from bauer/../descriptor/image_array.h:10, + from bauer/../descriptor/building_desc.h:11, + from bauer/hausbauer.cc:10: +bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/base_info.h:4, - from bauer/../gui/messagebox.h:4, - from bauer/tunnelbauer.cc:32: + from bauer/../gui/tool_selector.h:14, + from bauer/hausbauer.cc:24: bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': bauer/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from bauer/../gui/components/gui_component.h:11, - from bauer/../gui/minimap.h:4, - from bauer/tunnelbauer.cc:14: -bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from bauer/../descriptor/../display/simgraph.h:22, + from bauer/../descriptor/image.h:10, + from bauer/../descriptor/image_list.h:10, + from bauer/../descriptor/image_array.h:10, + from bauer/../descriptor/building_desc.h:11, + from bauer/hausbauer.cc:10: +bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/base_info.h:4, - from bauer/../gui/messagebox.h:4, - from bauer/tunnelbauer.cc:32: + from bauer/../gui/tool_selector.h:14, + from bauer/hausbauer.cc:24: bauer/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from bauer/../gui/components/gui_component.h:11, - from bauer/../gui/minimap.h:4, - from bauer/tunnelbauer.cc:14: -bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from bauer/../descriptor/../display/simgraph.h:22, + from bauer/../descriptor/image.h:10, + from bauer/../descriptor/image_list.h:10, + from bauer/../descriptor/image_array.h:10, + from bauer/../descriptor/building_desc.h:11, + from bauer/hausbauer.cc:10: +bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/base_info.h:4, - from bauer/../gui/messagebox.h:4, - from bauer/tunnelbauer.cc:32: + from bauer/../gui/tool_selector.h:14, + from bauer/hausbauer.cc:24: bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': bauer/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ -In file included from bauer/../gui/components/gui_component.h:11, - from bauer/../gui/minimap.h:4, - from bauer/tunnelbauer.cc:14: -bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from bauer/../descriptor/../display/simgraph.h:22, + from bauer/../descriptor/image.h:10, + from bauer/../descriptor/image_list.h:10, + from bauer/../descriptor/image_array.h:10, + from bauer/../descriptor/building_desc.h:11, + from bauer/hausbauer.cc:10: +bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from bauer/../gui/base_info.h:4, - from bauer/../gui/messagebox.h:4, - from bauer/tunnelbauer.cc:32: +In file included from bauer/wegbauer.cc:21: +bauer/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': +bauer/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } + | ^~~~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/wegbauer.cc:15: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../gui/tool_selector.h:14, + from bauer/hausbauer.cc:24: bauer/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': bauer/../gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ -In file included from bauer/../gui/components/gui_component.h:11, - from bauer/../gui/minimap.h:4, - from bauer/tunnelbauer.cc:14: -bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from bauer/../descriptor/../display/simgraph.h:22, + from bauer/../descriptor/image.h:10, + from bauer/../descriptor/image_list.h:10, + from bauer/../descriptor/image_array.h:10, + from bauer/../descriptor/building_desc.h:11, + from bauer/hausbauer.cc:10: +bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from bauer/../gui/gui_frame.h:20, + from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.cc:21: +bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +bauer/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../vehicle/../boden/wege/weg.h:14, + from bauer/../vehicle/../boden/grund.h:19, + from bauer/../vehicle/simvehicle.h:20, + from bauer/vehikelbauer.cc:9: +bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from bauer/../gui/gui_frame.h:20, + from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.cc:21: +bauer/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../vehicle/../boden/wege/weg.h:14, + from bauer/../vehicle/../boden/grund.h:19, + from bauer/../vehicle/simvehicle.h:20, + from bauer/vehikelbauer.cc:9: +bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from bauer/../gui/gui_frame.h:20, + from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.cc:21: +bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +bauer/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../vehicle/../boden/wege/weg.h:14, + from bauer/../vehicle/../boden/grund.h:19, + from bauer/../vehicle/simvehicle.h:20, + from bauer/vehikelbauer.cc:9: +bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX boden/boden.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/boden.o boden/boden.cc In file included from bauer/brueckenbauer.cc:17: bauer/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': bauer/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -1451,6 +1643,23 @@ bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.cc:21: +bauer/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +bauer/../gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../vehicle/../boden/wege/weg.h:14, + from bauer/../vehicle/../boden/grund.h:19, + from bauer/../vehicle/simvehicle.h:20, + from bauer/vehikelbauer.cc:9: +bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from bauer/../gui/components/gui_container.h:23, from bauer/../gui/components/gui_aligned_container.h:4, from bauer/../gui/gui_frame.h:20, @@ -1551,23 +1760,18 @@ bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from bauer/../gui/minimap.h:4, - from bauer/fabrikbauer.cc:36: -bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from bauer/../descriptor/../display/simgraph.h:22, - from bauer/../descriptor/image.h:10, - from bauer/../descriptor/image_list.h:10, - from bauer/../descriptor/image_array.h:10, - from bauer/../descriptor/building_desc.h:11, - from bauer/../descriptor/factory_desc.h:11, - from bauer/fabrikbauer.h:14, - from bauer/fabrikbauer.cc:10: -bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ +In file included from bauer/hausbauer.cc:28: +bauer/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': +bauer/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } + | ^~~~~~~~~ +In file included from bauer/../boden/../halthandle_t.h:4, + from bauer/../boden/grund.h:12, + from bauer/../boden/boden.h:11, + from bauer/hausbauer.cc:14: +bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from bauer/brueckenbauer.cc:25: bauer/../gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': bauer/../gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -1586,95 +1790,8 @@ bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from bauer/fabrikbauer.cc:36: -bauer/../gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': -bauer/../gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 202 | new_size = size; - | ^~~~ -In file included from bauer/../descriptor/../display/simgraph.h:22, - from bauer/../descriptor/image.h:10, - from bauer/../descriptor/image_list.h:10, - from bauer/../descriptor/image_array.h:10, - from bauer/../descriptor/building_desc.h:11, - from bauer/../descriptor/factory_desc.h:11, - from bauer/fabrikbauer.h:14, - from bauer/fabrikbauer.cc:10: -bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/wegbauer.cc:21: -bauer/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': -bauer/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } - | ^~~~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/wegbauer.cc:15: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../dataobj/koord3d.h:7, - from bauer/fabrikbauer.h:13, - from bauer/fabrikbauer.cc:10: -bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:749:72: required from here -bauer/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/fabrikbauer.cc:12: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../dataobj/koord3d.h:7, - from bauer/fabrikbauer.h:13, - from bauer/fabrikbauer.cc:10: -bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:755:68: required from here -bauer/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/fabrikbauer.cc:12: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../dataobj/koord3d.h:7, - from bauer/fabrikbauer.h:13, - from bauer/fabrikbauer.cc:10: -bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:767:82: required from here -bauer/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/fabrikbauer.cc:12: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../dataobj/koord3d.h:7, - from bauer/fabrikbauer.h:13, - from bauer/fabrikbauer.cc:10: -bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:773:78: required from here -bauer/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/fabrikbauer.cc:12: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from bauer/../gui/minimap.h:4, - from bauer/hausbauer.cc:23: + from bauer/fabrikbauer.cc:36: bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; @@ -1684,7 +1801,9 @@ from bauer/../descriptor/image_list.h:10, from bauer/../descriptor/image_array.h:10, from bauer/../descriptor/building_desc.h:11, - from bauer/hausbauer.cc:10: + from bauer/../descriptor/factory_desc.h:11, + from bauer/fabrikbauer.h:14, + from bauer/fabrikbauer.cc:10: bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ @@ -1706,134 +1825,15 @@ bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from bauer/../dataobj/koord3d.h:7, - from bauer/fabrikbauer.h:13, - from bauer/fabrikbauer.cc:10: -bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:749:72: required from here -bauer/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/fabrikbauer.cc:12: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../dataobj/koord3d.h:7, - from bauer/fabrikbauer.h:13, - from bauer/fabrikbauer.cc:10: -bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:767:82: required from here -bauer/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/fabrikbauer.cc:12: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../simworld.h:24, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:749:72: required from here -bauer/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../simworld.h:24, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:755:68: required from here -bauer/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../simworld.h:24, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:767:82: required from here -bauer/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../simworld.h:24, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:773:78: required from here -bauer/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../simworld.h:24, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:749:72: required from here -bauer/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../simworld.h:24, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../simhalt.h:767:82: required from here -bauer/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from bauer/../convoihandle_t.h:4, - from bauer/../simworld.h:20, - from bauer/../simtool.h:11, - from bauer/brueckenbauer.cc:11: -bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' +In file included from bauer/vehikelbauer.cc:21: +bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': +bauer/../gui/depot_frame.h:346:62: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 346 | void set_selected_line(linehandle_t line) { selected_line = line; } + | ^~~~ +In file included from bauer/../vehicle/../halthandle_t.h:4, + from bauer/../vehicle/simvehicle.h:17, + from bauer/vehikelbauer.cc:9: +bauer/../vehicle/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/wegbauer.cc:68: @@ -1853,6 +1853,22 @@ bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from bauer/fabrikbauer.cc:36: +bauer/../gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': +bauer/../gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 202 | new_size = size; + | ^~~~ +In file included from bauer/../descriptor/../display/simgraph.h:22, + from bauer/../descriptor/image.h:10, + from bauer/../descriptor/image_list.h:10, + from bauer/../descriptor/image_array.h:10, + from bauer/../descriptor/building_desc.h:11, + from bauer/../descriptor/factory_desc.h:11, + from bauer/fabrikbauer.h:14, + from bauer/fabrikbauer.cc:10: +bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from bauer/../gui/gui_frame.h:20, from bauer/../gui/tool_selector.h:14, from bauer/wegbauer.cc:69: @@ -1927,259 +1943,166 @@ bauer/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from bauer/hausbauer.cc:23: -bauer/../gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': -bauer/../gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 202 | new_size = size; - | ^~~~ -In file included from bauer/../descriptor/../display/simgraph.h:22, - from bauer/../descriptor/image.h:10, - from bauer/../descriptor/image_list.h:10, - from bauer/../descriptor/image_array.h:10, - from bauer/../descriptor/building_desc.h:11, - from bauer/hausbauer.cc:10: -bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ +bauer/vehikelbauer.cc: In static member function 'static sint32 vehicle_builder_t::get_fastest_vehicle_speed(waytype_t, uint16, bool, bool)': +bauer/vehikelbauer.cc:586:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 586 | !allow_obsolete && vehicle_descriptor->is_retired(month_now))) { + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +bauer/vehikelbauer.cc:584:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 584 | use_timeline && ( + | ~~~~~~~~~~~~~^~~~ + 585 | vehicle_descriptor->is_future(month_now) || + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 586 | !allow_obsolete && vehicle_descriptor->is_retired(month_now))) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/tool_selector.h:14, - from bauer/hausbauer.cc:24: + from bauer/../gui/base_info.h:4, + from bauer/../gui/messagebox.h:4, + from bauer/tunnelbauer.cc:32: bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': bauer/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from bauer/../descriptor/../display/simgraph.h:22, - from bauer/../descriptor/image.h:10, - from bauer/../descriptor/image_list.h:10, - from bauer/../descriptor/image_array.h:10, - from bauer/../descriptor/building_desc.h:11, - from bauer/hausbauer.cc:10: -bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from bauer/../gui/components/gui_component.h:11, + from bauer/../gui/minimap.h:4, + from bauer/tunnelbauer.cc:14: +bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/tool_selector.h:14, - from bauer/hausbauer.cc:24: + from bauer/../gui/base_info.h:4, + from bauer/../gui/messagebox.h:4, + from bauer/tunnelbauer.cc:32: bauer/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from bauer/../descriptor/../display/simgraph.h:22, - from bauer/../descriptor/image.h:10, - from bauer/../descriptor/image_list.h:10, - from bauer/../descriptor/image_array.h:10, - from bauer/../descriptor/building_desc.h:11, - from bauer/hausbauer.cc:10: -bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from bauer/../gui/components/gui_component.h:11, + from bauer/../gui/minimap.h:4, + from bauer/tunnelbauer.cc:14: +bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/tool_selector.h:14, - from bauer/hausbauer.cc:24: + from bauer/../gui/base_info.h:4, + from bauer/../gui/messagebox.h:4, + from bauer/tunnelbauer.cc:32: bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': bauer/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ -In file included from bauer/../descriptor/../display/simgraph.h:22, - from bauer/../descriptor/image.h:10, - from bauer/../descriptor/image_list.h:10, - from bauer/../descriptor/image_array.h:10, - from bauer/../descriptor/building_desc.h:11, - from bauer/hausbauer.cc:10: -bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from bauer/../gui/components/gui_component.h:11, + from bauer/../gui/minimap.h:4, + from bauer/tunnelbauer.cc:14: +bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from bauer/../gui/tool_selector.h:14, - from bauer/hausbauer.cc:24: +In file included from bauer/../gui/base_info.h:4, + from bauer/../gui/messagebox.h:4, + from bauer/tunnelbauer.cc:32: bauer/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': bauer/../gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ -In file included from bauer/../descriptor/../display/simgraph.h:22, - from bauer/../descriptor/image.h:10, - from bauer/../descriptor/image_list.h:10, - from bauer/../descriptor/image_array.h:10, - from bauer/../descriptor/building_desc.h:11, - from bauer/hausbauer.cc:10: -bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/../gui/components/gui_container.h:23, - from bauer/../gui/components/gui_aligned_container.h:4, - from bauer/../gui/gui_frame.h:20, - from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.cc:21: -bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../vehicle/../boden/wege/weg.h:14, - from bauer/../vehicle/../boden/grund.h:19, - from bauer/../vehicle/simvehicle.h:20, - from bauer/vehikelbauer.cc:9: -bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from bauer/../gui/components/gui_component.h:11, + from bauer/../gui/minimap.h:4, + from bauer/tunnelbauer.cc:14: +bauer/../gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from bauer/hausbauer.cc:28: -bauer/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': -bauer/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } - | ^~~~~~~~~ -In file included from bauer/../boden/../halthandle_t.h:4, - from bauer/../boden/grund.h:12, - from bauer/../boden/boden.h:11, - from bauer/hausbauer.cc:14: -bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' +In file included from bauer/../simworld.h:24, + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: +bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:749:72: required from here +bauer/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.cc:21: -bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -bauer/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../vehicle/../boden/wege/weg.h:14, - from bauer/../vehicle/../boden/grund.h:19, - from bauer/../vehicle/simvehicle.h:20, - from bauer/vehikelbauer.cc:9: -bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.cc:21: -bauer/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../vehicle/../boden/wege/weg.h:14, - from bauer/../vehicle/../boden/grund.h:19, - from bauer/../vehicle/simvehicle.h:20, - from bauer/vehikelbauer.cc:9: -bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.cc:21: -bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -bauer/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../vehicle/../boden/wege/weg.h:14, - from bauer/../vehicle/../boden/grund.h:19, - from bauer/../vehicle/simvehicle.h:20, - from bauer/vehikelbauer.cc:9: -bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.cc:21: -bauer/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -bauer/../gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from bauer/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../vehicle/../boden/wege/../../descriptor/image.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../vehicle/../boden/wege/weg.h:14, - from bauer/../vehicle/../boden/grund.h:19, - from bauer/../vehicle/simvehicle.h:20, - from bauer/vehikelbauer.cc:9: -bauer/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/vehikelbauer.cc:21: -bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': -bauer/../gui/depot_frame.h:346:62: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 346 | void set_selected_line(linehandle_t line) { selected_line = line; } - | ^~~~ -In file included from bauer/../vehicle/../halthandle_t.h:4, - from bauer/../vehicle/simvehicle.h:17, - from bauer/vehikelbauer.cc:9: -bauer/../vehicle/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' +In file included from bauer/../simworld.h:24, + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: +bauer/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:755:68: required from here +bauer/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -bauer/vehikelbauer.cc: In static member function 'static sint32 vehicle_builder_t::get_fastest_vehicle_speed(waytype_t, uint16, bool, bool)': -bauer/vehikelbauer.cc:586:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 586 | !allow_obsolete && vehicle_descriptor->is_retired(month_now))) { - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -bauer/vehikelbauer.cc:584:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 584 | use_timeline && ( - | ~~~~~~~~~~~~~^~~~ - 585 | vehicle_descriptor->is_future(month_now) || - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 586 | !allow_obsolete && vehicle_descriptor->is_retired(month_now))) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -bauer/vehikelbauer.cc: In function 'bool compare_vehicles(const vehicle_desc_t*, const vehicle_desc_t*)': -bauer/vehikelbauer.cc:253:4: warning: this statement may fall through [-Wimplicit-fallthrough=] - 253 | if (cmp != 0) return cmp < 0; - | ^~ -bauer/vehikelbauer.cc:254:3: note: here - 254 | case depot_frame_t::sb_cost: - | ^~~~ -bauer/vehikelbauer.cc:278:4: warning: this statement may fall through [-Wimplicit-fallthrough=] - 278 | if (cmp != 0) return cmp < 0; - | ^~ -bauer/vehikelbauer.cc:279:3: note: here - 279 | case depot_frame_t::sb_retire_date: - | ^~~~ In file included from bauer/../simworld.h:24, - from bauer/wegbauer.cc:15: + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../boden/wege/runway.h:48:84: required from here +bauer/../simhalt.h:767:82: required from here bauer/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 96 | data[count++] = elem; | ~~~~~~~~~~~~~~^~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, - from bauer/wegbauer.cc:15: + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../simworld.h:24, - from bauer/wegbauer.cc:15: + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': bauer/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -bauer/../boden/wege/runway.h:50:80: required from here +bauer/../simhalt.h:773:78: required from here bauer/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 214 | data[i] = data[i + 1]; | ~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, - from bauer/wegbauer.cc:15: + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from bauer/../simworld.h:24, - from bauer/wegbauer.cc:15: + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: +bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:749:72: required from here +bauer/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../simworld.h:24, + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': bauer/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -bauer/../boden/wege/runway.h:48:84: required from here +bauer/../simhalt.h:767:82: required from here bauer/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ In file included from bauer/../convoihandle_t.h:4, from bauer/../simworld.h:20, - from bauer/wegbauer.cc:15: + from bauer/../simtool.h:11, + from bauer/brueckenbauer.cc:11: bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ @@ -2251,6 +2174,66 @@ bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from bauer/../dataobj/koord3d.h:7, + from bauer/fabrikbauer.h:13, + from bauer/fabrikbauer.cc:10: +bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:749:72: required from here +bauer/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/fabrikbauer.cc:12: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../dataobj/koord3d.h:7, + from bauer/fabrikbauer.h:13, + from bauer/fabrikbauer.cc:10: +bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:755:68: required from here +bauer/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/fabrikbauer.cc:12: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../dataobj/koord3d.h:7, + from bauer/fabrikbauer.h:13, + from bauer/fabrikbauer.cc:10: +bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:767:82: required from here +bauer/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/fabrikbauer.cc:12: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../dataobj/koord3d.h:7, + from bauer/fabrikbauer.h:13, + from bauer/fabrikbauer.cc:10: +bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:773:78: required from here +bauer/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/fabrikbauer.cc:12: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from bauer/../boden/../dataobj/koord3d.h:7, from bauer/../boden/grund.h:16, from bauer/../boden/boden.h:11, @@ -2287,6 +2270,94 @@ bauer/../boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from bauer/../dataobj/koord3d.h:7, + from bauer/fabrikbauer.h:13, + from bauer/fabrikbauer.cc:10: +bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:749:72: required from here +bauer/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/fabrikbauer.cc:12: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../dataobj/koord3d.h:7, + from bauer/fabrikbauer.h:13, + from bauer/fabrikbauer.cc:10: +bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +bauer/../simhalt.h:767:82: required from here +bauer/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/fabrikbauer.cc:12: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +bauer/vehikelbauer.cc: In function 'bool compare_vehicles(const vehicle_desc_t*, const vehicle_desc_t*)': +bauer/vehikelbauer.cc:253:4: warning: this statement may fall through [-Wimplicit-fallthrough=] + 253 | if (cmp != 0) return cmp < 0; + | ^~ +bauer/vehikelbauer.cc:254:3: note: here + 254 | case depot_frame_t::sb_cost: + | ^~~~ +bauer/vehikelbauer.cc:278:4: warning: this statement may fall through [-Wimplicit-fallthrough=] + 278 | if (cmp != 0) return cmp < 0; + | ^~ +bauer/vehikelbauer.cc:279:3: note: here + 279 | case depot_frame_t::sb_retire_date: + | ^~~~ +In file included from bauer/../simworld.h:24, + from bauer/wegbauer.cc:15: +bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +bauer/../boden/wege/runway.h:48:84: required from here +bauer/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/wegbauer.cc:15: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../simworld.h:24, + from bauer/wegbauer.cc:15: +bauer/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +bauer/../boden/wege/runway.h:50:80: required from here +bauer/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/wegbauer.cc:15: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../simworld.h:24, + from bauer/wegbauer.cc:15: +bauer/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +bauer/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +bauer/../boden/wege/runway.h:48:84: required from here +bauer/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from bauer/../convoihandle_t.h:4, + from bauer/../simworld.h:20, + from bauer/wegbauer.cc:15: +bauer/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ ===> HOSTCXX boden/brueckenboden.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/brueckenboden.o boden/brueckenboden.cc ===> HOSTCXX boden/fundament.cc @@ -2319,8 +2390,6 @@ boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX boden/wasser.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/wasser.o boden/wasser.cc In file included from boden/../gui/components/gui_container.h:23, from boden/../gui/components/gui_aligned_container.h:4, from boden/../gui/gui_frame.h:20, @@ -2415,8 +2484,6 @@ boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX boden/wege/kanal.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/wege/kanal.o boden/wege/kanal.cc In file included from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, @@ -2521,6 +2588,10 @@ boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX boden/wasser.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/wasser.o boden/wasser.cc +===> HOSTCXX boden/wege/kanal.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/wege/kanal.o boden/wege/kanal.cc ===> HOSTCXX boden/wege/maglev.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/wege/maglev.o boden/wege/maglev.cc ===> HOSTCXX boden/wege/monorail.cc @@ -2535,17 +2606,8 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/wege/strasse.o boden/wege/strasse.cc ===> HOSTCXX boden/wege/weg.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/boden/wege/weg.o boden/wege/weg.cc -In file included from boden/wege/schiene.cc:10: -boden/wege/../../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -boden/wege/../../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from boden/wege/../../linehandle_t.h:4, - from boden/wege/../../simconvoi.h:12, - from boden/wege/schiene.cc:10: -boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ +===> HOSTCXX dataobj/crossing_logic.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/crossing_logic.o dataobj/crossing_logic.cc In file included from boden/wege/../../simworld.h:24, from boden/wege/runway.cc:8: boden/wege/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': @@ -2589,6 +2651,21 @@ boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX dataobj/environment.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/environment.o dataobj/environment.cc +In file included from boden/wege/schiene.cc:10: +boden/wege/../../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +boden/wege/../../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from boden/wege/../../linehandle_t.h:4, + from boden/wege/../../simconvoi.h:12, + from boden/wege/schiene.cc:10: +boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +===> HOSTCXX dataobj/freelist.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/freelist.o dataobj/freelist.cc boden/wege/schiene.cc: In constructor 'schiene_t::schiene_t()': boden/wege/schiene.cc:30:28: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 30 | reserved = convoihandle_t(); @@ -2629,14 +2706,10 @@ boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX dataobj/crossing_logic.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/crossing_logic.o dataobj/crossing_logic.cc -===> HOSTCXX dataobj/environment.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/environment.o dataobj/environment.cc -===> HOSTCXX dataobj/freelist.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/freelist.o dataobj/freelist.cc ===> HOSTCXX dataobj/gameinfo.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/gameinfo.o dataobj/gameinfo.cc +===> HOSTCXX dataobj/height_map_loader.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/height_map_loader.o dataobj/height_map_loader.cc In file included from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, @@ -2735,33 +2808,8 @@ boden/wege/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX dataobj/height_map_loader.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/height_map_loader.o dataobj/height_map_loader.cc ===> HOSTCXX dataobj/koord.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/koord.o dataobj/koord.cc -dataobj/height_map_loader.cc: In member function 'bool height_map_loader_t::get_height_data_from_file(const char*, sint8, sint8*&, sint16&, sint16&, bool)': -dataobj/height_map_loader.cc:58:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 58 | fread( &data_offset, 4, 1, file ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -dataobj/height_map_loader.cc:60:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 60 | fread( &w, 4, 1, file ); - | ~~~~~^~~~~~~~~~~~~~~~~~ -dataobj/height_map_loader.cc:61:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 61 | fread( &h, 4, 1, file ); - | ~~~~~^~~~~~~~~~~~~~~~~~ -dataobj/height_map_loader.cc:63:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 63 | fread( &bit_depth, 2, 1, file ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -dataobj/height_map_loader.cc:64:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 64 | fread( &format, 4, 1, file ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -dataobj/height_map_loader.cc:66:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 66 | fread( &table, 4, 1, file ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -===> HOSTCXX dataobj/koord3d.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/koord3d.o dataobj/koord3d.cc -===> HOSTCXX dataobj/loadsave.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/loadsave.o dataobj/loadsave.cc In file included from dataobj/../gui/minimap.h:4, from dataobj/gameinfo.cc:21: dataobj/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -2783,8 +2831,8 @@ dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX dataobj/marker.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/marker.o dataobj/marker.cc +===> HOSTCXX dataobj/koord3d.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/koord3d.o dataobj/koord3d.cc In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: @@ -2855,12 +2903,31 @@ dataobj/../network/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 54 | new_data[i] = data[i]; | ~~~~~~~~~~~~^~~~~~~ +dataobj/height_map_loader.cc: In member function 'bool height_map_loader_t::get_height_data_from_file(const char*, sint8, sint8*&, sint16&, sint16&, bool)': +dataobj/height_map_loader.cc:58:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 58 | fread( &data_offset, 4, 1, file ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +dataobj/height_map_loader.cc:60:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 60 | fread( &w, 4, 1, file ); + | ~~~~~^~~~~~~~~~~~~~~~~~ In file included from dataobj/../convoihandle_t.h:4, from dataobj/../simworld.h:20, from dataobj/gameinfo.cc:16: dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +dataobj/height_map_loader.cc:61:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 61 | fread( &h, 4, 1, file ); + | ~~~~~^~~~~~~~~~~~~~~~~~ +dataobj/height_map_loader.cc:63:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 63 | fread( &bit_depth, 2, 1, file ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +dataobj/height_map_loader.cc:64:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 64 | fread( &format, 4, 1, file ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +dataobj/height_map_loader.cc:66:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 66 | fread( &table, 4, 1, file ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: @@ -2877,6 +2944,10 @@ dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX dataobj/loadsave.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/loadsave.o dataobj/loadsave.cc +===> HOSTCXX dataobj/marker.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/marker.o dataobj/marker.cc ===> HOSTCXX dataobj/objlist.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/objlist.o dataobj/objlist.cc ===> HOSTCXX dataobj/powernet.cc @@ -2885,21 +2956,6 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/records.o dataobj/records.cc ===> HOSTCXX dataobj/rect.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/rect.o dataobj/rect.cc -===> HOSTCXX dataobj/ribi.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/ribi.o dataobj/ribi.cc -===> HOSTCXX dataobj/route.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/route.o dataobj/route.cc -In file included from dataobj/records.cc:11: -dataobj/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -dataobj/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from dataobj/../convoihandle_t.h:4, - from dataobj/records.h:10, - from dataobj/records.cc:6: -dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from dataobj/objlist.cc:31: dataobj/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': dataobj/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -2911,6 +2967,17 @@ dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from dataobj/records.cc:11: +dataobj/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +dataobj/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from dataobj/../convoihandle_t.h:4, + from dataobj/records.h:10, + from dataobj/records.cc:6: +dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ dataobj/records.cc: In member function 'void records_t::notify_record(convoihandle_t, sint32, koord, uint32)': dataobj/records.cc:64:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 64 | sr->cnv = cnv; @@ -2930,6 +2997,10 @@ dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX dataobj/ribi.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/ribi.o dataobj/ribi.cc +===> HOSTCXX dataobj/route.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/route.o dataobj/route.cc ===> HOSTCXX dataobj/scenario.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/scenario.o dataobj/scenario.cc ===> HOSTCXX dataobj/schedule.cc @@ -2938,169 +3009,6 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/settings.o dataobj/settings.cc ===> HOSTCXX dataobj/tabfile.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/tabfile.o dataobj/tabfile.cc -In file included from dataobj/../simworld.h:24, - from dataobj/route.cc:11: -dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -dataobj/../simhalt.h:749:72: required from here -dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from dataobj/../convoihandle_t.h:4, - from dataobj/../simworld.h:20, - from dataobj/route.cc:11: -dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/../simworld.h:24, - from dataobj/route.cc:11: -dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -dataobj/../simhalt.h:755:68: required from here -dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from dataobj/../convoihandle_t.h:4, - from dataobj/../simworld.h:20, - from dataobj/route.cc:11: -dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/../simworld.h:24, - from dataobj/route.cc:11: -dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -dataobj/../simhalt.h:767:82: required from here -dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from dataobj/../convoihandle_t.h:4, - from dataobj/../simworld.h:20, - from dataobj/route.cc:11: -dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/../simworld.h:24, - from dataobj/route.cc:11: -dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -dataobj/../simhalt.h:773:78: required from here -dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from dataobj/../convoihandle_t.h:4, - from dataobj/../simworld.h:20, - from dataobj/route.cc:11: -dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/../simworld.h:24, - from dataobj/route.cc:11: -dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -dataobj/../simhalt.h:749:72: required from here -dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from dataobj/../convoihandle_t.h:4, - from dataobj/../simworld.h:20, - from dataobj/route.cc:11: -dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/../simworld.h:24, - from dataobj/route.cc:11: -dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -dataobj/../simhalt.h:767:82: required from here -dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from dataobj/../convoihandle_t.h:4, - from dataobj/../simworld.h:20, - from dataobj/route.cc:11: -dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/../gui/components/gui_container.h:23, - from dataobj/../gui/components/gui_aligned_container.h:4, - from dataobj/../gui/gui_frame.h:20, - from dataobj/../gui/scenario_info.h:9, - from dataobj/scenario.cc:23: -dataobj/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -dataobj/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, - from dataobj/../boden/wege/../../descriptor/image.h:10, - from dataobj/../boden/wege/../../descriptor/image_list.h:10, - from dataobj/../boden/wege/../../descriptor/way_desc.h:10, - from dataobj/../boden/wege/weg.h:14, - from dataobj/../boden/grund.h:19, - from dataobj/../simplan.h:12, - from dataobj/../simworld.h:32, - from dataobj/scenario.cc:7: -dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from dataobj/../gui/gui_frame.h:20, - from dataobj/../gui/scenario_info.h:9, - from dataobj/scenario.cc:23: -dataobj/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -dataobj/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, - from dataobj/../boden/wege/../../descriptor/image.h:10, - from dataobj/../boden/wege/../../descriptor/image_list.h:10, - from dataobj/../boden/wege/../../descriptor/way_desc.h:10, - from dataobj/../boden/wege/weg.h:14, - from dataobj/../boden/grund.h:19, - from dataobj/../simplan.h:12, - from dataobj/../simworld.h:32, - from dataobj/scenario.cc:7: -dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from dataobj/../gui/gui_frame.h:20, - from dataobj/../gui/scenario_info.h:9, - from dataobj/scenario.cc:23: -dataobj/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, - from dataobj/../boden/wege/../../descriptor/image.h:10, - from dataobj/../boden/wege/../../descriptor/image_list.h:10, - from dataobj/../boden/wege/../../descriptor/way_desc.h:10, - from dataobj/../boden/wege/weg.h:14, - from dataobj/../boden/grund.h:19, - from dataobj/../simplan.h:12, - from dataobj/../simworld.h:32, - from dataobj/scenario.cc:7: -dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from dataobj/../gui/gui_frame.h:20, - from dataobj/../gui/scenario_info.h:9, - from dataobj/scenario.cc:23: -dataobj/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -dataobj/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, - from dataobj/../boden/wege/../../descriptor/image.h:10, - from dataobj/../boden/wege/../../descriptor/image_list.h:10, - from dataobj/../boden/wege/../../descriptor/way_desc.h:10, - from dataobj/../boden/wege/weg.h:14, - from dataobj/../boden/grund.h:19, - from dataobj/../simplan.h:12, - from dataobj/../simworld.h:32, - from dataobj/scenario.cc:7: -dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from dataobj/../gui/components/gui_container.h:23, from dataobj/../gui/components/gui_aligned_container.h:4, from dataobj/../gui/gui_frame.h:20, @@ -3123,12 +3031,6 @@ dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from dataobj/../gui/scenario_info.h:9, - from dataobj/scenario.cc:23: -dataobj/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -dataobj/../gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ In file included from dataobj/../gui/gui_frame.h:20, from dataobj/../gui/base_info.h:4, from dataobj/../gui/messagebox.h:4, @@ -3188,18 +3090,8 @@ dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, - from dataobj/../boden/wege/../../descriptor/image.h:10, - from dataobj/../boden/wege/../../descriptor/image_list.h:10, - from dataobj/../boden/wege/../../descriptor/way_desc.h:10, - from dataobj/../boden/wege/weg.h:14, - from dataobj/../boden/grund.h:19, - from dataobj/../simplan.h:12, - from dataobj/../simworld.h:32, - from dataobj/scenario.cc:7: -dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ +===> HOSTCXX dataobj/translator.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/translator.o dataobj/translator.cc In file included from dataobj/../gui/base_info.h:4, from dataobj/../gui/messagebox.h:4, from dataobj/schedule.cc:13: @@ -3219,8 +3111,6 @@ dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX dataobj/translator.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/dataobj/translator.o dataobj/translator.cc In file included from dataobj/schedule.cc:18: dataobj/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': dataobj/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -3233,6 +3123,92 @@ 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from dataobj/../simworld.h:24, + from dataobj/route.cc:11: +dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +dataobj/../simhalt.h:749:72: required from here +dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from dataobj/../convoihandle_t.h:4, + from dataobj/../simworld.h:20, + from dataobj/route.cc:11: +dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from dataobj/../simworld.h:24, + from dataobj/route.cc:11: +dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +dataobj/../simhalt.h:755:68: required from here +dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from dataobj/../convoihandle_t.h:4, + from dataobj/../simworld.h:20, + from dataobj/route.cc:11: +dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from dataobj/../simworld.h:24, + from dataobj/route.cc:11: +dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +dataobj/../simhalt.h:767:82: required from here +dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from dataobj/../convoihandle_t.h:4, + from dataobj/../simworld.h:20, + from dataobj/route.cc:11: +dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from dataobj/../simworld.h:24, + from dataobj/route.cc:11: +dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +dataobj/../simhalt.h:773:78: required from here +dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from dataobj/../convoihandle_t.h:4, + from dataobj/../simworld.h:20, + from dataobj/route.cc:11: +dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from dataobj/../simworld.h:24, + from dataobj/route.cc:11: +dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +dataobj/../simhalt.h:749:72: required from here +dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from dataobj/../convoihandle_t.h:4, + from dataobj/../simworld.h:20, + from dataobj/route.cc:11: +dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from dataobj/../simworld.h:24, + from dataobj/route.cc:11: +dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +dataobj/../simhalt.h:767:82: required from here +dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from dataobj/../convoihandle_t.h:4, + from dataobj/../simworld.h:20, + from dataobj/route.cc:11: +dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from dataobj/../simworld.h:24, from dataobj/schedule.cc:8: dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' @@ -3373,6 +3349,108 @@ dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from dataobj/../gui/components/gui_container.h:23, + from dataobj/../gui/components/gui_aligned_container.h:4, + from dataobj/../gui/gui_frame.h:20, + from dataobj/../gui/scenario_info.h:9, + from dataobj/scenario.cc:23: +dataobj/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +dataobj/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, + from dataobj/../boden/wege/../../descriptor/image.h:10, + from dataobj/../boden/wege/../../descriptor/image_list.h:10, + from dataobj/../boden/wege/../../descriptor/way_desc.h:10, + from dataobj/../boden/wege/weg.h:14, + from dataobj/../boden/grund.h:19, + from dataobj/../simplan.h:12, + from dataobj/../simworld.h:32, + from dataobj/scenario.cc:7: +dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from dataobj/../gui/gui_frame.h:20, + from dataobj/../gui/scenario_info.h:9, + from dataobj/scenario.cc:23: +dataobj/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +dataobj/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, + from dataobj/../boden/wege/../../descriptor/image.h:10, + from dataobj/../boden/wege/../../descriptor/image_list.h:10, + from dataobj/../boden/wege/../../descriptor/way_desc.h:10, + from dataobj/../boden/wege/weg.h:14, + from dataobj/../boden/grund.h:19, + from dataobj/../simplan.h:12, + from dataobj/../simworld.h:32, + from dataobj/scenario.cc:7: +dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from dataobj/../gui/gui_frame.h:20, + from dataobj/../gui/scenario_info.h:9, + from dataobj/scenario.cc:23: +dataobj/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, + from dataobj/../boden/wege/../../descriptor/image.h:10, + from dataobj/../boden/wege/../../descriptor/image_list.h:10, + from dataobj/../boden/wege/../../descriptor/way_desc.h:10, + from dataobj/../boden/wege/weg.h:14, + from dataobj/../boden/grund.h:19, + from dataobj/../simplan.h:12, + from dataobj/../simworld.h:32, + from dataobj/scenario.cc:7: +dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from dataobj/../gui/gui_frame.h:20, + from dataobj/../gui/scenario_info.h:9, + from dataobj/scenario.cc:23: +dataobj/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +dataobj/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, + from dataobj/../boden/wege/../../descriptor/image.h:10, + from dataobj/../boden/wege/../../descriptor/image_list.h:10, + from dataobj/../boden/wege/../../descriptor/way_desc.h:10, + from dataobj/../boden/wege/weg.h:14, + from dataobj/../boden/grund.h:19, + from dataobj/../simplan.h:12, + from dataobj/../simworld.h:32, + from dataobj/scenario.cc:7: +dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from dataobj/../gui/scenario_info.h:9, + from dataobj/scenario.cc:23: +dataobj/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +dataobj/../gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from dataobj/../boden/wege/../../descriptor/../display/simgraph.h:22, + from dataobj/../boden/wege/../../descriptor/image.h:10, + from dataobj/../boden/wege/../../descriptor/image_list.h:10, + from dataobj/../boden/wege/../../descriptor/way_desc.h:10, + from dataobj/../boden/wege/weg.h:14, + from dataobj/../boden/grund.h:19, + from dataobj/../simplan.h:12, + from dataobj/../simworld.h:32, + from dataobj/scenario.cc:7: +dataobj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +dataobj/translator.cc: In function 'char* recode(const char*, bool, bool, bool)': +dataobj/translator.cc:173:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 173 | *dst++ = c = (uint8)utf8_decoder_t::decode((utf8 const *&)src); + | ^~~ +dataobj/translator.cc:176:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 176 | *dst++ = c = unicode_to_latin2(utf8_decoder_t::decode((utf8 const *&)src)); + | ^~~ dataobj/scenario.cc: In member function 'plainstring scenario_t::load_language_file(const char*)': dataobj/scenario.cc:751:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 751 | fread(buf, 1, len, file); @@ -3387,13 +3465,6 @@ dataobj/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -dataobj/translator.cc: In function 'char* recode(const char*, bool, bool, bool)': -dataobj/translator.cc:173:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 173 | *dst++ = c = (uint8)utf8_decoder_t::decode((utf8 const *&)src); - | ^~~ -dataobj/translator.cc:176:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 176 | *dst++ = c = unicode_to_latin2(utf8_decoder_t::decode((utf8 const *&)src)); - | ^~~ dataobj/translator.cc: In function 'bool is_unicode_file(FILE*)': dataobj/translator.cc:103:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | fread( str, 1, 2, f ); @@ -3413,10 +3484,6 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/ground_desc.o descriptor/ground_desc.cc ===> HOSTCXX descriptor/image.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/image.o descriptor/image.cc -===> HOSTCXX descriptor/obj_base_desc.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/obj_base_desc.o descriptor/obj_base_desc.cc -===> HOSTCXX descriptor/reader/bridge_reader.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/bridge_reader.o descriptor/reader/bridge_reader.cc descriptor/building_desc.cc: In member function 'sint32 building_desc_t::get_price(karte_t*) const': descriptor/building_desc.cc:209:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 209 | switch(get_extra()) { @@ -3424,18 +3491,22 @@ descriptor/building_desc.cc:220:4: note: here 220 | case depot: | ^~~~ +===> HOSTCXX descriptor/obj_base_desc.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/obj_base_desc.o descriptor/obj_base_desc.cc +===> HOSTCXX descriptor/reader/bridge_reader.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/bridge_reader.o descriptor/reader/bridge_reader.cc ===> HOSTCXX descriptor/reader/building_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/building_reader.o descriptor/reader/building_reader.cc -descriptor/reader/bridge_reader.cc: In member function 'virtual obj_desc_t* bridge_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/bridge_reader.cc:33:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 33 | fread(desc_buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/citycar_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/citycar_reader.o descriptor/reader/citycar_reader.cc ===> HOSTCXX descriptor/reader/crossing_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/crossing_reader.o descriptor/reader/crossing_reader.cc ===> HOSTCXX descriptor/reader/factory_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/factory_reader.o descriptor/reader/factory_reader.cc +descriptor/reader/bridge_reader.cc: In member function 'virtual obj_desc_t* bridge_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/bridge_reader.cc:33:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 33 | fread(desc_buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/building_reader.cc: In member function 'virtual obj_desc_t* tile_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/building_reader.cc:30:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 30 | fread(desc_buf, node.size, 1, fp); @@ -3446,24 +3517,18 @@ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/good_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/good_reader.o descriptor/reader/good_reader.cc -descriptor/reader/citycar_reader.cc: In member function 'virtual obj_desc_t* citycar_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/citycar_reader.cc:41:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 41 | fread(desc_buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +===> HOSTCXX descriptor/reader/ground_reader.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/ground_reader.o descriptor/reader/ground_reader.cc descriptor/reader/crossing_reader.cc: In member function 'virtual obj_desc_t* crossing_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/crossing_reader.cc:35:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> HOSTCXX descriptor/reader/ground_reader.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/ground_reader.o descriptor/reader/ground_reader.cc +descriptor/reader/citycar_reader.cc: In member function 'virtual obj_desc_t* citycar_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/citycar_reader.cc:41:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 41 | fread(desc_buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/groundobj_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/groundobj_reader.o descriptor/reader/groundobj_reader.cc -===> HOSTCXX descriptor/reader/image_reader.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/image_reader.o descriptor/reader/image_reader.cc -descriptor/reader/good_reader.cc: In member function 'virtual obj_desc_t* goods_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/good_reader.cc:44:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 44 | fread(desc_buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/factory_reader.cc: In member function 'virtual obj_desc_t* factory_field_class_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/factory_reader.cc:38:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fread(desc_buf, node.size, 1, fp); @@ -3488,46 +3553,59 @@ descriptor/reader/factory_reader.cc:268:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 268 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +===> HOSTCXX descriptor/reader/image_reader.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/image_reader.o descriptor/reader/image_reader.cc ===> HOSTCXX descriptor/reader/imagelist2d_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/imagelist2d_reader.o descriptor/reader/imagelist2d_reader.cc +descriptor/reader/good_reader.cc: In member function 'virtual obj_desc_t* goods_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/good_reader.cc:44:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 44 | fread(desc_buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/imagelist_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/imagelist_reader.o descriptor/reader/imagelist_reader.cc +===> HOSTCXX descriptor/reader/obj_reader.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/obj_reader.o descriptor/reader/obj_reader.cc +===> HOSTCXX descriptor/reader/pedestrian_reader.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/pedestrian_reader.o descriptor/reader/pedestrian_reader.cc descriptor/reader/image_reader.cc: In member function 'virtual obj_desc_t* image_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/image_reader.cc:28:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -descriptor/reader/groundobj_reader.cc: In member function 'virtual obj_desc_t* groundobj_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/groundobj_reader.cc:45:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 45 | fread(desc_buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/imagelist2d_reader.cc: In member function 'virtual obj_desc_t* imagelist2d_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/imagelist2d_reader.cc:17:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> HOSTCXX descriptor/reader/obj_reader.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/obj_reader.o descriptor/reader/obj_reader.cc -===> HOSTCXX descriptor/reader/pedestrian_reader.cc ===> HOSTCXX descriptor/reader/roadsign_reader.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/pedestrian_reader.o descriptor/reader/pedestrian_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/roadsign_reader.o descriptor/reader/roadsign_reader.cc +descriptor/reader/groundobj_reader.cc: In member function 'virtual obj_desc_t* groundobj_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/groundobj_reader.cc:45:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 45 | fread(desc_buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/root_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/root_reader.o descriptor/reader/root_reader.cc +descriptor/reader/imagelist_reader.cc: In member function 'virtual obj_desc_t* imagelist_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/imagelist_reader.cc:17:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 17 | fread(desc_buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/sim_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/sim_reader.o descriptor/reader/sim_reader.cc +descriptor/reader/obj_reader.cc: In function 'void read_node_info(obj_node_info_t&, FILE*, uint32)': +descriptor/reader/obj_reader.cc:220:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 220 | fread(p, OBJ_NODE_INFO_SIZE, 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +descriptor/reader/obj_reader.cc:226:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 226 | fread(p, sizeof(data) - OBJ_NODE_INFO_SIZE, 1, f); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/skin_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/skin_reader.o descriptor/reader/skin_reader.cc -descriptor/reader/imagelist_reader.cc: In member function 'virtual obj_desc_t* imagelist_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/imagelist_reader.cc:17:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 17 | fread(desc_buf, node.size, 1, fp); +descriptor/reader/pedestrian_reader.cc: In member function 'virtual obj_desc_t* pedestrian_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/pedestrian_reader.cc:53:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 53 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/sound_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/sound_reader.o descriptor/reader/sound_reader.cc ===> HOSTCXX descriptor/reader/text_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/text_reader.o descriptor/reader/text_reader.cc -descriptor/reader/pedestrian_reader.cc: In member function 'virtual obj_desc_t* pedestrian_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/pedestrian_reader.cc:53:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 53 | fread(desc_buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/roadsign_reader.cc: In member function 'virtual obj_desc_t* roadsign_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/roadsign_reader.cc:40:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fread(desc_buf, node.size, 1, fp); @@ -3536,27 +3614,20 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/tree_reader.o descriptor/reader/tree_reader.cc ===> HOSTCXX descriptor/reader/tunnel_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/tunnel_reader.o descriptor/reader/tunnel_reader.cc +descriptor/reader/sound_reader.cc: In member function 'virtual obj_desc_t* sound_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/sound_reader.cc:27:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 27 | fread(desc_buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +===> HOSTCXX descriptor/reader/vehicle_reader.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/vehicle_reader.o descriptor/reader/vehicle_reader.cc descriptor/reader/text_reader.cc: In member function 'virtual obj_desc_t* text_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/text_reader.cc:15:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fread(desc->text, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -descriptor/reader/obj_reader.cc: In function 'void read_node_info(obj_node_info_t&, FILE*, uint32)': -descriptor/reader/obj_reader.cc:220:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 220 | fread(p, OBJ_NODE_INFO_SIZE, 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -descriptor/reader/obj_reader.cc:226:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 226 | fread(p, sizeof(data) - OBJ_NODE_INFO_SIZE, 1, f); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> HOSTCXX descriptor/reader/vehicle_reader.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/vehicle_reader.o descriptor/reader/vehicle_reader.cc ===> HOSTCXX descriptor/reader/way_obj_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/way_obj_reader.o descriptor/reader/way_obj_reader.cc ===> HOSTCXX descriptor/reader/way_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/way_reader.o descriptor/reader/way_reader.cc -descriptor/reader/sound_reader.cc: In member function 'virtual obj_desc_t* sound_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/sound_reader.cc:27:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 27 | fread(desc_buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/reader/xref_reader.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/reader/xref_reader.o descriptor/reader/xref_reader.cc descriptor/reader/tunnel_reader.cc: In member function 'virtual obj_desc_t* tunnel_reader_t::read_node(FILE*, obj_node_info_t&)': @@ -3567,16 +3638,18 @@ descriptor/reader/tree_reader.cc:38:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 38 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -descriptor/reader/way_obj_reader.cc: In member function 'virtual obj_desc_t* way_obj_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/way_obj_reader.cc:37:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 37 | fread(desc_buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX descriptor/sound_desc.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/sound_desc.o descriptor/sound_desc.cc ===> HOSTCXX descriptor/tunnel_desc.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/tunnel_desc.o descriptor/tunnel_desc.cc ===> HOSTCXX descriptor/vehicle_desc.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/vehicle_desc.o descriptor/vehicle_desc.cc +descriptor/reader/way_obj_reader.cc: In member function 'virtual obj_desc_t* way_obj_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/way_obj_reader.cc:37:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 37 | fread(desc_buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +===> HOSTCXX descriptor/way_desc.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/way_desc.o descriptor/way_desc.cc In file included from descriptor/reader/../../bauer/../gui/components/gui_container.h:23, from descriptor/reader/../../bauer/../gui/components/gui_aligned_container.h:4, from descriptor/reader/../../bauer/../gui/gui_frame.h:20, @@ -3594,8 +3667,6 @@ descriptor/reader/../../bauer/../gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX descriptor/way_desc.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/descriptor/way_desc.o descriptor/way_desc.cc In file included from descriptor/reader/../../bauer/../gui/gui_frame.h:20, from descriptor/reader/../../bauer/../gui/depot_frame.h:15, from descriptor/reader/../../bauer/vehikelbauer.h:14, @@ -3654,6 +3725,10 @@ descriptor/reader/../../bauer/../gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +descriptor/reader/way_reader.cc: In member function 'virtual obj_desc_t* way_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/way_reader.cc:41:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 41 | fread(desc_buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/xref_reader.cc: In member function 'virtual obj_desc_t* xref_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/xref_reader.cc:14:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fread(buf, 1, 5, fp); @@ -3676,10 +3751,6 @@ | ^~~~~~~~~~~~~~ ===> HOSTCXX display/font.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/display/font.o display/font.cc -descriptor/reader/way_reader.cc: In member function 'virtual obj_desc_t* way_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/way_reader.cc:41:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 41 | fread(desc_buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ descriptor/reader/vehicle_reader.cc: In member function 'virtual obj_desc_t* vehicle_reader_t::read_node(FILE*, obj_node_info_t&)': descriptor/reader/vehicle_reader.cc:40:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fread(desc_buf, node.size, 1, fp); @@ -3692,19 +3763,10 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/display/viewport.o display/viewport.cc ===> HOSTCXX finder/placefinder.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/finder/placefinder.o finder/placefinder.cc -display/font.cc: In function 'bool dsp_read_bdf_font(FILE*, font_t*)': -display/font.cc:161:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 161 | fgets(str, sizeof(str), fin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -display/font.cc: In function 'sint32 dsp_read_bdf_glyph(FILE*, uint8*, uint8*, int, int, int)': -display/font.cc:66:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 66 | fgets(str, sizeof(str), fin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -display/font.cc:104:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 104 | fgets(str, sizeof(str), fin); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX freight_list_sorter.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/freight_list_sorter.o freight_list_sorter.cc +===> HOSTCXX gui/ai_option_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/ai_option_t.o gui/ai_option_t.cc In file included from display/viewport.cc:7: display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -3716,8 +3778,6 @@ display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/ai_option_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/ai_option_t.o gui/ai_option_t.cc display/viewport.cc: In member function 'void viewport_t::change_world_position(const koord3d&)': display/viewport.cc:107:33: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 107 | follow_convoi = convoihandle_t(); @@ -3738,6 +3798,21 @@ display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +display/simgraph16.cc: In function 'int display_calc_proportional_string_len_width(const char*, size_t)': +display/simgraph16.cc:4326:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] + 4326 | utf32 iUnicode = utf8_decoder_t::decode((utf8 const *&)text); + | ^~~~ +display/font.cc: In function 'bool dsp_read_bdf_font(FILE*, font_t*)': +display/font.cc:161:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 161 | fgets(str, sizeof(str), fin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +display/font.cc: In function 'sint32 dsp_read_bdf_glyph(FILE*, uint8*, uint8*, int, int, int)': +display/font.cc:66:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 66 | fgets(str, sizeof(str), fin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +display/font.cc:104:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 104 | fgets(str, sizeof(str), fin); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from display/simview.cc:12: display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -3749,14 +3824,6 @@ display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/ai_selector.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/ai_selector.o gui/ai_selector.cc -display/simgraph16.cc: In function 'int display_calc_proportional_string_len_width(const char*, size_t)': -display/simgraph16.cc:4326:58: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] - 4326 | utf32 iUnicode = utf8_decoder_t::decode((utf8 const *&)text); - | ^~~~ -===> HOSTCXX gui/banner.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/banner.o gui/banner.cc In file included from freight_list_sorter.cc:6: simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -3779,85 +3846,115 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/base_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/base_info.o gui/base_info.cc +===> HOSTCXX gui/ai_selector.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/ai_selector.o gui/ai_selector.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: + from gui/ai_option_t.h:11, + from gui/ai_option_t.cc:20: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../player/../finder/../boden/wege/weg.h:14, + from gui/../player/../finder/../boden/grund.h:19, + from gui/../player/../finder/../simplan.h:12, + from gui/../player/../finder/../simworld.h:32, + from gui/../player/../finder/building_placefinder.h:12, + from gui/../player/ai.h:15, + from gui/ai_option_t.cc:15: +gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: + from gui/ai_option_t.h:11, + from gui/ai_option_t.cc:20: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from gui/gui_frame.h:16, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../player/../finder/../boden/wege/weg.h:14, + from gui/../player/../finder/../boden/grund.h:19, + from gui/../player/../finder/../simplan.h:12, + from gui/../player/../finder/../simworld.h:32, + from gui/../player/../finder/building_placefinder.h:12, + from gui/../player/ai.h:15, + from gui/ai_option_t.cc:15: +gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: + from gui/ai_option_t.h:11, + from gui/ai_option_t.cc:20: gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from gui/gui_frame.h:16, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../player/../finder/../boden/wege/weg.h:14, + from gui/../player/../finder/../boden/grund.h:19, + from gui/../player/../finder/../simplan.h:12, + from gui/../player/../finder/../simworld.h:32, + from gui/../player/../finder/building_placefinder.h:12, + from gui/../player/ai.h:15, + from gui/ai_option_t.cc:15: +gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: + from gui/ai_option_t.h:11, + from gui/ai_option_t.cc:20: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../player/../finder/../boden/wege/weg.h:14, + from gui/../player/../finder/../boden/grund.h:19, + from gui/../player/../finder/../simplan.h:12, + from gui/../player/../finder/../simworld.h:32, + from gui/../player/../finder/building_placefinder.h:12, + from gui/../player/ai.h:15, + from gui/ai_option_t.cc:15: +gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: +In file included from gui/ai_option_t.h:11, + from gui/ai_option_t.cc:20: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, + from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../player/../finder/../boden/wege/weg.h:14, + from gui/../player/../finder/../boden/grund.h:19, + from gui/../player/../finder/../simplan.h:12, + from gui/../player/../finder/../simworld.h:32, + from gui/../player/../finder/building_placefinder.h:12, + from gui/../player/ai.h:15, + from gui/ai_option_t.cc:15: +gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/baum_edit.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/baum_edit.o gui/baum_edit.cc +===> HOSTCXX gui/banner.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/banner.o gui/banner.cc In file included from dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, @@ -3956,166 +4053,85 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/base_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/base_info.o gui/base_info.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, - from gui/ai_option_t.h:11, - from gui/ai_option_t.cc:20: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../player/../finder/../boden/wege/weg.h:14, - from gui/../player/../finder/../boden/grund.h:19, - from gui/../player/../finder/../simplan.h:12, - from gui/../player/../finder/../simworld.h:32, - from gui/../player/../finder/building_placefinder.h:12, - from gui/../player/ai.h:15, - from gui/ai_option_t.cc:15: -gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/ai_option_t.h:11, - from gui/ai_option_t.cc:20: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../player/../finder/../boden/wege/weg.h:14, - from gui/../player/../finder/../boden/grund.h:19, - from gui/../player/../finder/../simplan.h:12, - from gui/../player/../finder/../simworld.h:32, - from gui/../player/../finder/building_placefinder.h:12, - from gui/../player/ai.h:15, - from gui/ai_option_t.cc:15: -gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/ai_option_t.h:11, - from gui/ai_option_t.cc:20: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../player/../finder/../boden/wege/weg.h:14, - from gui/../player/../finder/../boden/grund.h:19, - from gui/../player/../finder/../simplan.h:12, - from gui/../player/../finder/../simworld.h:32, - from gui/../player/../finder/building_placefinder.h:12, - from gui/../player/ai.h:15, - from gui/ai_option_t.cc:15: -gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/ai_option_t.h:11, - from gui/ai_option_t.cc:20: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../player/../finder/../boden/wege/weg.h:14, - from gui/../player/../finder/../boden/grund.h:19, - from gui/../player/../finder/../simplan.h:12, - from gui/../player/../finder/../simworld.h:32, - from gui/../player/../finder/building_placefinder.h:12, - from gui/../player/ai.h:15, - from gui/ai_option_t.cc:15: -gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/ai_option_t.h:11, - from gui/ai_option_t.cc:20: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/../player/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../player/../finder/../boden/wege/../../descriptor/image.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/image_list.h:10, - from gui/../player/../finder/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../player/../finder/../boden/wege/weg.h:14, - from gui/../player/../finder/../boden/grund.h:19, - from gui/../player/../finder/../simplan.h:12, - from gui/../player/../finder/../simworld.h:32, - from gui/../player/../finder/building_placefinder.h:12, - from gui/../player/ai.h:15, - from gui/ai_option_t.cc:15: -gui/../player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/city_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/city_info.o gui/city_info.cc -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/base_info.cc:1: + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/base_info.cc:1: + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/base_info.cc:1: + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/base_info.cc:1: + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/base_info.cc:1: + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/base_info.cc:1: + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/base_info.cc:1: + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/base_info.cc:1: + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/savegame_frame.h:14, + from gui/ai_selector.h:10, + from gui/ai_selector.cc:9: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/baum_edit.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/baum_edit.o gui/baum_edit.cc In file included from gui/components/gui_button.h:16, from gui/banner.h:12, from gui/banner.cc:21: @@ -4135,18 +4151,6 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/base_info.h:4, - from gui/base_info.cc:1: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/base_info.cc:1: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/banner.h:13, from gui/banner.cc:21: @@ -4221,10 +4225,75 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/city_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/city_info.o gui/city_info.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ ===> HOSTCXX gui/citybuilding_edit.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/citybuilding_edit.o gui/citybuilding_edit.cc -===> HOSTCXX gui/citylist_frame_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/citylist_frame_t.o gui/citylist_frame_t.cc +In file included from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/base_info.cc:1: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -4325,6 +4394,10 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/citylist_frame_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/citylist_frame_t.o gui/citylist_frame_t.cc +===> HOSTCXX gui/citylist_stats_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/citylist_stats_t.o gui/citylist_stats_t.cc In file included from gui/city_info.cc:14: gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -4357,6 +4430,28 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/extend_edit.h:4, + from gui/citybuilding_edit.h:8, + from gui/citybuilding_edit.cc:25: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/citybuilding_edit.cc:15: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/city_info.h:14, from gui/city_info.cc:19: @@ -4413,29 +4508,14 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/city_info.h:14, - from gui/city_info.cc:19: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/city_info.cc:11: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/city_info.cc:20: -gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': -gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 202 | new_size = size; - | ^~~~ +In file included from gui/gui_frame.h:20, + from gui/extend_edit.h:4, + from gui/citybuilding_edit.h:8, + from gui/citybuilding_edit.cc:25: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4444,14 +4524,17 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/city_info.cc:11: + from gui/citybuilding_edit.cc:15: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -gui/city_info.cc: In constructor 'gui_city_minimap_t::gui_city_minimap_t(stadt_t*)': -gui/city_info.cc:48:72: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 48 | minimaps_size = scr_size(PAX_DESTINATIONS_SIZE, PAX_DESTINATIONS_SIZE); // default minimaps size - | ^ +In file included from gui/gui_frame.h:20, + from gui/extend_edit.h:4, + from gui/citybuilding_edit.h:8, + from gui/citybuilding_edit.cc:25: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4460,89 +4543,18 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/city_info.cc:11: + from gui/citybuilding_edit.cc:15: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/citylist_stats_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/citylist_stats_t.o gui/citylist_stats_t.cc -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: + from gui/extend_edit.h:4, + from gui/citybuilding_edit.h:8, + from gui/citybuilding_edit.cc:25: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/citylist_frame_t.h:8, - from gui/citylist_frame_t.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/climates.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/climates.o gui/climates.cc -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/extend_edit.h:4, - from gui/citybuilding_edit.h:8, - from gui/citybuilding_edit.cc:25: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4555,14 +4567,12 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/extend_edit.h:4, - from gui/citybuilding_edit.h:8, - from gui/citybuilding_edit.cc:25: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ +In file included from gui/city_info.h:14, + from gui/city_info.cc:19: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4571,17 +4581,17 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/citybuilding_edit.cc:15: + from gui/city_info.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/extend_edit.h:4, +In file included from gui/extend_edit.h:4, from gui/citybuilding_edit.h:8, from gui/citybuilding_edit.cc:25: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4594,14 +4604,13 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/extend_edit.h:4, - from gui/citybuilding_edit.h:8, - from gui/citybuilding_edit.cc:25: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ +===> HOSTCXX gui/climates.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/climates.o gui/climates.cc +In file included from gui/city_info.cc:20: +gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': +gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 202 | new_size = size; + | ^~~~ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4610,17 +4619,14 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/citybuilding_edit.cc:15: + from gui/city_info.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/extend_edit.h:4, - from gui/citybuilding_edit.h:8, - from gui/citybuilding_edit.cc:25: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ +gui/city_info.cc: In constructor 'gui_city_minimap_t::gui_city_minimap_t(stadt_t*)': +gui/city_info.cc:48:72: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 48 | minimaps_size = scr_size(PAX_DESTINATIONS_SIZE, PAX_DESTINATIONS_SIZE); // default minimaps size + | ^ In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4629,10 +4635,21 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/citybuilding_edit.cc:15: + from gui/city_info.cc:11: gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/components/gui_aligned_container.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_aligned_container.o gui/components/gui_aligned_container.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/citylist_stats_t.h:13, @@ -4641,6 +4658,12 @@ gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/components/gui_component.h:11, from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, @@ -4690,6 +4713,58 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX gui/components/gui_building.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_building.o gui/components/gui_building.cc +In file included from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/citylist_frame_t.h:8, + from gui/citylist_frame_t.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/city_info.h:14, from gui/citylist_stats_t.cc:13: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -4780,12 +4855,18 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_aligned_container.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_aligned_container.o gui/components/gui_aligned_container.cc -===> HOSTCXX gui/components/gui_building.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_building.o gui/components/gui_building.cc -===> HOSTCXX gui/components/gui_button.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_button.o gui/components/gui_button.cc +In file included from gui/components/gui_building.h:5, + from gui/components/gui_building.cc:2: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_building.h:5, + from gui/components/gui_building.cc:2: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/components/gui_aligned_container.cc:1: @@ -4835,18 +4916,12 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_building.h:5, - from gui/components/gui_building.cc:2: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_building.h:5, - from gui/components/gui_building.cc:2: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ +===> HOSTCXX gui/components/gui_button.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_button.o gui/components/gui_button.cc +===> HOSTCXX gui/components/gui_button_to_chart.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_button_to_chart.o gui/components/gui_button_to_chart.cc +===> HOSTCXX gui/components/gui_chart.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_chart.o gui/components/gui_chart.cc In file included from gui/components/gui_button.h:16, from gui/components/gui_button.cc:12: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -4859,8 +4934,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_button_to_chart.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_button_to_chart.o gui/components/gui_button_to_chart.cc In file included from gui/components/gui_button.cc:28: gui/components/../../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': gui/components/../../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -4918,8 +4991,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_chart.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_chart.o gui/components/gui_chart.cc In file included from gui/components/gui_button.h:16, from gui/components/gui_button_to_chart.h:6, from gui/components/gui_button_to_chart.cc:1: @@ -4934,12 +5005,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_colorbox.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_colorbox.o gui/components/gui_colorbox.cc -===> HOSTCXX gui/components/gui_combobox.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_combobox.o gui/components/gui_combobox.cc -===> HOSTCXX gui/components/gui_container.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_container.o gui/components/gui_container.cc In file included from gui/components/gui_chart.h:10, from gui/components/gui_chart.cc:9: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -4952,6 +5017,8 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/components/gui_colorbox.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_colorbox.o gui/components/gui_colorbox.cc In file included from gui/components/../gui_frame.h:20, from gui/components/gui_chart.cc:10: gui/components/../components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -5018,39 +5085,10 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_colorbox.h:4, - from gui/components/gui_colorbox.cc:1: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_colorbox.h:4, - from gui/components/gui_colorbox.cc:1: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_colorbox.cc:1: -gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': -gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 31 | max_size = s; - | ^ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_colorbox.h:4, - from gui/components/gui_colorbox.cc:1: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -gui/components/gui_colorbox.cc: In constructor 'gui_colorbox_t::gui_colorbox_t(PIXVAL)': -gui/components/gui_colorbox.cc:8:57: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 8 | max_size = scr_size(scr_size::inf.w, D_INDICATOR_HEIGHT); - | ^ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_colorbox.h:4, - from gui/components/gui_colorbox.cc:1: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ +===> HOSTCXX gui/components/gui_combobox.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_combobox.o gui/components/gui_combobox.cc +===> HOSTCXX gui/components/gui_container.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_container.o gui/components/gui_container.cc ===> HOSTCXX gui/components/gui_convoiinfo.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_convoiinfo.o gui/components/gui_convoiinfo.cc In file included from gui/components/../components/gui_container.h:23, @@ -5108,8 +5146,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_divider.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_divider.o gui/components/gui_divider.cc gui/components/gui_combobox.cc: In constructor 'gui_combobox_t::gui_combobox_t(gui_scrolled_list_t::item_compare_func)': gui/components/gui_combobox.cc:47:25: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 47 | closed_size = get_size(); @@ -5145,8 +5181,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_fixedwidth_textarea.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_fixedwidth_textarea.o gui/components/gui_fixedwidth_textarea.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_container.cc:22: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -5159,59 +5193,36 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_flowtext.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_flowtext.o gui/components/gui_flowtext.cc -===> HOSTCXX gui/components/gui_image.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_image.o gui/components/gui_image.cc -In file included from gui/components/gui_fixedwidth_textarea.h:11, - from gui/components/gui_fixedwidth_textarea.cc:11: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/../../display/simgraph.h:22, - from gui/components/../gui_theme.h:13, - from gui/components/gui_fixedwidth_textarea.cc:10: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -gui/components/gui_fixedwidth_textarea.cc: In member function 'void gui_fixedwidth_textarea_t::set_reserved_area(scr_size)': -gui/components/gui_fixedwidth_textarea.cc:48:19: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 48 | reserved_area = area; - | ^~~~ -In file included from gui/components/../../display/simgraph.h:22, - from gui/components/../gui_theme.h:13, - from gui/components/gui_fixedwidth_textarea.cc:10: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_scrollpane.h:14, - from gui/components/gui_flowtext.h:6, - from gui/components/gui_flowtext.cc:10: +In file included from gui/components/gui_colorbox.h:4, + from gui/components/gui_colorbox.cc:1: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ -In file included from gui/components/../../display/simgraph.h:22, - from gui/components/gui_flowtext.cc:5: +In file included from gui/components/gui_component.h:11, + from gui/components/gui_colorbox.h:4, + from gui/components/gui_colorbox.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -gui/components/gui_flowtext.cc: In member function 'void gui_flowtext_intern_t::set_text(const char*)': -gui/components/gui_flowtext.cc:309:53: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 309 | preferred_size = output(scr_size(0, 0), false, true); - | ^ -In file included from gui/components/../../display/simgraph.h:22, - from gui/components/gui_flowtext.cc:5: +In file included from gui/components/gui_colorbox.cc:1: +gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': +gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 31 | max_size = s; + | ^ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_colorbox.h:4, + from gui/components/gui_colorbox.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -gui/components/gui_flowtext.cc: In member function 'virtual void gui_flowtext_intern_t::set_size(scr_size)': -gui/components/gui_flowtext.cc:322:53: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 322 | preferred_size = output(scr_size(0, 0), false, true); - | ^ -In file included from gui/components/../../display/simgraph.h:22, - from gui/components/gui_flowtext.cc:5: +gui/components/gui_colorbox.cc: In constructor 'gui_colorbox_t::gui_colorbox_t(PIXVAL)': +gui/components/gui_colorbox.cc:8:57: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 8 | max_size = scr_size(scr_size::inf.w, D_INDICATOR_HEIGHT); + | ^ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_colorbox.h:4, + from gui/components/gui_colorbox.cc:1: gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ @@ -5272,22 +5283,12 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_divider.h:12, - from gui/components/gui_divider.cc:1: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_divider.h:12, - from gui/components/gui_divider.cc:1: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/components/gui_image_list.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_image_list.o gui/components/gui_image_list.cc -===> HOSTCXX gui/components/gui_component.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_component.o gui/components/gui_component.cc +===> HOSTCXX gui/components/gui_divider.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_divider.o gui/components/gui_divider.cc +===> HOSTCXX gui/components/gui_fixedwidth_textarea.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_fixedwidth_textarea.o gui/components/gui_fixedwidth_textarea.cc +===> HOSTCXX gui/components/gui_flowtext.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_flowtext.o gui/components/gui_flowtext.cc In file included from gui/components/gui_convoiinfo.cc:15: gui/components/../../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': gui/components/../../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -5330,8 +5331,80 @@ gui/components/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_fixedwidth_textarea.h:11, + from gui/components/gui_fixedwidth_textarea.cc:11: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/../gui_theme.h:13, + from gui/components/gui_fixedwidth_textarea.cc:10: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +gui/components/gui_fixedwidth_textarea.cc: In member function 'void gui_fixedwidth_textarea_t::set_reserved_area(scr_size)': +gui/components/gui_fixedwidth_textarea.cc:48:19: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 48 | reserved_area = area; + | ^~~~ +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/../gui_theme.h:13, + from gui/components/gui_fixedwidth_textarea.cc:10: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX gui/components/gui_image.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_image.o gui/components/gui_image.cc +In file included from gui/components/gui_divider.h:12, + from gui/components/gui_divider.cc:1: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_divider.h:12, + from gui/components/gui_divider.cc:1: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_scrollpane.h:14, + from gui/components/gui_flowtext.h:6, + from gui/components/gui_flowtext.cc:10: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/gui_flowtext.cc:5: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +gui/components/gui_flowtext.cc: In member function 'void gui_flowtext_intern_t::set_text(const char*)': +gui/components/gui_flowtext.cc:309:53: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 309 | preferred_size = output(scr_size(0, 0), false, true); + | ^ +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/gui_flowtext.cc:5: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +gui/components/gui_flowtext.cc: In member function 'virtual void gui_flowtext_intern_t::set_size(scr_size)': +gui/components/gui_flowtext.cc:322:53: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 322 | preferred_size = output(scr_size(0, 0), false, true); + | ^ +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/gui_flowtext.cc:5: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX gui/components/gui_image_list.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_image_list.o gui/components/gui_image_list.cc +===> HOSTCXX gui/components/gui_component.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_component.o gui/components/gui_component.cc ===> HOSTCXX gui/components/gui_label.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_label.o gui/components/gui_label.cc +===> HOSTCXX gui/components/gui_map_preview.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_map_preview.o gui/components/gui_map_preview.cc In file included from gui/components/gui_image.h:15, from gui/components/gui_image.cc:1: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -5400,8 +5473,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_map_preview.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_map_preview.o gui/components/gui_map_preview.cc In file included from gui/components/gui_image_list.h:5, from gui/components/gui_image_list.cc:8: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -5414,8 +5485,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_numberinput.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_numberinput.o gui/components/gui_numberinput.cc In file included from gui/components/gui_component.cc:1: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -5426,18 +5495,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_map_preview.h:13, - from gui/components/gui_map_preview.cc:1: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_map_preview.h:13, - from gui/components/gui_map_preview.cc:1: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/components/gui_label.h:13, from gui/components/gui_label.cc:9: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -5496,8 +5553,30 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/components/gui_numberinput.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_numberinput.o gui/components/gui_numberinput.cc +In file included from gui/components/gui_map_preview.h:13, + from gui/components/gui_map_preview.cc:1: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_map_preview.h:13, + from gui/components/gui_map_preview.cc:1: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ ===> HOSTCXX gui/components/gui_obj_view_t.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_obj_view_t.o gui/components/gui_obj_view_t.cc +===> HOSTCXX gui/components/gui_scrollbar.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_scrollbar.o gui/components/gui_scrollbar.cc +===> HOSTCXX gui/components/gui_scrolled_list.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_scrolled_list.o gui/components/gui_scrolled_list.cc +===> HOSTCXX gui/components/gui_scrollpane.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_scrollpane.o gui/components/gui_scrollpane.cc +===> HOSTCXX gui/components/gui_speedbar.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_speedbar.o gui/components/gui_speedbar.cc In file included from gui/components/gui_textinput.h:20, from gui/components/gui_numberinput.h:22, from gui/components/gui_numberinput.cc:13: @@ -5552,55 +5631,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_scrollbar.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_scrollbar.o gui/components/gui_scrollbar.cc -===> HOSTCXX gui/components/gui_scrolled_list.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_scrolled_list.o gui/components/gui_scrolled_list.cc -===> HOSTCXX gui/components/gui_scrollpane.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_scrollpane.o gui/components/gui_scrollpane.cc -In file included from gui/components/gui_world_view_t.h:11, - from gui/components/gui_obj_view_t.h:4, - from gui/components/gui_obj_view_t.cc:1: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_world_view_t.h:11, - from gui/components/gui_obj_view_t.h:4, - from gui/components/gui_obj_view_t.cc:1: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_button.h:16, - from gui/components/gui_scrollbar.h:10, - from gui/components/gui_scrollbar.cc:16: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/../../display/simgraph.h:22, - from gui/components/gui_scrollbar.cc:11: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -gui/components/gui_scrollbar.cc: In constructor 'scrollbar_t::scrollbar_t(scrollbar_t::type_t)': -gui/components/gui_scrollbar.cc:33:39: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 33 | size = scr_size(D_SCROLLBAR_WIDTH,40); // 40 = default scrollbar height - | ^ -In file included from gui/components/../../display/simgraph.h:22, - from gui/components/gui_scrollbar.cc:11: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -gui/components/gui_scrollbar.cc:38:40: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 38 | size = scr_size(40,D_SCROLLBAR_HEIGHT); // 40 = default scrollbar length - | ^ -In file included from gui/components/../../display/simgraph.h:22, - from gui/components/gui_scrollbar.cc:11: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrolled_list.cc:16: @@ -5615,8 +5645,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_speedbar.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_speedbar.o gui/components/gui_speedbar.cc In file included from gui/components/gui_scrolled_list.h:15, from gui/components/gui_scrolled_list.cc:17: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -5666,12 +5694,63 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/components/gui_button.h:16, + from gui/components/gui_scrollbar.h:10, + from gui/components/gui_scrollbar.cc:16: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/gui_scrollbar.cc:11: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_speedbar.h:11, + from gui/components/gui_speedbar.cc:10: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_speedbar.h:11, + from gui/components/gui_speedbar.cc:10: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +gui/components/gui_scrollbar.cc: In constructor 'scrollbar_t::scrollbar_t(scrollbar_t::type_t)': +gui/components/gui_scrollbar.cc:33:39: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 33 | size = scr_size(D_SCROLLBAR_WIDTH,40); // 40 = default scrollbar height + | ^ +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/gui_scrollbar.cc:11: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +gui/components/gui_scrollbar.cc:38:40: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 38 | size = scr_size(40,D_SCROLLBAR_HEIGHT); // 40 = default scrollbar length + | ^ +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/gui_scrollbar.cc:11: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_world_view_t.h:11, + from gui/components/gui_obj_view_t.h:4, + from gui/components/gui_obj_view_t.cc:1: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_world_view_t.h:11, + from gui/components/gui_obj_view_t.h:4, + from gui/components/gui_obj_view_t.cc:1: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ ===> HOSTCXX gui/components/gui_tab_panel.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_tab_panel.o gui/components/gui_tab_panel.cc -===> HOSTCXX gui/components/gui_textarea.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_textarea.o gui/components/gui_textarea.cc -===> HOSTCXX gui/components/gui_textinput.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_textinput.o gui/components/gui_textinput.cc In file included from gui/components/../components/gui_container.h:23, from gui/components/../components/gui_aligned_container.h:4, from gui/components/../gui_frame.h:20, @@ -5754,6 +5833,83 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/components/gui_textarea.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_textarea.o gui/components/gui_textarea.cc +===> HOSTCXX gui/components/gui_textinput.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_textinput.o gui/components/gui_textinput.cc +===> HOSTCXX gui/components/gui_world_view_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_world_view_t.o gui/components/gui_world_view_t.cc +===> HOSTCXX gui/convoi_detail_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoi_detail_t.o gui/convoi_detail_t.cc +In file included from gui/components/gui_textarea.h:17, + from gui/components/gui_textarea.cc:16: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_textarea.h:17, + from gui/components/gui_textarea.cc:16: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/convoi_detail_t.h:11, + from gui/convoi_detail_t.cc:14: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/convoi_detail_t.h:11, + from gui/convoi_detail_t.cc:14: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/convoi_detail_t.h:11, + from gui/convoi_detail_t.cc:14: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/convoi_detail_t.h:11, + from gui/convoi_detail_t.cc:14: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/convoi_detail_t.h:11, + from gui/convoi_detail_t.cc:14: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/convoi_detail_t.h:11, + from gui/convoi_detail_t.cc:14: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/convoi_detail_t.h:11, + from gui/convoi_detail_t.cc:14: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/convoi_detail_t.h:11, + from gui/convoi_detail_t.cc:14: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/components/gui_tab_panel.h:14, from gui/components/gui_tab_panel.cc:13: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -5770,8 +5926,6 @@ gui/components/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/components/gui_world_view_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/components/gui_world_view_t.o gui/components/gui_world_view_t.cc In file included from gui/components/../gui_frame.h:20, from gui/components/gui_tab_panel.cc:14: gui/components/../components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -5819,18 +5973,6 @@ gui/components/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_textarea.h:17, - from gui/components/gui_textarea.cc:16: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_textarea.h:17, - from gui/components/gui_textarea.cc:16: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/components/gui_tab_panel.cc:14: gui/components/../gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/components/../gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -5846,6 +5988,17 @@ gui/components/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/convoi_detail_t.cc:19: +gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from gui/../convoihandle_t.h:4, + from gui/convoi_detail_t.h:16, + from gui/convoi_detail_t.cc:14: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ gui/components/gui_tab_panel.cc: In member function 'virtual void gui_tab_panel_t::set_size(scr_size)': gui/components/gui_tab_panel.cc:53:47: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 53 | required_size = scr_size( 8, required_size.h ); @@ -5860,20 +6013,6 @@ gui/components/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_speedbar.h:11, - from gui/components/gui_speedbar.cc:10: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_speedbar.h:11, - from gui/components/gui_speedbar.cc:10: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/convoi_detail_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoi_detail_t.o gui/convoi_detail_t.cc In file included from gui/components/../components/gui_container.h:23, from gui/components/../components/gui_aligned_container.h:4, from gui/components/../gui_frame.h:20, @@ -5919,91 +6058,64 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_textinput.cc:18: -gui/components/../gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/components/../gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/components/../gui_frame.h:16, - from gui/components/gui_textinput.cc:18: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/convoi_filter_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoi_filter_frame.o gui/convoi_filter_frame.cc -===> HOSTCXX gui/convoi_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoi_frame.o gui/convoi_frame.cc -===> HOSTCXX gui/convoi_info_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoi_info_t.o gui/convoi_info_t.cc In file included from gui/components/gui_world_view_t.h:11, from gui/components/gui_world_view_t.cc:10: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ +In file included from gui/components/gui_textinput.cc:18: +gui/components/../gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/components/../gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ In file included from gui/components/gui_component.h:11, from gui/components/gui_world_view_t.h:11, from gui/components/gui_world_view_t.cc:10: gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/convoi_detail_t.h:11, - from gui/convoi_detail_t.cc:14: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/convoi_detail_t.h:11, - from gui/convoi_detail_t.cc:14: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/convoi_detail_t.h:11, - from gui/convoi_detail_t.cc:14: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/convoi_detail_t.h:11, - from gui/convoi_detail_t.cc:14: +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_textinput.cc:18: gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/convoi_detail_t.h:11, - from gui/convoi_detail_t.cc:14: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/convoi_detail_t.h:11, +===> HOSTCXX gui/convoi_filter_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoi_filter_frame.o gui/convoi_filter_frame.cc +In file included from gui/convoi_detail_t.cc:23: +gui/../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': +gui/../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } + | ^~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/convoi_detail_t.h:16, from gui/convoi_detail_t.cc:14: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/convoi_detail_t.h:11, +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/convoi_detail_t.cc:23: +gui/../simware.h: In member function 'void ware_t::set_zwischenziel(const halthandle_t&)': +gui/../simware.h:70:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 70 | void set_zwischenziel(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } + | ^~~~~~~~~~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/convoi_detail_t.h:16, from gui/convoi_detail_t.cc:14: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/convoi_detail_t.h:11, +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +gui/convoi_detail_t.cc: In member function 'void convoi_detail_t::init(convoihandle_t)': +gui/convoi_detail_t.cc:149:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 149 | this->cnv = cnv; + | ^~~ +In file included from gui/../convoihandle_t.h:4, + from gui/convoi_detail_t.h:16, from gui/convoi_detail_t.cc:14: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/convoi_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoi_frame.o gui/convoi_frame.cc In file included from gui/components/gui_world_view_t.cc:12: gui/components/../../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': gui/components/../../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -6015,19 +6127,6 @@ gui/components/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/convoy_item.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoy_item.o gui/convoy_item.cc -In file included from gui/convoi_detail_t.cc:19: -gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from gui/../convoihandle_t.h:4, - from gui/convoi_detail_t.h:16, - from gui/convoi_detail_t.cc:14: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ gui/components/gui_world_view_t.cc: In constructor 'world_view_t::world_view_t(scr_size)': gui/components/gui_world_view_t.cc:38:13: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 38 | min_size = size; @@ -6038,6 +6137,8 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/convoi_info_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoi_info_t.o gui/convoi_info_t.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -6105,6 +6206,90 @@ | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, + from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/convoi_frame.h:18, + from gui/convoi_frame.cc:21: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/components/gui_convoiinfo.h:15, + from gui/convoi_frame.cc:19: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/convoi_frame.cc:25: +gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/convoi_frame.cc:19: +gui/components/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/convoy_item.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/convoy_item.o gui/convoy_item.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, from gui/convoi_info_t.h:15, from gui/convoi_info_t.cc:14: @@ -6168,28 +6353,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/convoi_detail_t.cc:23: -gui/../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': -gui/../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } - | ^~~~ -In file included from gui/../convoihandle_t.h:4, - from gui/convoi_detail_t.h:16, - from gui/convoi_detail_t.cc:14: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/convoi_detail_t.cc:23: -gui/../simware.h: In member function 'void ware_t::set_zwischenziel(const halthandle_t&)': -gui/../simware.h:70:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 70 | void set_zwischenziel(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } - | ^~~~~~~~~~~~ -In file included from gui/../convoihandle_t.h:4, - from gui/convoi_detail_t.h:16, - from gui/convoi_detail_t.cc:14: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from gui/convoi_info_t.cc:18: gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -6201,16 +6364,10 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -gui/convoi_detail_t.cc: In member function 'void convoi_detail_t::init(convoihandle_t)': -gui/convoi_detail_t.cc:149:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 149 | this->cnv = cnv; - | ^~~ -In file included from gui/../convoihandle_t.h:4, - from gui/convoi_detail_t.h:16, - from gui/convoi_detail_t.cc:14: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/curiosity_edit.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/curiosity_edit.o gui/curiosity_edit.cc +===> HOSTCXX gui/curiositylist_frame_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/curiositylist_frame_t.o gui/curiositylist_frame_t.cc In file included from gui/convoi_info_t.cc:27: gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -6232,90 +6389,6 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/curiosity_edit.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/curiosity_edit.o gui/curiosity_edit.cc -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/convoi_frame.h:18, - from gui/convoi_frame.cc:21: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/convoi_frame.cc:25: -gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/convoi_frame.cc:19: -gui/components/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/components/gui_scrolled_list.h:15, @@ -6334,8 +6407,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/curiositylist_frame_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/curiositylist_frame_t.o gui/curiositylist_frame_t.cc In file included from gui/components/gui_scrolled_list.h:15, from gui/convoy_item.h:8, from gui/convoy_item.cc:5: @@ -6470,6 +6541,18 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/curiositylist_stats_t.h:17, + from gui/curiositylist_frame_t.cc:14: +gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': +gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 31 | max_size = s; + | ^ +In file included from gui/gui_frame.h:16, + from gui/curiositylist_frame_t.h:9, + from gui/curiositylist_frame_t.cc:13: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -6551,18 +6634,6 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/curiositylist_stats_t.h:17, - from gui/curiositylist_frame_t.cc:14: -gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': -gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 31 | max_size = s; - | ^ -In file included from gui/gui_frame.h:16, - from gui/curiositylist_frame_t.h:9, - from gui/curiositylist_frame_t.cc:13: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/extend_edit.h:4, from gui/curiosity_edit.h:8, from gui/curiosity_edit.cc:27: @@ -6726,110 +6797,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/extend_edit.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/extend_edit.o gui/extend_edit.cc -In file included from gui/components/gui_container.h:22, - from gui/components/gui_aligned_container.h:4, - from gui/curiositylist_stats_t.h:16, - from gui/curiositylist_stats_t.cc:13: -gui/components/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -gui/components/../../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:749:72: required from here -gui/components/../../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from gui/../convoihandle_t.h:4, - from gui/../simworld.h:20, - from gui/curiositylist_stats_t.cc:18: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:22, - from gui/components/gui_aligned_container.h:4, - from gui/curiositylist_stats_t.h:16, - from gui/curiositylist_stats_t.cc:13: -gui/components/../../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -gui/components/../../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:755:68: required from here -gui/components/../../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from gui/../convoihandle_t.h:4, - from gui/../simworld.h:20, - from gui/curiositylist_stats_t.cc:18: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:22, - from gui/components/gui_aligned_container.h:4, - from gui/curiositylist_stats_t.h:16, - from gui/curiositylist_stats_t.cc:13: -gui/components/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -gui/components/../../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:767:82: required from here -gui/components/../../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from gui/../convoihandle_t.h:4, - from gui/../simworld.h:20, - from gui/curiositylist_stats_t.cc:18: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:22, - from gui/components/gui_aligned_container.h:4, - from gui/curiositylist_stats_t.h:16, - from gui/curiositylist_stats_t.cc:13: -gui/components/../../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -gui/components/../../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:773:78: required from here -gui/components/../../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from gui/../convoihandle_t.h:4, - from gui/../simworld.h:20, - from gui/curiositylist_stats_t.cc:18: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:22, - from gui/components/gui_aligned_container.h:4, - from gui/curiositylist_stats_t.h:16, - from gui/curiositylist_stats_t.cc:13: -gui/components/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -gui/components/../../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -gui/components/../../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:749:72: required from here -gui/components/../../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from gui/../convoihandle_t.h:4, - from gui/../simworld.h:20, - from gui/curiositylist_stats_t.cc:18: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:22, - from gui/components/gui_aligned_container.h:4, - from gui/curiositylist_stats_t.h:16, - from gui/curiositylist_stats_t.cc:13: -gui/components/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -gui/components/../../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -gui/components/../../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:767:82: required from here -gui/components/../../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from gui/../convoihandle_t.h:4, - from gui/../simworld.h:20, - from gui/curiositylist_stats_t.cc:18: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/fabrik_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/fabrik_info.o gui/fabrik_info.cc -===> HOSTCXX gui/factory_chart.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/factory_chart.o gui/factory_chart.cc In file included from gui/depot_frame.cc:19: gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -6866,21 +6833,6 @@ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, from gui/schedule_gui.h:12, from gui/depot_frame.cc:33: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -6955,44 +6907,6 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/schedule_gui.h:12, from gui/depot_frame.cc:33: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -7011,18 +6925,6 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/depot_frame.cc:35: gui/line_item.h: In constructor 'line_scrollitem_t::line_scrollitem_t(linehandle_t)': gui/line_item.h:19:132: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -7045,8 +6947,6 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/factory_edit.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/factory_edit.o gui/factory_edit.cc In file included from gui/depot_frame.cc:39: gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': gui/depot_frame.h:346:62: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -7087,11 +6987,53 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/enlarge_map_frame_t.cc:12: -gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': -gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 202 | new_size = size; - | ^~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/enlarge_map_frame_t.h:8, from gui/enlarge_map_frame_t.cc:11: @@ -7114,6 +7056,116 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_container.h:22, + from gui/components/gui_aligned_container.h:4, + from gui/curiositylist_stats_t.h:16, + from gui/curiositylist_stats_t.cc:13: +gui/components/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +gui/components/../../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:749:72: required from here +gui/components/../../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/curiositylist_stats_t.cc:18: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:22, + from gui/components/gui_aligned_container.h:4, + from gui/curiositylist_stats_t.h:16, + from gui/curiositylist_stats_t.cc:13: +gui/components/../../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +gui/components/../../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:755:68: required from here +gui/components/../../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/curiositylist_stats_t.cc:18: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:22, + from gui/components/gui_aligned_container.h:4, + from gui/curiositylist_stats_t.h:16, + from gui/curiositylist_stats_t.cc:13: +gui/components/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +gui/components/../../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:767:82: required from here +gui/components/../../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/curiositylist_stats_t.cc:18: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:22, + from gui/components/gui_aligned_container.h:4, + from gui/curiositylist_stats_t.h:16, + from gui/curiositylist_stats_t.cc:13: +gui/components/../../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +gui/components/../../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:773:78: required from here +gui/components/../../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/curiositylist_stats_t.cc:18: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:22, + from gui/components/gui_aligned_container.h:4, + from gui/curiositylist_stats_t.h:16, + from gui/curiositylist_stats_t.cc:13: +gui/components/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +gui/components/../../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +gui/components/../../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:749:72: required from here +gui/components/../../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/curiositylist_stats_t.cc:18: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:22, + from gui/components/gui_aligned_container.h:4, + from gui/curiositylist_stats_t.h:16, + from gui/curiositylist_stats_t.cc:13: +gui/components/../../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +gui/components/../../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +gui/components/../../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:767:82: required from here +gui/components/../../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/curiositylist_stats_t.cc:18: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ gui/depot_frame.cc: In member function 'void depot_frame_t::update_data()': gui/depot_frame.cc:965:24: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 965 | last_selected_line = selected_line; @@ -7225,101 +7277,25 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/factory_chart.h:18, - from gui/factory_chart.cc:15: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/building_desc.h:11, - from gui/../descriptor/factory_desc.h:11, - from gui/../simfab.h:17, - from gui/factory_chart.h:17, - from gui/factory_chart.cc:15: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/factory_chart.h:18, - from gui/factory_chart.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/building_desc.h:11, - from gui/../descriptor/factory_desc.h:11, - from gui/../simfab.h:17, - from gui/factory_chart.h:17, - from gui/factory_chart.cc:15: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/factory_chart.h:18, - from gui/factory_chart.cc:15: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/building_desc.h:11, - from gui/../descriptor/factory_desc.h:11, - from gui/../simfab.h:17, - from gui/factory_chart.h:17, - from gui/factory_chart.cc:15: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/factory_chart.h:18, - from gui/factory_chart.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/building_desc.h:11, - from gui/../descriptor/factory_desc.h:11, - from gui/../simfab.h:17, - from gui/factory_chart.h:17, - from gui/factory_chart.cc:15: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/factory_chart.h:18, - from gui/factory_chart.cc:15: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/building_desc.h:11, - from gui/../descriptor/factory_desc.h:11, - from gui/../simfab.h:17, - from gui/factory_chart.h:17, - from gui/factory_chart.cc:15: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/enlarge_map_frame_t.cc:12: +gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': +gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 202 | new_size = size; + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/enlarge_map_frame_t.h:8, + from gui/enlarge_map_frame_t.cc:11: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/extend_edit.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/extend_edit.o gui/extend_edit.cc +===> HOSTCXX gui/fabrik_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/fabrik_info.o gui/fabrik_info.cc +===> HOSTCXX gui/factory_chart.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/factory_chart.o gui/factory_chart.cc +===> HOSTCXX gui/factory_edit.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/factory_edit.o gui/factory_edit.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -7555,6 +7531,101 @@ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, + from gui/factory_chart.h:18, + from gui/factory_chart.cc:15: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/building_desc.h:11, + from gui/../descriptor/factory_desc.h:11, + from gui/../simfab.h:17, + from gui/factory_chart.h:17, + from gui/factory_chart.cc:15: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/factory_chart.h:18, + from gui/factory_chart.cc:15: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/building_desc.h:11, + from gui/../descriptor/factory_desc.h:11, + from gui/../simfab.h:17, + from gui/factory_chart.h:17, + from gui/factory_chart.cc:15: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/factory_chart.h:18, + from gui/factory_chart.cc:15: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/building_desc.h:11, + from gui/../descriptor/factory_desc.h:11, + from gui/../simfab.h:17, + from gui/factory_chart.h:17, + from gui/factory_chart.cc:15: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/factory_chart.h:18, + from gui/factory_chart.cc:15: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/building_desc.h:11, + from gui/../descriptor/factory_desc.h:11, + from gui/../simfab.h:17, + from gui/factory_chart.h:17, + from gui/factory_chart.cc:15: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/factory_chart.h:18, + from gui/factory_chart.cc:15: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/building_desc.h:11, + from gui/../descriptor/factory_desc.h:11, + from gui/../simfab.h:17, + from gui/factory_chart.h:17, + from gui/factory_chart.cc:15: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, from gui/extend_edit.h:4, from gui/factory_edit.h:8, from gui/factory_edit.cc:29: @@ -7654,8 +7725,6 @@ | ^~~~~~~~ ===> HOSTCXX gui/factorylist_frame_t.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/factorylist_frame_t.o gui/factorylist_frame_t.cc -===> HOSTCXX gui/factorylist_stats_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/factorylist_stats_t.o gui/factorylist_stats_t.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -7721,6 +7790,8 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/factorylist_stats_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/factorylist_stats_t.o gui/factorylist_stats_t.cc In file included from gui/factorylist_stats_t.h:15, from gui/factorylist_frame_t.h:12, from gui/factorylist_frame_t.cc:13: @@ -7763,8 +7834,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/goods_stats_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/goods_stats_t.o gui/goods_stats_t.cc In file included from gui/components/gui_scrolled_list.h:15, from gui/factorylist_stats_t.h:18, from gui/factorylist_stats_t.cc:12: @@ -7806,8 +7875,8 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/ground_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/ground_info.o gui/ground_info.cc +===> HOSTCXX gui/goods_stats_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/goods_stats_t.o gui/goods_stats_t.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -7861,8 +7930,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/gui_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/gui_frame.o gui/gui_frame.cc In file included from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:15: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -7888,6 +7955,19 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/ground_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/ground_info.o gui/ground_info.cc +In file included from gui/ground_info.cc:16: +gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': +gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } + | ^~~ +In file included from gui/../display/../convoihandle_t.h:4, + from gui/../display/viewport.h:15, + from gui/ground_info.cc:16: +gui/../display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/goods_stats_t.h:18, @@ -7945,75 +8025,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/goods_stats_t.cc:25: -gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': -gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 31 | max_size = s; - | ^ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/goods_stats_t.h:18, - from gui/goods_stats_t.cc:14: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/ground_info.cc:16: -gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': -gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } - | ^~~ -In file included from gui/../display/../convoihandle_t.h:4, - from gui/../display/viewport.h:15, - from gui/ground_info.cc:16: -gui/../display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/gui_frame.cc:15: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/gui_frame.cc:15: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/gui_frame.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/gui_frame.cc:15: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/gui_frame.cc:15: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/gui_frame.cc:15: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/gui_frame.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/gui_frame.cc:15: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -8067,16 +8078,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.cc:15: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/gui_frame.cc:15: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/ground_info.h:18, from gui/ground_info.cc:19: @@ -8089,40 +8090,82 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -gui/gui_frame.cc: In constructor 'gui_frame_t::gui_frame_t(const char*, const player_t*)': -gui/gui_frame.cc:33:26: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 33 | size = scr_size(200, 100); - | ^ +In file included from gui/goods_stats_t.cc:25: +gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': +gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 31 | max_size = s; + | ^ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/goods_stats_t.h:18, + from gui/goods_stats_t.cc:14: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX gui/gui_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/gui_frame.o gui/gui_frame.cc +===> HOSTCXX gui/gui_theme.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/gui_theme.o gui/gui_theme.cc +===> HOSTCXX gui/halt_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/halt_info.o gui/halt_info.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/gui_frame.cc:15: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ In file included from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -gui/gui_frame.cc:34:31: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 34 | min_windowsize = scr_size(0,0); - | ^ +In file included from gui/gui_frame.h:20, + from gui/gui_frame.cc:15: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ In file included from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -gui/gui_frame.cc: In member function 'virtual void gui_frame_t::set_windowsize(scr_size)': -gui/gui_frame.cc:64:16: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 64 | this->size = size; - | ^~~~ +In file included from gui/gui_frame.h:20, + from gui/gui_frame.cc:15: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/gui_frame.cc:15: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/gui_frame.cc:15: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/gui_frame.cc:15: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.cc:15: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ In file included from gui/gui_frame.h:16, from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/gui_theme.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/gui_theme.o gui/gui_theme.cc -===> HOSTCXX gui/halt_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/halt_info.o gui/halt_info.cc ===> HOSTCXX gui/halt_list_filter_frame.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/halt_list_filter_frame.o gui/halt_list_filter_frame.cc -===> HOSTCXX gui/halt_list_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/halt_list_frame.o gui/halt_list_frame.cc In file included from gui/components/gui_button.h:16, from gui/gui_theme.cc:17: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -8355,56 +8398,29 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ +gui/gui_frame.cc: In constructor 'gui_frame_t::gui_frame_t(const char*, const player_t*)': +gui/gui_frame.cc:33:26: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 33 | size = scr_size(200, 100); + | ^ In file included from gui/gui_frame.h:16, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: + from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ +gui/gui_frame.cc:34:31: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 34 | min_windowsize = scr_size(0,0); + | ^ In file included from gui/gui_frame.h:16, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: + from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ +gui/gui_frame.cc: In member function 'virtual void gui_frame_t::set_windowsize(scr_size)': +gui/gui_frame.cc:64:16: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 64 | this->size = size; + | ^~~~ In file included from gui/gui_frame.h:16, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: + from gui/gui_frame.cc:15: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ @@ -8461,18 +8477,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/halt_info.h:16, from gui/halt_info.cc:13: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -8485,20 +8489,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/halt_list_stats.h:15, - from gui/halt_list_frame.h:20, - from gui/halt_list_filter_frame.h:19, - from gui/halt_list_filter_frame.cc:15: -gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': -gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 31 | max_size = s; - | ^ -In file included from gui/gui_frame.h:16, - from gui/halt_list_filter_frame.h:14, - from gui/halt_list_filter_frame.cc:15: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/halt_info.h:28, from gui/halt_info.cc:13: gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': @@ -8511,108 +8501,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/halt_list_stats.h:15, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': -gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 31 | max_size = s; - | ^ -In file included from gui/gui_frame.h:16, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/halt_list_frame.cc:24: -gui/../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': -gui/../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } - | ^~~~ -In file included from gui/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/halt_list_frame.cc:24: -gui/../simware.h: In member function 'void ware_t::set_zwischenziel(const halthandle_t&)': -gui/../simware.h:70:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 70 | void set_zwischenziel(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } - | ^~~~~~~~~~~~ -In file included from gui/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from gui/halt_info.cc:17: gui/../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': gui/../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -8661,110 +8549,59 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -gui/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:749:72: required from here -gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from gui/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -gui/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:755:68: required from here -gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from gui/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -gui/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:767:82: required from here -gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from gui/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -gui/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:773:78: required from here -gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from gui/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -gui/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -gui/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:749:72: required from here -gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from gui/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/halt_list_frame.h:19, - from gui/halt_list_frame.cc:20: -gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -gui/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -gui/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -gui/../simhalt.h:767:82: required from here -gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from gui/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_frame.h:20, - from gui/halt_list_frame.cc:20: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ gui/halt_info.cc: In constructor 'gui_halt_detail_t::gui_line_button_t::gui_line_button_t(linehandle_t)': gui/halt_info.cc:101:17: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 101 | this->line = line; @@ -8809,8 +8646,32 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/halt_list_stats.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/halt_list_stats.o gui/halt_list_stats.cc +In file included from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/halt_list_stats.h:15, + from gui/halt_list_frame.h:20, + from gui/halt_list_filter_frame.h:19, + from gui/halt_list_filter_frame.cc:15: +gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': +gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 31 | max_size = s; + | ^ +In file included from gui/gui_frame.h:16, + from gui/halt_list_filter_frame.h:14, + from gui/halt_list_filter_frame.cc:15: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ gui/halt_info.cc: In member function 'virtual void halt_info_t::rdwr(loadsave_t*)': gui/halt_info.cc:913:45: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 913 | halt = welt->lookup( halt_pos )->get_halt(); @@ -8926,8 +8787,63 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/headquarter_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/headquarter_info.o gui/headquarter_info.cc +===> HOSTCXX gui/halt_list_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/halt_list_frame.o gui/halt_list_frame.cc +===> HOSTCXX gui/halt_list_stats.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/halt_list_stats.o gui/halt_list_stats.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/halt_list_stats.h:12, from gui/halt_list_stats.cc:9: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -8940,6 +8856,31 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/halt_list_stats.h:15, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': +gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 31 | max_size = s; + | ^ +In file included from gui/gui_frame.h:16, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/halt_list_stats.h:14, from gui/halt_list_stats.cc:9: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -8998,6 +8939,30 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from gui/halt_list_frame.cc:24: +gui/../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': +gui/../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } + | ^~~~ +In file included from gui/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/halt_list_frame.cc:24: +gui/../simware.h: In member function 'void ware_t::set_zwischenziel(const halthandle_t&)': +gui/../simware.h:70:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 70 | void set_zwischenziel(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } + | ^~~~~~~~~~~~ +In file included from gui/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from gui/halt_list_stats.cc:26: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -9019,67 +8984,6 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/headquarter_info.h:5, - from gui/headquarter_info.cc:2: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/headquarter_info.h:5, - from gui/headquarter_info.cc:2: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/headquarter_info.h:5, - from gui/headquarter_info.cc:2: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/headquarter_info.h:5, - from gui/headquarter_info.cc:2: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/headquarter_info.h:5, - from gui/headquarter_info.cc:2: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/headquarter_info.h:5, - from gui/headquarter_info.cc:2: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/headquarter_info.h:5, - from gui/headquarter_info.cc:2: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/headquarter_info.h:5, - from gui/headquarter_info.cc:2: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/components/gui_container.h:22, from gui/components/gui_aligned_container.h:4, from gui/halt_list_stats.h:14, @@ -9178,6 +9082,177 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/headquarter_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/headquarter_info.o gui/headquarter_info.cc +In file included from gui/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +gui/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:749:72: required from here +gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from gui/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +gui/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:755:68: required from here +gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from gui/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +gui/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:767:82: required from here +gui/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from gui/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +gui/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:773:78: required from here +gui/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from gui/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +gui/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +gui/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:749:72: required from here +gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from gui/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/halt_list_frame.h:19, + from gui/halt_list_frame.cc:20: +gui/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +gui/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +gui/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +gui/../simhalt.h:767:82: required from here +gui/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from gui/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_frame.h:20, + from gui/halt_list_frame.cc:20: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/help_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/help_frame.o gui/help_frame.cc +===> HOSTCXX gui/jump_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/jump_frame.o gui/jump_frame.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/headquarter_info.h:5, + from gui/headquarter_info.cc:2: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/headquarter_info.h:5, + from gui/headquarter_info.cc:2: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/headquarter_info.h:5, + from gui/headquarter_info.cc:2: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/headquarter_info.h:5, + from gui/headquarter_info.cc:2: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/headquarter_info.h:5, + from gui/headquarter_info.cc:2: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/headquarter_info.h:5, + from gui/headquarter_info.cc:2: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/headquarter_info.h:5, + from gui/headquarter_info.cc:2: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/headquarter_info.h:5, + from gui/headquarter_info.cc:2: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/headquarter_info.h:5, from gui/headquarter_info.cc:2: @@ -9192,16 +9267,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/help_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/help_frame.o gui/help_frame.cc -===> HOSTCXX gui/jump_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/jump_frame.o gui/jump_frame.cc -===> HOSTCXX gui/minimap.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/minimap.o gui/minimap.cc -===> HOSTCXX gui/kennfarbe.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/kennfarbe.o gui/kennfarbe.cc -===> HOSTCXX gui/label_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/label_info.o gui/label_info.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -9223,6 +9288,8 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/minimap.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/minimap.o gui/minimap.cc In file included from gui/gui_frame.h:20, from gui/tool_selector.h:14, from gui/help_frame.cc:22: @@ -9297,6 +9364,118 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/kennfarbe.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/kennfarbe.o gui/kennfarbe.cc +In file included from gui/jump_frame.cc:14: +gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': +gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } + | ^~~ +In file included from gui/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/jump_frame.cc:13: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/jump_frame.h:14, + from gui/jump_frame.cc:15: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/jump_frame.cc:13: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/jump_frame.h:14, + from gui/jump_frame.cc:15: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/jump_frame.cc:13: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/jump_frame.h:14, + from gui/jump_frame.cc:15: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/jump_frame.cc:13: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/jump_frame.h:14, + from gui/jump_frame.cc:15: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/jump_frame.cc:13: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/jump_frame.h:14, + from gui/jump_frame.cc:15: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/jump_frame.cc:13: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +gui/help_frame.cc: In member function 'void help_frame_t::add_helpfile(cbuffer_t&, const char*, const char*, bool, int)': +gui/help_frame.cc:446:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 446 | fread( htmlline, lengthof(htmlline)-1, 1, file ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -9350,6 +9529,22 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/kennfarbe.h:16, + from gui/kennfarbe.cc:11: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/kennfarbe.h:16, + from gui/kennfarbe.cc:11: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX gui/label_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/label_info.o gui/label_info.cc +===> HOSTCXX gui/labellist_frame_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/labellist_frame_t.o gui/labellist_frame_t.cc In file included from gui/minimap.cc:3: gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -9361,22 +9556,34 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/kennfarbe.h:16, - from gui/kennfarbe.cc:11: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/kennfarbe.h:16, - from gui/kennfarbe.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/minimap.cc:6: +gui/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': +gui/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } + | ^~~~~~~~~ +In file included from gui/../linehandle_t.h:4, + from gui/../simconvoi.h:12, + from gui/minimap.cc:3: +gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/minimap.h:4, + from gui/minimap.cc:12: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, + from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, + from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../vehicle/../boden/wege/weg.h:14, + from gui/../vehicle/../boden/grund.h:19, + from gui/../vehicle/simvehicle.h:20, + from gui/minimap.cc:4: +gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -gui/help_frame.cc: In member function 'void help_frame_t::add_helpfile(cbuffer_t&, const char*, const char*, bool, int)': -gui/help_frame.cc:446:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 446 | fread( htmlline, lengthof(htmlline)-1, 1, file ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -9442,34 +9649,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/minimap.cc:6: -gui/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': -gui/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } - | ^~~~~~~~~ -In file included from gui/../linehandle_t.h:4, - from gui/../simconvoi.h:12, - from gui/minimap.cc:3: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from gui/minimap.h:4, - from gui/minimap.cc:12: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/../vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../vehicle/../boden/wege/../../descriptor/image.h:10, - from gui/../vehicle/../boden/wege/../../descriptor/image_list.h:10, - from gui/../vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../vehicle/../boden/wege/weg.h:14, - from gui/../vehicle/../boden/grund.h:19, - from gui/../vehicle/simvehicle.h:20, - from gui/minimap.cc:4: -gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/minimap.cc:12: gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -9556,6 +9735,71 @@ gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/labellist_frame_t.h:4, + from gui/labellist_frame_t.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/minimap.cc:27: gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -9567,17 +9811,8 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/jump_frame.cc:14: -gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': -gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } - | ^~~ -In file included from gui/../convoihandle_t.h:4, - from gui/../simworld.h:20, - from gui/jump_frame.cc:13: -gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/labellist_stats_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/labellist_stats_t.o gui/labellist_stats_t.cc gui/minimap.cc: In member function 'void minimap_t::calc_map()': gui/minimap.cc:1013:13: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 1013 | cur_size = new_size; @@ -9593,27 +9828,6 @@ gui/../vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/jump_frame.h:14, - from gui/jump_frame.cc:15: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/jump_frame.cc:13: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ gui/minimap.cc: In constructor 'minimap_t::minimap_t()': gui/minimap.cc:1053:36: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 1053 | cur_size = new_size = scr_size(0,0); @@ -9677,80 +9891,6 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/jump_frame.h:14, - from gui/jump_frame.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/jump_frame.cc:13: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/jump_frame.h:14, - from gui/jump_frame.cc:15: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/jump_frame.cc:13: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/jump_frame.h:14, - from gui/jump_frame.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/jump_frame.cc:13: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/jump_frame.h:14, - from gui/jump_frame.cc:15: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/jump_frame.cc:13: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ gui/minimap.cc:1595:22: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 1595 | display_station = station; | ^~~~~~~ @@ -9889,79 +10029,6 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/labellist_frame_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/labellist_frame_t.o gui/labellist_frame_t.cc -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/labellist_frame_t.h:4, - from gui/labellist_frame_t.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/labellist_stats_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/labellist_stats_t.o gui/labellist_stats_t.cc -===> HOSTCXX gui/line_item.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/line_item.o gui/line_item.cc -===> HOSTCXX gui/line_management_gui.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/line_management_gui.o gui/line_management_gui.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/labellist_stats_t.h:11, @@ -10019,29 +10086,12 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/minimap.h:4, - from gui/line_management_gui.cc:9: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/line_management_gui.cc:9: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/line_management_gui.cc:9: -gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': -gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 202 | new_size = size; - | ^~~~ -In file included from gui/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/line_management_gui.cc:9: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ +===> HOSTCXX gui/line_item.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/line_item.o gui/line_item.cc +===> HOSTCXX gui/line_management_gui.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/line_management_gui.o gui/line_management_gui.cc +===> HOSTCXX gui/load_relief_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/load_relief_frame.o gui/load_relief_frame.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/components/gui_scrolled_list.h:15, @@ -10118,6 +10168,29 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from gui/minimap.h:4, + from gui/line_management_gui.cc:9: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/minimap.h:4, + from gui/line_management_gui.cc:9: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/line_management_gui.cc:9: +gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': +gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 202 | new_size = size; + | ^~~~ +In file included from gui/components/gui_component.h:11, + from gui/minimap.h:4, + from gui/line_management_gui.cc:9: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/schedule_gui.h:12, from gui/line_management_gui.h:7, @@ -10159,6 +10232,10 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +gui/line_item.cc: In static member function 'static bool line_scrollitem_t::compare(const gui_component_t*, const gui_component_t*)': +gui/line_item.cc:56:59: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 56 | return (a->get_line().get_id(),b->get_line().get_id())<0; + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from gui/schedule_gui.h:12, from gui/line_management_gui.h:7, from gui/line_management_gui.cc:15: @@ -10192,16 +10269,6 @@ gui/../dataobj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -gui/line_item.cc: In static member function 'static bool line_scrollitem_t::compare(const gui_component_t*, const gui_component_t*)': -gui/line_item.cc:56:59: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 56 | return (a->get_line().get_id(),b->get_line().get_id())<0; - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ -===> HOSTCXX gui/load_relief_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/load_relief_frame.o gui/load_relief_frame.cc -===> HOSTCXX gui/loadfont_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/loadfont_frame.o gui/loadfont_frame.cc -===> HOSTCXX gui/loadsave_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/loadsave_frame.o gui/loadsave_frame.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -10302,8 +10369,10 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/map_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/map_frame.o gui/map_frame.cc +===> HOSTCXX gui/loadfont_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/loadfont_frame.o gui/loadfont_frame.cc +===> HOSTCXX gui/loadsave_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/loadsave_frame.o gui/loadsave_frame.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -10379,6 +10448,10 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/map_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/map_frame.o gui/map_frame.cc +===> HOSTCXX gui/message_frame_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/message_frame_t.o gui/message_frame_t.cc gui/loadfont_frame.cc: In member function 'virtual bool loadfont_frame_t::check_file(const char*, const char*)': gui/loadfont_frame.cc:129:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | fgets( str, lengthof(str), test); @@ -10395,6 +10468,69 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/map_frame.cc:16: +gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': +gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 202 | new_size = size; + | ^~~~ +In file included from gui/components/gui_component.h:11, + from gui/minimap.h:4, + from gui/map_frame.cc:16: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/map_frame.h:15, + from gui/map_frame.cc:17: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/components/gui_component.h:11, + from gui/minimap.h:4, + from gui/map_frame.cc:16: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/map_frame.h:15, + from gui/map_frame.cc:17: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/components/gui_component.h:11, + from gui/minimap.h:4, + from gui/map_frame.cc:16: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/map_frame.h:15, + from gui/map_frame.cc:17: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/components/gui_component.h:11, + from gui/minimap.h:4, + from gui/map_frame.cc:16: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/map_frame.h:15, + from gui/map_frame.cc:17: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/components/gui_component.h:11, + from gui/minimap.h:4, + from gui/map_frame.cc:16: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX gui/message_option_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/message_option_t.o gui/message_option_t.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -10412,17 +10548,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/map_frame.cc:16: -gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': -gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 202 | new_size = size; - | ^~~~ -In file included from gui/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/map_frame.cc:16: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/loadsave_frame.h:13, @@ -10467,56 +10592,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/map_frame.h:15, - from gui/map_frame.cc:17: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/map_frame.cc:16: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/map_frame.h:15, - from gui/map_frame.cc:17: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/map_frame.cc:16: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/map_frame.h:15, - from gui/map_frame.cc:17: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/map_frame.cc:16: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/map_frame.h:15, - from gui/map_frame.cc:17: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/map_frame.cc:16: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/loadsave_frame.h:13, from gui/loadsave_frame.cc:12: @@ -10562,12 +10637,6 @@ gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/message_frame_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/message_frame_t.o gui/message_frame_t.cc -===> HOSTCXX gui/message_option_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/message_option_t.o gui/message_option_t.cc -===> HOSTCXX gui/message_stats_t.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/message_stats_t.o gui/message_stats_t.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -10663,76 +10732,10 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/message_stats_t.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/message_stats_t.o gui/message_stats_t.cc ===> HOSTCXX gui/messagebox.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/messagebox.o gui/messagebox.cc -In file included from gui/components/gui_button.h:16, - from gui/message_stats_t.cc:8: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_button.h:16, - from gui/message_stats_t.cc:8: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/money_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/money_frame.o gui/money_frame.cc -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/message_stats_t.cc:13: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_button.h:16, - from gui/message_stats_t.cc:8: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/message_stats_t.cc:13: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_button.h:16, - from gui/message_stats_t.cc:8: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/message_stats_t.cc:13: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_button.h:16, - from gui/message_stats_t.cc:8: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/message_stats_t.cc:13: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_button.h:16, - from gui/message_stats_t.cc:8: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -10749,17 +10752,6 @@ gui/../gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/message_stats_t.cc:17: -gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': -gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } - | ^~~ -In file included from gui/../display/../convoihandle_t.h:4, - from gui/../display/viewport.h:15, - from gui/message_stats_t.cc:17: -gui/../display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from gui/gui_frame.h:20, from gui/message_option_t.h:7, from gui/message_option_t.cc:17: @@ -10814,20 +10806,6 @@ gui/../gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -gui/message_stats_t.cc: In member function 'void message_stats_t::recalc_size()': -gui/message_stats_t.cc:167:37: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 167 | min_size = scr_size(x_size+4,y_size); - | ^ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_button.h:16, - from gui/message_stats_t.cc:8: -gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/obj_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/obj_info.o gui/obj_info.cc -===> HOSTCXX gui/optionen.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/optionen.o gui/optionen.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -10928,128 +10906,101 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/optionen.cc:13: +In file included from gui/components/gui_button.h:16, + from gui/message_stats_t.cc:8: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/optionen.cc:13: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/components/gui_component.h:11, + from gui/components/gui_button.h:16, + from gui/message_stats_t.cc:8: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/optionen.cc:13: + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/message_stats_t.cc:13: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from gui/gui_frame.h:16, - from gui/optionen.cc:13: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/components/gui_component.h:11, + from gui/components/gui_button.h:16, + from gui/message_stats_t.cc:8: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/optionen.cc:13: + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/message_stats_t.cc:13: gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from gui/gui_frame.h:16, - from gui/optionen.cc:13: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +===> HOSTCXX gui/money_frame.cc +In file included from gui/components/gui_component.h:11, + from gui/components/gui_button.h:16, + from gui/message_stats_t.cc:8: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/optionen.cc:13: + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/message_stats_t.cc:13: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/optionen.cc:13: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/components/gui_component.h:11, + from gui/components/gui_button.h:16, + from gui/message_stats_t.cc:8: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/optionen.cc:13: +In file included from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/message_stats_t.cc:13: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/optionen.cc:13: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/components/gui_component.h:11, + from gui/components/gui_button.h:16, + from gui/message_stats_t.cc:8: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/money_frame.o gui/money_frame.cc +In file included from gui/message_stats_t.cc:17: +gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': +gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } + | ^~~ +In file included from gui/../display/../convoihandle_t.h:4, + from gui/../display/viewport.h:15, + from gui/message_stats_t.cc:17: +gui/../display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +gui/message_stats_t.cc: In member function 'void message_stats_t::recalc_size()': +gui/message_stats_t.cc:167:37: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 167 | min_size = scr_size(x_size+4,y_size); + | ^ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_button.h:16, + from gui/message_stats_t.cc:8: +gui/components/../../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/obj_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/obj_info.o gui/obj_info.cc +===> HOSTCXX gui/optionen.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/optionen.o gui/optionen.cc ===> HOSTCXX gui/pakselector.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/pakselector.o gui/pakselector.cc -In file included from gui/gui_frame.h:20, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/obj_info.cc:14: gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -11131,6 +11082,59 @@ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: @@ -11189,6 +11193,18 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/money_frame.h:11, + from gui/money_frame.cc:10: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/pakselector.h:8, from gui/pakselector.cc:7: @@ -11203,14 +11219,63 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/optionen.cc:13: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/optionen.cc:13: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/optionen.cc:13: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/optionen.cc:13: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/optionen.cc:13: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/optionen.cc:13: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/optionen.cc:13: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/optionen.cc:13: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/optionen.cc:13: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/optionen.cc:13: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ ===> HOSTCXX gui/player_frame_t.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/player_frame_t.o gui/player_frame_t.cc -===> HOSTCXX gui/privatesign_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/privatesign_info.o gui/privatesign_info.cc -===> HOSTCXX gui/savegame_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/savegame_frame.o gui/savegame_frame.cc -===> HOSTCXX gui/scenario_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/scenario_frame.o gui/scenario_frame.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -11311,6 +11376,12 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/privatesign_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/privatesign_info.o gui/privatesign_info.cc +===> HOSTCXX gui/savegame_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/savegame_frame.o gui/savegame_frame.cc +===> HOSTCXX gui/scenario_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/scenario_frame.o gui/scenario_frame.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -11406,6 +11477,77 @@ gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/scenario_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/scenario_info.o gui/scenario_info.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -11459,6 +11601,22 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/privatesign_info.h:12, + from gui/privatesign_info.cc:8: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/savegame_frame.cc:12: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -11488,25 +11646,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/scenario_frame.h:12, @@ -11551,56 +11690,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/savegame_frame.h:14, from gui/scenario_frame.h:12, from gui/scenario_frame.cc:11: @@ -11615,31 +11704,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/privatesign_info.h:12, - from gui/privatesign_info.cc:8: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/scenario_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/scenario_info.o gui/scenario_info.cc -In file included from /usr/include/string.h:495, - from gui/savegame_frame.cc:9: -In function 'char* strncpy(char*, const char*, size_t)', - inlined from 'void savegame_frame_t::add_section(std::string&)' at gui/savegame_frame.cc:169:10: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -11718,12 +11782,17 @@ | ^~~~~~~~~~~~~~ ===> HOSTCXX gui/schedule_gui.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/schedule_gui.o gui/schedule_gui.cc +In file included from /usr/include/string.h:495, + from gui/savegame_frame.cc:9: +In function 'char* strncpy(char*, const char*, size_t)', + inlined from 'void savegame_frame_t::add_section(std::string&)' at gui/savegame_frame.cc:169:10: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> HOSTCXX gui/schedule_list.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/schedule_list.o gui/schedule_list.cc ===> HOSTCXX gui/server_frame.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/server_frame.o gui/server_frame.cc -===> HOSTCXX gui/settings_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/settings_frame.o gui/settings_frame.cc In file included from gui/schedule_gui.cc:14: gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -11955,67 +12024,6 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': @@ -12102,6 +12110,67 @@ gui/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: @@ -12154,103 +12223,6 @@ gui/components/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/settings_stats.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/settings_stats.o gui/settings_stats.cc -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/server_frame.h:10, - from gui/server_frame.cc:30: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/server_frame.cc:12: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/server_frame.h:10, - from gui/server_frame.cc:30: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/server_frame.cc:12: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/server_frame.h:10, - from gui/server_frame.cc:30: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/server_frame.cc:12: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/server_frame.h:10, - from gui/server_frame.cc:30: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/server_frame.cc:12: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/server_frame.h:10, - from gui/server_frame.cc:30: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/server_frame.cc:12: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/schedule_list.cc:26: gui/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': gui/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -12263,8 +12235,6 @@ gui/components/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/signal_spacing.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/signal_spacing.o gui/signal_spacing.cc In file included from gui/../bauer/vehikelbauer.h:14, from gui/schedule_list.cc:33: gui/../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': @@ -12354,68 +12324,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/simwin.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/simwin.o gui/simwin.cc -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/settings_frame.h:12, - from gui/settings_frame.cc:17: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/../dataobj/environment.h:9, - from gui/settings_frame.cc:13: -gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/settings_frame.h:12, - from gui/settings_frame.cc:17: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../dataobj/environment.h:9, - from gui/settings_frame.cc:13: -gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/settings_frame.h:12, - from gui/settings_frame.cc:17: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../dataobj/environment.h:9, - from gui/settings_frame.cc:13: -gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/settings_frame.h:12, - from gui/settings_frame.cc:17: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/../dataobj/environment.h:9, - from gui/settings_frame.cc:13: -gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/settings_frame.h:12, - from gui/settings_frame.cc:17: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/../dataobj/environment.h:9, - from gui/settings_frame.cc:13: -gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, @@ -12488,6 +12396,8 @@ gui/components/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/settings_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/settings_frame.o gui/settings_frame.cc In file included from gui/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/base_info.h:4, @@ -12526,6 +12436,160 @@ gui/components/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX gui/settings_stats.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/settings_stats.o gui/settings_stats.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/server_frame.h:10, + from gui/server_frame.cc:30: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/server_frame.cc:12: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/server_frame.h:10, + from gui/server_frame.cc:30: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/server_frame.cc:12: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/server_frame.h:10, + from gui/server_frame.cc:30: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/server_frame.cc:12: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/server_frame.h:10, + from gui/server_frame.cc:30: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/server_frame.cc:12: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX gui/signal_spacing.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/signal_spacing.o gui/signal_spacing.cc +In file included from gui/server_frame.h:10, + from gui/server_frame.cc:30: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/server_frame.cc:12: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/signal_spacing.cc:6: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/signal_spacing.cc:6: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/signal_spacing.cc:6: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/signal_spacing.cc:6: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/signal_spacing.cc:6: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/signal_spacing.cc:6: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/signal_spacing.cc:6: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/signal_spacing.cc:6: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/signal_spacing.cc:6: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/gui_frame.h:16, + from gui/signal_spacing.cc:6: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -12591,6 +12655,72 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX gui/simwin.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/simwin.o gui/simwin.cc +===> HOSTCXX gui/sound_frame.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/sound_frame.o gui/sound_frame.cc +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/settings_frame.h:12, + from gui/settings_frame.cc:17: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/../dataobj/environment.h:9, + from gui/settings_frame.cc:13: +gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/settings_frame.h:12, + from gui/settings_frame.cc:17: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../dataobj/environment.h:9, + from gui/settings_frame.cc:13: +gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/settings_frame.h:12, + from gui/settings_frame.cc:17: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../dataobj/environment.h:9, + from gui/settings_frame.cc:13: +gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/settings_frame.h:12, + from gui/settings_frame.cc:17: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/../dataobj/environment.h:9, + from gui/settings_frame.cc:13: +gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/settings_frame.h:12, + from gui/settings_frame.cc:17: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/../dataobj/environment.h:9, + from gui/settings_frame.cc:13: +gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX gui/sprachen.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/sprachen.o gui/sprachen.cc In file included from gui/simwin.cc:28: gui/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': gui/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -12605,55 +12735,65 @@ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ In file included from gui/gui_frame.h:16, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ In file included from gui/gui_frame.h:16, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ In file included from gui/gui_frame.h:16, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ In file included from gui/gui_frame.h:16, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/signal_spacing.cc:6: +In file included from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, - from gui/signal_spacing.cc:6: + from gui/sound_frame.h:15, + from gui/sound_frame.cc:11: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ @@ -12728,6 +12868,86 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/sprachen.h:9, + from gui/sprachen.cc:20: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/skin_desc.h:12, + from gui/sprachen.cc:19: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/sprachen.h:9, + from gui/sprachen.cc:20: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/skin_desc.h:12, + from gui/sprachen.cc:19: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/sprachen.h:9, + from gui/sprachen.cc:20: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/skin_desc.h:12, + from gui/sprachen.cc:19: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/sprachen.h:9, + from gui/sprachen.cc:20: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/skin_desc.h:12, + from gui/sprachen.cc:19: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/sprachen.h:9, + from gui/sprachen.cc:20: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from gui/../descriptor/../display/simgraph.h:22, + from gui/../descriptor/image.h:10, + from gui/../descriptor/image_list.h:10, + from gui/../descriptor/image_array.h:10, + from gui/../descriptor/skin_desc.h:12, + from gui/sprachen.cc:19: +gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/simwin.cc:77: gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': gui/depot_frame.h:346:62: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -12748,8 +12968,6 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/sound_frame.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/sound_frame.o gui/sound_frame.cc gui/simwin.cc: In function 'int top_win(int, bool)': gui/simwin.cc:978:41: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 978 | size = wins.back().gui->get_windowsize(); @@ -12915,161 +13133,109 @@ gui/../display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/gui_frame.h:16, - from gui/sound_frame.h:15, - from gui/sound_frame.cc:11: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -===> HOSTCXX gui/sprachen.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/sprachen.o gui/sprachen.cc ===> HOSTCXX gui/station_building_select.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/station_building_select.o gui/station_building_select.cc +===> HOSTCXX gui/themeselector.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/themeselector.o gui/themeselector.cc +===> HOSTCXX gui/tool_selector.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/tool_selector.o gui/tool_selector.cc +===> HOSTCXX gui/trafficlight_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/trafficlight_info.o gui/trafficlight_info.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, - from gui/sprachen.h:9, - from gui/sprachen.cc:20: + from gui/station_building_select.h:16, + from gui/station_building_select.cc:15: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/skin_desc.h:12, - from gui/sprachen.cc:19: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/station_building_select.cc:11: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/sprachen.h:9, - from gui/sprachen.cc:20: + from gui/station_building_select.h:16, + from gui/station_building_select.cc:15: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/skin_desc.h:12, - from gui/sprachen.cc:19: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/station_building_select.cc:11: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/sprachen.h:9, - from gui/sprachen.cc:20: + from gui/station_building_select.h:16, + from gui/station_building_select.cc:15: gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/skin_desc.h:12, - from gui/sprachen.cc:19: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/station_building_select.cc:11: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/sprachen.h:9, - from gui/sprachen.cc:20: + from gui/station_building_select.h:16, + from gui/station_building_select.cc:15: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/skin_desc.h:12, - from gui/sprachen.cc:19: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/station_building_select.cc:11: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/sprachen.h:9, - from gui/sprachen.cc:20: +In file included from gui/station_building_select.h:16, + from gui/station_building_select.cc:15: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ -In file included from gui/../descriptor/../display/simgraph.h:22, - from gui/../descriptor/image.h:10, - from gui/../descriptor/image_list.h:10, - from gui/../descriptor/image_array.h:10, - from gui/../descriptor/skin_desc.h:12, - from gui/sprachen.cc:19: -gui/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, + from gui/../boden/wege/../../descriptor/image.h:10, + from gui/../boden/wege/../../descriptor/image_list.h:10, + from gui/../boden/wege/../../descriptor/way_desc.h:10, + from gui/../boden/wege/weg.h:14, + from gui/../boden/grund.h:19, + from gui/../simplan.h:12, + from gui/../simworld.h:32, + from gui/station_building_select.cc:11: +gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX gui/themeselector.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/themeselector.o gui/themeselector.cc -===> HOSTCXX gui/tool_selector.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/tool_selector.o gui/tool_selector.cc -===> HOSTCXX gui/trafficlight_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/trafficlight_info.o gui/trafficlight_info.cc ===> HOSTCXX gui/welt.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/gui/welt.o gui/welt.cc In file included from gui/components/gui_container.h:23, @@ -13150,101 +13316,6 @@ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, - from gui/station_building_select.h:16, - from gui/station_building_select.cc:15: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/station_building_select.cc:11: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/station_building_select.h:16, - from gui/station_building_select.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/station_building_select.cc:11: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/station_building_select.h:16, - from gui/station_building_select.cc:15: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/station_building_select.cc:11: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/station_building_select.h:16, - from gui/station_building_select.cc:15: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/station_building_select.cc:11: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/station_building_select.h:16, - from gui/station_building_select.cc:15: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from gui/../boden/wege/../../descriptor/../display/simgraph.h:22, - from gui/../boden/wege/../../descriptor/image.h:10, - from gui/../boden/wege/../../descriptor/image_list.h:10, - from gui/../boden/wege/../../descriptor/way_desc.h:10, - from gui/../boden/wege/weg.h:14, - from gui/../boden/grund.h:19, - from gui/../simplan.h:12, - from gui/../simworld.h:32, - from gui/station_building_select.cc:11: -gui/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, from gui/tool_selector.cc:21: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -13297,6 +13368,8 @@ gui/../dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX network/checksum.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/network/checksum.o network/checksum.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -13316,6 +13389,59 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/welt.h:12, + from gui/welt.cc:16: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/welt.h:12, + from gui/welt.cc:16: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/welt.h:12, + from gui/welt.cc:16: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/welt.h:12, + from gui/welt.cc:16: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/welt.h:12, + from gui/welt.cc:16: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/gui_frame.h:16, + from gui/welt.h:12, + from gui/welt.cc:16: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/welt.h:12, + from gui/welt.cc:16: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:16, + from gui/welt.h:12, + from gui/welt.cc:16: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/base_info.h:4, from gui/obj_info.h:13, @@ -13366,89 +13492,34 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: +In file included from gui/welt.h:12, + from gui/welt.cc:16: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/welt.h:12, - from gui/welt.cc:16: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, - from gui/welt.h:12, - from gui/welt.cc:16: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/welt.h:12, - from gui/welt.cc:16: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/welt.h:12, - from gui/welt.cc:16: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/welt.h:12, - from gui/welt.cc:16: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/gui_frame.h:16, - from gui/welt.h:12, - from gui/welt.cc:16: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/welt.h:12, - from gui/welt.cc:16: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:16, from gui/welt.h:12, from gui/welt.cc:16: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from gui/welt.h:12, - from gui/welt.cc:16: +In file included from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/trafficlight_info.h:15, + from gui/trafficlight_info.cc:12: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ In file included from gui/gui_frame.h:16, - from gui/welt.h:12, - from gui/welt.cc:16: + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/trafficlight_info.h:15, + from gui/trafficlight_info.cc:12: gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX network/checksum.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/network/checksum.o network/checksum.cc In file included from gui/welt.cc:17: gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -13510,6 +13581,8 @@ | ^~~~~~~~~~~~~ ===> HOSTCXX network/network_packet.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/network/network_packet.o network/network_packet.cc +===> HOSTCXX network/network_socket_list.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/network/network_socket_list.o network/network_socket_list.cc In file included from network/../gui/components/gui_container.h:23, from network/../gui/components/gui_aligned_container.h:4, from network/../gui/gui_frame.h:20, @@ -13622,6 +13695,8 @@ network/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX network/pakset_info.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/network/pakset_info.o network/pakset_info.cc In file included from network/network_cmd.h:6, from network/network_cmd_ingame.h:4, from network/network_cmd_ingame.cc:1: @@ -13663,10 +13738,6 @@ network/network_address.h:27:2: note: because 'net_address_t' has user-provided 'net_address_t::net_address_t(const net_address_t&)' 27 | net_address_t(const net_address_t&); | ^~~~~~~~~~~~~ -===> HOSTCXX network/network_socket_list.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/network/network_socket_list.o network/network_socket_list.cc -===> HOSTCXX network/pakset_info.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/network/pakset_info.o network/pakset_info.cc ===> HOSTCXX network/pwd_hash.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/network/pwd_hash.o network/pwd_hash.cc network/network_socket_list.cc: In static member function 'static void socket_list_t::add_client(SOCKET, uint32)': @@ -13782,8 +13853,6 @@ obj/../bauer/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX obj/leitung2.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/obj/leitung2.o obj/leitung2.cc In file included from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: @@ -13876,8 +13945,8 @@ obj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX obj/pillar.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/obj/pillar.o obj/pillar.cc +===> HOSTCXX obj/leitung2.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/obj/leitung2.o obj/leitung2.cc In file included from obj/../gui/components/gui_container.h:23, from obj/../gui/components/gui_aligned_container.h:4, from obj/../gui/gui_frame.h:20, @@ -13973,6 +14042,8 @@ obj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX obj/pillar.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/obj/pillar.o obj/pillar.cc In file included from obj/../simworld.h:24, from obj/label.cc:12: obj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': @@ -14181,10 +14252,6 @@ | ^~~~~~~~ ===> HOSTCXX obj/zeiger.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/obj/zeiger.o obj/zeiger.cc -===> HOSTCXX old_blockmanager.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/old_blockmanager.o old_blockmanager.cc -===> HOSTCXX player/ai.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/ai.o player/ai.cc In file included from obj/../gui/components/gui_container.h:23, from obj/../gui/components/gui_aligned_container.h:4, from obj/../gui/gui_frame.h:20, @@ -14270,8 +14337,10 @@ obj/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX player/ai_goods.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/ai_goods.o player/ai_goods.cc +===> HOSTCXX old_blockmanager.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/old_blockmanager.o old_blockmanager.cc +===> HOSTCXX player/ai.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/ai.o player/ai.cc In file included from obj/../simworld.h:24, from obj/zeiger.cc:12: obj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': @@ -14358,18 +14427,12 @@ obj/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX player/ai_goods.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/ai_goods.o player/ai_goods.cc ===> HOSTCXX player/ai_passenger.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/ai_passenger.o player/ai_passenger.cc ===> HOSTCXX player/ai_scripted.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/ai_scripted.o player/ai_scripted.cc -In file included from obj/wayobj.cc:29: -obj/../descriptor/way_obj_desc.h: In member function 'virtual image_id wayobj_t::get_front_image() const': -obj/../descriptor/way_obj_desc.h:64:52: warning: array subscript 17 is above array bounds of 'uint8 [16]' {aka 'unsigned char [16]'} [-Warray-bounds] - 64 | return imglist->get_image_id( ribi_to_extra[ribi]+16+(nw*5) ); - | ~~~~~~~~~~~~~~~~~~^ -obj/../descriptor/way_obj_desc.h:60:17: note: while referencing 'ribi_to_extra' - 60 | static uint8 ribi_to_extra[16] = { - | ^~~~~~~~~~~~~ In file included from player/ai.cc:14: player/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': player/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -14383,7 +14446,8 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -obj/../descriptor/way_obj_desc.h: In member function 'virtual image_id wayobj_t::get_image() const': +In file included from obj/wayobj.cc:29: +obj/../descriptor/way_obj_desc.h: In member function 'virtual image_id wayobj_t::get_front_image() const': obj/../descriptor/way_obj_desc.h:64:52: warning: array subscript 17 is above array bounds of 'uint8 [16]' {aka 'unsigned char [16]'} [-Warray-bounds] 64 | return imglist->get_image_id( ribi_to_extra[ribi]+16+(nw*5) ); | ~~~~~~~~~~~~~~~~~~^ @@ -14540,19 +14604,15 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +obj/../descriptor/way_obj_desc.h: In member function 'virtual image_id wayobj_t::get_image() const': +obj/../descriptor/way_obj_desc.h:64:52: warning: array subscript 17 is above array bounds of 'uint8 [16]' {aka 'unsigned char [16]'} [-Warray-bounds] + 64 | return imglist->get_image_id( ribi_to_extra[ribi]+16+(nw*5) ); + | ~~~~~~~~~~~~~~~~~~^ +obj/../descriptor/way_obj_desc.h:60:17: note: while referencing 'ribi_to_extra' + 60 | static uint8 ribi_to_extra[16] = { + | ^~~~~~~~~~~~~ ===> HOSTCXX player/finance.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/finance.o player/finance.cc -In file included from player/ai_passenger.cc:11: -player/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -player/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from player/../linehandle_t.h:4, - from player/../simconvoi.h:12, - from player/ai_passenger.cc:11: -player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from player/../simlinemgmt.h:12, from player/simplay.h:12, from player/ai.h:13, @@ -14663,17 +14723,6 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from player/ai_goods.cc:4: -player/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -player/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from player/../linehandle_t.h:4, - from player/../simconvoi.h:12, - from player/ai_goods.cc:4: -player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ obj/../descriptor/way_obj_desc.h: In destructor 'wayobj_t::~wayobj_t()': obj/../descriptor/way_obj_desc.h:64:52: warning: array subscript 17 is above array bounds of 'uint8 [16]' {aka 'unsigned char [16]'} [-Warray-bounds] 64 | return imglist->get_image_id( ribi_to_extra[ribi]+16+(nw*5) ); @@ -14711,27 +14760,17 @@ obj/../descriptor/way_obj_desc.h:60:17: note: while referencing 'ribi_to_extra' 60 | static uint8 ribi_to_extra[16] = { | ^~~~~~~~~~~~~ -In file included from player/../bauer/../gui/components/gui_container.h:23, - from player/../bauer/../gui/components/gui_aligned_container.h:4, - from player/../bauer/../gui/gui_frame.h:20, - from player/../bauer/../gui/depot_frame.h:15, - from player/../bauer/vehikelbauer.h:14, - from player/ai_passenger.cc:22: -player/../bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -player/../bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from player/../descriptor/../display/simgraph.h:22, - from player/../descriptor/image.h:10, - from player/../descriptor/image_list.h:10, - from player/../descriptor/image_array.h:10, - from player/../descriptor/building_desc.h:11, - from player/../descriptor/factory_desc.h:11, - from player/../simfab.h:17, - from player/ai_passenger.cc:12: -player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ +In file included from player/ai_passenger.cc:11: +player/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +player/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from player/../linehandle_t.h:4, + from player/../simconvoi.h:12, + from player/ai_passenger.cc:11: +player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from player/../gui/components/gui_container.h:23, from player/../gui/components/gui_aligned_container.h:4, from player/../gui/gui_frame.h:20, @@ -14756,62 +14795,6 @@ player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from player/../bauer/../gui/gui_frame.h:20, - from player/../bauer/../gui/depot_frame.h:15, - from player/../bauer/vehikelbauer.h:14, - from player/ai_passenger.cc:22: -player/../bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -player/../bauer/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from player/../descriptor/../display/simgraph.h:22, - from player/../descriptor/image.h:10, - from player/../descriptor/image_list.h:10, - from player/../descriptor/image_array.h:10, - from player/../descriptor/building_desc.h:11, - from player/../descriptor/factory_desc.h:11, - from player/../simfab.h:17, - from player/ai_passenger.cc:12: -player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from player/../bauer/../gui/gui_frame.h:20, - from player/../bauer/../gui/depot_frame.h:15, - from player/../bauer/vehikelbauer.h:14, - from player/ai_passenger.cc:22: -player/../bauer/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from player/../descriptor/../display/simgraph.h:22, - from player/../descriptor/image.h:10, - from player/../descriptor/image_list.h:10, - from player/../descriptor/image_array.h:10, - from player/../descriptor/building_desc.h:11, - from player/../descriptor/factory_desc.h:11, - from player/../simfab.h:17, - from player/ai_passenger.cc:12: -player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from player/../bauer/../gui/gui_frame.h:20, - from player/../bauer/../gui/depot_frame.h:15, - from player/../bauer/vehikelbauer.h:14, - from player/ai_passenger.cc:22: -player/../bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -player/../bauer/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from player/../descriptor/../display/simgraph.h:22, - from player/../descriptor/image.h:10, - from player/../descriptor/image_list.h:10, - from player/../descriptor/image_array.h:10, - from player/../descriptor/building_desc.h:11, - from player/../descriptor/factory_desc.h:11, - from player/../simfab.h:17, - from player/ai_passenger.cc:12: -player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from player/../gui/gui_frame.h:20, from player/../gui/player_frame_t.h:11, from player/ai_scripted.cc:6: @@ -14877,24 +14860,6 @@ player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from player/../bauer/../gui/depot_frame.h:15, - from player/../bauer/vehikelbauer.h:14, - from player/ai_passenger.cc:22: -player/../bauer/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -player/../bauer/../gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from player/../descriptor/../display/simgraph.h:22, - from player/../descriptor/image.h:10, - from player/../descriptor/image_list.h:10, - from player/../descriptor/image_array.h:10, - from player/../descriptor/building_desc.h:11, - from player/../descriptor/factory_desc.h:11, - from player/../simfab.h:17, - from player/ai_passenger.cc:12: -player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from player/../gui/player_frame_t.h:11, from player/ai_scripted.cc:6: player/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -14916,6 +14881,112 @@ player/../finder/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from player/ai_goods.cc:4: +player/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +player/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from player/../linehandle_t.h:4, + from player/../simconvoi.h:12, + from player/ai_goods.cc:4: +player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from player/../bauer/../gui/components/gui_container.h:23, + from player/../bauer/../gui/components/gui_aligned_container.h:4, + from player/../bauer/../gui/gui_frame.h:20, + from player/../bauer/../gui/depot_frame.h:15, + from player/../bauer/vehikelbauer.h:14, + from player/ai_passenger.cc:22: +player/../bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +player/../bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from player/../descriptor/../display/simgraph.h:22, + from player/../descriptor/image.h:10, + from player/../descriptor/image_list.h:10, + from player/../descriptor/image_array.h:10, + from player/../descriptor/building_desc.h:11, + from player/../descriptor/factory_desc.h:11, + from player/../simfab.h:17, + from player/ai_passenger.cc:12: +player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from player/../bauer/../gui/gui_frame.h:20, + from player/../bauer/../gui/depot_frame.h:15, + from player/../bauer/vehikelbauer.h:14, + from player/ai_passenger.cc:22: +player/../bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +player/../bauer/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from player/../descriptor/../display/simgraph.h:22, + from player/../descriptor/image.h:10, + from player/../descriptor/image_list.h:10, + from player/../descriptor/image_array.h:10, + from player/../descriptor/building_desc.h:11, + from player/../descriptor/factory_desc.h:11, + from player/../simfab.h:17, + from player/ai_passenger.cc:12: +player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from player/../bauer/../gui/gui_frame.h:20, + from player/../bauer/../gui/depot_frame.h:15, + from player/../bauer/vehikelbauer.h:14, + from player/ai_passenger.cc:22: +player/../bauer/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from player/../descriptor/../display/simgraph.h:22, + from player/../descriptor/image.h:10, + from player/../descriptor/image_list.h:10, + from player/../descriptor/image_array.h:10, + from player/../descriptor/building_desc.h:11, + from player/../descriptor/factory_desc.h:11, + from player/../simfab.h:17, + from player/ai_passenger.cc:12: +player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from player/../bauer/../gui/gui_frame.h:20, + from player/../bauer/../gui/depot_frame.h:15, + from player/../bauer/vehikelbauer.h:14, + from player/ai_passenger.cc:22: +player/../bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +player/../bauer/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from player/../descriptor/../display/simgraph.h:22, + from player/../descriptor/image.h:10, + from player/../descriptor/image_list.h:10, + from player/../descriptor/image_array.h:10, + from player/../descriptor/building_desc.h:11, + from player/../descriptor/factory_desc.h:11, + from player/../simfab.h:17, + from player/ai_passenger.cc:12: +player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from player/../bauer/../gui/depot_frame.h:15, + from player/../bauer/vehikelbauer.h:14, + from player/ai_passenger.cc:22: +player/../bauer/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +player/../bauer/../gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from player/../descriptor/../display/simgraph.h:22, + from player/../descriptor/image.h:10, + from player/../descriptor/image_list.h:10, + from player/../descriptor/image_array.h:10, + from player/../descriptor/building_desc.h:11, + from player/../descriptor/factory_desc.h:11, + from player/../simfab.h:17, + from player/ai_passenger.cc:12: +player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from player/../bauer/vehikelbauer.h:14, from player/ai_passenger.cc:22: player/../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': @@ -15146,6 +15217,8 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX player/simplay.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/simplay.o player/simplay.cc In file included from player/../dataobj/koord3d.h:7, from player/../simobj.h:15, from player/../simcity.h:11, @@ -15351,10 +15424,6 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX player/simplay.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/player/simplay.o player/simplay.cc -===> HOSTCXX script/api/api_city.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_city.o script/api/api_city.cc In file included from player/../dataobj/../dataobj/koord3d.h:7, from player/../dataobj/route.h:13, from player/../simconvoi.h:16, @@ -15453,6 +15522,8 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX script/api/api_city.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_city.o script/api/api_city.cc obj/../descriptor/way_obj_desc.h: In static member function 'static void wayobj_t::extend_wayobj(koord3d, player_t*, ribi_t::ribi, const way_obj_desc_t*, bool)': obj/../descriptor/way_obj_desc.h:64:52: warning: array subscript 17 is above array bounds of 'uint8 [16]' {aka 'unsigned char [16]'} [-Warray-bounds] 64 | return imglist->get_image_id( ribi_to_extra[ribi]+16+(nw*5) ); @@ -15484,8 +15555,6 @@ obj/../descriptor/way_obj_desc.h:60:17: note: while referencing 'ribi_to_extra' 60 | static uint8 ribi_to_extra[16] = { | ^~~~~~~~~~~~~ -===> HOSTCXX script/api/api_command.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_command.o script/api/api_command.cc In file included from player/simplay.cc:15: player/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': player/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -15508,8 +15577,6 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX script/api/api_const.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_const.o script/api/api_const.cc In file included from player/simplay.cc:27: player/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': player/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -15521,6 +15588,8 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX script/api/api_command.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_command.o script/api/api_command.cc In file included from player/../gui/components/gui_container.h:23, from player/../gui/components/gui_aligned_container.h:4, from player/../gui/gui_frame.h:20, @@ -15591,26 +15660,6 @@ player/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX script/api/api_control.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_control.o script/api/api_control.cc -script/api/api_command.cc: In static member function 'static SQInteger script_api::param::push(HSQUIRRELVM, script_api::call_tool_init)': -script/api/api_command.cc:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] - 48 | std::auto_ptr our_tool; - | ^~~~~~~~ -In file included from /usr/include/c++/10/memory:83, - from script/api/api_command.cc:19: -/usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here - 57 | template class auto_ptr; - | ^~~~~~~~ -script/api/api_command.cc: In static member function 'static SQInteger script_api::param::push(HSQUIRRELVM, script_api::call_tool_work)': -script/api/api_command.cc:175:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] - 175 | std::auto_ptr our_tool; - | ^~~~~~~~ -In file included from /usr/include/c++/10/memory:83, - from script/api/api_command.cc:19: -/usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here - 57 | template class auto_ptr; - | ^~~~~~~~ In file included from player/../dataobj/../dataobj/koord3d.h:7, from player/../dataobj/route.h:13, from player/../simconvoi.h:16, @@ -15709,10 +15758,32 @@ player/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX script/api/api_const.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_const.o script/api/api_const.cc +===> HOSTCXX script/api/api_control.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_control.o script/api/api_control.cc ===> HOSTCXX script/api/api_convoy.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_convoy.o script/api/api_convoy.cc ===> HOSTCXX script/api/api_factory.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_factory.o script/api/api_factory.cc +script/api/api_command.cc: In static member function 'static SQInteger script_api::param::push(HSQUIRRELVM, script_api::call_tool_init)': +script/api/api_command.cc:48:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] + 48 | std::auto_ptr our_tool; + | ^~~~~~~~ +In file included from /usr/include/c++/10/memory:83, + from script/api/api_command.cc:19: +/usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here + 57 | template class auto_ptr; + | ^~~~~~~~ +script/api/api_command.cc: In static member function 'static SQInteger script_api::param::push(HSQUIRRELVM, script_api::call_tool_work)': +script/api/api_command.cc:175:7: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations] + 175 | std::auto_ptr our_tool; + | ^~~~~~~~ +In file included from /usr/include/c++/10/memory:83, + from script/api/api_command.cc:19: +/usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here + 57 | template class auto_ptr; + | ^~~~~~~~ In file included from script/api/api_convoy.cc:9: script/api/../../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': script/api/../../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -15725,8 +15796,6 @@ script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX script/api/api_gui.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_gui.o script/api/api_gui.cc script/api/api_convoy.cc: In function 'SQInteger generic_get_convoy_by_index(HSQUIRRELVM)': script/api/api_convoy.cc:105:95: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 105 | cnv = (0<=index && (uint32)index < list->get_count()) ? (*list)[index] : convoihandle_t(); @@ -15854,10 +15923,10 @@ script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX script/api/api_gui.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_gui.o script/api/api_gui.cc ===> HOSTCXX script/api/api_halt.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_halt.o script/api/api_halt.cc -===> HOSTCXX script/api/api_include.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_include.o script/api/api_include.cc In file included from script/api/../../dataobj/koord3d.h:7, from script/api/../../simobj.h:15, from script/api/../api_param.h:7, @@ -15974,12 +16043,26 @@ script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX script/api/api_include.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_include.o script/api/api_include.cc ===> HOSTCXX script/api/api_line.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_line.o script/api/api_line.cc ===> HOSTCXX script/api/api_map_objects.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_map_objects.o script/api/api_map_objects.cc ===> HOSTCXX script/api/api_obj_desc.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_obj_desc.o script/api/api_obj_desc.cc +In file included from script/api/api_map_objects.cc:11: +script/api/../../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': +script/api/../../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } + | ^~~~~~~~~ +In file included from script/api/../api_param.h:9, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_map_objects.cc:1: +script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ script/api/api_line.cc: In function 'SQInteger generic_get_line_by_index(HSQUIRRELVM)': script/api/api_line.cc:125:93: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 125 | line = (0<=index && (uint32)index < list->get_count()) ? (*list)[index] : linehandle_t(); @@ -16067,6 +16150,18 @@ script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from script/api/api_map_objects.cc:23: +script/api/../../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +script/api/../../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from script/api/../api_param.h:9, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_map_objects.cc:1: +script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from script/api/../../dataobj/koord3d.h:7, from script/api/../../simobj.h:15, from script/api/../api_param.h:7, @@ -16107,28 +16202,41 @@ script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from script/api/api_map_objects.cc:11: -script/api/../../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': -script/api/../../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } - | ^~~~~~~~~ +In file included from script/api/../../dataobj/koord3d.h:7, + from script/api/../../simobj.h:15, + from script/api/../api_param.h:7, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_map_objects.cc:1: +script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +script/api/api_map_objects.cc:344:17: required from here +script/api/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ In file included from script/api/../api_param.h:9, from script/api/api_command.h:4, from script/api/api.h:7, from script/api/api_map_objects.cc:1: -script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' +script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from script/api/api_map_objects.cc:23: -script/api/../../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -script/api/../../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ +In file included from script/api/../../dataobj/koord3d.h:7, + from script/api/../../simobj.h:15, + from script/api/../api_param.h:7, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_map_objects.cc:1: +script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +script/api/../../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +script/api/api_map_objects.cc:344:17: required from here +script/api/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ In file included from script/api/../api_param.h:9, from script/api/api_command.h:4, from script/api/api.h:7, from script/api/api_map_objects.cc:1: -script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' +script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ In file included from script/api/../../bauer/../gui/components/gui_container.h:23, @@ -16234,24 +16342,6 @@ script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from script/api/../../dataobj/koord3d.h:7, - from script/api/../../simobj.h:15, - from script/api/../api_param.h:7, - from script/api/api_command.h:4, - from script/api/api.h:7, - from script/api/api_map_objects.cc:1: -script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -script/api/api_map_objects.cc:344:17: required from here -script/api/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from script/api/../api_param.h:9, - from script/api/api_command.h:4, - from script/api/api.h:7, - from script/api/api_map_objects.cc:1: -script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from script/api/api_obj_desc.cc:24: script/api/../../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': script/api/../../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -16281,25 +16371,6 @@ from script/api/../api_param.h:7, from script/api/api_command.h:4, from script/api/api.h:7, - from script/api/api_map_objects.cc:1: -script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -script/api/../../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -script/api/api_map_objects.cc:344:17: required from here -script/api/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from script/api/../api_param.h:9, - from script/api/api_command.h:4, - from script/api/api.h:7, - from script/api/api_map_objects.cc:1: -script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from script/api/../../dataobj/koord3d.h:7, - from script/api/../../simobj.h:15, - from script/api/../api_param.h:7, - from script/api/api_command.h:4, - from script/api/api.h:7, from script/api/api_obj_desc.cc:1: script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': script/api/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' @@ -16413,6 +16484,8 @@ | ^~~~~~~~~~~~~~ ===> HOSTCXX script/api/api_obj_desc_base.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_obj_desc_base.o script/api/api_obj_desc_base.cc +===> HOSTCXX script/api/api_pathfinding.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_pathfinding.o script/api/api_pathfinding.cc In file included from script/api/../../bauer/../gui/components/gui_container.h:23, from script/api/../../bauer/../gui/components/gui_aligned_container.h:4, from script/api/../../bauer/../gui/gui_frame.h:20, @@ -16515,8 +16588,6 @@ script/api/../../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX script/api/api_pathfinding.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_pathfinding.o script/api/api_pathfinding.cc ===> HOSTCXX script/api/api_player.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/script/api/api_player.o script/api/api_player.cc ===> HOSTCXX script/api/api_scenario.cc @@ -16769,10 +16840,6 @@ | ^~~~~~~~ ===> HOSTCXX simconvoi.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simconvoi.o simconvoi.cc -===> HOSTCXX simdebug.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simdebug.o simdebug.cc -===> HOSTCXX simdepot.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simdepot.o simdepot.cc In file included from simcity.cc:22: simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -16795,8 +16862,6 @@ boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX simevent.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simevent.o simevent.cc In file included from gui/minimap.h:4, from simcity.cc:33: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -16894,6 +16959,143 @@ boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from boden/wege/../../dataobj/koord3d.h:7, + from boden/wege/../../simobj.h:15, + from boden/wege/weg.h:13, + from boden/wege/strasse.h:4, + from simcity.cc:17: +boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +simcity.cc:1876:27: required from here +boden/wege/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simcity.cc:18: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/wege/../../dataobj/koord3d.h:7, + from boden/wege/../../simobj.h:15, + from boden/wege/weg.h:13, + from boden/wege/strasse.h:4, + from simcity.cc:17: +boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:749:72: required from here +boden/wege/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simcity.cc:18: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/wege/../../dataobj/koord3d.h:7, + from boden/wege/../../simobj.h:15, + from boden/wege/weg.h:13, + from boden/wege/strasse.h:4, + from simcity.cc:17: +boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/wege/../../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +simhalt.h:755:68: required from here +boden/wege/../../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simcity.cc:18: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/wege/../../dataobj/koord3d.h:7, + from boden/wege/../../simobj.h:15, + from boden/wege/weg.h:13, + from boden/wege/strasse.h:4, + from simcity.cc:17: +boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:767:82: required from here +boden/wege/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simcity.cc:18: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/wege/../../dataobj/koord3d.h:7, + from boden/wege/../../simobj.h:15, + from boden/wege/weg.h:13, + from boden/wege/strasse.h:4, + from simcity.cc:17: +boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/wege/../../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +simhalt.h:773:78: required from here +boden/wege/../../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simcity.cc:18: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/wege/../../dataobj/koord3d.h:7, + from boden/wege/../../simobj.h:15, + from boden/wege/weg.h:13, + from boden/wege/strasse.h:4, + from simcity.cc:17: +boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/wege/../../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +simcity.cc:1876:27: required from here +boden/wege/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simcity.cc:18: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/wege/../../dataobj/koord3d.h:7, + from boden/wege/../../simobj.h:15, + from boden/wege/weg.h:13, + from boden/wege/strasse.h:4, + from simcity.cc:17: +boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/wege/../../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:749:72: required from here +boden/wege/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simcity.cc:18: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/wege/../../dataobj/koord3d.h:7, + from boden/wege/../../simobj.h:15, + from boden/wege/weg.h:13, + from boden/wege/strasse.h:4, + from simcity.cc:17: +boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/wege/../../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:767:82: required from here +boden/wege/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simcity.cc:18: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from simconvoi.cc:11: simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -17047,109 +17249,6 @@ boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX simfab.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simfab.o simfab.cc -In file included from boden/wege/../../dataobj/koord3d.h:7, - from boden/wege/../../simobj.h:15, - from boden/wege/weg.h:13, - from boden/wege/strasse.h:4, - from simcity.cc:17: -boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -simcity.cc:1876:27: required from here -boden/wege/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simcity.cc:18: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/wege/../../dataobj/koord3d.h:7, - from boden/wege/../../simobj.h:15, - from boden/wege/weg.h:13, - from boden/wege/strasse.h:4, - from simcity.cc:17: -boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:749:72: required from here -boden/wege/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simcity.cc:18: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/wege/../../dataobj/koord3d.h:7, - from boden/wege/../../simobj.h:15, - from boden/wege/weg.h:13, - from boden/wege/strasse.h:4, - from simcity.cc:17: -boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/wege/../../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -simhalt.h:755:68: required from here -boden/wege/../../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simcity.cc:18: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/wege/../../dataobj/koord3d.h:7, - from boden/wege/../../simobj.h:15, - from boden/wege/weg.h:13, - from boden/wege/strasse.h:4, - from simcity.cc:17: -boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:767:82: required from here -boden/wege/../../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simcity.cc:18: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/wege/../../dataobj/koord3d.h:7, - from boden/wege/../../simobj.h:15, - from boden/wege/weg.h:13, - from boden/wege/strasse.h:4, - from simcity.cc:17: -boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/wege/../../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -simhalt.h:773:78: required from here -boden/wege/../../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simcity.cc:18: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/wege/../../dataobj/koord3d.h:7, - from boden/wege/../../simobj.h:15, - from boden/wege/weg.h:13, - from boden/wege/strasse.h:4, - from simcity.cc:17: -boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/wege/../../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -simcity.cc:1876:27: required from here -boden/wege/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simcity.cc:18: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from simconvoi.cc:29: gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': gui/depot_frame.h:346:62: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -17161,42 +17260,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from boden/wege/../../dataobj/koord3d.h:7, - from boden/wege/../../simobj.h:15, - from boden/wege/weg.h:13, - from boden/wege/strasse.h:4, - from simcity.cc:17: -boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/wege/../../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:749:72: required from here -boden/wege/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simcity.cc:18: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/wege/../../dataobj/koord3d.h:7, - from boden/wege/../../simobj.h:15, - from boden/wege/weg.h:13, - from boden/wege/strasse.h:4, - from simcity.cc:17: -boden/wege/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/wege/../../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -boden/wege/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:767:82: required from here -boden/wege/../../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simcity.cc:18: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from simconvoi.cc:44: display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -17331,17 +17394,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from simdepot.cc:12: -simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from linehandle_t.h:4, - from simconvoi.h:12, - from simdepot.cc:12: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ simconvoi.cc: In member function 'void convoi_t::set_line(linehandle_t)': simconvoi.cc:3282:24: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 3282 | line_update_pending = org_line; @@ -17371,7 +17423,8 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX simhalt.cc +===> HOSTCXX simdebug.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simdebug.o simdebug.cc simconvoi.cc: In member function 'void convoi_t::check_pending_updates()': simconvoi.cc:3399:10: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 3399 | line = line_update_pending; @@ -17391,7 +17444,8 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simhalt.o simhalt.cc +===> HOSTCXX simdepot.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simdepot.o simdepot.cc In file included from simworld.h:24, from simconvoi.cc:10: tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': @@ -17505,8 +17559,21 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX siminteraction.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/siminteraction.o siminteraction.cc +===> HOSTCXX simevent.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simevent.o simevent.cc +===> HOSTCXX simfab.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simfab.o simfab.cc +In file included from simdepot.cc:12: +simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from linehandle_t.h:4, + from simconvoi.h:12, + from simdepot.cc:12: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from simdepot.cc:17: simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -17608,6 +17675,8 @@ vehicle/../boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX simhalt.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simhalt.o simhalt.cc In file included from simdepot.cc:22: gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': gui/depot_frame.h:346:62: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -17629,7 +17698,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX simintr.cc simdepot.cc: In constructor 'depot_t::depot_t(koord3d, player_t*, const building_tile_desc_t*)': simdepot.cc:61:36: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 61 | last_selected_line = linehandle_t(); @@ -17640,7 +17708,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simintr.o simintr.cc simdepot.cc: In member function 'void depot_t::append_vehicle(convoihandle_t, vehicle_t*, bool, bool)': simdepot.cc:198:37: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 198 | cnv = add_convoi( local_execution ); @@ -17661,6 +17728,249 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX siminteraction.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/siminteraction.o siminteraction.cc +In file included from simfab.cc:26: +simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': +simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } + | ^~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simfab.cc:26: +simware.h: In member function 'void ware_t::set_zwischenziel(const halthandle_t&)': +simware.h:70:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 70 | void set_zwischenziel(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } + | ^~~~~~~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/factory_chart.h:18, + from gui/fabrik_info.h:17, + from simfab.cc:50: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from boden/wege/../../descriptor/../display/simgraph.h:22, + from boden/wege/../../descriptor/image.h:10, + from boden/wege/../../descriptor/image_list.h:10, + from boden/wege/../../descriptor/way_desc.h:10, + from boden/wege/weg.h:14, + from boden/grund.h:19, + from simfab.cc:20: +boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/factory_chart.h:18, + from gui/fabrik_info.h:17, + from simfab.cc:50: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from boden/wege/../../descriptor/../display/simgraph.h:22, + from boden/wege/../../descriptor/image.h:10, + from boden/wege/../../descriptor/image_list.h:10, + from boden/wege/../../descriptor/way_desc.h:10, + from boden/wege/weg.h:14, + from boden/grund.h:19, + from simfab.cc:20: +boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/factory_chart.h:18, + from gui/fabrik_info.h:17, + from simfab.cc:50: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from boden/wege/../../descriptor/../display/simgraph.h:22, + from boden/wege/../../descriptor/image.h:10, + from boden/wege/../../descriptor/image_list.h:10, + from boden/wege/../../descriptor/way_desc.h:10, + from boden/wege/weg.h:14, + from boden/grund.h:19, + from simfab.cc:20: +boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/factory_chart.h:18, + from gui/fabrik_info.h:17, + from simfab.cc:50: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from boden/wege/../../descriptor/../display/simgraph.h:22, + from boden/wege/../../descriptor/image.h:10, + from boden/wege/../../descriptor/image_list.h:10, + from boden/wege/../../descriptor/way_desc.h:10, + from boden/wege/weg.h:14, + from boden/grund.h:19, + from simfab.cc:20: +boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/factory_chart.h:18, + from gui/fabrik_info.h:17, + from simfab.cc:50: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from boden/wege/../../descriptor/../display/simgraph.h:22, + from boden/wege/../../descriptor/image.h:10, + from boden/wege/../../descriptor/image_list.h:10, + from boden/wege/../../descriptor/way_desc.h:10, + from boden/wege/weg.h:14, + from boden/grund.h:19, + from simfab.cc:20: +boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/fabrik_info.h:24, + from simfab.cc:50: +gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': +gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 31 | max_size = s; + | ^ +In file included from boden/wege/../../descriptor/../display/simgraph.h:22, + from boden/wege/../../descriptor/image.h:10, + from boden/wege/../../descriptor/image_list.h:10, + from boden/wege/../../descriptor/way_desc.h:10, + from boden/wege/weg.h:14, + from boden/grund.h:19, + from simfab.cc:20: +boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +simfab.cc: In constructor 'distribute_ware_t::distribute_ware_t(halthandle_t, sint32, sint32, sint32, ware_t)': +simfab.cc:2446:10: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 2446 | halt = h; + | ^ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/../dataobj/koord3d.h:7, + from boden/grund.h:16, + from simfab.cc:20: +boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +boden/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:749:72: required from here +boden/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/../dataobj/koord3d.h:7, + from boden/grund.h:16, + from simfab.cc:20: +boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +simhalt.h:755:68: required from here +boden/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/../dataobj/koord3d.h:7, + from boden/grund.h:16, + from simfab.cc:20: +boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +boden/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:767:82: required from here +boden/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/../dataobj/koord3d.h:7, + from boden/grund.h:16, + from simfab.cc:20: +boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +simhalt.h:773:78: required from here +boden/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/../dataobj/koord3d.h:7, + from boden/grund.h:16, + from simfab.cc:20: +boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +boden/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:749:72: required from here +boden/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from boden/../dataobj/koord3d.h:7, + from boden/grund.h:16, + from simfab.cc:20: +boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +boden/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +boden/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:767:82: required from here +boden/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from boden/../halthandle_t.h:4, + from boden/grund.h:12, + from simfab.cc:20: +boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simhalt.cc:20: +simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from linehandle_t.h:4, + from simconvoi.h:12, + from simhalt.cc:20: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -17716,33 +18026,6 @@ dataobj/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX simio.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simio.o simio.cc -In file included from simhalt.cc:20: -simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from linehandle_t.h:4, - from simconvoi.h:12, - from simhalt.cc:20: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -===> HOSTCXX simline.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simline.o simline.cc -In file included from siminteraction.cc:27: -display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': -display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } - | ^~~ -In file included from network/../convoihandle_t.h:4, - from network/../simworld.h:20, - from network/network_cmd_ingame.h:6, - from siminteraction.cc:14: -network/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from simhalt.cc:32: simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -17855,6 +18138,18 @@ descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from siminteraction.cc:27: +display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': +display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } + | ^~~ +In file included from network/../convoihandle_t.h:4, + from network/../simworld.h:20, + from network/network_cmd_ingame.h:6, + from siminteraction.cc:14: +network/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from gui/halt_info.h:28, from simhalt.cc:56: gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': @@ -17872,6 +18167,8 @@ descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX simintr.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simintr.o simintr.cc In file included from simhalt.cc:57: gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -17888,28 +18185,6 @@ descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -In file included from simfab.cc:26: -simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': -simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } - | ^~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simfab.cc:26: -simware.h: In member function 'void ware_t::set_zwischenziel(const halthandle_t&)': -simware.h:70:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 70 | void set_zwischenziel(const halthandle_t &zwischenziel) { this->zwischenziel = zwischenziel; } - | ^~~~~~~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ simhalt.cc: In static member function 'static halthandle_t haltestelle_t::get_halt_koord_index(koord)': simhalt.cc:167:25: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 167 | h = all_koords->get( n ); @@ -17939,96 +18214,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/factory_chart.h:18, - from gui/fabrik_info.h:17, - from simfab.cc:50: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from boden/wege/../../descriptor/../display/simgraph.h:22, - from boden/wege/../../descriptor/image.h:10, - from boden/wege/../../descriptor/image_list.h:10, - from boden/wege/../../descriptor/way_desc.h:10, - from boden/wege/weg.h:14, - from boden/grund.h:19, - from simfab.cc:20: -boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/factory_chart.h:18, - from gui/fabrik_info.h:17, - from simfab.cc:50: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from boden/wege/../../descriptor/../display/simgraph.h:22, - from boden/wege/../../descriptor/image.h:10, - from boden/wege/../../descriptor/image_list.h:10, - from boden/wege/../../descriptor/way_desc.h:10, - from boden/wege/weg.h:14, - from boden/grund.h:19, - from simfab.cc:20: -boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/factory_chart.h:18, - from gui/fabrik_info.h:17, - from simfab.cc:50: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from boden/wege/../../descriptor/../display/simgraph.h:22, - from boden/wege/../../descriptor/image.h:10, - from boden/wege/../../descriptor/image_list.h:10, - from boden/wege/../../descriptor/way_desc.h:10, - from boden/wege/weg.h:14, - from boden/grund.h:19, - from simfab.cc:20: -boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/factory_chart.h:18, - from gui/fabrik_info.h:17, - from simfab.cc:50: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from boden/wege/../../descriptor/../display/simgraph.h:22, - from boden/wege/../../descriptor/image.h:10, - from boden/wege/../../descriptor/image_list.h:10, - from boden/wege/../../descriptor/way_desc.h:10, - from boden/wege/weg.h:14, - from boden/grund.h:19, - from simfab.cc:20: -boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/factory_chart.h:18, - from gui/fabrik_info.h:17, - from simfab.cc:50: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from boden/wege/../../descriptor/../display/simgraph.h:22, - from boden/wege/../../descriptor/image.h:10, - from boden/wege/../../descriptor/image_list.h:10, - from boden/wege/../../descriptor/way_desc.h:10, - from boden/wege/weg.h:14, - from boden/grund.h:19, - from simfab.cc:20: -boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ simhalt.cc: In member function 'sint32 haltestelle_t::rebuild_connections()': simhalt.cc:1202:33: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 1202 | previous_halt[catg_index] = self; @@ -18057,22 +18242,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/fabrik_info.h:24, - from simfab.cc:50: -gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': -gui/components/gui_colorbox.h:31:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 31 | max_size = s; - | ^ -In file included from boden/wege/../../descriptor/../display/simgraph.h:22, - from boden/wege/../../descriptor/image.h:10, - from boden/wege/../../descriptor/image_list.h:10, - from boden/wege/../../descriptor/way_desc.h:10, - from boden/wege/weg.h:14, - from boden/grund.h:19, - from simfab.cc:20: -boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ simhalt.cc: In static member function 'static int haltestelle_t::search_route(const halthandle_t*, uint16, bool, ware_t&, ware_t*)': simhalt.cc:1434:36: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 1434 | last_search_origin = halthandle_t(); @@ -18195,16 +18364,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -simfab.cc: In constructor 'distribute_ware_t::distribute_ware_t(halthandle_t, sint32, sint32, sint32, ware_t)': -simfab.cc:2446:10: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 2446 | halt = h; - | ^ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from dataobj/../tpl/stringhashtable_tpl.h:8, from dataobj/translator.h:12, from simfab.h:12, @@ -18437,238 +18596,14 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from boden/../dataobj/koord3d.h:7, - from boden/grund.h:16, - from simfab.cc:20: -boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -boden/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:749:72: required from here -boden/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/../dataobj/koord3d.h:7, - from boden/grund.h:16, - from simfab.cc:20: -boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -simhalt.h:755:68: required from here -boden/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/../dataobj/koord3d.h:7, - from boden/grund.h:16, - from simfab.cc:20: -boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -boden/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:767:82: required from here -boden/../dataobj/../tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/../dataobj/koord3d.h:7, - from boden/grund.h:16, - from simfab.cc:20: -boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -simhalt.h:773:78: required from here -boden/../dataobj/../tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/../dataobj/koord3d.h:7, - from boden/grund.h:16, - from simfab.cc:20: -boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -boden/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:749:72: required from here -boden/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from boden/../dataobj/koord3d.h:7, - from boden/grund.h:16, - from simfab.cc:20: -boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -boden/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -boden/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:767:82: required from here -boden/../dataobj/../tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from boden/../halthandle_t.h:4, - from boden/grund.h:12, - from simfab.cc:20: -boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ +===> HOSTCXX simio.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simio.o simio.cc +===> HOSTCXX simline.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simline.o simline.cc ===> HOSTCXX simlinemgmt.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simlinemgmt.o simlinemgmt.cc ===> HOSTCXX simloadingscreen.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simloadingscreen.o simloadingscreen.cc -In file included from simline.cc:15: -simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -simline.cc: In constructor 'simline_t::simline_t(player_t*, simline_t::linetype)': -simline.cc:36:26: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 36 | self = linehandle_t(this); - | ^ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -simline.cc: In constructor 'simline_t::simline_t(player_t*, simline_t::linetype, loadsave_t*)': -simline.cc:54:22: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | self = linehandle_t(); - | ^ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -simline.cc:65:42: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 65 | self = linehandle_t(this, self.get_id()); - | ^ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -simline.cc: In member function 'void simline_t::finish_rd()': -simline.cc:303:52: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 303 | self = player->simlinemgmt.get_line_with_id_zero(); - | ^ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simline.h:15, - from simline.cc:3: -tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:749:72: required from here -tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simline.h:15, - from simline.cc:3: -tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -simhalt.h:755:68: required from here -tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simline.h:15, - from simline.cc:3: -tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:767:82: required from here -tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 96 | data[count++] = elem; - | ~~~~~~~~~~~~~~^~~~~~ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simline.h:15, - from simline.cc:3: -tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -simhalt.h:773:78: required from here -tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 214 | data[i] = data[i + 1]; - | ~~~~~~~~^~~~~~~ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simline.h:15, - from simline.cc:3: -tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:749:72: required from here -tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simline.h:15, - from simline.cc:3: -tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -simhalt.h:767:82: required from here -tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 54 | new_data[i] = data[i]; - | ~~~~~~~~~~~~^~~~~~~ -In file included from convoihandle_t.h:4, - from simline.h:11, - from simline.cc:3: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ ===> HOSTCXX simmain.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simmain.o simmain.cc In file included from simlinemgmt.cc:10: @@ -18847,8 +18782,142 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX simmem.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simmem.o simmem.cc +In file included from simline.cc:15: +simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +simline.cc: In constructor 'simline_t::simline_t(player_t*, simline_t::linetype)': +simline.cc:36:26: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 36 | self = linehandle_t(this); + | ^ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +simline.cc: In constructor 'simline_t::simline_t(player_t*, simline_t::linetype, loadsave_t*)': +simline.cc:54:22: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | self = linehandle_t(); + | ^ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +simline.cc:65:42: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 65 | self = linehandle_t(this, self.get_id()); + | ^ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +simline.cc: In member function 'void simline_t::finish_rd()': +simline.cc:303:52: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 303 | self = player->simlinemgmt.get_line_with_id_zero(); + | ^ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simline.h:15, + from simline.cc:3: +tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:749:72: required from here +tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simline.h:15, + from simline.cc:3: +tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +simhalt.h:755:68: required from here +tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simline.h:15, + from simline.cc:3: +tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:767:82: required from here +tpl/vector_tpl.h:96:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 96 | data[count++] = elem; + | ~~~~~~~~~~~~~~^~~~~~ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simline.h:15, + from simline.cc:3: +tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +simhalt.h:773:78: required from here +tpl/vector_tpl.h:214:13: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 214 | data[i] = data[i + 1]; + | ~~~~~~~~^~~~~~~ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simline.h:15, + from simline.cc:3: +tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:749:72: required from here +tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simline.h:15, + from simline.cc:3: +tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +simhalt.h:767:82: required from here +tpl/vector_tpl.h:54:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 54 | new_data[i] = data[i]; + | ~~~~~~~~~~~~^~~~~~~ +In file included from convoihandle_t.h:4, + from simline.h:11, + from simline.cc:3: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from simmain.cc:16: simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -18976,8 +19045,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX simmenu.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simmenu.o simmenu.cc In file included from simworld.h:24, from simmain.cc:15: tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': @@ -19064,8 +19131,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX simmesg.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simmesg.o simmesg.cc simmain.cc: At global scope: simmain.cc:118:13: warning: 'void show_times(karte_t*, main_view_t*)' defined but not used [-Wunused-function] 118 | static void show_times(karte_t *welt, main_view_t *view) @@ -19073,19 +19138,10 @@ simmain.cc:87:13: warning: 'void show_sizes()' defined but not used [-Wunused-function] 87 | static void show_sizes() | ^~~~~~~~~~ -===> HOSTCXX simobj.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simobj.o simobj.cc -In file included from simobj.cc:22: -display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': -display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } - | ^~~ -In file included from display/../convoihandle_t.h:4, - from display/viewport.h:15, - from simobj.cc:22: -display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ +===> HOSTCXX simmem.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simmem.o simmem.cc +===> HOSTCXX simmenu.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simmenu.o simmenu.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -19211,144 +19267,159 @@ boden/wege/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX simmesg.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simmesg.o simmesg.cc +===> HOSTCXX simobj.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simobj.o simobj.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, from gui/base_info.h:4, - from gui/obj_info.h:13, - from simobj.cc:32: + from gui/messagebox.h:4, + from simmesg.cc:24: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ -In file included from display/simgraph.h:22, - from simobj.cc:21: -display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simmesg.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/base_info.h:4, - from gui/obj_info.h:13, - from simobj.cc:32: + from gui/messagebox.h:4, + from simmesg.cc:24: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from display/simgraph.h:22, - from simobj.cc:21: -display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simmesg.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/base_info.h:4, - from gui/obj_info.h:13, - from simobj.cc:32: + from gui/messagebox.h:4, + from simmesg.cc:24: gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from display/simgraph.h:22, - from simobj.cc:21: -display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simmesg.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/base_info.h:4, - from gui/obj_info.h:13, - from simobj.cc:32: + from gui/messagebox.h:4, + from simmesg.cc:24: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ -In file included from display/simgraph.h:22, - from simobj.cc:21: -display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simmesg.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/base_info.h:4, - from gui/obj_info.h:13, - from simobj.cc:32: + from gui/messagebox.h:4, + from simmesg.cc:24: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ -In file included from display/simgraph.h:22, - from simobj.cc:21: -display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simmesg.cc:12: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +In file included from simobj.cc:22: +display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': +display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } + | ^~~ +In file included from display/../convoihandle_t.h:4, + from display/viewport.h:15, + from simobj.cc:22: +display/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, from gui/base_info.h:4, - from gui/messagebox.h:4, - from simmesg.cc:24: + from gui/obj_info.h:13, + from simobj.cc:32: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 141 | size = size_par; | ^~~~~~~~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simmesg.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from display/simgraph.h:22, + from simobj.cc:21: +display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/base_info.h:4, - from gui/messagebox.h:4, - from simmesg.cc:24: + from gui/obj_info.h:13, + from simobj.cc:32: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simmesg.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from display/simgraph.h:22, + from simobj.cc:21: +display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/base_info.h:4, - from gui/messagebox.h:4, - from simmesg.cc:24: + from gui/obj_info.h:13, + from simobj.cc:32: gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } | ^~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simmesg.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from display/simgraph.h:22, + from simobj.cc:21: +display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, from gui/base_info.h:4, - from gui/messagebox.h:4, - from simmesg.cc:24: + from gui/obj_info.h:13, + from simobj.cc:32: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } | ^~~~~~~~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simmesg.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from display/simgraph.h:22, + from simobj.cc:21: +display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from gui/base_info.h:4, - from gui/messagebox.h:4, - from simmesg.cc:24: + from gui/obj_info.h:13, + from simobj.cc:32: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } | ^~~~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simmesg.cc:12: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +In file included from display/simgraph.h:22, + from simobj.cc:21: +display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ ===> HOSTCXX simplan.cc @@ -19436,6 +19507,8 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX simsound.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simsound.o simsound.cc In file included from dataobj/koord3d.h:7, from simobj.h:15, from simplan.cc:9: @@ -19528,12 +19601,20 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX simsound.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simsound.o simsound.cc ===> HOSTCXX simsys.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simsys.o simsys.cc ===> HOSTCXX simticker.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simticker.o simticker.cc +simsys.cc: In function 'bool dr_download_pakset(const char*, bool)': +simsys.cc:988:8: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 988 | system( command ); + | ~~~~~~^~~~~~~~~~~ +===> HOSTCXX simtool.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simtool.o simtool.cc +===> HOSTCXX simware.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simware.o simware.cc +===> HOSTCXX simworld.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simworld.o simworld.cc In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -19594,16 +19675,8 @@ display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -simsys.cc: In function 'bool dr_download_pakset(const char*, bool)': -simsys.cc:988:8: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 988 | system( command ); - | ~~~~~~^~~~~~~~~~~ -===> HOSTCXX simtool.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simtool.o simtool.cc -===> HOSTCXX simware.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simware.o simware.cc -===> HOSTCXX simworld.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simworld.o simworld.cc +===> HOSTCXX squirrel/sq_extensions.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sq_extensions.o squirrel/sq_extensions.cc In file included from simware.cc:16: simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -19664,8 +19737,97 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX squirrel/sq_extensions.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sq_extensions.o squirrel/sq_extensions.cc +In file included from simtool.cc:18: +simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from linehandle_t.h:4, + from simconvoi.h:12, + from simtool.cc:18: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from simtool.cc:20: +display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': +display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } + | ^~~ +In file included from linehandle_t.h:4, + from simconvoi.h:12, + from simtool.cc:18: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from bauer/../gui/components/gui_container.h:23, + from bauer/../gui/components/gui_aligned_container.h:4, + from bauer/../gui/gui_frame.h:20, + from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.h:14, + from simtool.cc:23: +bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simtool.cc:17: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from squirrel/sq_extensions.cc:4: +squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': +squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~ +squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~~~~~~~~~~~~~~ +In file included from bauer/../gui/gui_frame.h:20, + from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.h:14, + from simtool.cc:23: +bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +bauer/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simtool.cc:17: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from bauer/../gui/gui_frame.h:20, + from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.h:14, + from simtool.cc:23: +bauer/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simtool.cc:17: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from bauer/../gui/gui_frame.h:20, + from bauer/../gui/depot_frame.h:15, + from bauer/vehikelbauer.h:14, + from simtool.cc:23: +bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +bauer/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from gui/../display/simgraph.h:22, + from gui/gui_theme.h:13, + from simmesg.h:5, + from simtool.cc:17: +gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from dataobj/koord3d.h:7, from simfab.h:11, from simware.cc:13: @@ -19758,89 +19920,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from simtool.cc:18: -simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from linehandle_t.h:4, - from simconvoi.h:12, - from simtool.cc:18: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simtool.cc:20: -display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': -display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } - | ^~~ -In file included from linehandle_t.h:4, - from simconvoi.h:12, - from simtool.cc:18: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from bauer/../gui/components/gui_container.h:23, - from bauer/../gui/components/gui_aligned_container.h:4, - from bauer/../gui/gui_frame.h:20, - from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.h:14, - from simtool.cc:23: -bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -bauer/../gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simtool.cc:17: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.h:14, - from simtool.cc:23: -bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -bauer/../gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simtool.cc:17: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.h:14, - from simtool.cc:23: -bauer/../gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simtool.cc:17: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from bauer/../gui/gui_frame.h:20, - from bauer/../gui/depot_frame.h:15, - from bauer/vehikelbauer.h:14, - from simtool.cc:23: -bauer/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -bauer/../gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from gui/../display/simgraph.h:22, - from gui/gui_theme.h:13, - from simmesg.h:5, - from simtool.cc:17: -gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from bauer/../gui/depot_frame.h:15, from bauer/vehikelbauer.h:14, from simtool.cc:23: @@ -19855,6 +19934,8 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX squirrel/sqstdlib/sqstdaux.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdaux.o squirrel/sqstdlib/sqstdaux.cc In file included from bauer/vehikelbauer.h:14, from simtool.cc:23: bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': @@ -19878,18 +19959,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from squirrel/sq_extensions.cc:4: -squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': -squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~ -squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~~~~~~~~~~~~~~ -===> HOSTCXX squirrel/sqstdlib/sqstdaux.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdaux.o squirrel/sqstdlib/sqstdaux.cc -===> HOSTCXX squirrel/sqstdlib/sqstdblob.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdblob.o squirrel/sqstdlib/sqstdblob.cc In file included from simtool.cc:50: gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -19916,8 +19985,32 @@ gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ +===> HOSTCXX squirrel/sqstdlib/sqstdblob.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdblob.o squirrel/sqstdlib/sqstdblob.cc +In file included from simworld.cc:24: +simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from linehandle_t.h:4, + from simconvoi.h:12, + from simworld.cc:24: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ ===> HOSTCXX squirrel/sqstdlib/sqstdio.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdio.o squirrel/sqstdlib/sqstdio.cc +In file included from simworld.cc:26: +simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': +simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } + | ^~~~~~~~~ +In file included from linehandle_t.h:4, + from simconvoi.h:12, + from simworld.cc:24: +tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ simtool.cc: In function 'halthandle_t suche_nahe_haltestelle(player_t*, karte_t*, koord3d, sint16, sint16)': simtool.cc:257:36: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 257 | my_halt = plan->get_halt( player ); @@ -19958,30 +20051,6 @@ | ^~~~~~~~~~~~~~ ===> HOSTCXX squirrel/sqstdlib/sqstdmath.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdmath.o squirrel/sqstdlib/sqstdmath.cc -In file included from simworld.cc:24: -simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from linehandle_t.h:4, - from simconvoi.h:12, - from simworld.cc:24: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from simworld.cc:26: -simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': -simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 220 | void set_last_selected_line(const linehandle_t last_line) { last_selected_line=last_line; } - | ^~~~~~~~~ -In file included from linehandle_t.h:4, - from simconvoi.h:12, - from simworld.cc:24: -tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -===> HOSTCXX squirrel/sqstdlib/sqstdrex.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdrex.o squirrel/sqstdlib/sqstdrex.cc simtool.cc: In member function 'const char* tool_build_station_t::tool_station_building_aux(player_t*, bool, koord3d, const building_desc_t*, sint8)': simtool.cc:3539:24: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 3539 | last_halt = test_halt; @@ -20132,13 +20201,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -squirrel/sqstdlib/sqstdrex.cc: In function 'SQInteger sqstd_rex_charnode(SQRex*, SQBool)': -squirrel/sqstdlib/sqstdrex.cc:166:5: warning: this statement may fall through [-Wimplicit-fallthrough=] - 166 | } //else default - | ^ -squirrel/sqstdlib/sqstdrex.cc:167:4: note: here - 167 | default: - | ^~~~~~~ simtool.cc: In member function 'void tool_stop_mover_t::read_start_position(player_t*, const koord3d&)': simtool.cc:5971:27: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 5971 | last_halt = halthandle_t(); @@ -20235,6 +20297,8 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX squirrel/sqstdlib/sqstdrex.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdrex.o squirrel/sqstdlib/sqstdrex.cc In file included from dataobj/koord3d.h:7, from simobj.h:15, from simcity.h:11, @@ -20250,26 +20314,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/password_frame.h:13, - from simworld.cc:72: -gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 141 | size = size_par; - | ^~~~~~~~ -In file included from descriptor/../display/simgraph.h:22, - from descriptor/image.h:10, - from descriptor/image_list.h:10, - from descriptor/image_array.h:10, - from descriptor/building_desc.h:11, - from descriptor/factory_desc.h:11, - from simfab.h:17, - from simworld.cc:27: -descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simcity.h:11, @@ -20285,61 +20329,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX squirrel/sqstdlib/sqstdstream.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdstream.o squirrel/sqstdlib/sqstdstream.cc -In file included from gui/gui_frame.h:20, - from gui/password_frame.h:13, - from simworld.cc:72: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from descriptor/../display/simgraph.h:22, - from descriptor/image.h:10, - from descriptor/image_list.h:10, - from descriptor/image_array.h:10, - from descriptor/building_desc.h:11, - from descriptor/factory_desc.h:11, - from simfab.h:17, - from simworld.cc:27: -descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/password_frame.h:13, - from simworld.cc:72: -gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } - | ^~ -In file included from descriptor/../display/simgraph.h:22, - from descriptor/image.h:10, - from descriptor/image_list.h:10, - from descriptor/image_array.h:10, - from descriptor/building_desc.h:11, - from descriptor/factory_desc.h:11, - from simfab.h:17, - from simworld.cc:27: -descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ -In file included from gui/gui_frame.h:20, - from gui/password_frame.h:13, - from simworld.cc:72: -gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } - | ^~~~~~~~ -In file included from descriptor/../display/simgraph.h:22, - from descriptor/image.h:10, - from descriptor/image_list.h:10, - from descriptor/image_array.h:10, - from descriptor/building_desc.h:11, - from descriptor/factory_desc.h:11, - from simfab.h:17, - from simworld.cc:27: -descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simcity.h:11, @@ -20404,23 +20393,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -In file included from gui/password_frame.h:13, - from simworld.cc:72: -gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } - | ^~~~ -In file included from descriptor/../display/simgraph.h:22, - from descriptor/image.h:10, - from descriptor/image_list.h:10, - from descriptor/image_array.h:10, - from descriptor/building_desc.h:11, - from descriptor/factory_desc.h:11, - from simfab.h:17, - from simworld.cc:27: -descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' - 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } - | ^~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simcity.h:11, @@ -20454,6 +20426,105 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +squirrel/sqstdlib/sqstdrex.cc: In function 'SQInteger sqstd_rex_charnode(SQRex*, SQBool)': +squirrel/sqstdlib/sqstdrex.cc:166:5: warning: this statement may fall through [-Wimplicit-fallthrough=] + 166 | } //else default + | ^ +squirrel/sqstdlib/sqstdrex.cc:167:4: note: here + 167 | default: + | ^~~~~~~ +In file included from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/password_frame.h:13, + from simworld.cc:72: +gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 141 | size = size_par; + | ^~~~~~~~ +In file included from descriptor/../display/simgraph.h:22, + from descriptor/image.h:10, + from descriptor/image_list.h:10, + from descriptor/image_array.h:10, + from descriptor/building_desc.h:11, + from descriptor/factory_desc.h:11, + from simfab.h:17, + from simworld.cc:27: +descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/password_frame.h:13, + from simworld.cc:72: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +gui/components/gui_aligned_container.h:154:58: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from descriptor/../display/simgraph.h:22, + from descriptor/image.h:10, + from descriptor/image_list.h:10, + from descriptor/image_array.h:10, + from descriptor/building_desc.h:11, + from descriptor/factory_desc.h:11, + from simfab.h:17, + from simworld.cc:27: +descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/password_frame.h:13, + from simworld.cc:72: +gui/components/gui_aligned_container.h:154:75: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 154 | void set_margin(scr_size tl, scr_size br) { margin_tl = tl; margin_br = br; } + | ^~ +In file included from descriptor/../display/simgraph.h:22, + from descriptor/image.h:10, + from descriptor/image_list.h:10, + from descriptor/image_array.h:10, + from descriptor/building_desc.h:11, + from descriptor/factory_desc.h:11, + from simfab.h:17, + from simworld.cc:27: +descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +In file included from gui/gui_frame.h:20, + from gui/password_frame.h:13, + from simworld.cc:72: +gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +gui/components/gui_aligned_container.h:159:50: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 159 | void set_spacing(scr_size spacing_) { spacing = spacing_; } + | ^~~~~~~~ +In file included from descriptor/../display/simgraph.h:22, + from descriptor/image.h:10, + from descriptor/image_list.h:10, + from descriptor/image_array.h:10, + from descriptor/building_desc.h:11, + from descriptor/factory_desc.h:11, + from simfab.h:17, + from simworld.cc:27: +descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ +===> HOSTCXX squirrel/sqstdlib/sqstdstream.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdstream.o squirrel/sqstdlib/sqstdstream.cc +In file included from gui/password_frame.h:13, + from simworld.cc:72: +gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +gui/gui_frame.h:148:60: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 148 | void set_min_windowsize(scr_size size) { min_windowsize = size; } + | ^~~~ +In file included from descriptor/../display/simgraph.h:22, + from descriptor/image.h:10, + from descriptor/image_list.h:10, + from descriptor/image_array.h:10, + from descriptor/building_desc.h:11, + from descriptor/factory_desc.h:11, + from simfab.h:17, + from simworld.cc:27: +descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } + | ^~~~~~~~ In file included from simworld.cc:75: gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': gui/minimap.h:202:14: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] @@ -20472,6 +20543,8 @@ | ^~~~~~~~ ===> HOSTCXX squirrel/sqstdlib/sqstdstring.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdstring.o squirrel/sqstdlib/sqstdstring.cc +===> HOSTCXX squirrel/sqstdlib/sqstdsystem.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdsystem.o squirrel/sqstdlib/sqstdsystem.cc In file included from bauer/vehikelbauer.h:14, from simworld.cc:103: bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': @@ -20484,15 +20557,6 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX squirrel/sqstdlib/sqstdsystem.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/sqstdlib/sqstdsystem.o squirrel/sqstdlib/sqstdsystem.cc -squirrel/sqstdlib/sqstdstring.cc: In function 'SQRESULT sqstd_format(HSQUIRRELVM, SQInteger, SQInteger*, SQChar**)': -squirrel/sqstdlib/sqstdstring.cc:121:17: warning: this statement may fall through [-Wimplicit-fallthrough=] - 121 | fmt[fpos++] = _SC('\0'); - | ^ -squirrel/sqstdlib/sqstdstring.cc:124:4: note: here - 124 | case 'c': - | ^~~~ In file included from dataobj/../tpl/vector_tpl.h:6, from dataobj/koord3d.h:7, from simobj.h:15, @@ -20514,6 +20578,13 @@ network/pwd_hash.h:11:7: note: 'class pwd_hash_t' declared here 11 | class pwd_hash_t | ^~~~~~~~~~ +squirrel/sqstdlib/sqstdstring.cc: In function 'SQRESULT sqstd_format(HSQUIRRELVM, SQInteger, SQInteger*, SQChar**)': +squirrel/sqstdlib/sqstdstring.cc:121:17: warning: this statement may fall through [-Wimplicit-fallthrough=] + 121 | fmt[fpos++] = _SC('\0'); + | ^ +squirrel/sqstdlib/sqstdstring.cc:124:4: note: here + 124 | case 'c': + | ^~~~ simworld.cc: In member function 'bool karte_t::rem_fab(fabrik_t*)': simworld.cc:3348:66: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'halthandle_t' {aka 'class quickstone_tpl'}; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 3348 | memcpy( list, plan->get_haltlist(), count*sizeof(halthandle_t) ); @@ -20526,49 +20597,6 @@ | ^~~~~~~~~~~~~~ ===> HOSTCXX squirrel/squirrel/sqapi.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqapi.o squirrel/squirrel/sqapi.cc -===> HOSTCXX squirrel/squirrel/sqbaselib.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqbaselib.o squirrel/squirrel/sqbaselib.cc -===> HOSTCXX squirrel/squirrel/sqclass.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqclass.o squirrel/squirrel/sqclass.cc -In file included from squirrel/squirrel/sqbaselib.cc:5: -squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': -squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~ -squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~~~~~~~~~~~~~~ -In file included from squirrel/squirrel/sqapi.cc:5: -squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': -squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~ -squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~~~~~~~~~~~~~~ -===> HOSTCXX squirrel/squirrel/sqcompiler.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqcompiler.o squirrel/squirrel/sqcompiler.cc -In file included from squirrel/squirrel/sqclass.cc:5: -squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': -squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~ -squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~~~~~~~~~~~~~~ -In file included from squirrel/squirrel/sqobject.h:5, - from squirrel/squirrel/sqpcheader.h:17, - from squirrel/squirrel/sqbaselib.cc:4: -squirrel/squirrel/squtils.h: In instantiation of 'void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]': -squirrel/squirrel/sqarray.h:83:21: required from here -squirrel/squirrel/squtils.h:97:11: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] - 97 | memmove(&_vals[idx], &_vals[idx+1], sizeof(T) * (_size - idx - 1)); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from squirrel/squirrel/sqpcheader.h:17, - from squirrel/squirrel/sqbaselib.cc:4: -squirrel/squirrel/sqobject.h:206:8: note: 'struct SQObjectPtr' declared here - 206 | struct SQObjectPtr : public SQObject - | ^~~~~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simcity.h:11, @@ -20665,6 +20693,22 @@ tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +===> HOSTCXX squirrel/squirrel/sqbaselib.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqbaselib.o squirrel/squirrel/sqbaselib.cc +===> HOSTCXX squirrel/squirrel/sqclass.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqclass.o squirrel/squirrel/sqclass.cc +simworld.cc: In member function 'void karte_t::save(loadsave_t*, bool)': +simworld.cc:4812:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 4812 | fread( motd, len-1, 1, fmotd ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from squirrel/squirrel/sqapi.cc:5: +squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': +squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~ +squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~~~~~~~~~~~~~~ In file included from squirrel/squirrel/sqobject.h:5, from squirrel/squirrel/sqpcheader.h:17, from squirrel/squirrel/sqapi.cc:4: @@ -20678,7 +20722,15 @@ squirrel/squirrel/sqobject.h:206:8: note: 'struct SQObjectPtr' declared here 206 | struct SQObjectPtr : public SQObject | ^~~~~~~~~~~ -In file included from squirrel/squirrel/sqcompiler.cc:15: +In file included from squirrel/squirrel/sqbaselib.cc:5: +squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': +squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~ +squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~~~~~~~~~~~~~~ +In file included from squirrel/squirrel/sqclass.cc:5: squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } @@ -20686,19 +20738,30 @@ squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } | ^~~~~~~~~~~~~~~ +===> HOSTCXX squirrel/squirrel/sqcompiler.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqcompiler.o squirrel/squirrel/sqcompiler.cc ===> HOSTCXX squirrel/squirrel/sqdebug.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqdebug.o squirrel/squirrel/sqdebug.cc -squirrel/squirrel/sqcompiler.cc: In member function 'void SQCompiler::ParseTableOrClass(SQInteger, SQInteger)': -squirrel/squirrel/sqcompiler.cc:982:5: warning: this statement may fall through [-Wimplicit-fallthrough=] - 982 | if(separator == ',') { //only works for tables - | ^~ -squirrel/squirrel/sqcompiler.cc:987:4: note: here - 987 | default : - | ^~~~~~~ -simworld.cc: In member function 'void karte_t::save(loadsave_t*, bool)': -simworld.cc:4812:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 4812 | fread( motd, len-1, 1, fmotd ); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from squirrel/squirrel/sqobject.h:5, + from squirrel/squirrel/sqpcheader.h:17, + from squirrel/squirrel/sqbaselib.cc:4: +squirrel/squirrel/squtils.h: In instantiation of 'void sqvector::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]': +squirrel/squirrel/sqarray.h:83:21: required from here +squirrel/squirrel/squtils.h:97:11: warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] + 97 | memmove(&_vals[idx], &_vals[idx+1], sizeof(T) * (_size - idx - 1)); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from squirrel/squirrel/sqpcheader.h:17, + from squirrel/squirrel/sqbaselib.cc:4: +squirrel/squirrel/sqobject.h:206:8: note: 'struct SQObjectPtr' declared here + 206 | struct SQObjectPtr : public SQObject + | ^~~~~~~~~~~ +===> HOSTCXX squirrel/squirrel/sqfuncstate.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqfuncstate.o squirrel/squirrel/sqfuncstate.cc +In file included from squirrel/squirrel/sqcompiler.cc:15: +squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': +squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~ In file included from squirrel/squirrel/sqdebug.cc:6: squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] @@ -20707,10 +20770,9 @@ squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } | ^~~~~~~~~~~~~~~ -===> HOSTCXX squirrel/squirrel/sqfuncstate.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqfuncstate.o squirrel/squirrel/sqfuncstate.cc -===> HOSTCXX squirrel/squirrel/sqlexer.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqlexer.o squirrel/squirrel/sqlexer.cc +squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~~~~~~~~~~~~~~ squirrel/squirrel/sqfuncstate.cc: In member function 'SQFunctionProto* SQFuncState::BuildProto()': squirrel/squirrel/sqfuncstate.cc:618:101: warning: implicitly-declared 'SQOuterVar& SQOuterVar::operator=(const SQOuterVar&)' is deprecated [-Wdeprecated-copy] 618 | for(SQUnsignedInteger no = 0; no < _outervalues.size(); no++) f->_outervalues[no] = _outervalues[no]; @@ -20726,6 +20788,15 @@ squirrel/squirrel/sqfuncproto.h:36:2: note: because 'SQLocalVarInfo' has user-provided 'SQLocalVarInfo::SQLocalVarInfo(const SQLocalVarInfo&)' 36 | SQLocalVarInfo(const SQLocalVarInfo &lvi) | ^~~~~~~~~~~~~~ +squirrel/squirrel/sqcompiler.cc: In member function 'void SQCompiler::ParseTableOrClass(SQInteger, SQInteger)': +squirrel/squirrel/sqcompiler.cc:982:5: warning: this statement may fall through [-Wimplicit-fallthrough=] + 982 | if(separator == ',') { //only works for tables + | ^~ +squirrel/squirrel/sqcompiler.cc:987:4: note: here + 987 | default : + | ^~~~~~~ +===> HOSTCXX squirrel/squirrel/sqlexer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqlexer.o squirrel/squirrel/sqlexer.cc squirrel/squirrel/sqlexer.cc: In member function 'void SQLexer::LexBlockComment()': squirrel/squirrel/sqlexer.cc:118:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 118 | case SQUIRREL_EOB: Error(_SC("missing \"*/\" in comment")); @@ -20760,6 +20831,14 @@ squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } | ^~~~~~~~~~~~~~~ +In file included from squirrel/squirrel/sqstate.cc:6: +squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': +squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~ +squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' + 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } + | ^~~~~~~~~~~~~~~ squirrel/squirrel/sqobject.cc: In static member function 'static bool SQFunctionProto::Load(SQVM*, SQUserPointer, SQREADFUNC, SQObjectPtr&)': squirrel/squirrel/sqobject.cc:519:60: warning: implicitly-declared 'SQOuterVar& SQOuterVar::operator=(const SQOuterVar&)' is deprecated [-Wdeprecated-copy] 519 | f->_outervalues[i] = SQOuterVar(name,o, (SQOuterType)type); @@ -20788,16 +20867,6 @@ squirrel/squirrel/sqobject.h:206:8: note: 'struct SQObjectPtr' declared here 206 | struct SQObjectPtr : public SQObject | ^~~~~~~~~~~ -===> HOSTCXX squirrel/squirrel/sqtable.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqtable.o squirrel/squirrel/sqtable.cc -In file included from squirrel/squirrel/sqstate.cc:6: -squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': -squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~ -squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' - 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } - | ^~~~~~~~~~~~~~~ In file included from squirrel/squirrel/sqobject.h:5, from squirrel/squirrel/sqpcheader.h:17, from squirrel/squirrel/sqstate.cc:4: @@ -20811,10 +20880,8 @@ squirrel/squirrel/sqobject.h:206:8: note: 'struct SQObjectPtr' declared here 206 | struct SQObjectPtr : public SQObject | ^~~~~~~~~~~ -===> HOSTCXX squirrel/squirrel/sqvm.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqvm.o squirrel/squirrel/sqvm.cc -===> HOSTCXX unicode.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/unicode.o unicode.cc +===> HOSTCXX squirrel/squirrel/sqtable.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqtable.o squirrel/squirrel/sqtable.cc In file included from squirrel/squirrel/sqtable.cc:5: squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] @@ -20823,6 +20890,8 @@ squirrel/squirrel/sqvm.h:22:2: note: because 'SQExceptionTrap' has user-provided 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)' 22 | SQExceptionTrap(const SQExceptionTrap &et) { (*this) = et; } | ^~~~~~~~~~~~~~~ +===> HOSTCXX squirrel/squirrel/sqvm.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/squirrel/squirrel/sqvm.o squirrel/squirrel/sqvm.cc In file included from squirrel/squirrel/sqvm.cc:9: squirrel/squirrel/sqvm.h: In copy constructor 'SQExceptionTrap::SQExceptionTrap(const SQExceptionTrap&)': squirrel/squirrel/sqvm.h:22:57: warning: implicitly-declared 'SQExceptionTrap& SQExceptionTrap::operator=(const SQExceptionTrap&)' is deprecated [-Wdeprecated-copy] @@ -20892,6 +20961,8 @@ squirrel/squirrel/sqvm.cc:1398:2: note: here 1398 | case OT_INSTANCE: | ^~~~ +===> HOSTCXX unicode.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/unicode.o unicode.cc ===> HOSTCXX utils/cbuffer_t.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/utils/cbuffer_t.o utils/cbuffer_t.cc ===> HOSTCXX utils/csv.cc @@ -20900,6 +20971,10 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/utils/log.o utils/log.cc ===> HOSTCXX utils/searchfolder.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/utils/searchfolder.o utils/searchfolder.cc +===> HOSTCXX utils/sha1.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/utils/sha1.o utils/sha1.cc +===> HOSTCXX utils/simrandom.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/utils/simrandom.o utils/simrandom.cc In file included from utils/../gui/components/gui_container.h:23, from utils/../gui/components/gui_aligned_container.h:4, from utils/../gui/gui_frame.h:20, @@ -20975,10 +21050,6 @@ utils/../gui/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ -===> HOSTCXX utils/sha1.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/utils/sha1.o utils/sha1.cc -===> HOSTCXX utils/simrandom.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/utils/simrandom.o utils/simrandom.cc ===> HOSTCXX utils/simstring.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/utils/simstring.o utils/simstring.cc ===> HOSTCXX utils/simthread.cc @@ -21005,17 +21076,6 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/vehicle/simvehicle.o vehicle/simvehicle.cc ===> HOSTCXX simsys_s2.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simsys_s2.o simsys_s2.cc -In file included from vehicle/simroadtraffic.cc:20: -vehicle/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': -vehicle/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from vehicle/../convoihandle_t.h:4, - from vehicle/../simworld.h:20, - from vehicle/simroadtraffic.cc:15: -vehicle/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ In file included from vehicle/simvehicle.cc:30: vehicle/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': vehicle/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -21038,6 +21098,17 @@ vehicle/../boden/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ +In file included from vehicle/simroadtraffic.cc:20: +vehicle/../simconvoi.h: In member function 'void convoi_t::set_update_line(linehandle_t)': +vehicle/../simconvoi.h:830:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from vehicle/../convoihandle_t.h:4, + from vehicle/../simworld.h:20, + from vehicle/simroadtraffic.cc:15: +vehicle/../tpl/quickstone_tpl.h:185:2: note: because 'quickstone_tpl' has user-provided 'quickstone_tpl::quickstone_tpl(const quickstone_tpl&) [with T = simline_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ In file included from vehicle/simvehicle.cc:36: vehicle/../simware.h: In member function 'void ware_t::set_ziel(const halthandle_t&)': vehicle/../simware.h:66:57: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -21528,8 +21599,8 @@ ===> CXX ../descriptor/writer/citycar_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/citycar_writer-makeobj.o ../descriptor/writer/citycar_writer.cc ===> CXX ../descriptor/writer/crossing_writer.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/crossing_writer-makeobj.o ../descriptor/writer/crossing_writer.cc ===> CXX ../descriptor/writer/factory_writer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/crossing_writer-makeobj.o ../descriptor/writer/crossing_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/factory_writer-makeobj.o ../descriptor/writer/factory_writer.cc ===> CXX ../descriptor/writer/get_climate.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/get_climate-makeobj.o ../descriptor/writer/get_climate.cc @@ -21537,12 +21608,12 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/get_waytype-makeobj.o ../descriptor/writer/get_waytype.cc ===> CXX ../descriptor/writer/good_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/good_writer-makeobj.o ../descriptor/writer/good_writer.cc +===> CXX ../descriptor/writer/groundobj_writer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/groundobj_writer-makeobj.o ../descriptor/writer/groundobj_writer.cc ../descriptor/writer/factory_writer.cc: In member function 'virtual std::string factory_writer_t::get_node_name(FILE*) const': ../descriptor/writer/factory_writer.cc:305:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | fread(&node, sizeof(node), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> CXX ../descriptor/writer/groundobj_writer.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/groundobj_writer-makeobj.o ../descriptor/writer/groundobj_writer.cc ===> CXX ../descriptor/writer/ground_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/ground_writer-makeobj.o ../descriptor/writer/ground_writer.cc ===> CXX ../descriptor/writer/image_writer.cc @@ -21551,6 +21622,8 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/imagelist2d_writer-makeobj.o ../descriptor/writer/imagelist2d_writer.cc ===> CXX ../descriptor/writer/imagelist_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/imagelist_writer-makeobj.o ../descriptor/writer/imagelist_writer.cc +===> CXX ../descriptor/writer/obj_node.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/obj_node-makeobj.o ../descriptor/writer/obj_node.cc In file included from ../descriptor/writer/image_writer.cc:10: ../descriptor/writer/image_writer.cc: In member function 'void image_writer_t::write_obj(FILE*, obj_node_t&, std::string, uint32)': ../descriptor/writer/../../macros.h:20:63: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class image_t'; use assignment or value-initialization instead [-Wclass-memaccess] @@ -21602,8 +21675,6 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> CXX ../descriptor/writer/obj_node.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/obj_node-makeobj.o ../descriptor/writer/obj_node.cc ===> CXX ../descriptor/writer/obj_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/obj_writer-makeobj.o ../descriptor/writer/obj_writer.cc ===> CXX ../descriptor/writer/pedestrian_writer.cc @@ -21612,12 +21683,6 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/roadsign_writer-makeobj.o ../descriptor/writer/roadsign_writer.cc ===> CXX ../descriptor/writer/root_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/root_writer-makeobj.o ../descriptor/writer/root_writer.cc -===> CXX ../descriptor/writer/sim_writer.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/sim_writer-makeobj.o ../descriptor/writer/sim_writer.cc -../descriptor/writer/obj_writer.cc: In member function 'std::string obj_writer_t::name_from_next_node(FILE*) const': -../descriptor/writer/obj_writer.cc:139:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 139 | fread(buf, node.size, 1, fp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../descriptor/writer/obj_node.cc: In static member function 'static void obj_node_t::read_node(FILE*, obj_node_info_t&)': ../descriptor/writer/obj_node.cc:34:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | fread(&u32, 4, 1, fp); @@ -21631,12 +21696,10 @@ ../descriptor/writer/obj_node.cc:41:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | fread(&u32, 4, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~ +===> CXX ../descriptor/writer/sim_writer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/sim_writer-makeobj.o ../descriptor/writer/sim_writer.cc ===> CXX ../descriptor/writer/skin_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/skin_writer-makeobj.o ../descriptor/writer/skin_writer.cc -===> CXX ../descriptor/writer/sound_writer.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/sound_writer-makeobj.o ../descriptor/writer/sound_writer.cc -===> CXX ../descriptor/writer/text_writer.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/text_writer-makeobj.o ../descriptor/writer/text_writer.cc ../descriptor/writer/root_writer.cc: In member function 'bool root_writer_t::do_dump(const char*)': ../descriptor/writer/root_writer.cc:157:9: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | fread(&version, sizeof(version), 1, infp); @@ -21657,39 +21720,47 @@ ../descriptor/writer/root_writer.cc:469:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 469 | fread(buf, info.size, 1, infp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +../descriptor/writer/obj_writer.cc: In member function 'std::string obj_writer_t::name_from_next_node(FILE*) const': +../descriptor/writer/obj_writer.cc:139:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 139 | fread(buf, node.size, 1, fp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +===> CXX ../descriptor/writer/sound_writer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/sound_writer-makeobj.o ../descriptor/writer/sound_writer.cc +===> CXX ../descriptor/writer/text_writer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/text_writer-makeobj.o ../descriptor/writer/text_writer.cc ===> CXX ../descriptor/writer/tree_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/tree_writer-makeobj.o ../descriptor/writer/tree_writer.cc ===> CXX ../descriptor/writer/tunnel_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/tunnel_writer-makeobj.o ../descriptor/writer/tunnel_writer.cc -../descriptor/writer/text_writer.cc: In member function 'virtual void text_writer_t::dump_node(FILE*, const obj_node_info_t&)': -../descriptor/writer/text_writer.cc:27:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 27 | fread(buf, node.size, 1, infp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX ../descriptor/writer/vehicle_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/vehicle_writer-makeobj.o ../descriptor/writer/vehicle_writer.cc ===> CXX ../descriptor/writer/way_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/way_writer-makeobj.o ../descriptor/writer/way_writer.cc ===> CXX ../descriptor/writer/way_obj_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/way_obj_writer-makeobj.o ../descriptor/writer/way_obj_writer.cc +../descriptor/writer/text_writer.cc: In member function 'virtual void text_writer_t::dump_node(FILE*, const obj_node_info_t&)': +../descriptor/writer/text_writer.cc:27:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 27 | fread(buf, node.size, 1, infp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX ../descriptor/writer/xref_writer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/writer/xref_writer-makeobj.o ../descriptor/writer/xref_writer.cc ===> CXX ../utils/dr_rdpng.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/utils/dr_rdpng-makeobj.o ../utils/dr_rdpng.cc -../descriptor/writer/xref_writer.cc: In member function 'virtual void xref_writer_t::dump_node(FILE*, const obj_node_info_t&)': -../descriptor/writer/xref_writer.cc:38:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 38 | fread(buf, node.size, 1, infp); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +===> CXX ../descriptor/image.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/image-makeobj.o ../descriptor/image.cc +===> CXX ../dataobj/freelist.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/dataobj/freelist-makeobj.o ../dataobj/freelist.cc ../descriptor/writer/way_obj_writer.cc: In member function 'virtual void way_obj_writer_t::write_obj(FILE*, obj_node_t&, tabfileobj_t&)': ../descriptor/writer/way_obj_writer.cc:60:22: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 60 | for (ribi = 0; ribi < lengthof(ribi_codes); ribi++) { -===> CXX ../descriptor/image.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/descriptor/image-makeobj.o ../descriptor/image.cc ../utils/dr_rdpng.cc: In function 'bool load_block(unsigned char**, unsigned int*, unsigned int*, const char*, int)': ../utils/dr_rdpng.cc:176:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 176 | while (ent = readdir(dir)) { | ~~~~^~~~~~~~~~~~~~ -===> CXX ../dataobj/freelist.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/dataobj/freelist-makeobj.o ../dataobj/freelist.cc +../descriptor/writer/xref_writer.cc: In member function 'virtual void xref_writer_t::dump_node(FILE*, const obj_node_info_t&)': +../descriptor/writer/xref_writer.cc:38:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 38 | fread(buf, node.size, 1, infp); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ===> CXX ../simdebug.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -DMAKEOBJ -O3 -fno-schedule-insns -DNDEBUG -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -c -MMD -o ..//build/simutrans-121.0/makeobj/simdebug-makeobj.o ../simdebug.cc ===> CXX ../simmem.cc @@ -21770,10 +21841,10 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'simutrans' in '../simutrans_121.0-1_arm64.deb'. -dpkg-deb: building package 'simutrans-data' in '../simutrans-data_121.0-1_all.deb'. -dpkg-deb: building package 'simutrans-makeobj' in '../simutrans-makeobj_121.0-1_arm64.deb'. dpkg-deb: building package 'simutrans-dbgsym' in '../simutrans-dbgsym_121.0-1_arm64.deb'. +dpkg-deb: building package 'simutrans-makeobj' in '../simutrans-makeobj_121.0-1_arm64.deb'. dpkg-deb: building package 'simutrans-makeobj-dbgsym' in '../simutrans-makeobj-dbgsym_121.0-1_arm64.deb'. +dpkg-deb: building package 'simutrans-data' in '../simutrans-data_121.0-1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../simutrans_121.0-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -21781,12 +21852,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/24431/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/24431/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/21363 and its subdirectories -I: Current time: Mon Aug 9 20:18:10 -12 2021 -I: pbuilder-time-stamp: 1628583490 +I: removing directory /srv/workspace/pbuilder/24431 and its subdirectories +I: Current time: Tue Sep 13 04:48:46 +14 2022 +I: pbuilder-time-stamp: 1662994126