Diff of the two buildlogs: -- --- b1/build.log 2022-02-09 23:47:33.182342839 +0000 +++ b2/build.log 2022-02-09 23:49:29.242763665 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 9 11:44:47 -12 2022 -I: pbuilder-time-stamp: 1644450287 +I: Current time: Wed Mar 15 20:10:34 +14 2023 +I: pbuilder-time-stamp: 1678860634 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.HTsHyOFv/trustedkeys.kbx': General error -gpgv: Signature made Sat May 2 08:42:07 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.XI5391ln/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/677459/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2492990/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2492990/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2492990/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='fccefe70c01f4fa19129f0c963eec1c1' - 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='677459' - PS1='# ' - PS2='> ' + INVOCATION_ID=56a1175a5f904c2884e5e0b5de1795a2 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2492990 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.Q634iq5MRM/pbuilderrc_WOnh --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Q634iq5MRM/b1 --logfile b1/build.log simutrans_121.0-1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Q634iq5MRM/pbuilderrc_DOBI --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Q634iq5MRM/b2 --logfile b2/build.log simutrans_121.0-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 6 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/677459/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Mar 15 20:10 sh -> bash + lrwxrwxrwx 1 root root 4 Mar 13 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/2492990/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -422,7 +456,7 @@ Get: 209 http://deb.debian.org/debian bullseye/main amd64 libsdl2-mixer-2.0-0 amd64 2.0.4+dfsg1-3 [64.9 kB] Get: 210 http://deb.debian.org/debian bullseye/main amd64 libsdl2-mixer-dev amd64 2.0.4+dfsg1-3 [81.4 kB] Get: 211 http://deb.debian.org/debian bullseye/main amd64 quilt all 0.66-2.1 [319 kB] -Fetched 90.3 MB in 1s (83.2 MB/s) +Fetched 90.3 MB in 1s (97.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19655 files and directories currently installed.) @@ -1289,7 +1323,8 @@ Building tag database... -> Finished parsing the build-deps 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: Name or service not known +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 @@ -1303,7 +1338,7 @@ dh_quilt_patch File series fully applied, ends at patch 0110-path_max.patch dh_auto_clean - make -j15 clean + make -j16 clean make[2]: Entering directory '/build/simutrans-121.0' ===> Cleaning up rm -f /build/simutrans-121.0/clipboard_internal.o /build/simutrans-121.0/bauer/brueckenbauer.o /build/simutrans-121.0/bauer/fabrikbauer.o /build/simutrans-121.0/bauer/goods_manager.o /build/simutrans-121.0/bauer/hausbauer.o /build/simutrans-121.0/bauer/tunnelbauer.o /build/simutrans-121.0/bauer/vehikelbauer.o /build/simutrans-121.0/bauer/wegbauer.o /build/simutrans-121.0/boden/boden.o /build/simutrans-121.0/boden/brueckenboden.o /build/simutrans-121.0/boden/fundament.o /build/simutrans-121.0/boden/grund.o /build/simutrans-121.0/boden/monorailboden.o /build/simutrans-121.0/boden/tunnelboden.o /build/simutrans-121.0/boden/wasser.o /build/simutrans-121.0/boden/wege/kanal.o /build/simutrans-121.0/boden/wege/maglev.o /build/simutrans-121.0/boden/wege/monorail.o /build/simutrans-121.0/boden/wege/narrowgauge.o /build/simutrans-121.0/boden/wege/runway.o /build/simutrans-121.0/boden/wege/schiene.o /build/simutrans-121.0/boden/wege/strasse.o /build/simutrans-121.0/boden/wege/weg.o /build/simutrans-121.0/dataobj/crossing_logic.o /build/simutrans-121.0/dataobj/environment.o /build/simutrans-121.0/dataobj/freelist.o /build/simutrans-121.0/dataobj/gameinfo.o /build/simutrans-121.0/dataobj/height_map_loader.o /build/simutrans-121.0/dataobj/koord.o /build/simutrans-121.0/dataobj/koord3d.o /build/simutrans-121.0/dataobj/loadsave.o /build/simutrans-121.0/dataobj/marker.o /build/simutrans-121.0/dataobj/objlist.o /build/simutrans-121.0/dataobj/powernet.o /build/simutrans-121.0/dataobj/records.o /build/simutrans-121.0/dataobj/rect.o /build/simutrans-121.0/dataobj/ribi.o /build/simutrans-121.0/dataobj/route.o /build/simutrans-121.0/dataobj/scenario.o /build/simutrans-121.0/dataobj/schedule.o /build/simutrans-121.0/dataobj/settings.o /build/simutrans-121.0/dataobj/tabfile.o /build/simutrans-121.0/dataobj/translator.o /build/simutrans-121.0/descriptor/bridge_desc.o /build/simutrans-121.0/descriptor/building_desc.o /build/simutrans-121.0/descriptor/factory_desc.o /build/simutrans-121.0/descriptor/goods_desc.o /build/simutrans-121.0/descriptor/ground_desc.o /build/simutrans-121.0/descriptor/image.o /build/simutrans-121.0/descriptor/obj_base_desc.o /build/simutrans-121.0/descriptor/reader/bridge_reader.o /build/simutrans-121.0/descriptor/reader/building_reader.o /build/simutrans-121.0/descriptor/reader/citycar_reader.o /build/simutrans-121.0/descriptor/reader/crossing_reader.o /build/simutrans-121.0/descriptor/reader/factory_reader.o /build/simutrans-121.0/descriptor/reader/good_reader.o /build/simutrans-121.0/descriptor/reader/ground_reader.o /build/simutrans-121.0/descriptor/reader/groundobj_reader.o /build/simutrans-121.0/descriptor/reader/image_reader.o /build/simutrans-121.0/descriptor/reader/imagelist2d_reader.o /build/simutrans-121.0/descriptor/reader/imagelist_reader.o /build/simutrans-121.0/descriptor/reader/obj_reader.o /build/simutrans-121.0/descriptor/reader/pedestrian_reader.o /build/simutrans-121.0/descriptor/reader/roadsign_reader.o /build/simutrans-121.0/descriptor/reader/root_reader.o /build/simutrans-121.0/descriptor/reader/sim_reader.o /build/simutrans-121.0/descriptor/reader/skin_reader.o /build/simutrans-121.0/descriptor/reader/sound_reader.o /build/simutrans-121.0/descriptor/reader/text_reader.o /build/simutrans-121.0/descriptor/reader/tree_reader.o /build/simutrans-121.0/descriptor/reader/tunnel_reader.o /build/simutrans-121.0/descriptor/reader/vehicle_reader.o /build/simutrans-121.0/descriptor/reader/way_obj_reader.o /build/simutrans-121.0/descriptor/reader/way_reader.o /build/simutrans-121.0/descriptor/reader/xref_reader.o /build/simutrans-121.0/descriptor/sound_desc.o /build/simutrans-121.0/descriptor/tunnel_desc.o /build/simutrans-121.0/descriptor/vehicle_desc.o /build/simutrans-121.0/descriptor/way_desc.o /build/simutrans-121.0/display/font.o /build/simutrans-121.0/display/simgraph16.o /build/simutrans-121.0/display/simview.o /build/simutrans-121.0/display/viewport.o /build/simutrans-121.0/finder/placefinder.o /build/simutrans-121.0/freight_list_sorter.o /build/simutrans-121.0/gui/ai_option_t.o /build/simutrans-121.0/gui/ai_selector.o /build/simutrans-121.0/gui/banner.o /build/simutrans-121.0/gui/base_info.o /build/simutrans-121.0/gui/baum_edit.o /build/simutrans-121.0/gui/city_info.o /build/simutrans-121.0/gui/citybuilding_edit.o /build/simutrans-121.0/gui/citylist_frame_t.o /build/simutrans-121.0/gui/citylist_stats_t.o /build/simutrans-121.0/gui/climates.o /build/simutrans-121.0/gui/components/gui_aligned_container.o /build/simutrans-121.0/gui/components/gui_building.o /build/simutrans-121.0/gui/components/gui_button.o /build/simutrans-121.0/gui/components/gui_button_to_chart.o /build/simutrans-121.0/gui/components/gui_chart.o /build/simutrans-121.0/gui/components/gui_colorbox.o /build/simutrans-121.0/gui/components/gui_combobox.o /build/simutrans-121.0/gui/components/gui_container.o /build/simutrans-121.0/gui/components/gui_convoiinfo.o /build/simutrans-121.0/gui/components/gui_divider.o /build/simutrans-121.0/gui/components/gui_fixedwidth_textarea.o /build/simutrans-121.0/gui/components/gui_flowtext.o /build/simutrans-121.0/gui/components/gui_image.o /build/simutrans-121.0/gui/components/gui_image_list.o /build/simutrans-121.0/gui/components/gui_component.o /build/simutrans-121.0/gui/components/gui_label.o /build/simutrans-121.0/gui/components/gui_map_preview.o /build/simutrans-121.0/gui/components/gui_numberinput.o /build/simutrans-121.0/gui/components/gui_obj_view_t.o /build/simutrans-121.0/gui/components/gui_scrollbar.o /build/simutrans-121.0/gui/components/gui_scrolled_list.o /build/simutrans-121.0/gui/components/gui_scrollpane.o /build/simutrans-121.0/gui/components/gui_speedbar.o /build/simutrans-121.0/gui/components/gui_tab_panel.o /build/simutrans-121.0/gui/components/gui_textarea.o /build/simutrans-121.0/gui/components/gui_textinput.o /build/simutrans-121.0/gui/components/gui_world_view_t.o /build/simutrans-121.0/gui/convoi_detail_t.o /build/simutrans-121.0/gui/convoi_filter_frame.o /build/simutrans-121.0/gui/convoi_frame.o /build/simutrans-121.0/gui/convoi_info_t.o /build/simutrans-121.0/gui/convoy_item.o /build/simutrans-121.0/gui/curiosity_edit.o /build/simutrans-121.0/gui/curiositylist_frame_t.o /build/simutrans-121.0/gui/curiositylist_stats_t.o /build/simutrans-121.0/gui/depot_frame.o /build/simutrans-121.0/gui/display_settings.o /build/simutrans-121.0/gui/enlarge_map_frame_t.o /build/simutrans-121.0/gui/extend_edit.o /build/simutrans-121.0/gui/fabrik_info.o /build/simutrans-121.0/gui/factory_chart.o /build/simutrans-121.0/gui/factory_edit.o /build/simutrans-121.0/gui/factorylist_frame_t.o /build/simutrans-121.0/gui/factorylist_stats_t.o /build/simutrans-121.0/gui/goods_frame_t.o /build/simutrans-121.0/gui/goods_stats_t.o /build/simutrans-121.0/gui/ground_info.o /build/simutrans-121.0/gui/gui_frame.o /build/simutrans-121.0/gui/gui_theme.o /build/simutrans-121.0/gui/halt_info.o /build/simutrans-121.0/gui/halt_list_filter_frame.o /build/simutrans-121.0/gui/halt_list_frame.o /build/simutrans-121.0/gui/halt_list_stats.o /build/simutrans-121.0/gui/headquarter_info.o /build/simutrans-121.0/gui/help_frame.o /build/simutrans-121.0/gui/jump_frame.o /build/simutrans-121.0/gui/minimap.o /build/simutrans-121.0/gui/kennfarbe.o /build/simutrans-121.0/gui/label_info.o /build/simutrans-121.0/gui/labellist_frame_t.o /build/simutrans-121.0/gui/labellist_stats_t.o /build/simutrans-121.0/gui/line_item.o /build/simutrans-121.0/gui/line_management_gui.o /build/simutrans-121.0/gui/load_relief_frame.o /build/simutrans-121.0/gui/loadfont_frame.o /build/simutrans-121.0/gui/loadsave_frame.o /build/simutrans-121.0/gui/map_frame.o /build/simutrans-121.0/gui/message_frame_t.o /build/simutrans-121.0/gui/message_option_t.o /build/simutrans-121.0/gui/message_stats_t.o /build/simutrans-121.0/gui/messagebox.o /build/simutrans-121.0/gui/money_frame.o /build/simutrans-121.0/gui/obj_info.o /build/simutrans-121.0/gui/optionen.o /build/simutrans-121.0/gui/pakselector.o /build/simutrans-121.0/gui/password_frame.o /build/simutrans-121.0/gui/player_frame_t.o /build/simutrans-121.0/gui/privatesign_info.o /build/simutrans-121.0/gui/savegame_frame.o /build/simutrans-121.0/gui/scenario_frame.o /build/simutrans-121.0/gui/scenario_info.o /build/simutrans-121.0/gui/schedule_gui.o /build/simutrans-121.0/gui/schedule_list.o /build/simutrans-121.0/gui/server_frame.o /build/simutrans-121.0/gui/settings_frame.o /build/simutrans-121.0/gui/settings_stats.o /build/simutrans-121.0/gui/signal_spacing.o /build/simutrans-121.0/gui/simwin.o /build/simutrans-121.0/gui/sound_frame.o /build/simutrans-121.0/gui/sprachen.o /build/simutrans-121.0/gui/station_building_select.o /build/simutrans-121.0/gui/themeselector.o /build/simutrans-121.0/gui/tool_selector.o /build/simutrans-121.0/gui/trafficlight_info.o /build/simutrans-121.0/gui/welt.o /build/simutrans-121.0/network/checksum.o /build/simutrans-121.0/network/memory_rw.o /build/simutrans-121.0/network/network.o /build/simutrans-121.0/network/network_address.o /build/simutrans-121.0/network/network_cmd.o /build/simutrans-121.0/network/network_cmd_ingame.o /build/simutrans-121.0/network/network_cmd_scenario.o /build/simutrans-121.0/network/network_cmp_pakset.o /build/simutrans-121.0/network/network_file_transfer.o /build/simutrans-121.0/network/network_packet.o /build/simutrans-121.0/network/network_socket_list.o /build/simutrans-121.0/network/pakset_info.o /build/simutrans-121.0/network/pwd_hash.o /build/simutrans-121.0/obj/baum.o /build/simutrans-121.0/obj/bruecke.o /build/simutrans-121.0/obj/crossing.o /build/simutrans-121.0/obj/field.o /build/simutrans-121.0/obj/gebaeude.o /build/simutrans-121.0/obj/groundobj.o /build/simutrans-121.0/obj/label.o /build/simutrans-121.0/obj/leitung2.o /build/simutrans-121.0/obj/pillar.o /build/simutrans-121.0/obj/roadsign.o /build/simutrans-121.0/obj/signal.o /build/simutrans-121.0/obj/tunnel.o /build/simutrans-121.0/obj/wayobj.o /build/simutrans-121.0/obj/wolke.o /build/simutrans-121.0/obj/zeiger.o /build/simutrans-121.0/old_blockmanager.o /build/simutrans-121.0/player/ai.o /build/simutrans-121.0/player/ai_goods.o /build/simutrans-121.0/player/ai_passenger.o /build/simutrans-121.0/player/ai_scripted.o /build/simutrans-121.0/player/finance.o /build/simutrans-121.0/player/simplay.o /build/simutrans-121.0/script/api/api_city.o /build/simutrans-121.0/script/api/api_command.o /build/simutrans-121.0/script/api/api_const.o /build/simutrans-121.0/script/api/api_control.o /build/simutrans-121.0/script/api/api_convoy.o /build/simutrans-121.0/script/api/api_factory.o /build/simutrans-121.0/script/api/api_gui.o /build/simutrans-121.0/script/api/api_halt.o /build/simutrans-121.0/script/api/api_include.o /build/simutrans-121.0/script/api/api_line.o /build/simutrans-121.0/script/api/api_map_objects.o /build/simutrans-121.0/script/api/api_obj_desc.o /build/simutrans-121.0/script/api/api_obj_desc_base.o /build/simutrans-121.0/script/api/api_pathfinding.o /build/simutrans-121.0/script/api/api_player.o /build/simutrans-121.0/script/api/api_scenario.o /build/simutrans-121.0/script/api/api_schedule.o /build/simutrans-121.0/script/api/api_settings.o /build/simutrans-121.0/script/api/api_simple.o /build/simutrans-121.0/script/api/api_tiles.o /build/simutrans-121.0/script/api/api_world.o /build/simutrans-121.0/script/api/export_desc.o /build/simutrans-121.0/script/api/get_next.o /build/simutrans-121.0/script/api_class.o /build/simutrans-121.0/script/api_function.o /build/simutrans-121.0/script/api_param.o /build/simutrans-121.0/script/dynamic_string.o /build/simutrans-121.0/script/export_objs.o /build/simutrans-121.0/script/script.o /build/simutrans-121.0/simcity.o /build/simutrans-121.0/simconvoi.o /build/simutrans-121.0/simdebug.o /build/simutrans-121.0/simdepot.o /build/simutrans-121.0/simevent.o /build/simutrans-121.0/simfab.o /build/simutrans-121.0/simhalt.o /build/simutrans-121.0/siminteraction.o /build/simutrans-121.0/simintr.o /build/simutrans-121.0/simio.o /build/simutrans-121.0/simline.o /build/simutrans-121.0/simlinemgmt.o /build/simutrans-121.0/simloadingscreen.o /build/simutrans-121.0/simmain.o /build/simutrans-121.0/simmem.o /build/simutrans-121.0/simmenu.o /build/simutrans-121.0/simmesg.o /build/simutrans-121.0/simobj.o /build/simutrans-121.0/simplan.o /build/simutrans-121.0/simskin.o /build/simutrans-121.0/simsound.o /build/simutrans-121.0/simsys.o /build/simutrans-121.0/simticker.o /build/simutrans-121.0/simtool.o /build/simutrans-121.0/simware.o /build/simutrans-121.0/simworld.o /build/simutrans-121.0/squirrel/sq_extensions.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdaux.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdblob.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdio.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdmath.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdrex.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdstream.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdstring.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdsystem.o /build/simutrans-121.0/squirrel/squirrel/sqapi.o /build/simutrans-121.0/squirrel/squirrel/sqbaselib.o /build/simutrans-121.0/squirrel/squirrel/sqclass.o /build/simutrans-121.0/squirrel/squirrel/sqcompiler.o /build/simutrans-121.0/squirrel/squirrel/sqdebug.o /build/simutrans-121.0/squirrel/squirrel/sqfuncstate.o /build/simutrans-121.0/squirrel/squirrel/sqlexer.o /build/simutrans-121.0/squirrel/squirrel/sqmem.o /build/simutrans-121.0/squirrel/squirrel/sqobject.o /build/simutrans-121.0/squirrel/squirrel/sqstate.o /build/simutrans-121.0/squirrel/squirrel/sqtable.o /build/simutrans-121.0/squirrel/squirrel/sqvm.o /build/simutrans-121.0/unicode.o /build/simutrans-121.0/utils/cbuffer_t.o /build/simutrans-121.0/utils/csv.o /build/simutrans-121.0/utils/log.o /build/simutrans-121.0/utils/searchfolder.o /build/simutrans-121.0/utils/sha1.o /build/simutrans-121.0/utils/simrandom.o /build/simutrans-121.0/utils/simstring.o /build/simutrans-121.0/utils/simthread.o /build/simutrans-121.0/vehicle/movingobj.o /build/simutrans-121.0/vehicle/simpeople.o /build/simutrans-121.0/vehicle/simroadtraffic.o /build/simutrans-121.0/vehicle/simvehicle.o /build/simutrans-121.0/simsys_s2.o /build/simutrans-121.0/sound/sdl_mixer_sound.o /build/simutrans-121.0/music/sdl_midi.o @@ -1330,7 +1365,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/simutrans-121.0' dh_auto_build - make -j15 "INSTALL=install --strip-program=true" + make -j16 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/simutrans-121.0' ===> HOSTCXX clipboard_internal.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 @@ -1339,41 +1374,31 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 ===> HOSTCXX bauer/hausbauer.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/hausbauer.o bauer/hausbauer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 ===> HOSTCXX bauer/tunnelbauer.cc -===> HOSTCXX bauer/vehikelbauer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/hausbauer.o bauer/hausbauer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/tunnelbauer.o bauer/tunnelbauer.cc +===> HOSTCXX bauer/vehikelbauer.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 ===> 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 ===> 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/boden.o 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/brueckenboden.o boden/brueckenboden.cc ===> HOSTCXX boden/fundament.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/fundament.o boden/fundament.cc ===> HOSTCXX boden/grund.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/grund.o boden/grund.cc ===> HOSTCXX boden/monorailboden.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/monorailboden.o boden/monorailboden.cc ===> HOSTCXX boden/tunnelboden.cc -===> 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/monorailboden.o boden/monorailboden.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/tunnelboden.o boden/tunnelboden.cc +===> 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 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)': -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/../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; } - | ^~~~~~~~ +===> 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 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] @@ -1396,174 +1421,18 @@ 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/tunnelbauer.cc:14: -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/../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/minimap.h:4, - from bauer/hausbauer.cc:23: + from bauer/tunnelbauer.cc:14: 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/gui_frame.h:20, - 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/../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/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/../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/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/../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/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/../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: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/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/../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/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/../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/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/../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/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/../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/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 boden/grund.cc:11: boden/../simdepot.h: In member function 'void depot_t::set_last_selected_line(linehandle_t)': boden/../simdepot.h:220:81: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -1575,6 +1444,17 @@ 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/tunnelbauer.cc:14: +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/../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 boden/grund.cc:13: boden/../display/viewport.h: In member function 'void viewport_t::set_follow_convoi(convoihandle_t)': boden/../display/viewport.h:249:63: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] @@ -1586,17 +1466,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) {} | ^~~~~~~~~~~~~~ -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/components/gui_container.h:23, from bauer/../gui/components/gui_aligned_container.h:4, from bauer/../gui/gui_frame.h:20, @@ -1687,26 +1556,6 @@ 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/minimap.h:4, - from bauer/wegbauer.cc:68: -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/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../boden/wege/../../descriptor/image.h:10, - from bauer/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../boden/wege/weg.h:14, - from bauer/../boden/grund.h:19, - from bauer/../simplan.h:12, - from bauer/../simworld.h:32, - from bauer/wegbauer.cc: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; } - | ^~~~~~~~ -===> 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 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] @@ -1718,77 +1567,19 @@ 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: -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/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../boden/wege/../../descriptor/image.h:10, - from bauer/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../boden/wege/weg.h:14, - from bauer/../boden/grund.h:19, - from bauer/../simplan.h:12, - from bauer/../simworld.h:32, - from bauer/wegbauer.cc: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/../gui/gui_frame.h:20, - from bauer/../gui/tool_selector.h:14, - from bauer/wegbauer.cc:69: -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/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../boden/wege/../../descriptor/image.h:10, - from bauer/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../boden/wege/weg.h:14, - from bauer/../boden/grund.h:19, - from bauer/../simplan.h:12, - from bauer/../simworld.h:32, - from bauer/wegbauer.cc: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/../gui/gui_frame.h:20, - from bauer/../gui/tool_selector.h:14, - from bauer/wegbauer.cc:69: -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/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../boden/wege/../../descriptor/image.h:10, - from bauer/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../boden/wege/weg.h:14, - from bauer/../boden/grund.h:19, - from bauer/../simplan.h:12, - from bauer/../simworld.h:32, - from bauer/wegbauer.cc: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/../gui/gui_frame.h:20, - from bauer/../gui/tool_selector.h:14, - from bauer/wegbauer.cc:69: -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/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../boden/wege/../../descriptor/image.h:10, - from bauer/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../boden/wege/weg.h:14, - from bauer/../boden/grund.h:19, - from bauer/../simplan.h:12, - from bauer/../simworld.h:32, - from bauer/wegbauer.cc: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&)' +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, + from boden/../gui/base_info.h:4, + from boden/../gui/ground_info.h:18, + from boden/grund.cc:44: +boden/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +boden/../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/../display/simgraph.h:22, + from boden/grund.cc:12: +boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/brueckenbauer.cc:17: @@ -1803,39 +1594,44 @@ 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/wegbauer.cc:69: -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/../boden/wege/../../descriptor/../display/simgraph.h:22, - from bauer/../boden/wege/../../descriptor/image.h:10, - from bauer/../boden/wege/../../descriptor/image_list.h:10, - from bauer/../boden/wege/../../descriptor/way_desc.h:10, - from bauer/../boden/wege/weg.h:14, - from bauer/../boden/grund.h:19, - from bauer/../simplan.h:12, - from bauer/../simworld.h:32, - from bauer/wegbauer.cc: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&)' +===> 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 +In file included from boden/../gui/gui_frame.h:20, + from boden/../gui/base_info.h:4, + from boden/../gui/ground_info.h:18, + from boden/grund.cc:44: +boden/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': +boden/../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/../display/simgraph.h:22, + from boden/grund.cc:12: +boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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&)' +In file included from boden/../gui/gui_frame.h:20, + from boden/../gui/base_info.h:4, + from boden/../gui/ground_info.h:18, + from boden/grund.cc:44: +boden/../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/../display/simgraph.h:22, + from boden/grund.cc:12: +boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/../gui/gui_frame.h:20, + from boden/../gui/base_info.h:4, + from boden/../gui/ground_info.h:18, + from boden/grund.cc:44: +boden/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': +boden/../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/../display/simgraph.h:22, + from boden/grund.cc:12: +boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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, @@ -1860,6 +1656,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 boden/../gui/base_info.h:4, + from boden/../gui/ground_info.h:18, + from boden/grund.cc:44: +boden/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': +boden/../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/../display/simgraph.h:22, + from boden/grund.cc:12: +boden/../display/scr_coord.h:112:2: note: because 'scr_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))) { @@ -1871,20 +1679,45 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 586 | !allow_obsolete && vehicle_descriptor->is_retired(month_now))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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&)' +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: +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&)' + 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: +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&)' + 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: +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&)' 112 | scr_size( const scr_size& size ) { w = size.w; h=size.h; } | ^~~~~~~~ In file included from bauer/../gui/gui_frame.h:20, @@ -1946,6 +1779,19 @@ 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/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/../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/brueckenbauer.cc:24: bauer/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -1965,6 +1811,16 @@ 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 boden/grund.cc:45: +boden/../gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': +boden/../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 boden/../display/simgraph.h:22, + from boden/grund.cc:12: +boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/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] @@ -1983,279 +1839,32 @@ 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 boden/../gui/components/gui_container.h:23, - from boden/../gui/components/gui_aligned_container.h:4, - from boden/../gui/gui_frame.h:20, - from boden/../gui/base_info.h:4, - from boden/../gui/ground_info.h:18, - from boden/grund.cc:44: -boden/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -boden/../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/../display/simgraph.h:22, - from boden/grund.cc:12: -boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/../gui/gui_frame.h:20, - from boden/../gui/base_info.h:4, - from boden/../gui/ground_info.h:18, - from boden/grund.cc:44: -boden/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': -boden/../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/../display/simgraph.h:22, - from boden/grund.cc:12: -boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/../gui/gui_frame.h:20, - from boden/../gui/base_info.h:4, - from boden/../gui/ground_info.h:18, - from boden/grund.cc:44: -boden/../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/../display/simgraph.h:22, - from boden/grund.cc:12: -boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/../gui/gui_frame.h:20, - from boden/../gui/base_info.h:4, - from boden/../gui/ground_info.h:18, - from boden/grund.cc:44: -boden/../gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': -boden/../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/../display/simgraph.h:22, - from boden/grund.cc:12: -boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/../gui/base_info.h:4, - from boden/../gui/ground_info.h:18, - from boden/grund.cc:44: -boden/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': -boden/../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/../display/simgraph.h:22, - from boden/grund.cc:12: -boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/grund.cc:45: -boden/../gui/minimap.h: In member function 'void minimap_t::set_xy_offset_size(scr_coord, scr_size)': -boden/../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 boden/../display/simgraph.h:22, - from boden/grund.cc:12: -boden/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided '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/../boden/../dataobj/koord3d.h:7, - from bauer/../boden/grund.h:16, - from bauer/../boden/boden.h:11, - from bauer/hausbauer.cc:14: -bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -bauer/../boden/../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/../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 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/../boden/../dataobj/koord3d.h:7, - from bauer/../boden/grund.h:16, - from bauer/../boden/boden.h:11, - from bauer/hausbauer.cc:14: -bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../boden/../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/../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 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/../boden/../dataobj/koord3d.h:7, - from bauer/../boden/grund.h:16, - from bauer/../boden/boden.h:11, - from bauer/hausbauer.cc:14: -bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -bauer/../boden/../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/../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 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 = 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, - from bauer/hausbauer.cc:14: -bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../boden/../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/../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 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 = 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, - from bauer/hausbauer.cc:14: -bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../boden/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -bauer/../boden/../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/../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 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/../boden/../dataobj/koord3d.h:7, - from bauer/../boden/grund.h:16, - from bauer/../boden/boden.h:11, - from bauer/hausbauer.cc:14: -bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -bauer/../boden/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -bauer/../boden/../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/../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 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 = 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/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/fabrikbauer.cc:12: + 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::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) {} - | ^~~~~~~~~~~~~~ -===> 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 +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; } + | ^~~~~~~~ boden/grund.cc: In member function 'void grund_t::set_halt(halthandle_t)': boden/grund.cc:658:15: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 658 | this_halt = halt; @@ -2275,49 +1884,82 @@ 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 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) {} - | ^~~~~~~~~~~~~~ +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/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/../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/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/../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/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/../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/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/../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 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; @@ -2331,6 +1973,129 @@ bauer/vehikelbauer.cc:279:3: note: here 279 | case depot_frame_t::sb_retire_date: | ^~~~ +In file included from bauer/../gui/minimap.h:4, + from bauer/wegbauer.cc:68: +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/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../boden/wege/../../descriptor/image.h:10, + from bauer/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../boden/wege/weg.h:14, + from bauer/../boden/grund.h:19, + from bauer/../simplan.h:12, + from bauer/../simworld.h:32, + from bauer/wegbauer.cc: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/wegbauer.cc:68: +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/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../boden/wege/../../descriptor/image.h:10, + from bauer/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../boden/wege/weg.h:14, + from bauer/../boden/grund.h:19, + from bauer/../simplan.h:12, + from bauer/../simworld.h:32, + from bauer/wegbauer.cc: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/../gui/gui_frame.h:20, + from bauer/../gui/tool_selector.h:14, + from bauer/wegbauer.cc:69: +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/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../boden/wege/../../descriptor/image.h:10, + from bauer/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../boden/wege/weg.h:14, + from bauer/../boden/grund.h:19, + from bauer/../simplan.h:12, + from bauer/../simworld.h:32, + from bauer/wegbauer.cc: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/../gui/gui_frame.h:20, + from bauer/../gui/tool_selector.h:14, + from bauer/wegbauer.cc:69: +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/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../boden/wege/../../descriptor/image.h:10, + from bauer/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../boden/wege/weg.h:14, + from bauer/../boden/grund.h:19, + from bauer/../simplan.h:12, + from bauer/../simworld.h:32, + from bauer/wegbauer.cc: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/../gui/gui_frame.h:20, + from bauer/../gui/tool_selector.h:14, + from bauer/wegbauer.cc:69: +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/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../boden/wege/../../descriptor/image.h:10, + from bauer/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../boden/wege/weg.h:14, + from bauer/../boden/grund.h:19, + from bauer/../simplan.h:12, + from bauer/../simworld.h:32, + from bauer/wegbauer.cc: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; } + | ^~~~~~~~ +===> HOSTCXX boden/wege/monorail.cc +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) {} + | ^~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/monorail.o boden/wege/monorail.cc +In file included from bauer/../gui/tool_selector.h:14, + from bauer/wegbauer.cc:69: +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/../boden/wege/../../descriptor/../display/simgraph.h:22, + from bauer/../boden/wege/../../descriptor/image.h:10, + from bauer/../boden/wege/../../descriptor/image_list.h:10, + from bauer/../boden/wege/../../descriptor/way_desc.h:10, + from bauer/../boden/wege/weg.h:14, + from bauer/../boden/grund.h:19, + from bauer/../simplan.h:12, + from bauer/../simworld.h:32, + from bauer/wegbauer.cc: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/../simworld.h:24, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: @@ -2497,7 +2262,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/wege/monorail.cc In file included from boden/../obj/../dataobj/koord3d.h:7, from boden/../obj/../simobj.h:15, from boden/../obj/gebaeude.h:12, @@ -2534,21 +2298,294 @@ 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) {} | ^~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/monorail.o boden/wege/monorail.cc +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; } + | ^~~~~~~~ ===> HOSTCXX boden/wege/narrowgauge.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/narrowgauge.o boden/wege/narrowgauge.cc +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; } + | ^~~~~~~~ ===> HOSTCXX boden/wege/runway.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/runway.o boden/wege/runway.cc ===> HOSTCXX boden/wege/schiene.cc +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) {} + | ^~~~~~~~~~~~~~ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/schiene.o boden/wege/schiene.cc +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/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) {} + | ^~~~~~~~~~~~~~ ===> HOSTCXX boden/wege/strasse.cc +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) {} + | ^~~~~~~~~~~~~~ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 +In file included from bauer/../boden/../dataobj/koord3d.h:7, + from bauer/../boden/grund.h:16, + from bauer/../boden/boden.h:11, + from bauer/hausbauer.cc:14: +bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +bauer/../boden/../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/../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 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/../boden/../dataobj/koord3d.h:7, + from bauer/../boden/grund.h:16, + from bauer/../boden/boden.h:11, + from bauer/hausbauer.cc:14: +bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../boden/../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/../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 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/../boden/../dataobj/koord3d.h:7, + from bauer/../boden/grund.h:16, + from bauer/../boden/boden.h:11, + from bauer/hausbauer.cc:14: +bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +bauer/../boden/../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/../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 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 = 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, + from bauer/hausbauer.cc:14: +bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../boden/../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/../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 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 = 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, + from bauer/hausbauer.cc:14: +bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../boden/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +bauer/../boden/../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/../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 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/../boden/../dataobj/koord3d.h:7, + from bauer/../boden/grund.h:16, + from bauer/../boden/boden.h:11, + from bauer/hausbauer.cc:14: +bauer/../boden/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +bauer/../boden/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +bauer/../boden/../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/../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 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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ ===> 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 ===> 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 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] @@ -2560,50 +2597,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/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 -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(); - | ^ -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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -boden/wege/schiene.cc: In constructor 'schiene_t::schiene_t(loadsave_t*)': -boden/wege/schiene.cc:37:28: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 37 | reserved = convoihandle_t(); - | ^ -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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -boden/wege/schiene.cc: In member function 'bool schiene_t::reserve(convoihandle_t, ribi_t::ribi)': -boden/wege/schiene.cc:79:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 79 | reserved = c; - | ^ -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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -boden/wege/schiene.cc: In member function 'virtual bool schiene_t::unreserve(convoihandle_t)': -boden/wege/schiene.cc:109:29: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 109 | reserved = convoihandle_t(); - | ^ -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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ 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]': @@ -2649,6 +2644,48 @@ | ^~~~~~~~~~~~~~ ===> 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 +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(); + | ^ +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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +boden/wege/schiene.cc: In constructor 'schiene_t::schiene_t(loadsave_t*)': +boden/wege/schiene.cc:37:28: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 37 | reserved = convoihandle_t(); + | ^ +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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +boden/wege/schiene.cc: In member function 'bool schiene_t::reserve(convoihandle_t, ribi_t::ribi)': +boden/wege/schiene.cc:79:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 79 | reserved = c; + | ^ +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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +boden/wege/schiene.cc: In member function 'virtual bool schiene_t::unreserve(convoihandle_t)': +boden/wege/schiene.cc:109:29: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 109 | reserved = convoihandle_t(); + | ^ +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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +===> 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 In file included from boden/wege/../../dataobj/koord3d.h:7, from boden/wege/../../simobj.h:15, from boden/wege/weg.h:13, @@ -2747,12 +2784,31 @@ 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/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 ===> 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 +===> 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 +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 ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ 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)': @@ -2774,6 +2830,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/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 In file included from dataobj/../network/network_address.h:5, from dataobj/../network/network_socket_list.h:5, from dataobj/gameinfo.cc:11: @@ -2866,30 +2924,7 @@ 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) {} | ^~~~~~~~~~~~~~ -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/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 ===> HOSTCXX dataobj/powernet.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/powernet.o dataobj/powernet.cc ===> HOSTCXX dataobj/records.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 @@ -2901,8 +2936,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/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 -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/schedule.o dataobj/schedule.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] @@ -2933,8 +2966,15 @@ 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/schedule.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/schedule.o dataobj/schedule.cc ===> HOSTCXX dataobj/settings.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 +===> 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 +===> HOSTCXX descriptor/bridge_desc.cc 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] @@ -2946,6 +2986,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) {} | ^~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/bridge_desc.o descriptor/bridge_desc.cc +===> HOSTCXX descriptor/building_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/building_desc.o descriptor/building_desc.cc +===> HOSTCXX descriptor/factory_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/factory_desc.o descriptor/factory_desc.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]': @@ -3032,8 +3077,83 @@ 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/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/../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, @@ -3056,6 +3176,24 @@ 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; } + | ^~~~~~~~ In file included from dataobj/../gui/gui_frame.h:20, from dataobj/../gui/base_info.h:4, from dataobj/../gui/messagebox.h:4, @@ -3115,6 +3253,16 @@ 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/tabfile.cc: In member function 'const scr_size& tabfileobj_t::get_scr_size(const char*, scr_size)': +dataobj/tabfile.cc:123:8: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 123 | ret = def; + | ^~~ +In file included from dataobj/../descriptor/../display/simgraph.h:22, + from dataobj/../descriptor/image.h:10, + from dataobj/tabfile.cc:19: +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; } + | ^~~~~~~~ In file included from dataobj/../gui/base_info.h:4, from dataobj/../gui/messagebox.h:4, from dataobj/schedule.cc:13: @@ -3134,6 +3282,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; } | ^~~~~~~~ +===> HOSTCXX descriptor/goods_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/goods_desc.o descriptor/goods_desc.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] @@ -3145,10 +3295,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) {} | ^~~~~~~~~~~~~~ -===> 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 -===> HOSTCXX descriptor/bridge_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/bridge_desc.o descriptor/bridge_desc.cc 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]': @@ -3290,121 +3436,6 @@ 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) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX descriptor/building_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/building_desc.o descriptor/building_desc.cc -===> HOSTCXX descriptor/factory_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/factory_desc.o descriptor/factory_desc.cc -===> HOSTCXX descriptor/goods_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/goods_desc.o descriptor/goods_desc.cc -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/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); - | ~~~~~^~~~~~~~~~~~~~~~~~~ -dataobj/tabfile.cc: In member function 'const scr_size& tabfileobj_t::get_scr_size(const char*, scr_size)': -dataobj/tabfile.cc:123:8: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 123 | ret = def; - | ^~~ -In file included from dataobj/../descriptor/../display/simgraph.h:22, - from dataobj/../descriptor/image.h:10, - from dataobj/tabfile.cc:19: -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); @@ -3412,15 +3443,6 @@ 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)); | ^~~ -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()) { - | ^~~~~~ -descriptor/building_desc.cc:220:4: note: here - 220 | case depot: - | ^~~~ -===> HOSTCXX descriptor/ground_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/ground_desc.o descriptor/ground_desc.cc 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 ); @@ -3428,6 +3450,19 @@ dataobj/translator.cc:114:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | fread( str, 1, 2, f ); | ~~~~~^~~~~~~~~~~~~~~~~ +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); + | ~~~~~^~~~~~~~~~~~~~~~~~~ +===> HOSTCXX descriptor/ground_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/ground_desc.o descriptor/ground_desc.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()) { + | ^~~~~~ +descriptor/building_desc.cc:220:4: note: here + 220 | case depot: + | ^~~~ ===> 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 @@ -3440,6 +3475,14 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +===> 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/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); @@ -3448,22 +3491,14 @@ descriptor/reader/building_reader.cc:214:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 214 | fread(desc_buf, node.size, 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/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 -===> 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 ===> 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 ===> 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 +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/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/crossing_reader.cc: In member function 'virtual obj_desc_t* crossing_reader_t::read_node(FILE*, obj_node_info_t&)': @@ -3478,9 +3513,13 @@ g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/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/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/roadsign_reader.o descriptor/reader/roadsign_reader.cc +===> 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/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] @@ -3506,39 +3545,27 @@ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/roadsign_reader.o descriptor/reader/roadsign_reader.cc -===> 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/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/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/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/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); +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/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 -===> HOSTCXX descriptor/reader/tree_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/tree_reader.o descriptor/reader/tree_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/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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] @@ -3547,42 +3574,50 @@ 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/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 +===> 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/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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +===> HOSTCXX descriptor/reader/tree_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/tree_reader.o descriptor/reader/tree_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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +===> 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 ===> 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/vehicle_reader.o 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/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 +===> 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/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/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 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> 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/tree_reader.cc: In member function 'virtual obj_desc_t* tree_reader_t::read_node(FILE*, obj_node_info_t&)': -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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> 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 -===> 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/tunnel_reader.cc: In member function 'virtual obj_desc_t* tunnel_reader_t::read_node(FILE*, obj_node_info_t&)': -descriptor/reader/tunnel_reader.cc:62:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 62 | 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 +===> 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/tree_reader.cc: In member function 'virtual obj_desc_t* tree_reader_t::read_node(FILE*, obj_node_info_t&)': +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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -3644,6 +3679,8 @@ 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 display/simgraph16.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simgraph16.o display/simgraph16.cc In file included from descriptor/reader/../../bauer/../gui/depot_frame.h:15, from descriptor/reader/../../bauer/vehikelbauer.h:14, from descriptor/reader/vehicle_reader.cc:4: @@ -3658,10 +3695,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; } | ^~~~~~~~ -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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from descriptor/reader/../../bauer/vehikelbauer.h:14, from descriptor/reader/vehicle_reader.cc:4: descriptor/reader/../../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': @@ -3675,24 +3708,12 @@ descriptor/reader/../../bauer/../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 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 -===> 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/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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> HOSTCXX display/simgraph16.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simgraph16.o display/simgraph16.cc ===> HOSTCXX display/simview.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simview.o display/simview.cc -===> HOSTCXX display/viewport.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 -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/tunnel_reader.cc: In member function 'virtual obj_desc_t* tunnel_reader_t::read_node(FILE*, obj_node_info_t&)': +descriptor/reader/tunnel_reader.cc:62:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 62 | 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); @@ -3700,57 +3721,71 @@ descriptor/reader/xref_reader.cc:18:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fread(desc->name, 1, node.size - 4 - 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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +===> HOSTCXX display/viewport.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 ===> HOSTCXX 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/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 ===> 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 ===> 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 +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 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/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 display/simview.cc:12: +===> 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 +===> 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 +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] 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } | ^~~ In file included from display/../convoihandle_t.h:4, - from display/../simworld.h:20, - from display/simview.cc:9: + from display/viewport.h:15, + from display/viewport.cc:7: 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 display/viewport.cc:7: +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] 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 display/viewport.cc:7: + from display/../simworld.h:20, + from display/simview.cc:9: 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/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 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 -===> 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 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(); @@ -3771,71 +3806,87 @@ 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); + | ^~~~ 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/base_info.h:4, - from gui/base_info.cc:1: +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/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; } | ^~~~~~~~ +===> 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/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -3859,8 +3910,8 @@ 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/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/gui_frame.h:20, from gui/ai_option_t.h:11, from gui/ai_option_t.cc:20: @@ -3923,6 +3974,21 @@ 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/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/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)': @@ -3943,8 +4009,44 @@ 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/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/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; } + | ^~~~~~~~ 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] @@ -3967,27 +4069,20 @@ 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) {} | ^~~~~~~~~~~~~~ -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); - | ^~~~ -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: -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/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/savegame_frame.h:14, - from gui/ai_selector.h:10, - from gui/ai_selector.cc:9: + 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/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_button.h:16, from gui/banner.h:12, from gui/banner.cc:21: @@ -4008,50 +4103,6 @@ 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: -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&)' - 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: -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&)' - 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: -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&)' - 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: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -4125,103 +4176,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/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/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/baum_edit.h:8, - from gui/baum_edit.cc:28: -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/baum_edit.cc: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; } - | ^~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/gui_frame.h:20, - from gui/extend_edit.h:4, - from gui/baum_edit.h:8, - from gui/baum_edit.cc:28: -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/baum_edit.cc: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/gui_frame.h:20, - from gui/extend_edit.h:4, - from gui/baum_edit.h:8, - from gui/baum_edit.cc:28: -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/baum_edit.cc: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/gui_frame.h:20, - from gui/extend_edit.h:4, - from gui/baum_edit.h:8, - from gui/baum_edit.cc:28: -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/baum_edit.cc: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 dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, @@ -4286,25 +4240,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 gui/extend_edit.h:4, - from gui/baum_edit.h:8, - from gui/baum_edit.cc:28: -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/baum_edit.cc: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 dataobj/koord3d.h:7, from simobj.h:15, from simhalt.h:15, @@ -4339,22 +4274,12 @@ 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/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] - 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/city_info.cc:11: -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/city_info.h:14, - from gui/city_info.cc:19: + from gui/extend_edit.h:4, + from gui/baum_edit.h:8, + from gui/baum_edit.cc:28: 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; @@ -4367,13 +4292,14 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/city_info.cc:11: + from gui/baum_edit.cc: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/gui_frame.h:20, - from gui/city_info.h:14, - from gui/city_info.cc:19: + from gui/extend_edit.h:4, + from gui/baum_edit.h:8, + from gui/baum_edit.cc:28: 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; } @@ -4386,13 +4312,14 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/city_info.cc:11: + from gui/baum_edit.cc: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/gui_frame.h:20, - from gui/city_info.h:14, - from gui/city_info.cc:19: + from gui/extend_edit.h:4, + from gui/baum_edit.h:8, + from gui/baum_edit.cc:28: 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; } | ^~ @@ -4404,13 +4331,14 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/city_info.cc:11: + from gui/baum_edit.cc: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/gui_frame.h:20, - from gui/city_info.h:14, - from gui/city_info.cc:19: + from gui/extend_edit.h:4, + from gui/baum_edit.h:8, + from gui/baum_edit.cc:28: 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_; } @@ -4423,12 +4351,13 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/city_info.cc:11: + from gui/baum_edit.cc: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: +In file included from gui/extend_edit.h:4, + from gui/baum_edit.h:8, + from gui/baum_edit.cc:28: 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; } @@ -4441,12 +4370,67 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/city_info.cc:11: + from gui/baum_edit.cc: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; } | ^~~~~~~~ -===> 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/citylist_stats_t.h:13, + from gui/citylist_stats_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_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/citylist_stats_t.h:13, + from gui/citylist_stats_t.cc: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/citylist_stats_t.h:13, + from gui/citylist_stats_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/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/citylist_stats_t.h:13, + from gui/citylist_stats_t.cc: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/citylist_stats_t.h:13, + from gui/citylist_stats_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/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/citylist_stats_t.h:13, + from gui/citylist_stats_t.cc: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/citylist_stats_t.h:13, + from gui/citylist_stats_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/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/citylist_stats_t.h:13, + from gui/citylist_stats_t.cc: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_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -4500,11 +4484,40 @@ 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.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/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] + 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/city_info.cc:11: +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/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)': +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/citylist_stats_t.h:13, + from gui/citylist_stats_t.cc: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_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/city_info.h:14, + from gui/city_info.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/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4529,10 +4542,28 @@ 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/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/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/climates.h:11, + from gui/climates.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/climates.h:11, + from gui/climates.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/city_info.h:14, + from gui/city_info.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/../boden/wege/../../descriptor/../display/simgraph.h:22, from gui/../boden/wege/../../descriptor/image.h:10, from gui/../boden/wege/../../descriptor/image_list.h:10, @@ -4545,79 +4576,163 @@ 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/citylist_stats_t.h:13, - from gui/citylist_stats_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_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/citylist_stats_t.h:13, - from gui/citylist_stats_t.cc:12: -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 gui/gui_frame.h:20, + from gui/city_info.h:14, + from gui/city_info.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/../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/citylist_stats_t.h:13, - from gui/citylist_stats_t.cc:12: +In file included from gui/gui_frame.h:20, + from gui/city_info.h:14, + from gui/city_info.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/../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/gui_frame.h:20, + from gui/climates.h:11, + from gui/climates.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/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/citylist_stats_t.h:13, - from gui/citylist_stats_t.cc:12: -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 gui/gui_frame.h:16, + from gui/climates.h:11, + from gui/climates.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/citylist_stats_t.h:13, - from gui/citylist_stats_t.cc:12: +In file included from gui/gui_frame.h:20, + from gui/climates.h:11, + from gui/climates.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/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/citylist_stats_t.h:13, - from gui/citylist_stats_t.cc:12: -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 gui/gui_frame.h:16, + from gui/climates.h:11, + from gui/climates.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/citylist_stats_t.h:13, - from gui/citylist_stats_t.cc:12: +In file included from gui/gui_frame.h:20, + from gui/climates.h:11, + from gui/climates.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/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/citylist_stats_t.h:13, - from gui/citylist_stats_t.cc:12: -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 gui/gui_frame.h:16, + from gui/climates.h:11, + from gui/climates.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/city_info.h:14, - from gui/citylist_stats_t.cc:13: + 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/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/citylist_stats_t.h:13, - from gui/citylist_stats_t.cc:12: -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 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/climates.h:11, + from gui/climates.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/climates.h:11, + from gui/climates.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/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, + 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; } + | ^~~~~~~~ +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, + 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/climates.cc:10: +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/climates.h:11, + from gui/climates.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/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 +===> 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_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -4640,6 +4755,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/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/gui_frame.h:20, from gui/extend_edit.h:4, from gui/citybuilding_edit.h:8, @@ -4718,8 +4835,22 @@ 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_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_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 +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: @@ -4769,98 +4900,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_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_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_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/climates.h:11, - from gui/climates.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/climates.h:11, - from gui/climates.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/climates.h:11, - from gui/climates.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/climates.h:11, - from gui/climates.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/climates.h:11, - from gui/climates.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/climates.h:11, - from gui/climates.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/climates.h:11, - from gui/climates.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/climates.h:11, - from gui/climates.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/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/climates.h:11, - from gui/climates.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/climates.h:11, - from gui/climates.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/climates.cc:10: -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/climates.h:11, - from gui/climates.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/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)': @@ -4873,22 +4912,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_button.h:16, - from gui/components/gui_button_to_chart.h:6, - from gui/components/gui_button_to_chart.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_button.h:16, - from gui/components/gui_button_to_chart.h:6, - from gui/components/gui_button_to_chart.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_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_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] @@ -4900,6 +4923,7 @@ 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/components/gui_container.cc In file included from gui/components/../gui_frame.h:20, from gui/components/gui_button.cc:30: gui/components/../components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -4935,6 +4959,7 @@ 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; } | ^~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_button.cc:30: 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] @@ -4946,12 +4971,61 @@ 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 +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: +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/components/gui_button_to_chart.h:6, + from gui/components/gui_button_to_chart.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_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/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; } + | ^~~~~~~~ +===> 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 +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_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_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)': @@ -5030,47 +5104,34 @@ 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 -In file included from gui/components/gui_colorbox.h:4, - from gui/components/gui_colorbox.cc:1: +===> 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 +===> 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 +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)': 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: + from gui/components/gui_container.h:23, + from gui/components/gui_container.cc:22: 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_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_colorbox.h:4, - from gui/components/gui_colorbox.cc:1: + 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_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 -===> 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_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/components/gui_convoiinfo.h:15, @@ -5128,6 +5189,28 @@ 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_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/../components/gui_container.h:23, from gui/components/../components/gui_aligned_container.h:4, from gui/components/../gui_frame.h:20, @@ -5173,79 +5256,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/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)': -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_container.cc:22: -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: +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)': 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_combobox.cc:16: -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_combobox.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; } - | ^~~~~~~~ -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(); - | ^ -In file included from gui/components/../gui_frame.h:16, - from gui/components/gui_combobox.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; } - | ^~~~~~~~ -gui/components/gui_combobox.cc:48:36: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 48 | max_size = scr_size(0,10*LINESPACE); - | ^ -In file included from gui/components/../gui_frame.h:16, - from gui/components/gui_combobox.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/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 -gui/components/gui_combobox.cc: In member function 'virtual void gui_combobox_t::set_size(scr_size)': -gui/components/gui_combobox.cc:351:16: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 351 | closed_size = size; - | ^~~~ -In file included from gui/components/../gui_frame.h:16, - from gui/components/gui_combobox.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; } - | ^~~~~~~~ -gui/components/gui_combobox.cc: In member function 'void gui_combobox_t::set_max_size(scr_size)': -gui/components/gui_combobox.cc:371:13: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 371 | max_size = max; - | ^~~ -In file included from gui/components/../gui_frame.h:16, - from gui/components/gui_combobox.cc:16: +In file included from gui/components/../../display/simgraph.h:22, + from gui/components/gui_image.h:14, + from gui/components/gui_image.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_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 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] @@ -5268,62 +5290,18 @@ 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/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 -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_convoiinfo.cc: In constructor 'gui_convoi_images_t::gui_convoi_images_t(convoihandle_t)': -gui/components/gui_convoiinfo.cc:31:56: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 31 | gui_convoi_images_t(convoihandle_t cnv) { this->cnv = cnv; } - | ^~~ -In file included from gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/components/gui_convoiinfo.cc:12: -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) {} - | ^~~~~~~~~~~~~~ -gui/components/gui_convoiinfo.cc: In constructor 'gui_convoiinfo_t::gui_convoiinfo_t(convoihandle_t)': -gui/components/gui_convoiinfo.cc:69:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 69 | this->cnv = cnv; - | ^~~ -In file included from gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/components/gui_convoiinfo.cc:12: -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_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)': -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_image.h:14, - from gui/components/gui_image.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_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: +In file included from gui/components/gui_combobox.cc:16: +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_combobox.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/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 In file included from gui/components/../gui_frame.h:20, from gui/components/gui_image.cc:2: gui/components/../components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -5359,6 +5337,38 @@ 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_convoiinfo.cc: In constructor 'gui_convoi_images_t::gui_convoi_images_t(convoihandle_t)': +gui/components/gui_convoiinfo.cc:31:56: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 31 | gui_convoi_images_t(convoihandle_t cnv) { this->cnv = cnv; } + | ^~~ +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/components/gui_convoiinfo.cc:12: +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) {} + | ^~~~~~~~~~~~~~ +gui/components/gui_convoiinfo.cc: In constructor 'gui_convoiinfo_t::gui_convoiinfo_t(convoihandle_t)': +gui/components/gui_convoiinfo.cc:69:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 69 | this->cnv = cnv; + | ^~~ +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/components/gui_convoiinfo.cc:12: +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_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)': +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_image_list.h:5, + from gui/components/gui_image_list.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_image.cc:2: 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] @@ -5380,8 +5390,43 @@ 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 +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(); + | ^ +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_combobox.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; } + | ^~~~~~~~ +gui/components/gui_combobox.cc:48:36: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 48 | max_size = scr_size(0,10*LINESPACE); + | ^ +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_combobox.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; } + | ^~~~~~~~ +gui/components/gui_combobox.cc: In member function 'virtual void gui_combobox_t::set_size(scr_size)': +gui/components/gui_combobox.cc:351:16: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 351 | closed_size = size; + | ^~~~ +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_combobox.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; } + | ^~~~~~~~ +gui/components/gui_combobox.cc: In member function 'void gui_combobox_t::set_max_size(scr_size)': +gui/components/gui_combobox.cc:371:13: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 371 | max_size = max; + | ^~~ +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_combobox.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/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 In file included from gui/components/gui_scrollpane.h:14, from gui/components/gui_flowtext.h:6, from gui/components/gui_flowtext.cc:10: @@ -5398,23 +5443,11 @@ 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/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)': -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; } | ^~~~~~~~ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_image_list.h:5, - from gui/components/gui_image_list.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; } - | ^~~~~~~~ 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); @@ -5424,6 +5457,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; } | ^~~~~~~~ +===> 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 +===> 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 +===> 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 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] @@ -5434,11 +5473,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/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 -===> 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_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)': @@ -5451,7 +5493,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; } | ^~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 In file included from gui/components/../gui_frame.h:20, from gui/components/gui_label.cc:10: gui/components/../components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -5498,10 +5539,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_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_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 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)': @@ -5514,14 +5553,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 -===> 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/gui_textinput.h:20, from gui/components/gui_numberinput.h:22, from gui/components/gui_numberinput.cc:13: @@ -5576,6 +5607,22 @@ 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_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 In file included from gui/components/gui_button.h:16, from gui/components/gui_scrollbar.h:10, from gui/components/gui_scrollbar.cc:16: @@ -5605,126 +5652,100 @@ 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_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_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)': -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/../../descriptor/../display/simgraph.h:22, - from gui/components/../../descriptor/image.h:10, - from gui/components/../../descriptor/image_list.h:10, - from gui/components/../../descriptor/image_array.h:10, - from gui/components/../../descriptor/skin_desc.h:12, - from gui/components/gui_tab_panel.h:11, - from gui/components/gui_tab_panel.cc:13: -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_button.h:16, - from gui/components/gui_scrollbar.h:10, - from gui/components/gui_scrolled_list.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] +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, + from gui/components/gui_scrollpane.cc:9: +gui/components/../components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +gui/components/../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/components/gui_scrollbar.h:10, - from gui/components/gui_scrolled_list.cc:16: +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_scrollpane.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/components/../gui_frame.h:20, - from gui/components/gui_tab_panel.cc:14: + from gui/components/gui_scrollpane.cc:9: gui/components/../components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': gui/components/../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/../../descriptor/../display/simgraph.h:22, - from gui/components/../../descriptor/image.h:10, - from gui/components/../../descriptor/image_list.h:10, - from gui/components/../../descriptor/image_array.h:10, - from gui/components/../../descriptor/skin_desc.h:12, - from gui/components/gui_tab_panel.h:11, - from gui/components/gui_tab_panel.cc:13: -gui/components/../../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/components/../gui_frame.h:16, + from gui/components/gui_scrollpane.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/components/../gui_frame.h:20, - from gui/components/gui_tab_panel.cc:14: + from gui/components/gui_scrollpane.cc:9: gui/components/../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/../../descriptor/../display/simgraph.h:22, - from gui/components/../../descriptor/image.h:10, - from gui/components/../../descriptor/image_list.h:10, - from gui/components/../../descriptor/image_array.h:10, - from gui/components/../../descriptor/skin_desc.h:12, - from gui/components/gui_tab_panel.h:11, - from gui/components/gui_tab_panel.cc:13: -gui/components/../../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/components/../gui_frame.h:16, + from gui/components/gui_scrollpane.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/components/../gui_frame.h:20, - from gui/components/gui_tab_panel.cc:14: + from gui/components/gui_scrollpane.cc:9: gui/components/../components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/../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/../../descriptor/../display/simgraph.h:22, - from gui/components/../../descriptor/image.h:10, - from gui/components/../../descriptor/image_list.h:10, - from gui/components/../../descriptor/image_array.h:10, - from gui/components/../../descriptor/skin_desc.h:12, - from gui/components/gui_tab_panel.h:11, - from gui/components/gui_tab_panel.cc:13: -gui/components/../../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/components/../gui_frame.h:16, + from gui/components/gui_scrollpane.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/components/gui_tab_panel.cc:14: +In file included from gui/components/gui_scrollpane.cc:9: 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/../../descriptor/../display/simgraph.h:22, - from gui/components/../../descriptor/image.h:10, - from gui/components/../../descriptor/image_list.h:10, - from gui/components/../../descriptor/image_array.h:10, - from gui/components/../../descriptor/skin_desc.h:12, - from gui/components/gui_tab_panel.h:11, - from gui/components/gui_tab_panel.cc:13: -gui/components/../../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/components/../gui_frame.h:16, + from gui/components/gui_scrollpane.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; } | ^~~~~~~~ -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 ); - | ^ -In file included from gui/components/../../descriptor/../display/simgraph.h:22, - from gui/components/../../descriptor/image.h:10, - from gui/components/../../descriptor/image_list.h:10, - from gui/components/../../descriptor/image_array.h:10, - from gui/components/../../descriptor/skin_desc.h:12, - from gui/components/gui_tab_panel.h:11, - from gui/components/gui_tab_panel.cc:13: -gui/components/../../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' +gui/components/gui_scrollpane.cc: In constructor 'gui_scrollpane_t::gui_scrollpane_t(gui_component_t*, bool, bool)': +gui/components/gui_scrollpane.cc:33:28: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 33 | old_comp_size = scr_size::invalid; + | ^~~~~~~ +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_scrollpane.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; } + | ^~~~~~~~ +gui/components/gui_scrollpane.cc: In member function 'void gui_scrollpane_t::recalc_sliders(scr_size)': +gui/components/gui_scrollpane.cc:97:33: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 97 | old_comp_size = comp->get_size(); + | ^ +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_scrollpane.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; } + | ^~~~~~~~ +gui/components/gui_scrollpane.cc: In member function 'scr_size gui_scrollpane_t::request_size(scr_size)': +gui/components/gui_scrollpane.cc:135:13: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 135 | request = cmax; + | ^~~~ +In file included from gui/components/../gui_frame.h:16, + from gui/components/gui_scrollpane.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/components/gui_button.h:16, + from gui/components/gui_scrollbar.h:10, + from gui/components/gui_scrolled_list.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_button.h:16, + from gui/components/gui_scrollbar.h:10, + from gui/components/gui_scrolled_list.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_scrolled_list.h:15, @@ -5765,111 +5786,135 @@ 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/../components/gui_container.h:23, - from gui/components/../components/gui_aligned_container.h:4, - from gui/components/../gui_frame.h:20, - from gui/components/gui_scrollpane.cc:9: -gui/components/../components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -gui/components/../components/gui_component.h:141:10: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] +===> 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 +gui/components/gui_scrolled_list.cc: In constructor 'gui_scrolled_list_t::gui_scrolled_list_t(gui_scrolled_list_t::type, gui_scrolled_list_t::item_compare_func)': +gui/components/gui_scrolled_list.cc:82:21: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 82 | size = scr_size(0,0); + | ^ +In file included from gui/components/gui_component.h:11, + from gui/components/gui_button.h:16, + from gui/components/gui_scrollbar.h:10, + from gui/components/gui_scrolled_list.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/convoi_detail_t.cc +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_frame.h:16, - from gui/components/gui_scrollpane.cc:9: +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; } | ^~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 +===> 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 +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)': +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/../../descriptor/../display/simgraph.h:22, + from gui/components/../../descriptor/image.h:10, + from gui/components/../../descriptor/image_list.h:10, + from gui/components/../../descriptor/image_array.h:10, + from gui/components/../../descriptor/skin_desc.h:12, + from gui/components/gui_tab_panel.h:11, + from gui/components/gui_tab_panel.cc:13: +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_frame.h:20, - from gui/components/gui_scrollpane.cc:9: + 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)': gui/components/../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_frame.h:16, - from gui/components/gui_scrollpane.cc:9: -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 gui/components/../../descriptor/../display/simgraph.h:22, + from gui/components/../../descriptor/image.h:10, + from gui/components/../../descriptor/image_list.h:10, + from gui/components/../../descriptor/image_array.h:10, + from gui/components/../../descriptor/skin_desc.h:12, + from gui/components/gui_tab_panel.h:11, + from gui/components/gui_tab_panel.cc:13: +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_frame.h:20, - from gui/components/gui_scrollpane.cc:9: + from gui/components/gui_tab_panel.cc:14: gui/components/../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_frame.h:16, - from gui/components/gui_scrollpane.cc:9: -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 gui/components/../../descriptor/../display/simgraph.h:22, + from gui/components/../../descriptor/image.h:10, + from gui/components/../../descriptor/image_list.h:10, + from gui/components/../../descriptor/image_array.h:10, + from gui/components/../../descriptor/skin_desc.h:12, + from gui/components/gui_tab_panel.h:11, + from gui/components/gui_tab_panel.cc:13: +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_frame.h:20, - from gui/components/gui_scrollpane.cc:9: + from gui/components/gui_tab_panel.cc:14: gui/components/../components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_spacing(scr_size)': gui/components/../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_frame.h:16, - from gui/components/gui_scrollpane.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; } - | ^~~~~~~~ -gui/components/gui_scrolled_list.cc: In constructor 'gui_scrolled_list_t::gui_scrolled_list_t(gui_scrolled_list_t::type, gui_scrolled_list_t::item_compare_func)': -gui/components/gui_scrolled_list.cc:82:21: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 82 | size = scr_size(0,0); - | ^ -In file included from gui/components/gui_component.h:11, - from gui/components/gui_button.h:16, - from gui/components/gui_scrollbar.h:10, - from gui/components/gui_scrolled_list.cc:16: -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 gui/components/../../descriptor/../display/simgraph.h:22, + from gui/components/../../descriptor/image.h:10, + from gui/components/../../descriptor/image_list.h:10, + from gui/components/../../descriptor/image_array.h:10, + from gui/components/../../descriptor/skin_desc.h:12, + from gui/components/gui_tab_panel.h:11, + from gui/components/gui_tab_panel.cc:13: +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_scrollpane.cc:9: +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] 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_scrollpane.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; } - | ^~~~~~~~ -gui/components/gui_scrollpane.cc: In constructor 'gui_scrollpane_t::gui_scrollpane_t(gui_component_t*, bool, bool)': -gui/components/gui_scrollpane.cc:33:28: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 33 | old_comp_size = scr_size::invalid; - | ^~~~~~~ -In file included from gui/components/../gui_frame.h:16, - from gui/components/gui_scrollpane.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; } - | ^~~~~~~~ -gui/components/gui_scrollpane.cc: In member function 'void gui_scrollpane_t::recalc_sliders(scr_size)': -gui/components/gui_scrollpane.cc:97:33: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 97 | old_comp_size = comp->get_size(); - | ^ -In file included from gui/components/../gui_frame.h:16, - from gui/components/gui_scrollpane.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; } - | ^~~~~~~~ -gui/components/gui_scrollpane.cc: In member function 'scr_size gui_scrollpane_t::request_size(scr_size)': -gui/components/gui_scrollpane.cc:135:13: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 135 | request = cmax; - | ^~~~ -In file included from gui/components/../gui_frame.h:16, - from gui/components/gui_scrollpane.cc:9: -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 gui/components/../../descriptor/../display/simgraph.h:22, + from gui/components/../../descriptor/image.h:10, + from gui/components/../../descriptor/image_list.h:10, + from gui/components/../../descriptor/image_array.h:10, + from gui/components/../../descriptor/skin_desc.h:12, + from gui/components/gui_tab_panel.h:11, + from gui/components/gui_tab_panel.cc:13: +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&)' +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 ); + | ^ +In file included from gui/components/../../descriptor/../display/simgraph.h:22, + from gui/components/../../descriptor/image.h:10, + from gui/components/../../descriptor/image_list.h:10, + from gui/components/../../descriptor/image_array.h:10, + from gui/components/../../descriptor/skin_desc.h:12, + from gui/components/gui_tab_panel.h:11, + from gui/components/gui_tab_panel.cc:13: +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/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 +===> 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_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)': @@ -5882,12 +5927,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 -===> 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/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/components/../components/gui_container.h:23, from gui/components/../components/gui_aligned_container.h:4, from gui/components/../gui_frame.h:20, @@ -5933,6 +5976,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/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_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_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] @@ -5943,25 +5998,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; } | ^~~~~~~~ -===> 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 -===> 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 -===> 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_world_view_t.h:11, - from gui/components/gui_world_view_t.cc:10: +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_world_view_t.h:11, - from gui/components/gui_world_view_t.cc:10: + 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; } | ^~~~~~~~ -===> HOSTCXX gui/curiositylist_frame_t.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] @@ -5973,7 +6066,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) {} | ^~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 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; @@ -5986,8 +6078,8 @@ | ^~~~~~~~ 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: + 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; @@ -5995,13 +6087,24 @@ 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: + 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_detail_t.h:11, +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) {} + | ^~~~~~~~~~~~~~ +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; } @@ -6009,26 +6112,26 @@ 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: + 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_detail_t.h:11, - from gui/convoi_detail_t.cc:14: +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/convoi_detail_t.h:11, - from gui/convoi_detail_t.cc:14: + 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_detail_t.h:11, - from gui/convoi_detail_t.cc:14: +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_; } @@ -6036,87 +6139,125 @@ 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: + 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/curiositylist_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/curiositylist_stats_t.o gui/curiositylist_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/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_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/gui_frame.h:16, - from gui/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_t.cc:14: 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/depot_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/depot_frame.o gui/depot_frame.cc In file included from gui/gui_frame.h:20, - from gui/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_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/gui_frame.h:16, - from gui/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_t.cc:14: 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/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_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/gui_frame.h:16, - from gui/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_t.cc:14: 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/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_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/gui_frame.h:16, - from gui/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_t.cc:14: 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/curiositylist_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/curiositylist_stats_t.o gui/curiositylist_stats_t.cc -In file included from gui/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: +In file included from gui/convoi_info_t.h:15, + from gui/convoi_info_t.cc:14: 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/convoi_filter_frame.h:17, - from gui/convoi_filter_frame.cc:15: + from gui/convoi_info_t.h:15, + from gui/convoi_info_t.cc:14: 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: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/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 = simline_t]' +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/components/gui_container.h:23, @@ -6184,93 +6325,67 @@ 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.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; } - | ^~~~~~~~~~~~ +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 = haltestelle_t]' +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/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: + from gui/gui_frame.h:20, + from gui/convoi_filter_frame.h:17, + from gui/convoi_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/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&)' +In file included from gui/gui_frame.h:16, + from gui/convoi_filter_frame.h:17, + from gui/convoi_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/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) {} - | ^~~~~~~~~~~~~~ -In file included from gui/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: +In file included from gui/gui_frame.h:20, + from gui/convoi_filter_frame.h:17, + from gui/convoi_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/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&)' +In file included from gui/gui_frame.h:16, + from gui/convoi_filter_frame.h:17, + from gui/convoi_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/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: +In file included from gui/gui_frame.h:20, + from gui/convoi_filter_frame.h:17, + from gui/convoi_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/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&)' +In file included from gui/gui_frame.h:16, + from gui/convoi_filter_frame.h:17, + from gui/convoi_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/components/gui_convoiinfo.h:15, - from gui/convoi_frame.cc:19: +In file included from gui/gui_frame.h:20, + from gui/convoi_filter_frame.h:17, + from gui/convoi_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/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&)' +In file included from gui/gui_frame.h:16, + from gui/convoi_filter_frame.h:17, + from gui/convoi_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/convoy_item.cc:5: @@ -6284,6 +6399,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/convoi_filter_frame.h:17, + from gui/convoi_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/convoi_filter_frame.h:17, + from gui/convoi_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/convoy_item.cc:6: 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] @@ -6295,31 +6422,40 @@ 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/depot_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/depot_frame.o gui/depot_frame.cc -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: +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] + 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } + | ^~~ +In file included from gui/../convoihandle_t.h:4, + from gui/convoi_info_t.h:27, + from gui/convoi_info_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/display_settings.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/display_settings.o gui/display_settings.cc +===> HOSTCXX gui/enlarge_map_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/enlarge_map_frame_t.o gui/enlarge_map_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] 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]' +In file included from gui/../convoihandle_t.h:4, + from gui/convoi_info_t.h:27, + from gui/convoi_info_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/convoi_info_t.cc: In member function 'void convoi_info_t::init(convoihandle_t)': +gui/convoi_info_t.cc:93:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 93 | this->cnv = cnv; + | ^~~ +In file included from gui/../convoihandle_t.h:4, + from gui/convoi_info_t.h:27, + from gui/convoi_info_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) {} | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, @@ -6387,83 +6523,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/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, - from gui/convoi_info_t.h:15, - from gui/convoi_info_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/gui_frame.h:16, - from gui/convoi_info_t.h:15, - from gui/convoi_info_t.cc:14: -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/convoi_info_t.h:15, - from gui/convoi_info_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/gui_frame.h:16, - from gui/convoi_info_t.h:15, - from gui/convoi_info_t.cc:14: -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/convoi_info_t.h:15, - from gui/convoi_info_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/gui_frame.h:16, - from gui/convoi_info_t.h:15, - from gui/convoi_info_t.cc:14: -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/convoi_info_t.h:15, - from gui/convoi_info_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/gui_frame.h:16, - from gui/convoi_info_t.h:15, - from gui/convoi_info_t.cc:14: -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_info_t.h:15, - from gui/convoi_info_t.cc:14: -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/convoi_info_t.h:15, - from gui/convoi_info_t.cc:14: -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, @@ -6486,8 +6545,18 @@ 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/display_settings.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/display_settings.o gui/display_settings.cc +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/gui_frame.h:20, from gui/extend_edit.h:4, from gui/curiosity_edit.h:8, @@ -6566,21 +6635,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; } | ^~~~~~~~ -===> HOSTCXX gui/enlarge_map_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/enlarge_map_frame_t.o gui/enlarge_map_frame_t.cc -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] - 249 | void set_follow_convoi(convoihandle_t cnv) { follow_convoi = cnv; } - | ^~~ -In file included from gui/../convoihandle_t.h:4, - from gui/convoi_info_t.h:27, - from gui/convoi_info_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/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:23, from gui/components/gui_aligned_container.h:4, from gui/curiositylist_stats_t.h:16, @@ -6652,31 +6706,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/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 -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] - 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } - | ^ -In file included from gui/../convoihandle_t.h:4, - from gui/convoi_info_t.h:27, - from gui/convoi_info_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/convoi_info_t.cc: In member function 'void convoi_info_t::init(convoihandle_t)': -gui/convoi_info_t.cc:93:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 93 | this->cnv = cnv; - | ^~~ -In file included from gui/../convoihandle_t.h:4, - from gui/convoi_info_t.h:27, - from gui/convoi_info_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) {} - | ^~~~~~~~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -6692,6 +6725,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/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/gui_frame.h:20, from gui/display_settings.h:9, from gui/display_settings.cc:13: @@ -6742,39 +6777,71 @@ 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: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/../simworld.h:20, - from gui/depot_frame.cc:17: -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/depot_frame.cc:20: -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/../convoihandle_t.h:4, - from gui/../simworld.h:20, - from gui/depot_frame.cc:17: -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/depot_frame.cc:25: -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/depot_frame.cc:17: -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/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: +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/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, @@ -6856,27 +6923,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/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)': -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/depot_frame.cc:17: -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:22, from gui/components/gui_aligned_container.h:4, from gui/curiositylist_stats_t.h:16, @@ -6894,19 +6940,69 @@ 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/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; } + | ^~~~~~~~ +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] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from gui/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/depot_frame.cc:17: +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/depot_frame.cc:20: +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/../convoihandle_t.h:4, + from gui/../simworld.h:20, + from gui/depot_frame.cc:17: +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/depot_frame.cc:25: +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/depot_frame.cc:17: +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/enlarge_map_frame_t.h:8, - from gui/enlarge_map_frame_t.cc:11: + 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)': 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&)' +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/depot_frame.cc:17: +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, @@ -6965,44 +7061,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)': @@ -7021,18 +7079,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] @@ -7085,17 +7131,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.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; } - | ^~~~~~~~ gui/depot_frame.cc: In member function 'void depot_frame_t::init(depot_t*)': gui/depot_frame.cc:116:53: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 116 | last_selected_line = depot->get_last_selected_line(); @@ -7122,27 +7157,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; } | ^~~~~~~~ -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/extend_edit.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/../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/extend_edit.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/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 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; @@ -7198,80 +7214,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/gui_frame.h:20, - from gui/extend_edit.h:4, - from gui/extend_edit.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/../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/extend_edit.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/extend_edit.h:4, - from gui/extend_edit.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/../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/extend_edit.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/extend_edit.h:4, - from gui/extend_edit.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/../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/extend_edit.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/extend_edit.h:4, - from gui/extend_edit.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/extend_edit.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; } - | ^~~~~~~~ gui/depot_frame.cc: In member function 'virtual bool depot_frame_t::action_triggered(gui_action_creator_t*, value_t)': gui/depot_frame.cc:1401:35: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 1401 | selected_line = linehandle_t(); @@ -7318,7 +7260,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) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/factory_edit.cc gui/depot_frame.cc: In member function 'virtual void depot_frame_t::draw(scr_coord, scr_size)': gui/depot_frame.cc:1530:31: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 1530 | cnv = depot->get_convoi(icnv); @@ -7329,106 +7270,103 @@ 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) {} | ^~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 +===> 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 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: + from gui/extend_edit.h:4, + from gui/extend_edit.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/../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/../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/extend_edit.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/factory_chart.h:18, - from gui/factory_chart.cc:15: + from gui/extend_edit.h:4, + from gui/extend_edit.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/../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/../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/extend_edit.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/factory_chart.h:18, - from gui/factory_chart.cc:15: + from gui/extend_edit.h:4, + from gui/extend_edit.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/../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/../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/extend_edit.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/factory_chart.h:18, - from gui/factory_chart.cc:15: + from gui/extend_edit.h:4, + from gui/extend_edit.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/../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/../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/extend_edit.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/factory_chart.h:18, - from gui/factory_chart.cc:15: +In file included from gui/extend_edit.h:4, + from gui/extend_edit.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/../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/../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/extend_edit.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/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, @@ -7566,108 +7504,107 @@ 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/goods_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/goods_frame_t.o gui/goods_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, - from gui/extend_edit.h:4, - from gui/factory_edit.h:8, - from gui/factory_edit.cc:29: + 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/../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/factory_edit.cc: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&)' +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/extend_edit.h:4, - from gui/factory_edit.h:8, - from gui/factory_edit.cc:29: + 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/../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/factory_edit.cc: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&)' +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/extend_edit.h:4, - from gui/factory_edit.h:8, - from gui/factory_edit.cc:29: + 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/../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/factory_edit.cc: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&)' +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/extend_edit.h:4, - from gui/factory_edit.h:8, - from gui/factory_edit.cc:29: + 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/../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/factory_edit.cc: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&)' +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/extend_edit.h:4, - from gui/factory_edit.h:8, - from gui/factory_edit.cc:29: +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/../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/factory_edit.cc: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&)' +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; } | ^~~~~~~~ +===> HOSTCXX gui/goods_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/goods_frame_t.o gui/goods_frame_t.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, @@ -7746,78 +7683,110 @@ 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/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_colorbox.h:4, - from gui/factorylist_stats_t.h:15, - from gui/factorylist_stats_t.cc:12: +===> 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/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/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: 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/factorylist_stats_t.h:15, - from gui/factorylist_stats_t.cc: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/factorylist_stats_t.h:15, - from gui/factorylist_stats_t.cc:12: -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/factorylist_stats_t.h:15, - from gui/factorylist_stats_t.cc:12: -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 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/factory_edit.cc: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/components/gui_scrolled_list.h:15, - from gui/factorylist_stats_t.h:18, - from gui/factorylist_stats_t.cc:12: +In file included from gui/gui_frame.h:20, + from gui/extend_edit.h:4, + from gui/factory_edit.h:8, + from gui/factory_edit.cc:29: 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_colorbox.h:4, - from gui/factorylist_stats_t.h:15, - from gui/factorylist_stats_t.cc:12: -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 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/factory_edit.cc: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/components/gui_scrolled_list.h:15, - from gui/factorylist_stats_t.h:18, - from gui/factorylist_stats_t.cc:12: +In file included from gui/gui_frame.h:20, + from gui/extend_edit.h:4, + from gui/factory_edit.h:8, + from gui/factory_edit.cc:29: 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_colorbox.h:4, - from gui/factorylist_stats_t.h:15, - from gui/factorylist_stats_t.cc:12: -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 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/factory_edit.cc: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/components/gui_scrolled_list.h:15, - from gui/factorylist_stats_t.h:18, - from gui/factorylist_stats_t.cc:12: +In file included from gui/gui_frame.h:20, + from gui/extend_edit.h:4, + from gui/factory_edit.h:8, + from gui/factory_edit.cc:29: 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_colorbox.h:4, - from gui/factorylist_stats_t.h:15, - from gui/factorylist_stats_t.cc:12: -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 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/factory_edit.cc: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/extend_edit.h:4, + from gui/factory_edit.h:8, + from gui/factory_edit.cc:29: +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/factory_edit.cc: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; } | ^~~~~~~~ -===> 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/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -7833,6 +7802,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/components/gui_colorbox.h:4, + from gui/factorylist_stats_t.h:15, + from gui/factorylist_stats_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_component.h:11, + from gui/components/gui_colorbox.h:4, + from gui/factorylist_stats_t.h:15, + from gui/factorylist_stats_t.cc: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/gui_frame.h:20, from gui/goods_frame_t.h:15, from gui/goods_frame_t.cc:15: @@ -7871,6 +7854,19 @@ 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/factorylist_stats_t.h:15, + from gui/factorylist_stats_t.cc:12: +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/factorylist_stats_t.h:15, + from gui/factorylist_stats_t.cc: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/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)': @@ -7883,23 +7879,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/../bauer/vehikelbauer.h:14, - from gui/goods_frame_t.cc:19: -gui/../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': -gui/../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 gui/../convoihandle_t.h:4, - from gui/../simline.h:11, - from gui/goods_frame_t.h:24, - from gui/goods_frame_t.cc:15: -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/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 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, @@ -7957,21 +7936,62 @@ 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/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/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_scrolled_list.h:15, + from gui/factorylist_stats_t.h:18, + from gui/factorylist_stats_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/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: + from gui/components/gui_colorbox.h:4, + from gui/factorylist_stats_t.h:15, + from gui/factorylist_stats_t.cc: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_scrolled_list.h:15, + from gui/factorylist_stats_t.h:18, + from gui/factorylist_stats_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/components/gui_component.h:11, + from gui/components/gui_colorbox.h:4, + from gui/factorylist_stats_t.h:15, + from gui/factorylist_stats_t.cc: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_scrolled_list.h:15, + from gui/factorylist_stats_t.h:18, + from gui/factorylist_stats_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/components/gui_component.h:11, + from gui/components/gui_colorbox.h:4, + from gui/factorylist_stats_t.h:15, + from gui/factorylist_stats_t.cc: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; } | ^~~~~~~~ +===> 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 +In file included from gui/../bauer/vehikelbauer.h:14, + from gui/goods_frame_t.cc:19: +gui/../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': +gui/../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 gui/../convoihandle_t.h:4, + from gui/../simline.h:11, + from gui/goods_frame_t.h:24, + from gui/goods_frame_t.cc:15: +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/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] @@ -7983,8 +8003,21 @@ 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) {} | ^~~~~~~~~~~~~~ -===> 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 +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/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, @@ -8030,16 +8063,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/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -8093,6 +8116,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.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: @@ -8105,6 +8138,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; } | ^~~~~~~~ +===> 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 +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/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: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: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_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)': @@ -8328,7 +8389,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/halt_list_frame.cc gui/gui_theme.cc:504:113: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 504 | gui_theme_t::gui_indicator_size = contents.get_scr_size("gui_indicator_size", gui_theme_t::gui_indicator_size ); | ^ @@ -8338,33 +8398,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/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 -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/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: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: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, @@ -8380,8 +8415,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/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/gui_frame.h:20, from gui/halt_info.h:16, from gui/halt_info.cc:13: @@ -8420,7 +8453,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/headquarter_info.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/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)': @@ -8433,7 +8467,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; } | ^~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/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)': @@ -8446,32 +8479,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/help_frame.cc -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] - 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } - | ^~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 -In file included from gui/../convoihandle_t.h:4, - from gui/../simhalt.h:11, - from gui/halt_info.h:31, - from gui/halt_info.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 = 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_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/../simhalt.h:11, - from gui/halt_info.h:31, - from gui/halt_info.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 = haltestelle_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/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -8487,18 +8496,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_info.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/../simhalt.h:11, - from gui/halt_info.h:31, - from gui/halt_info.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 = simline_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ 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: @@ -8563,6 +8560,44 @@ 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.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] + 66 | void set_ziel(const halthandle_t &ziel) { this->ziel = ziel; } + | ^~~~ +In file included from gui/../convoihandle_t.h:4, + from gui/../simhalt.h:11, + from gui/halt_info.h:31, + from gui/halt_info.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 = 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_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/../simhalt.h:11, + from gui/halt_info.h:31, + from gui/halt_info.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 = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from gui/halt_info.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/../simhalt.h:11, + from gui/halt_info.h:31, + from gui/halt_info.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 = simline_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 In file included from gui/halt_info.cc:23: 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] @@ -8575,6 +8610,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) {} | ^~~~~~~~~~~~~~ +===> 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 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; @@ -8630,6 +8667,8 @@ 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/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/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_info.h:16, @@ -8734,6 +8773,182 @@ 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/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/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)': +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/halt_list_stats.h:12, + from gui/halt_list_stats.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/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)': +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/halt_list_stats.h:12, + from gui/halt_list_stats.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/halt_list_stats.h:14, + from gui/halt_list_stats.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/components/gui_component.h:11, + from gui/halt_list_stats.h:12, + from gui/halt_list_stats.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/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_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/halt_list_stats.h:12, + from gui/halt_list_stats.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/halt_list_stats.h:15, + from gui/halt_list_stats.cc:9: +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/halt_list_stats.h:12, + from gui/halt_list_stats.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/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_stats.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/../halthandle_t.h:4, + from gui/halt_list_stats.h:19, + from gui/halt_list_stats.cc:9: +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/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -8809,78 +9024,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: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)': -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/halt_list_stats.h:12, - from gui/halt_list_stats.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/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)': -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/halt_list_stats.h:12, - from gui/halt_list_stats.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/halt_list_stats.h:14, - from gui/halt_list_stats.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/components/gui_component.h:11, - from gui/halt_list_stats.h:12, - from gui/halt_list_stats.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/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_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/halt_list_stats.h:12, - from gui/halt_list_stats.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/halt_list_stats.h:15, - from gui/halt_list_stats.cc:9: -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/halt_list_stats.h:12, - from gui/halt_list_stats.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/halt_list_stats.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/../halthandle_t.h:4, - from gui/halt_list_stats.h:19, - from gui/halt_list_stats.cc:9: -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/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/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] @@ -8902,8 +9045,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) {} | ^~~~~~~~~~~~~~ -===> 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/components/gui_container.h:22, from gui/components/gui_aligned_container.h:4, from gui/halt_list_stats.h:14, @@ -8914,21 +9055,6 @@ 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/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/../halthandle_t.h:4, from gui/halt_list_stats.h:19, from gui/halt_list_stats.cc:9: @@ -8951,7 +9077,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) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/kennfarbe.cc 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, @@ -8978,51 +9103,12 @@ 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]; | ~~~~~~~~^~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/../halthandle_t.h:4, from gui/halt_list_stats.h:19, from gui/halt_list_stats.cc:9: 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/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/components/gui_container.h:22, from gui/components/gui_aligned_container.h:4, from gui/halt_list_stats.h:14, @@ -9057,62 +9143,22 @@ 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/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/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]' +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/tool_selector.h:14, - from gui/help_frame.cc:22: + 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; @@ -9125,63 +9171,7 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/help_frame.cc: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/gui_frame.h:20, - from gui/tool_selector.h:14, - from gui/help_frame.cc:22: -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/help_frame.cc: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/gui_frame.h:20, - from gui/tool_selector.h:14, - from gui/help_frame.cc:22: -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/help_frame.cc: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/gui_frame.h:20, - from gui/tool_selector.h:14, - from gui/help_frame.cc:22: -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/help_frame.cc:14: + 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; } | ^~~~~~~~ @@ -9219,6 +9209,13 @@ 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/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/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, @@ -9229,6 +9226,18 @@ 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/../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/../halthandle_t.h:4, from gui/halt_list_stats.h:19, from gui/halt_list_frame.h:20, @@ -9236,6 +9245,43 @@ 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: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/../dataobj/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, @@ -9271,12 +9317,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/tool_selector.h:14, - from gui/help_frame.cc:22: -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/koord3d.h:7, from gui/gui_frame.h:19, from gui/halt_list_frame.h:19, @@ -9295,6 +9335,33 @@ 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.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; } + | ^~~~~~~~ +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.h:14, + from gui/help_frame.cc:22: +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, @@ -9310,85 +9377,72 @@ 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/label_info.h:11, - from gui/label_info.cc:8: + from gui/kennfarbe.h:16, + from gui/kennfarbe.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/label_info.h:11, - from gui/label_info.cc:8: + 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; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/label_info.h:11, - from gui/label_info.cc:8: + from gui/tool_selector.h:14, + from gui/help_frame.cc:22: 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/label_info.h:11, - from gui/label_info.cc:8: -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/../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/help_frame.cc: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/gui_frame.h:20, - from gui/label_info.h:11, - from gui/label_info.cc:8: + from gui/tool_selector.h:14, + from gui/help_frame.cc:22: 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/label_info.h:11, - from gui/label_info.cc:8: -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/../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/help_frame.cc: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/gui_frame.h:20, - from gui/label_info.h:11, - from gui/label_info.cc:8: + from gui/tool_selector.h:14, + from gui/help_frame.cc:22: 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/label_info.h:11, - from gui/label_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/label_info.h:11, - from gui/label_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/label_info.h:11, - from gui/label_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; } - | ^~~~~~~~ -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, - from gui/kennfarbe.h:16, - from gui/kennfarbe.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/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/../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/help_frame.cc: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/gui_frame.h:20, @@ -9429,6 +9483,24 @@ 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/tool_selector.h:14, + from gui/help_frame.cc:22: +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/help_frame.cc: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/kennfarbe.h:16, from gui/kennfarbe.cc:11: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -9452,116 +9524,75 @@ 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/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/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: + from gui/label_info.h:11, + from gui/label_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/../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&)' +In file included from gui/gui_frame.h:16, + from gui/label_info.h:11, + from gui/label_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/jump_frame.h:14, - from gui/jump_frame.cc:15: + from gui/label_info.h:11, + from gui/label_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/../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&)' +In file included from gui/gui_frame.h:16, + from gui/label_info.h:11, + from gui/label_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/jump_frame.h:14, - from gui/jump_frame.cc:15: + from gui/label_info.h:11, + from gui/label_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/../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&)' +In file included from gui/gui_frame.h:16, + from gui/label_info.h:11, + from gui/label_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/jump_frame.h:14, - from gui/jump_frame.cc:15: + from gui/label_info.h:11, + from gui/label_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/../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&)' +In file included from gui/gui_frame.h:16, + from gui/label_info.h:11, + from gui/label_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/jump_frame.h:14, - from gui/jump_frame.cc:15: +In file included from gui/label_info.h:11, + from gui/label_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/../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&)' +In file included from gui/gui_frame.h:16, + from gui/label_info.h:11, + from gui/label_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/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/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/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] @@ -9590,13 +9621,11 @@ 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; } | ^~~~~~~~ -===> HOSTCXX gui/line_item.cc 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] 202 | new_size = 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/line_item.o gui/line_item.cc 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, @@ -9733,8 +9762,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; } | ^~~~~~~~ -===> 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 gui/minimap.cc: In member function 'void minimap_t::set_selected_cnv(convoihandle_t)': gui/minimap.cc:1180:16: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 1180 | current_cnv = c; @@ -9778,8 +9805,8 @@ 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/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/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/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, @@ -9875,8 +9902,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) {} | ^~~~~~~~~~~~~~ -===> 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 In file included from gui/../dataobj/../dataobj/koord3d.h:7, from gui/../dataobj/route.h:13, from gui/../simconvoi.h:16, @@ -9911,86 +9936,16 @@ 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/labellist_stats_t.h:11, - from gui/labellist_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_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/labellist_stats_t.h:11, - from gui/labellist_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/labellist_stats_t.h:11, - from gui/labellist_stats_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/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/labellist_stats_t.h:11, - from gui/labellist_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/labellist_stats_t.h:11, - from gui/labellist_stats_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/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/labellist_stats_t.h:11, - from gui/labellist_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/labellist_stats_t.h:11, - from gui/labellist_stats_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/components/gui_component.h:11, - from gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/labellist_stats_t.h:11, - from gui/labellist_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/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/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 +===> 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 In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -10056,82 +10011,92 @@ 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/schedule_gui.h:12, - from gui/line_management_gui.h:7, - from gui/line_management_gui.cc:15: +===> 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/labellist_stats_t.h:11, + from gui/labellist_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_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/labellist_stats_t.h:11, + from gui/labellist_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/labellist_stats_t.h:11, + from gui/labellist_stats_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/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/line_management_gui.cc:9: + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/labellist_stats_t.h:11, + from gui/labellist_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/schedule_gui.h:12, - from gui/line_management_gui.h:7, - from gui/line_management_gui.cc:15: +In file included from gui/labellist_stats_t.h:11, + from gui/labellist_stats_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/components/gui_component.h:11, - from gui/minimap.h:4, - from gui/line_management_gui.cc:9: + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/labellist_stats_t.h:11, + from gui/labellist_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/schedule_gui.h:12, - from gui/line_management_gui.h:7, - from gui/line_management_gui.cc:15: +In file included from gui/labellist_stats_t.h:11, + from gui/labellist_stats_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/components/gui_component.h:11, + from gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/labellist_stats_t.h:11, + from gui/labellist_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/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/schedule_gui.h:12, - from gui/line_management_gui.h:7, - from gui/line_management_gui.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; } - | ^~~~ +===> 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 +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; } | ^~~~~~~~ -gui/line_management_gui.cc: In constructor 'line_management_gui_t::line_management_gui_t(linehandle_t, player_t*)': -gui/line_management_gui.cc:23:16: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 23 | this->line = line; - | ^~~~ -In file included from gui/../dataobj/../halthandle_t.h:4, - from gui/../dataobj/schedule.h:6, - from gui/line_management_gui.cc:7: -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_management_gui.cc: In member function 'virtual void line_management_gui_t::rdwr(loadsave_t*)': -gui/line_management_gui.cc:110:24: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 110 | line = linehandle_t(); - | ^ -In file included from gui/../dataobj/../halthandle_t.h:4, - from gui/../dataobj/schedule.h:6, - from gui/line_management_gui.cc:7: -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) {} - | ^~~~~~~~~~~~~~ -===> 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 +===> 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 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, @@ -10208,87 +10173,86 @@ 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/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/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/loadfont_frame.h:22, - from gui/loadfont_frame.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/gui_frame.h:16, - from gui/savegame_frame.h:14, - from gui/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: -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/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: + from gui/schedule_gui.h:12, + from gui/line_management_gui.h:7, + from gui/line_management_gui.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/savegame_frame.h:14, - from gui/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: -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/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/savegame_frame.h:14, - from gui/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: + from gui/schedule_gui.h:12, + from gui/line_management_gui.h:7, + from gui/line_management_gui.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/savegame_frame.h:14, - from gui/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: -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/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/savegame_frame.h:14, - from gui/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: + from gui/schedule_gui.h:12, + from gui/line_management_gui.h:7, + from gui/line_management_gui.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/savegame_frame.h:14, - from gui/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: -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/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/savegame_frame.h:14, - from gui/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: +In file included from gui/schedule_gui.h:12, + from gui/line_management_gui.h:7, + from gui/line_management_gui.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/savegame_frame.h:14, - from gui/loadfont_frame.h:22, - from gui/loadfont_frame.cc:14: -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/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/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 +gui/line_management_gui.cc: In constructor 'line_management_gui_t::line_management_gui_t(linehandle_t, player_t*)': +gui/line_management_gui.cc:23:16: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 23 | this->line = line; + | ^~~~ +In file included from gui/../dataobj/../halthandle_t.h:4, + from gui/../dataobj/schedule.h:6, + from gui/line_management_gui.cc:7: +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_management_gui.cc: In member function 'virtual void line_management_gui_t::rdwr(loadsave_t*)': +gui/line_management_gui.cc:110:24: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 110 | line = linehandle_t(); + | ^ +In file included from gui/../dataobj/../halthandle_t.h:4, + from gui/../dataobj/schedule.h:6, + from gui/line_management_gui.cc:7: +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/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, @@ -10389,14 +10353,81 @@ 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_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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> 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, + from gui/savegame_frame.h:14, + from gui/loadfont_frame.h:22, + from gui/loadfont_frame.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/gui_frame.h:16, + from gui/savegame_frame.h:14, + from gui/loadfont_frame.h:22, + from gui/loadfont_frame.cc:14: +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/loadfont_frame.h:22, + from gui/loadfont_frame.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/gui_frame.h:16, + from gui/savegame_frame.h:14, + from gui/loadfont_frame.h:22, + from gui/loadfont_frame.cc:14: +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/loadfont_frame.h:22, + from gui/loadfont_frame.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/gui_frame.h:16, + from gui/savegame_frame.h:14, + from gui/loadfont_frame.h:22, + from gui/loadfont_frame.cc:14: +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/loadfont_frame.h:22, + from gui/loadfont_frame.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/gui_frame.h:16, + from gui/savegame_frame.h:14, + from gui/loadfont_frame.h:22, + from gui/loadfont_frame.cc:14: +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/loadfont_frame.h:22, + from gui/loadfont_frame.cc:14: +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/loadfont_frame.h:22, + from gui/loadfont_frame.cc:14: +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, @@ -10414,8 +10445,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/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/gui_frame.h:20, from gui/savegame_frame.h:14, from gui/loadsave_frame.h:13, @@ -10474,8 +10503,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/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/minimap.h:4, from gui/map_frame.cc:16: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -10499,6 +10526,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/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/message_frame_t.h:13, + from gui/message_frame_t.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/message_frame_t.cc:9: +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/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); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gui/gui_frame.h:20, from gui/map_frame.h:15, from gui/map_frame.cc:17: @@ -10537,140 +10589,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/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/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/map_frame.cc:24: -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/../halthandle_t.h:4, - from gui/minimap.h:5, - from gui/map_frame.cc:16: -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_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; } - | ^~~~~~~~ -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; } - | ^~~~~~~~ -===> HOSTCXX gui/obj_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/message_frame_t.h:13, - from gui/message_frame_t.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/message_frame_t.cc:9: -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/map_frame.cc: In member function 'virtual bool map_frame_t::infowin_event(const event_t*)': -gui/map_frame.cc:624:47: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 624 | size = minimap_t::get_instance()->get_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; } - | ^~~~~~~~ -gui/map_frame.cc: In member function 'virtual void map_frame_t::set_windowsize(scr_size)': -gui/map_frame.cc:645:31: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 645 | window_size = get_windowsize(); - | ^ -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; } - | ^~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 In file included from gui/gui_frame.h:20, from gui/message_frame_t.h:13, from gui/message_frame_t.cc:15: @@ -10745,19 +10663,51 @@ 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/message_stats_t.cc:17: +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_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/map_frame.cc:24: 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]' +In file included from gui/../halthandle_t.h:4, + from gui/minimap.h:5, + from gui/map_frame.cc:16: +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/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 +gui/map_frame.cc: In member function 'virtual bool map_frame_t::infowin_event(const event_t*)': +gui/map_frame.cc:624:47: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 624 | size = minimap_t::get_instance()->get_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; } + | ^~~~~~~~ +gui/map_frame.cc: In member function 'virtual void map_frame_t::set_windowsize(scr_size)': +gui/map_frame.cc:645:31: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 645 | window_size = get_windowsize(); + | ^ +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/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -10828,6 +10778,91 @@ 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; } | ^~~~~~~~ +===> 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 +===> 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 +===> 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 +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; } + | ^~~~~~~~ +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/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) {} + | ^~~~~~~~~~~~~~ +===> 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 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); @@ -10841,6 +10876,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/base_info.h:4, from gui/messagebox.h:4, from gui/messagebox.cc:15: @@ -10860,6 +10948,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/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/base_info.h:4, from gui/messagebox.h:4, @@ -10919,6 +11009,18 @@ 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/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/base_info.h:4, from gui/messagebox.h:4, from gui/messagebox.cc:15: @@ -10938,8 +11040,21 @@ 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/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 +===> HOSTCXX gui/password_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/password_frame.o gui/password_frame.cc +===> 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 +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] + 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/obj_info.cc:14: +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, @@ -10998,81 +11113,68 @@ 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: + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/obj_info.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/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: +In file included from gui/../display/simgraph.h:22, + from gui/obj_info.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/money_frame.h:11, - from gui/money_frame.cc:10: + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/obj_info.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/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: +In file included from gui/../display/simgraph.h:22, + from gui/obj_info.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/money_frame.h:11, - from gui/money_frame.cc:10: + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/obj_info.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/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: +In file included from gui/../display/simgraph.h:22, + from gui/obj_info.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/money_frame.h:11, - from gui/money_frame.cc:10: + from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/obj_info.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/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: +In file included from gui/../display/simgraph.h:22, + from gui/obj_info.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/money_frame.h:11, - from gui/money_frame.cc:10: +In file included from gui/base_info.h:4, + from gui/obj_info.h:13, + from gui/obj_info.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/gui_frame.h:16, - from gui/money_frame.h:11, - from gui/money_frame.cc:10: +In file included from gui/../display/simgraph.h:22, + from gui/obj_info.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/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] - 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/obj_info.cc:14: -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) {} - | ^~~~~~~~~~~~~~ -===> HOSTCXX gui/password_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/password_frame.o gui/password_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, @@ -11148,79 +11250,112 @@ 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/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, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/obj_info.cc:17: + from gui/password_frame.h:13, + from gui/password_frame.cc:22: 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/obj_info.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/../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/../simtool.h:11, + from gui/password_frame.cc: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; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/obj_info.cc:17: + from gui/password_frame.h:13, + from gui/password_frame.cc:22: 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/obj_info.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/../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/../simtool.h:11, + from gui/password_frame.cc: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; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/obj_info.cc:17: + from gui/password_frame.h:13, + from gui/password_frame.cc:22: 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/obj_info.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/../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/../simtool.h:11, + from gui/password_frame.cc: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; } | ^~~~~~~~ In file included from gui/gui_frame.h:20, - from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/obj_info.cc:17: + from gui/password_frame.h:13, + from gui/password_frame.cc:22: 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/obj_info.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/../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/../simtool.h:11, + from gui/password_frame.cc: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; } | ^~~~~~~~ -In file included from gui/base_info.h:4, - from gui/obj_info.h:13, - from gui/obj_info.cc:17: +In file included from gui/password_frame.h:13, + from gui/password_frame.cc:22: 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/obj_info.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/../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/../simtool.h:11, + from gui/password_frame.cc: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/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 ===> 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, @@ -11292,29 +11427,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/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/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 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 gui/password_frame.cc:22: + from gui/money_frame.h:11, + from gui/player_frame_t.cc:29: 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; @@ -11327,14 +11444,28 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/../simtool.h:11, - from gui/password_frame.cc:10: + from gui/player_frame_t.cc:17: 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/savegame_frame.h:14, + from gui/savegame_frame.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/savegame_frame.h:14, + from gui/savegame_frame.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/password_frame.h:13, - from gui/password_frame.cc:22: + from gui/money_frame.h:11, + from gui/player_frame_t.cc:29: 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; } @@ -11347,14 +11478,13 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/../simtool.h:11, - from gui/password_frame.cc:10: + from gui/player_frame_t.cc:17: 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/password_frame.h:13, - from gui/password_frame.cc:22: + from gui/money_frame.h:11, + from gui/player_frame_t.cc:29: 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; } | ^~ @@ -11366,14 +11496,13 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/../simtool.h:11, - from gui/password_frame.cc:10: + from gui/player_frame_t.cc:17: 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/password_frame.h:13, - from gui/password_frame.cc:22: + from gui/money_frame.h:11, + from gui/player_frame_t.cc:29: 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_; } @@ -11386,13 +11515,66 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/../simtool.h:11, - from gui/password_frame.cc:10: + from gui/player_frame_t.cc:17: 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/password_frame.h:13, - from gui/password_frame.cc:22: +In file included from gui/gui_frame.h:20, + from gui/savegame_frame.h:14, + from gui/savegame_frame.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/savegame_frame.h:14, + from gui/savegame_frame.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/savegame_frame.h:14, + from gui/savegame_frame.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/savegame_frame.h:14, + from gui/savegame_frame.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/savegame_frame.h:14, + from gui/savegame_frame.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/savegame_frame.h:14, + from gui/savegame_frame.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 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/money_frame.h:11, + from gui/player_frame_t.cc:29: 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; } @@ -11405,11 +11587,24 @@ from gui/../boden/grund.h:19, from gui/../simplan.h:12, from gui/../simworld.h:32, - from gui/../simtool.h:11, - from gui/password_frame.cc:10: + from gui/player_frame_t.cc:17: 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/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)': +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/savegame_frame.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/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 ===> 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 In file included from gui/components/gui_container.h:23, @@ -11487,83 +11682,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/money_frame.h:11, - from gui/player_frame_t.cc:29: -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/player_frame_t.cc:17: -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/money_frame.h:11, - from gui/player_frame_t.cc:29: -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/player_frame_t.cc:17: -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/money_frame.h:11, - from gui/player_frame_t.cc:29: -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/player_frame_t.cc:17: -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/money_frame.h:11, - from gui/player_frame_t.cc:29: -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/player_frame_t.cc:17: -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/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/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -11579,24 +11701,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/money_frame.h:11, - from gui/player_frame_t.cc:29: -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/player_frame_t.cc:17: -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/scenario_info.h:9, from gui/scenario_info.cc:5: @@ -11635,8 +11739,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/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 In file included from gui/scenario_info.h:9, from gui/scenario_info.cc:5: gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -11649,86 +11751,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, - from gui/savegame_frame.h:14, - from gui/savegame_frame.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/savegame_frame.h:14, - from gui/savegame_frame.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/savegame_frame.h:14, - from gui/savegame_frame.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/savegame_frame.h:14, - from gui/savegame_frame.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/savegame_frame.h:14, - from gui/savegame_frame.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/savegame_frame.h:14, - from gui/savegame_frame.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/savegame_frame.h:14, - from gui/savegame_frame.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/savegame_frame.h:14, - from gui/savegame_frame.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/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)': -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/savegame_frame.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/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/scenario_info.cc:7: -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/scenario_info.cc: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/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 /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/x86_64-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, @@ -11790,6 +11819,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/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 +===> 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/base_info.h:4, from gui/messagebox.h:4, from gui/schedule_list.cc:12: @@ -11804,8 +11837,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; } | ^~~~~~~~ -===> 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/scenario_info.cc:7: +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/scenario_info.cc: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/halt_list_stats.h:15, from gui/schedule_list.h:22, from gui/schedule_list.cc:13: @@ -11820,28 +11862,148 @@ 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.cc:14: +In file included from gui/schedule_list.cc:16: +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] + 19 | line_scrollitem_t( linehandle_t l ) : gui_scrolled_list_t::const_text_scrollitem_t( NULL, color_idx_to_rgb(COL_ORANGE) ) { line = l; } + | ^ +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/schedule_list.cc:20: +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/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/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/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] 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } | ^ -In file included from gui/../convoihandle_t.h:4, - from gui/../simline.h:11, - from gui/schedule_gui.cc:9: -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]' +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/schedule_gui.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/../convoihandle_t.h:4, - from gui/../simline.h:11, - from gui/schedule_gui.cc:9: -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]' +===> HOSTCXX 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/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; } + | ^~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/../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)': +gui/../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 gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/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/schedule_list.cc:48: +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/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/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -11856,6 +12018,24 @@ 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/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/gui_frame.h:20, from gui/settings_frame.h:12, from gui/settings_frame.cc:17: @@ -11891,11 +12071,10 @@ 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/schedule_list.cc:16: -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] - 19 | line_scrollitem_t( linehandle_t l ) : gui_scrolled_list_t::const_text_scrollitem_t( NULL, color_idx_to_rgb(COL_ORANGE) ) { line = l; } - | ^ +gui/schedule_list.cc: In constructor 'schedule_list_gui_t::schedule_list_gui_t(player_t*)': +gui/schedule_list.cc:271:87: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 271 | line = selected_line[player->get_player_nr()][selected_tab[player->get_player_nr()]]; + | ^ In file included from gui/components/../../convoihandle_t.h:4, from gui/components/gui_convoiinfo.h:19, from gui/schedule_list.h:21, @@ -11914,11 +12093,191 @@ 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/schedule_list.cc:20: -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; } - | ^~~~~~~~~ +gui/schedule_list.cc: In member function 'virtual bool schedule_list_gui_t::action_triggered(gui_action_creator_t*, value_t)': +gui/schedule_list.cc:381:125: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 381 | selected_line[player->get_player_nr()][selected_tab[player->get_player_nr()]] = selected_line[player->get_player_nr()][0]; + | ^ +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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) {} + | ^~~~~~~~~~~~~~ +gui/schedule_list.cc:400:83: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 400 | selected_line[player->get_player_nr()][selected_tab[player->get_player_nr()]] = line; + | ^~~~ +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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) {} + | ^~~~~~~~~~~~~~ +gui/schedule_list.cc:401:47: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 401 | selected_line[player->get_player_nr()][0] = line; // keep these the same in overview + | ^~~~ +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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) {} + | ^~~~~~~~~~~~~~ +gui/schedule_list.cc: In member function 'void schedule_list_gui_t::update_lineinfo(linehandle_t)': +gui/schedule_list.cc:698:9: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 698 | line = new_line; + | ^~~~~~~~ +In file included from gui/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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) {} + | ^~~~~~~~~~~~~~ +gui/schedule_list.cc: In member function 'virtual void schedule_list_gui_t::rdwr(loadsave_t*)': +gui/schedule_list.cc:755:25: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] + 755 | size = get_windowsize(); + | ^ +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/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +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/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +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/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +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/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +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/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/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] + 830 | void set_update_line(linehandle_t l) { line_update_pending = l; } + | ^ +In file included from gui/../convoihandle_t.h:4, + from gui/../simline.h:11, + from gui/schedule_gui.cc:9: +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/schedule_gui.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/../convoihandle_t.h:4, + from gui/../simline.h:11, + from gui/schedule_gui.cc:9: +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/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +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/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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/../dataobj/koord3d.h:7, + from gui/gui_frame.h:19, + from gui/base_info.h:4, + from gui/messagebox.h:4, + from gui/schedule_list.cc:12: +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/components/../../convoihandle_t.h:4, + from gui/components/gui_convoiinfo.h:19, + from gui/schedule_list.h:21, + from gui/schedule_list.cc:13: +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_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -11934,13 +12293,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/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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/gui_frame.h:20, from gui/depot_frame.h:15, from gui/schedule_gui.cc:34: @@ -12024,83 +12376,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/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; } - | ^~~~~~~~ gui/schedule_gui.cc: In member function 'void schedule_gui_t::init(schedule_t*, player_t*, convoihandle_t)': gui/schedule_gui.cc:301:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 301 | this->cnv = cnv; @@ -12147,24 +12422,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/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; } - | ^~~~~~~~ gui/schedule_gui.cc: In member function 'virtual bool schedule_gui_t::action_triggered(gui_action_creator_t*, value_t)': gui/schedule_gui.cc:592:28: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 592 | new_line = li->get_line(); @@ -12230,18 +12487,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/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] - 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/schedule_list.h:21, - from gui/schedule_list.cc:13: -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/gui_frame.h:20, @@ -12363,19 +12608,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/../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)': -gui/../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 gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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/../simline.h:15, from gui/schedule_gui.cc:9: gui/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': @@ -12406,205 +12638,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/schedule_list.cc:48: -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/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; } - | ^~~~~~~~ -===> 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 -gui/schedule_list.cc: In constructor 'schedule_list_gui_t::schedule_list_gui_t(player_t*)': -gui/schedule_list.cc:271:87: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 271 | line = selected_line[player->get_player_nr()][selected_tab[player->get_player_nr()]]; - | ^ -In file included from gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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 /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/x86_64-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)); - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gui/schedule_list.cc: In member function 'virtual bool schedule_list_gui_t::action_triggered(gui_action_creator_t*, value_t)': -gui/schedule_list.cc:381:125: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 381 | selected_line[player->get_player_nr()][selected_tab[player->get_player_nr()]] = selected_line[player->get_player_nr()][0]; - | ^ -In file included from gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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) {} - | ^~~~~~~~~~~~~~ -gui/schedule_list.cc:400:83: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 400 | selected_line[player->get_player_nr()][selected_tab[player->get_player_nr()]] = line; - | ^~~~ -In file included from gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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) {} - | ^~~~~~~~~~~~~~ -gui/schedule_list.cc:401:47: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 401 | selected_line[player->get_player_nr()][0] = line; // keep these the same in overview - | ^~~~ -In file included from gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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) {} - | ^~~~~~~~~~~~~~ -gui/schedule_list.cc: In member function 'void schedule_list_gui_t::update_lineinfo(linehandle_t)': -gui/schedule_list.cc:698:9: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 698 | line = new_line; - | ^~~~~~~~ -In file included from gui/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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) {} - | ^~~~~~~~~~~~~~ -gui/schedule_list.cc: In member function 'virtual void schedule_list_gui_t::rdwr(loadsave_t*)': -gui/schedule_list.cc:755:25: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] - 755 | size = get_windowsize(); - | ^ -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; } - | ^~~~~~~~ -===> 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 -===> 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/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -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/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -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/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -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/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -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/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -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/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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/../dataobj/koord3d.h:7, - from gui/gui_frame.h:19, - from gui/base_info.h:4, - from gui/messagebox.h:4, - from gui/schedule_list.cc:12: -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/components/../../convoihandle_t.h:4, - from gui/components/gui_convoiinfo.h:19, - from gui/schedule_list.h:21, - from gui/schedule_list.cc:13: -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_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -12650,6 +12683,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/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/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] @@ -12660,86 +12695,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, - 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; } - | ^~~~~~~~ +===> 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 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] @@ -12804,8 +12761,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/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 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)': @@ -12878,8 +12835,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/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 In file included from gui/halt_info.h:28, from gui/simwin.cc:63: gui/components/gui_colorbox.h: In member function 'void gui_colorbox_t::set_max_size(scr_size)': @@ -12902,7 +12857,6 @@ gui/../display/../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/tool_selector.cc gui/simwin.cc: In function 'int create_win(int, int, gui_frame_t*, wintype, ptrdiff_t)': gui/simwin.cc:751:33: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 751 | stored = gui->get_windowsize(); @@ -12912,7 +12866,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; } | ^~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 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(); @@ -12922,8 +12875,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/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/../dataobj/../tpl/stringhashtable_tpl.h:8, from gui/../dataobj/translator.h:12, from gui/../simmenu.h:16, @@ -13048,6 +12999,8 @@ 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) {} | ^~~~~~~~~~~~~~ +===> 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 In file included from gui/../display/../dataobj/koord3d.h:7, from gui/../display/viewport.h:13, from gui/simwin.cc:28: @@ -13083,72 +13036,160 @@ 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/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: + 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/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/themeselector.h:9, + from gui/themeselector.cc:7: 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/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: + from gui/savegame_frame.h:14, + from gui/themeselector.h:9, + from gui/themeselector.cc:7: 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/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: + 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/gui_frame.h:20, + from gui/savegame_frame.h:14, + from gui/themeselector.h:9, + from gui/themeselector.cc:7: 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/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: + from gui/savegame_frame.h:14, + from gui/themeselector.h:9, + from gui/themeselector.cc:7: 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/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: + from gui/savegame_frame.h:14, + from gui/themeselector.h:9, + from gui/themeselector.cc:7: 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/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: + from gui/savegame_frame.h:14, + from gui/themeselector.h:9, + from gui/themeselector.cc:7: 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/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: + from gui/savegame_frame.h:14, + from gui/themeselector.h:9, + from gui/themeselector.cc:7: 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/trafficlight_info.h:15, - from gui/trafficlight_info.cc:12: + from gui/savegame_frame.h:14, + from gui/themeselector.h:9, + from gui/themeselector.cc:7: +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/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/savegame_frame.h:14, + from gui/themeselector.h:9, + from gui/themeselector.cc:7: +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/themeselector.h:9, + from gui/themeselector.cc:7: 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/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, @@ -13226,8 +13267,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; } | ^~~~~~~~ -===> 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/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)': @@ -13246,22 +13285,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; } | ^~~~~~~~ -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/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 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 +===> 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, @@ -13320,82 +13347,88 @@ 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/themeselector.h:9, - from gui/themeselector.cc:7: + 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/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/themeselector.h:9, - from gui/themeselector.cc:7: + 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/gui_frame.h:20, - from gui/savegame_frame.h:14, - from gui/themeselector.h:9, - from gui/themeselector.cc:7: + 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/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/themeselector.h:9, - from gui/themeselector.cc:7: + 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/gui_frame.h:20, - from gui/savegame_frame.h:14, - from gui/themeselector.h:9, - from gui/themeselector.cc:7: + 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/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/themeselector.h:9, - from gui/themeselector.cc:7: + 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/gui_frame.h:20, - from gui/savegame_frame.h:14, - from gui/themeselector.h:9, - from gui/themeselector.cc:7: + 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/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/themeselector.h:9, - from gui/themeselector.cc:7: + 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/savegame_frame.h:14, - from gui/themeselector.h:9, - from gui/themeselector.cc:7: +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/savegame_frame.h:14, - from gui/themeselector.h:9, - from gui/themeselector.cc:7: + 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 -===> HOSTCXX network/memory_rw.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/memory_rw.o network/memory_rw.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, @@ -13472,10 +13505,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 network/network.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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.o network/network.cc -===> HOSTCXX network/network_address.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_address.o network/network_address.cc +===> HOSTCXX network/memory_rw.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/memory_rw.o network/memory_rw.cc In file included from gui/welt.cc:44: 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] @@ -13487,10 +13518,22 @@ 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 network/network.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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.o network/network.cc +===> HOSTCXX network/network_address.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_address.o network/network_address.cc ===> HOSTCXX network/network_cmd.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_cmd.o network/network_cmd.cc ===> HOSTCXX network/network_cmd_ingame.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_cmd_ingame.o network/network_cmd_ingame.cc +===> HOSTCXX network/network_cmd_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/network/network_cmd_scenario.o network/network_cmd_scenario.cc +===> HOSTCXX network/network_cmp_pakset.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_cmp_pakset.o network/network_cmp_pakset.cc +===> HOSTCXX network/network_file_transfer.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_file_transfer.o network/network_file_transfer.cc +===> 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 In file included from network/network_address.h:5, from network/network_address.cc:1: network/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = net_address_t]': @@ -13512,20 +13555,14 @@ network/network_address.cc:37:1: note: because 'net_address_t' has user-provided 'net_address_t::net_address_t(const net_address_t&)' 37 | net_address_t::net_address_t(const net_address_t &other) | ^~~~~~~~~~~~~ -===> HOSTCXX network/network_cmd_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/network/network_cmd_scenario.o network/network_cmd_scenario.cc -===> HOSTCXX network/network_cmp_pakset.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_cmp_pakset.o network/network_cmp_pakset.cc -===> HOSTCXX network/network_file_transfer.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_file_transfer.o network/network_file_transfer.cc -===> 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 ===> 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 +===> HOSTCXX obj/baum.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/baum.o obj/baum.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, @@ -13638,8 +13675,6 @@ 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 obj/baum.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/baum.o obj/baum.cc In file included from network/network_cmd.h:6, from network/network_cmd_ingame.h:4, from network/network_cmd_ingame.cc:1: @@ -13685,8 +13720,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/obj/bruecke.o obj/bruecke.cc ===> HOSTCXX obj/crossing.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/crossing.o obj/crossing.cc -===> HOSTCXX obj/field.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/field.o obj/field.cc network/network_socket_list.cc: In static member function 'static void socket_list_t::add_client(SOCKET, uint32)': network/network_socket_list.cc:187:40: warning: implicitly-declared 'net_address_t& net_address_t::operator=(const net_address_t&)' is deprecated [-Wdeprecated-copy] 187 | list[i]->address = net_address_t(ip, 0); @@ -13696,6 +13729,8 @@ 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 obj/field.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/field.o obj/field.cc ===> HOSTCXX obj/gebaeude.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/gebaeude.o obj/gebaeude.cc ===> HOSTCXX obj/groundobj.cc @@ -13798,6 +13833,29 @@ | ^~~~~~~~ ===> HOSTCXX obj/roadsign.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/roadsign.o obj/roadsign.cc +===> HOSTCXX obj/signal.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/signal.o obj/signal.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, + from obj/../gui/label_info.h:11, + from obj/label.cc:19: +obj/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +obj/../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 obj/../boden/wege/../../descriptor/../display/simgraph.h:22, + from obj/../boden/wege/../../descriptor/image.h:10, + from obj/../boden/wege/../../descriptor/image_list.h:10, + from obj/../boden/wege/../../descriptor/way_desc.h:10, + from obj/../boden/wege/weg.h:14, + from obj/../boden/grund.h:19, + from obj/../simplan.h:12, + from obj/../simworld.h:32, + from obj/label.cc:12: +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; } + | ^~~~~~~~ In file included from obj/../bauer/../dataobj/koord3d.h:7, from obj/../bauer/hausbauer.h:12, from obj/gebaeude.cc:18: @@ -13858,61 +13916,6 @@ 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) {} | ^~~~~~~~~~~~~~ -In file included from obj/../bauer/../dataobj/koord3d.h:7, - from obj/../bauer/hausbauer.h:12, - from obj/gebaeude.cc:18: -obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -obj/../bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -obj/../bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -obj/../simhalt.h:749:72: required from here -obj/../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 obj/../convoihandle_t.h:4, - from obj/../simworld.h:20, - from obj/gebaeude.cc:20: -obj/../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 obj/../bauer/../dataobj/koord3d.h:7, - from obj/../bauer/hausbauer.h:12, - from obj/gebaeude.cc:18: -obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -obj/../bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -obj/../bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -obj/../simhalt.h:767:82: required from here -obj/../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 obj/../convoihandle_t.h:4, - from obj/../simworld.h:20, - from obj/gebaeude.cc:20: -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/signal.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/signal.o obj/signal.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, - from obj/../gui/label_info.h:11, - from obj/label.cc:19: -obj/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -obj/../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 obj/../boden/wege/../../descriptor/../display/simgraph.h:22, - from obj/../boden/wege/../../descriptor/image.h:10, - from obj/../boden/wege/../../descriptor/image_list.h:10, - from obj/../boden/wege/../../descriptor/way_desc.h:10, - from obj/../boden/wege/weg.h:14, - from obj/../boden/grund.h:19, - from obj/../simplan.h:12, - from obj/../simworld.h:32, - from obj/label.cc:12: -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; } - | ^~~~~~~~ In file included from obj/../gui/gui_frame.h:20, from obj/../gui/label_info.h:11, from obj/label.cc:19: @@ -13969,6 +13972,38 @@ 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; } | ^~~~~~~~ +In file included from obj/../bauer/../dataobj/koord3d.h:7, + from obj/../bauer/hausbauer.h:12, + from obj/gebaeude.cc:18: +obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +obj/../bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +obj/../bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +obj/../simhalt.h:749:72: required from here +obj/../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 obj/../convoihandle_t.h:4, + from obj/../simworld.h:20, + from obj/gebaeude.cc:20: +obj/../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 obj/../bauer/../dataobj/koord3d.h:7, + from obj/../bauer/hausbauer.h:12, + from obj/gebaeude.cc:18: +obj/../bauer/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +obj/../bauer/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +obj/../bauer/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +obj/../simhalt.h:767:82: required from here +obj/../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 obj/../convoihandle_t.h:4, + from obj/../simworld.h:20, + from obj/gebaeude.cc:20: +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) {} + | ^~~~~~~~~~~~~~ In file included from obj/../gui/label_info.h:11, from obj/label.cc:19: obj/../gui/gui_frame.h: In member function 'void gui_frame_t::set_min_windowsize(scr_size)': @@ -14081,6 +14116,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 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/wolke.o obj/wolke.cc ===> 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 +===> 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 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, @@ -14191,14 +14232,94 @@ 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 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 -===> 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 +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]': +obj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +obj/../simhalt.h:749:72: required from here +obj/../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 obj/../convoihandle_t.h:4, + from obj/../simworld.h:20, + from obj/zeiger.cc:12: +obj/../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 obj/../simworld.h:24, + from obj/zeiger.cc:12: +obj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +obj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +obj/../simhalt.h:755:68: required from here +obj/../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 obj/../convoihandle_t.h:4, + from obj/../simworld.h:20, + from obj/zeiger.cc:12: +obj/../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 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]': +obj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +obj/../simhalt.h:767:82: required from here +obj/../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 obj/../convoihandle_t.h:4, + from obj/../simworld.h:20, + from obj/zeiger.cc: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) {} + | ^~~~~~~~~~~~~~ +In file included from obj/../simworld.h:24, + from obj/zeiger.cc:12: +obj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +obj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +obj/../simhalt.h:773:78: required from here +obj/../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 obj/../convoihandle_t.h:4, + from obj/../simworld.h:20, + from obj/zeiger.cc: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) {} + | ^~~~~~~~~~~~~~ +In file included from obj/../simworld.h:24, + from obj/zeiger.cc:12: +obj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +obj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +obj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +obj/../simhalt.h:749:72: required from here +obj/../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 obj/../convoihandle_t.h:4, + from obj/../simworld.h:20, + from obj/zeiger.cc:12: +obj/../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 obj/../simworld.h:24, + from obj/zeiger.cc:12: +obj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +obj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +obj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +obj/../simhalt.h:767:82: required from here +obj/../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 obj/../convoihandle_t.h:4, + from obj/../simworld.h:20, + from obj/zeiger.cc: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) {} + | ^~~~~~~~~~~~~~ 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, @@ -14286,115 +14407,29 @@ | ^~~~~~~~ ===> 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/../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]': -obj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -obj/../simhalt.h:749:72: required from here -obj/../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 obj/../convoihandle_t.h:4, - from obj/../simworld.h:20, - from obj/zeiger.cc:12: -obj/../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 obj/../simworld.h:24, - from obj/zeiger.cc:12: -obj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -obj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -obj/../simhalt.h:755:68: required from here -obj/../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 obj/../convoihandle_t.h:4, - from obj/../simworld.h:20, - from obj/zeiger.cc:12: -obj/../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 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]': -obj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -obj/../simhalt.h:767:82: required from here -obj/../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 obj/../convoihandle_t.h:4, - from obj/../simworld.h:20, - from obj/zeiger.cc: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) {} - | ^~~~~~~~~~~~~~ -In file included from obj/../simworld.h:24, - from obj/zeiger.cc:12: -obj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -obj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -obj/../simhalt.h:773:78: required from here -obj/../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 obj/../convoihandle_t.h:4, - from obj/../simworld.h:20, - from obj/zeiger.cc: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) {} - | ^~~~~~~~~~~~~~ -In file included from obj/../simworld.h:24, - from obj/zeiger.cc:12: -obj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -obj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -obj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -obj/../simhalt.h:749:72: required from here -obj/../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 obj/../convoihandle_t.h:4, - from obj/../simworld.h:20, - from obj/zeiger.cc:12: -obj/../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 obj/../simworld.h:24, - from obj/zeiger.cc:12: -obj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -obj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -obj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -obj/../simhalt.h:767:82: required from here -obj/../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 obj/../convoihandle_t.h:4, - from obj/../simworld.h:20, - from obj/zeiger.cc: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) {} - | ^~~~~~~~~~~~~~ -In file included from player/ai_goods.cc:4: +===> 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.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] 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: + from player/../simlinemgmt.h:10, + from player/simplay.h:12, + from player/ai.h:13, + from player/ai.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) {} | ^~~~~~~~~~~~~~ -===> 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.cc:14: +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/../simlinemgmt.h:10, - from player/simplay.h:12, - from player/ai.h:13, - from player/ai.cc:11: + 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) {} | ^~~~~~~~~~~~~~ @@ -14424,17 +14459,6 @@ 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) {} | ^~~~~~~~~~~~~~ -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/../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, @@ -14525,150 +14549,42 @@ 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.cc:24: -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/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, - from player/../finder/../boden/wege/../../descriptor/image.h:10, - from player/../finder/../boden/wege/../../descriptor/image_list.h:10, - from player/../finder/../boden/wege/../../descriptor/way_desc.h:10, - from player/../finder/../boden/wege/weg.h:14, - from player/../finder/../boden/grund.h:19, - from player/../finder/../simplan.h:12, - from player/../finder/../simworld.h:32, - from player/../finder/building_placefinder.h:12, - from player/ai.h:15, - from player/ai.cc:11: -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/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_goods.cc:23: -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_goods.cc:5: -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_goods.cc:23: -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_goods.cc:5: -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_goods.cc:23: -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_goods.cc:5: -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_goods.cc:23: -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_goods.cc:5: -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.cc:24: -player/../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': -player/../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 player/../linehandle_t.h:4, - from player/../simlinemgmt.h:10, - from player/simplay.h:12, - from player/ai.h:13, - from player/ai.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/../bauer/../gui/depot_frame.h:15, - from player/../bauer/vehikelbauer.h:14, - from player/ai_goods.cc:23: -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_goods.cc:5: -player/../descriptor/../display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_size::scr_size(const scr_size&)' + from player/../bauer/vehikelbauer.h:14, + from player/ai.cc:24: +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/../finder/../boden/wege/../../descriptor/../display/simgraph.h:22, + from player/../finder/../boden/wege/../../descriptor/image.h:10, + from player/../finder/../boden/wege/../../descriptor/image_list.h:10, + from player/../finder/../boden/wege/../../descriptor/way_desc.h:10, + from player/../finder/../boden/wege/weg.h:14, + from player/../finder/../boden/grund.h:19, + from player/../finder/../simplan.h:12, + from player/../finder/../simworld.h:32, + from player/../finder/building_placefinder.h:12, + from player/ai.h:15, + from player/ai.cc:11: +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/vehikelbauer.h:14, - from player/ai_goods.cc:23: + from player/ai.cc:24: player/../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': player/../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 player/../linehandle_t.h:4, - from player/../simconvoi.h:12, - from player/ai_goods.cc:4: + from player/../simlinemgmt.h:10, + from player/simplay.h:12, + from player/ai.h:13, + from player/ai.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) {} | ^~~~~~~~~~~~~~ ===> 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 In file included from player/../simlinemgmt.h:12, from player/simplay.h:12, from player/ai.h:13, @@ -14741,7 +14657,17 @@ 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) {} | ^~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/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, @@ -14780,6 +14706,125 @@ 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 +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_goods.cc:23: +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_goods.cc:5: +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_goods.cc:23: +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_goods.cc:5: +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_goods.cc:23: +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_goods.cc:5: +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_goods.cc:23: +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_goods.cc:5: +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_goods.cc:23: +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_goods.cc:5: +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; } + | ^~~~~~~~ +===> 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/../bauer/vehikelbauer.h:14, + from player/ai_goods.cc:23: +player/../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': +player/../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 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 obj/wayobj.cc:29: +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] = { + | ^~~~~~~~~~~~~ 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, @@ -14875,6 +14920,13 @@ 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; } | ^~~~~~~~ +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/../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)': @@ -14887,14 +14939,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) {} | ^~~~~~~~~~~~~~ -In file included from obj/wayobj.cc:29: -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] = { - | ^~~~~~~~~~~~~ player/ai_passenger.cc: In member function 'bool ai_passenger_t::create_water_transport_vehikel(const stadt_t*, koord)': player/ai_passenger.cc:209:24: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 209 | start_connect_hub = start_hub; @@ -15004,124 +15048,6 @@ 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 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 -player/ai_passenger.cc: In member function 'bool ai_passenger_t::create_air_transport_vehikel(const stadt_t*, const stadt_t*)': -player/ai_passenger.cc:638:24: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 638 | start_connect_hub = start_hub; - | ^~~~~~~~~ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:639:29: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 639 | start_hub = halthandle_t(); - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:644:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 644 | start_hub = h; - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:667:22: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 667 | end_connect_hub = end_hub; - | ^~~~~~~ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:668:27: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 668 | end_hub = halthandle_t(); - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:673:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 673 | start_hub = h; - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:694:62: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 694 | start_hub = build_airport(start_stadt, start_airport, true); - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:698:49: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 698 | start_connect_hub = get_our_hub( start_stadt ); - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:704:50: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 704 | start_connect_hub = get_our_hub( start_stadt ); - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:709:56: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 709 | end_hub = build_airport(end_stadt, end_airport, true); - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:724:45: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 724 | end_connect_hub = get_our_hub( end_stadt ); - | ^ -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 = haltestelle_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -player/ai_passenger.cc:730:46: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 730 | end_connect_hub = get_our_hub( end_stadt ); - | ^ -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 = haltestelle_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_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/../dataobj/../dataobj/koord3d.h:7, from player/../dataobj/route.h:13, from player/../simconvoi.h:16, @@ -15132,7 +15058,6 @@ player/../dataobj/../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; | ~~~~~~~~~~~~~~^~~~~~ -===> HOSTCXX script/api/api_const.cc In file included from player/../linehandle_t.h:4, from player/../simconvoi.h:12, from player/ai_goods.cc:4: @@ -15187,7 +15112,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) {} | ^~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/../dataobj/../dataobj/koord3d.h:7, from player/../dataobj/route.h:13, from player/../simconvoi.h:16, @@ -15222,106 +15146,117 @@ 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_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 -In file included from player/../dataobj/koord3d.h:7, - from player/../simobj.h:15, - from player/../simcity.h:11, - from player/ai_passenger.cc:10: -player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -player/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -player/../simhalt.h:749:72: required from here -player/../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; - | ~~~~~~~~~~~~~~^~~~~~ +player/ai_passenger.cc: In member function 'bool ai_passenger_t::create_air_transport_vehikel(const stadt_t*, const stadt_t*)': +player/ai_passenger.cc:638:24: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 638 | start_connect_hub = start_hub; + | ^~~~~~~~~ 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]' +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) {} | ^~~~~~~~~~~~~~ -In file included from player/../dataobj/koord3d.h:7, - from player/../simobj.h:15, - from player/../simcity.h:11, - from player/ai_passenger.cc:10: -player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -player/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -player/../simhalt.h:755:68: required from here -player/../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]; - | ~~~~~~~~^~~~~~~ +player/ai_passenger.cc:639:29: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 639 | start_hub = halthandle_t(); + | ^ 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]' +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) {} | ^~~~~~~~~~~~~~ -In file included from player/../dataobj/koord3d.h:7, - from player/../simobj.h:15, - from player/../simcity.h:11, - from player/ai_passenger.cc:10: -player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -player/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -player/../simhalt.h:767:82: required from here -player/../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; - | ~~~~~~~~~~~~~~^~~~~~ +player/ai_passenger.cc:644:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 644 | start_hub = h; + | ^ 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 = convoi_t]' +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) {} | ^~~~~~~~~~~~~~ -In file included from player/../dataobj/koord3d.h:7, - from player/../simobj.h:15, - from player/../simcity.h:11, - from player/ai_passenger.cc:10: -player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -player/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -player/../simhalt.h:773:78: required from here -player/../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]; - | ~~~~~~~~^~~~~~~ +player/ai_passenger.cc:667:22: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 667 | end_connect_hub = end_hub; + | ^~~~~~~ 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 = convoi_t]' +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) {} | ^~~~~~~~~~~~~~ -In file included from player/../dataobj/koord3d.h:7, - from player/../simobj.h:15, - from player/../simcity.h:11, - from player/ai_passenger.cc:10: -player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -player/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -player/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -player/../simhalt.h:749:72: required from here -player/../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]; - | ~~~~~~~~~~~~^~~~~~~ +player/ai_passenger.cc:668:27: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 668 | end_hub = halthandle_t(); + | ^ 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]' +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) {} | ^~~~~~~~~~~~~~ -In file included from player/../dataobj/koord3d.h:7, - from player/../simobj.h:15, - from player/../simcity.h:11, - from player/ai_passenger.cc:10: -player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -player/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' -player/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -player/../simhalt.h:767:82: required from here -player/../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]; - | ~~~~~~~~~~~~^~~~~~~ +player/ai_passenger.cc:673:18: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 673 | start_hub = h; + | ^ 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 = convoi_t]' +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) {} + | ^~~~~~~~~~~~~~ +player/ai_passenger.cc:694:62: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 694 | start_hub = build_airport(start_stadt, start_airport, true); + | ^ +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 = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +player/ai_passenger.cc:698:49: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 698 | start_connect_hub = get_our_hub( start_stadt ); + | ^ +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 = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +player/ai_passenger.cc:704:50: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 704 | start_connect_hub = get_our_hub( start_stadt ); + | ^ +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 = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +player/ai_passenger.cc:709:56: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 709 | end_hub = build_airport(end_stadt, end_airport, true); + | ^ +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 = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +player/ai_passenger.cc:724:45: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 724 | end_connect_hub = get_our_hub( end_stadt ); + | ^ +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 = haltestelle_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +player/ai_passenger.cc:730:46: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 730 | end_connect_hub = get_our_hub( end_stadt ); + | ^ +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 = haltestelle_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/../gui/components/gui_container.h:23, from player/../gui/components/gui_aligned_container.h:4, from player/../gui/gui_frame.h:20, @@ -15411,6 +15346,70 @@ 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/../dataobj/koord3d.h:7, + from player/../simobj.h:15, + from player/../simcity.h:11, + from player/ai_passenger.cc:10: +player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +player/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +player/../simhalt.h:749:72: required from here +player/../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 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/../dataobj/koord3d.h:7, + from player/../simobj.h:15, + from player/../simcity.h:11, + from player/ai_passenger.cc:10: +player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +player/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +player/../simhalt.h:755:68: required from here +player/../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 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/../dataobj/koord3d.h:7, + from player/../simobj.h:15, + from player/../simcity.h:11, + from player/ai_passenger.cc:10: +player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +player/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +player/../simhalt.h:767:82: required from here +player/../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 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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from player/../dataobj/koord3d.h:7, + from player/../simobj.h:15, + from player/../simcity.h:11, + from player/ai_passenger.cc:10: +player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +player/../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +player/../simhalt.h:773:78: required from here +player/../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 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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ 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)': @@ -15432,6 +15431,44 @@ 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/../dataobj/koord3d.h:7, + from player/../simobj.h:15, + from player/../simcity.h:11, + from player/ai_passenger.cc:10: +player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +player/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +player/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +player/../simhalt.h:749:72: required from here +player/../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 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/../dataobj/koord3d.h:7, + from player/../simobj.h:15, + from player/../simcity.h:11, + from player/ai_passenger.cc:10: +player/../dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::resize(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +player/../dataobj/../tpl/vector_tpl.h:94:5: required from 'void vector_tpl::append(const T&) [with T = quickstone_tpl]' +player/../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +player/../simhalt.h:767:82: required from here +player/../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 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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +===> 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 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) ); @@ -15469,6 +15506,10 @@ 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_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 +===> 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 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] @@ -15491,10 +15532,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_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; @@ -15513,8 +15550,6 @@ /usr/include/c++/10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ -===> 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 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] @@ -15526,37 +15561,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) {} | ^~~~~~~~~~~~~~ -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) ); - | ~~~~~~~~~~~~~~~~~~^ -obj/../descriptor/way_obj_desc.h:60:17: note: while referencing 'ribi_to_extra' - 60 | static uint8 ribi_to_extra[16] = { - | ^~~~~~~~~~~~~ -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] = { - | ^~~~~~~~~~~~~ -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] = { - | ^~~~~~~~~~~~~ -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] = { - | ^~~~~~~~~~~~~ -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/../gui/components/gui_container.h:23, from player/../gui/components/gui_aligned_container.h:4, from player/../gui/gui_frame.h:20, @@ -15629,8 +15633,18 @@ | ^~~~~~~~ ===> 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/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] + 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_convoy.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 player/../dataobj/../dataobj/koord3d.h:7, from player/../dataobj/route.h:13, from player/../simconvoi.h:16, @@ -15729,24 +15743,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_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 -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] - 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_convoy.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) {} - | ^~~~~~~~~~~~~~ -===> 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 +===> 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 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(); @@ -15758,6 +15756,37 @@ 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) {} | ^~~~~~~~~~~~~~ +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) ); + | ~~~~~~~~~~~~~~~~~~^ +obj/../descriptor/way_obj_desc.h:60:17: note: while referencing 'ribi_to_extra' + 60 | static uint8 ribi_to_extra[16] = { + | ^~~~~~~~~~~~~ +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] = { + | ^~~~~~~~~~~~~ +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] = { + | ^~~~~~~~~~~~~ +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] = { + | ^~~~~~~~~~~~~ +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 script/api/../../dataobj/koord3d.h:7, from script/api/../../simobj.h:15, from script/api/../api_param.h:7, @@ -15839,6 +15868,50 @@ from script/api/../api_param.h:7, from script/api/api_command.h:4, from script/api/api.h:7, + from script/api/api_convoy.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/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +script/api/../../simhalt.h:749:72: 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_convoy.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, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_convoy.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/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' +script/api/../../simhalt.h:767:82: 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_convoy.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) {} + | ^~~~~~~~~~~~~~ +===> 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 +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_halt.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]' @@ -15950,12 +16023,117 @@ 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_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 +===> 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 +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(); + | ^ +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_line.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, from script/api/api_command.h:4, from script/api/api.h:7, - from script/api/api_convoy.cc:1: + from script/api/api_line.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]' +script/api/../../simhalt.h:749:72: 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_line.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, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_line.cc:1: +script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +script/api/../../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +script/api/../../simhalt.h:755:68: required from here +script/api/../../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 script/api/../api_param.h:9, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_line.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, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_line.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]' +script/api/../../simhalt.h:767:82: 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_line.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_line.cc:1: +script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': +script/api/../../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' +script/api/../../simhalt.h:773:78: required from here +script/api/../../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 script/api/../api_param.h:9, + from script/api/api_command.h:4, + from script/api/api.h:7, + from script/api/api_line.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_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) {} + | ^~~~~~~~~~~~~~ +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_line.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/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' @@ -15966,7 +16144,7 @@ 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_convoy.cc:1: + from script/api/api_line.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) {} | ^~~~~~~~~~~~~~ @@ -15975,7 +16153,7 @@ from script/api/../api_param.h:7, from script/api/api_command.h:4, from script/api/api.h:7, - from script/api/api_convoy.cc:1: + from script/api/api_line.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/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' @@ -15986,14 +16164,22 @@ 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_convoy.cc:1: + from script/api/api_line.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) {} | ^~~~~~~~~~~~~~ -===> 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/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/../../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, @@ -16014,6 +16200,26 @@ script/api/../../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 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, + from script/api/../../bauer/../gui/depot_frame.h:15, + from script/api/../../bauer/vehikelbauer.h:14, + from script/api/api_obj_desc.cc:19: +script/api/../../bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': +script/api/../../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 script/api/../../descriptor/../display/simgraph.h:22, + from script/api/../../descriptor/image.h:10, + from script/api/../../descriptor/image_list.h:10, + from script/api/../../descriptor/image_array.h:10, + from script/api/../../descriptor/skin_desc.h:12, + from script/api/../../descriptor/bridge_desc.h:18, + from script/api/api_obj_desc.cc:11: +script/api/../../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 script/api/../../bauer/../gui/gui_frame.h:20, from script/api/../../bauer/../gui/depot_frame.h:15, from script/api/../../bauer/vehikelbauer.h:14, @@ -16084,61 +16290,6 @@ script/api/../../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 script/api/../../bauer/vehikelbauer.h:14, - from script/api/api_obj_desc_base.cc:6: -script/api/../../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': -script/api/../../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 script/api/../api_param.h:9, - from script/api/api_obj_desc_base.h:6, - from script/api/api_obj_desc_base.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/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(); - | ^ -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_line.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/../../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, - from script/api/../../bauer/../gui/depot_frame.h:15, - from script/api/../../bauer/vehikelbauer.h:14, - from script/api/api_obj_desc.cc:19: -script/api/../../bauer/../gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': -script/api/../../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 script/api/../../descriptor/../display/simgraph.h:22, - from script/api/../../descriptor/image.h:10, - from script/api/../../descriptor/image_list.h:10, - from script/api/../../descriptor/image_array.h:10, - from script/api/../../descriptor/skin_desc.h:12, - from script/api/../../descriptor/bridge_desc.h:18, - from script/api/api_obj_desc.cc:11: -script/api/../../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 script/api/../../bauer/../gui/gui_frame.h:20, from script/api/../../bauer/../gui/depot_frame.h:15, from script/api/../../bauer/vehikelbauer.h:14, @@ -16197,75 +16348,29 @@ from script/api/../api_param.h:7, from script/api/api_command.h:4, from script/api/api.h:7, - from script/api/api_line.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]' -script/api/../../simhalt.h:749:72: 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_line.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, - from script/api/api_command.h:4, - from script/api/api.h:7, - from script/api/api_line.cc:1: -script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -script/api/../../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -script/api/../../simhalt.h:755:68: required from here -script/api/../../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 script/api/../api_param.h:9, - from script/api/api_command.h:4, - from script/api/api.h:7, - from script/api/api_line.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, - from script/api/api_command.h:4, - from script/api/api.h:7, - from script/api/api_line.cc:1: + 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/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -script/api/../../simhalt.h:767:82: required from here +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_line.cc:1: + 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_line.cc:1: -script/api/../../dataobj/../tpl/vector_tpl.h: In instantiation of 'bool vector_tpl::remove_at(uint32) [with T = quickstone_tpl; uint32 = unsigned int]': -script/api/../../dataobj/../tpl/vector_tpl.h:203:13: required from 'bool vector_tpl::remove(const T&) [with T = quickstone_tpl]' -script/api/../../simhalt.h:773:78: required from here -script/api/../../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 script/api/../../bauer/vehikelbauer.h:14, + from script/api/api_obj_desc_base.cc:6: +script/api/../../bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': +script/api/../../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 script/api/../api_param.h:9, - from script/api/api_command.h:4, - from script/api/api.h:7, - from script/api/api_line.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]' + from script/api/api_obj_desc_base.h:6, + from script/api/api_obj_desc_base.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/../../bauer/../gui/depot_frame.h:15, @@ -16285,55 +16390,22 @@ script/api/../../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 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, - from script/api/api_command.h:4, - from script/api/api.h:7, - from script/api/api_line.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/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -script/api/../../simhalt.h:749:72: 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_line.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, from script/api/api_command.h:4, from script/api/api.h:7, - from script/api/api_line.cc:1: + 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/../../dataobj/../tpl/vector_tpl.h:108:4: required from 'bool vector_tpl::append_unique(const T&) [with T = quickstone_tpl]' -script/api/../../simhalt.h:767:82: required from here +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_line.cc:1: + 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) {} | ^~~~~~~~~~~~~~ @@ -16350,24 +16422,8 @@ 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) {} - | ^~~~~~~~~~~~~~ +===> 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 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] @@ -16397,29 +16453,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) {} - | ^~~~~~~~~~~~~~ -===> 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 -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_scenario.o script/api/api_scenario.cc -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]' @@ -16491,6 +16524,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_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/script/api/api_scenario.o script/api/api_scenario.cc +===> HOSTCXX script/api/api_schedule.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_schedule.o script/api/api_schedule.cc In file included from script/api/../../dataobj/koord3d.h:7, from script/api/../../simobj.h:15, from script/api/../api_param.h:7, @@ -16531,12 +16568,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 = convoi_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX script/api/api_schedule.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_schedule.o script/api/api_schedule.cc -===> HOSTCXX script/api/api_settings.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_settings.o script/api/api_settings.cc -===> HOSTCXX script/api/api_simple.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_simple.o script/api/api_simple.cc In file included from script/api/../../dataobj/koord3d.h:7, from script/api/../../simobj.h:15, from script/api/../api_param.h:7, @@ -16653,10 +16684,16 @@ 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_settings.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_settings.o script/api/api_settings.cc +===> HOSTCXX script/api/api_simple.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_simple.o script/api/api_simple.cc ===> HOSTCXX script/api/api_tiles.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_tiles.o script/api/api_tiles.cc ===> HOSTCXX script/api/api_world.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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_world.o script/api/api_world.cc +===> HOSTCXX script/api/export_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/export_desc.o script/api/export_desc.cc In file included from script/api/../../dataobj/koord3d.h:7, from script/api/../../simobj.h:15, from script/api/../api_param.h:7, @@ -16694,8 +16731,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 = haltestelle_t]' 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} | ^~~~~~~~~~~~~~ -===> HOSTCXX script/api/export_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/export_desc.o script/api/export_desc.cc ===> HOSTCXX script/api/get_next.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/get_next.o script/api/get_next.cc ===> HOSTCXX script/api_class.cc @@ -16714,6 +16749,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 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simcity.o simcity.cc ===> 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 +===> 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 script/../gui/components/gui_container.h:23, from script/../gui/components/gui_aligned_container.h:4, from script/../gui/gui_frame.h:20, @@ -16779,10 +16820,48 @@ script/../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 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] + 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 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 simcity.cc:22: +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 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) {} + | ^~~~~~~~~~~~~~ +===> 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 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)': +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/wege/strasse.h:4, + from simcity.cc:17: +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 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] @@ -16805,6 +16884,87 @@ 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 simcity.cc:33: +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 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/wege/strasse.h:4, + from simcity.cc:17: +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 simcity.cc:34: +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/wege/strasse.h:4, + from simcity.cc:17: +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 simcity.cc:34: +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/wege/strasse.h:4, + from simcity.cc:17: +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 simcity.cc:34: +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/wege/strasse.h:4, + from simcity.cc:17: +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 simcity.cc:34: +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/wege/strasse.h:4, + from simcity.cc:17: +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 simconvoi.cc:14: 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] @@ -16845,6 +17005,19 @@ 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 siminteraction.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) {} + | ^~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 simconvoi.cc:26: 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] @@ -16947,8 +17120,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 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 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] @@ -16960,6 +17131,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 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 simconvoi.cc: In member function 'void convoi_t::init(player_t*)': simconvoi.cc:120:22: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 120 | line = linehandle_t(); @@ -17045,6 +17218,156 @@ 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]': +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 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] + 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 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 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) {} + | ^~~~~~~~~~~~~~ +===> 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 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) {} + | ^~~~~~~~~~~~~~ simconvoi.cc: In member function 'void convoi_t::rdwr(loadsave_t*)': simconvoi.cc:2170:32: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 2170 | self = convoihandle_t( this ); @@ -17073,19 +17396,96 @@ 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 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 gui/components/gui_container.h:23, + from gui/components/gui_aligned_container.h:4, + from gui/gui_frame.h:20, + from gui/depot_frame.h:15, + from simdepot.cc:22: +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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from vehicle/../boden/wege/../../descriptor/image.h:10, + from vehicle/../boden/wege/../../descriptor/image_list.h:10, + from vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from vehicle/../boden/wege/weg.h:14, + from vehicle/../boden/grund.h:19, + from vehicle/simvehicle.h:20, + from simdepot.cc:13: +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/gui_frame.h:20, + from gui/depot_frame.h:15, + from simdepot.cc:22: +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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from vehicle/../boden/wege/../../descriptor/image.h:10, + from vehicle/../boden/wege/../../descriptor/image_list.h:10, + from vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from vehicle/../boden/wege/weg.h:14, + from vehicle/../boden/grund.h:19, + from vehicle/simvehicle.h:20, + from simdepot.cc:13: +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/gui_frame.h:20, + from gui/depot_frame.h:15, + from simdepot.cc:22: +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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from vehicle/../boden/wege/../../descriptor/image.h:10, + from vehicle/../boden/wege/../../descriptor/image_list.h:10, + from vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from vehicle/../boden/wege/weg.h:14, + from vehicle/../boden/grund.h:19, + from vehicle/simvehicle.h:20, + from simdepot.cc:13: +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/gui_frame.h:20, + from gui/depot_frame.h:15, + from simdepot.cc:22: +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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from vehicle/../boden/wege/../../descriptor/image.h:10, + from vehicle/../boden/wege/../../descriptor/image_list.h:10, + from vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from vehicle/../boden/wege/weg.h:14, + from vehicle/../boden/grund.h:19, + from vehicle/simvehicle.h:20, + from simdepot.cc:13: +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/depot_frame.h:15, + from simdepot.cc:22: +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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, + from vehicle/../boden/wege/../../descriptor/image.h:10, + from vehicle/../boden/wege/../../descriptor/image_list.h:10, + from vehicle/../boden/wege/../../descriptor/way_desc.h:10, + from vehicle/../boden/wege/weg.h:14, + from vehicle/../boden/grund.h:19, + from vehicle/simvehicle.h:20, + from simdepot.cc:13: +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; } + | ^~~~~~~~ simconvoi.cc: In member function 'void convoi_t::self_destruct()': simconvoi.cc:3100:37: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 3100 | line_update_pending = linehandle_t(); // does not bother to add it to a new line anyway ... @@ -17144,8 +17544,49 @@ 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 -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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] + 346 | void set_selected_line(linehandle_t line) { selected_line = line; } + | ^~~~ +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) {} + | ^~~~~~~~~~~~~~ +===> 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 +simdepot.cc: In constructor 'depot_t::depot_t(loadsave_t*)': +simdepot.cc:50:36: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 50 | last_selected_line = linehandle_t(); + | ^ +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) {} + | ^~~~~~~~~~~~~~ +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(); + | ^ +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) {} + | ^~~~~~~~~~~~~~ +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 ); + | ^ +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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ 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]': @@ -17159,6 +17600,16 @@ 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) {} | ^~~~~~~~~~~~~~ +simdepot.cc: In member function 'void depot_t::remove_convoi(convoihandle_t)': +simdepot.cc:470:101: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] + 470 | c = !convois.empty() ? convois.at( min((uint32)icnv, convois.get_count() - 1) ) : convoihandle_t(); + | ^ +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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ 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]': @@ -17259,285 +17710,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 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] - 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 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 gui/components/gui_container.h:23, - from gui/components/gui_aligned_container.h:4, - from gui/gui_frame.h:20, - from gui/depot_frame.h:15, - from simdepot.cc:22: -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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from vehicle/../boden/wege/../../descriptor/image.h:10, - from vehicle/../boden/wege/../../descriptor/image_list.h:10, - from vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from vehicle/../boden/wege/weg.h:14, - from vehicle/../boden/grund.h:19, - from vehicle/simvehicle.h:20, - from simdepot.cc:13: -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/gui_frame.h:20, - from gui/depot_frame.h:15, - from simdepot.cc:22: -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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from vehicle/../boden/wege/../../descriptor/image.h:10, - from vehicle/../boden/wege/../../descriptor/image_list.h:10, - from vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from vehicle/../boden/wege/weg.h:14, - from vehicle/../boden/grund.h:19, - from vehicle/simvehicle.h:20, - from simdepot.cc:13: -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/gui_frame.h:20, - from gui/depot_frame.h:15, - from simdepot.cc:22: -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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from vehicle/../boden/wege/../../descriptor/image.h:10, - from vehicle/../boden/wege/../../descriptor/image_list.h:10, - from vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from vehicle/../boden/wege/weg.h:14, - from vehicle/../boden/grund.h:19, - from vehicle/simvehicle.h:20, - from simdepot.cc:13: -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/gui_frame.h:20, - from gui/depot_frame.h:15, - from simdepot.cc:22: -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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from vehicle/../boden/wege/../../descriptor/image.h:10, - from vehicle/../boden/wege/../../descriptor/image_list.h:10, - from vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from vehicle/../boden/wege/weg.h:14, - from vehicle/../boden/grund.h:19, - from vehicle/simvehicle.h:20, - from simdepot.cc:13: -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 siminteraction.cc -In file included from gui/depot_frame.h:15, - from simdepot.cc:22: -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 vehicle/../boden/wege/../../descriptor/../display/simgraph.h:22, - from vehicle/../boden/wege/../../descriptor/image.h:10, - from vehicle/../boden/wege/../../descriptor/image_list.h:10, - from vehicle/../boden/wege/../../descriptor/way_desc.h:10, - from vehicle/../boden/wege/weg.h:14, - from vehicle/../boden/grund.h:19, - from vehicle/simvehicle.h:20, - from simdepot.cc:13: -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; } - | ^~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 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] - 346 | void set_selected_line(linehandle_t line) { selected_line = line; } - | ^~~~ -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) {} - | ^~~~~~~~~~~~~~ -===> 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 -simdepot.cc: In constructor 'depot_t::depot_t(loadsave_t*)': -simdepot.cc:50:36: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 50 | last_selected_line = linehandle_t(); - | ^ -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) {} - | ^~~~~~~~~~~~~~ -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(); - | ^ -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) {} - | ^~~~~~~~~~~~~~ -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 ); - | ^ -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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -simdepot.cc: In member function 'void depot_t::remove_convoi(convoihandle_t)': -simdepot.cc:470:101: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] - 470 | c = !convois.empty() ? convois.at( min((uint32)icnv, convois.get_count() - 1) ) : convoihandle_t(); - | ^ -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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -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] - 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 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 simcity.cc:22: -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 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) {} - | ^~~~~~~~~~~~~~ -===> 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 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)': -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/wege/strasse.h:4, - from simcity.cc:17: -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 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 simcity.cc:33: -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 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/wege/strasse.h:4, - from simcity.cc:17: -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 simcity.cc:34: -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/wege/strasse.h:4, - from simcity.cc:17: -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 simcity.cc:34: -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/wege/strasse.h:4, - from simcity.cc:17: -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 simcity.cc:34: -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/wege/strasse.h:4, - from simcity.cc:17: -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 simcity.cc:34: -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/wege/strasse.h:4, - from simcity.cc:17: -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 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 In file included from simhalt.cc:20: @@ -17551,28 +17723,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 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, @@ -17586,6 +17736,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 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 gui/gui_frame.h:20, from siminteraction.cc:12: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -17618,79 +17770,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; } | ^~~~~~~~ -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 siminteraction.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] @@ -17701,23 +17780,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; } | ^~~~~~~~ -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 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] @@ -17740,22 +17802,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; } - | ^~~~~~~~ In file included from gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -17846,26 +17892,26 @@ 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 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 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]' +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/halt_info.h:28, @@ -17885,22 +17931,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 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 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] @@ -17917,91 +17947,26 @@ 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]': -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 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; } + | ^~~~~~~~ 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 ); @@ -18021,102 +17986,59 @@ 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 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, +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/../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, +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/../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, +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/../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) {} - | ^~~~~~~~~~~~~~ +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 constructor 'haltestelle_t::haltestelle_t(koord, player_t*)': simhalt.cc:436:26: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 436 | self = halthandle_t(this); @@ -18127,38 +18049,35 @@ 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::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]' +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 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, +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/../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) {} - | ^~~~~~~~~~~~~~ +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; @@ -18252,6 +18171,22 @@ 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:1820:130: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 1820 | halt_data[ reachable_halt_id ].transfer = current_halt_data.transfer.get_id() ? current_halt_data.transfer : current_conn.halt; | ^~~~ @@ -18289,6 +18224,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 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 simhalt.cc: In member function 'bool haltestelle_t::reserve_position(grund_t*, convoihandle_t)': simhalt.cc:3330:23: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 3330 | i->reservation = cnv; @@ -18309,6 +18246,59 @@ 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.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) {} + | ^~~~~~~~~~~~~~ +simmain.cc:3:2: warning: #warning "Simutrans is preferably compiled as 32 bit binary!" [-Wcpp] + 3 | #warning "Simutrans is preferably compiled as 32 bit binary!" + | ^~~~~~~ +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 dataobj/../tpl/stringhashtable_tpl.h:8, from dataobj/translator.h:12, from simfab.h:12, @@ -18477,6 +18467,16 @@ 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/koord3d.h:7, from simobj.h:15, from simcity.h:11, @@ -18541,6 +18541,92 @@ 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::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 simlinemgmt.cc:10: 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] @@ -18552,8 +18638,100 @@ 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 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 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) {} + | ^~~~~~~~~~~~~~ +===> 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 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 gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -18575,8 +18753,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 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 gui/gui_frame.h:20, from gui/schedule_list.h:13, from simlinemgmt.cc:19: @@ -18670,9 +18846,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; } | ^~~~~~~~ -simmain.cc:3:2: warning: #warning "Simutrans is preferably compiled as 32 bit binary!" [-Wcpp] - 3 | #warning "Simutrans is preferably compiled as 32 bit binary!" - | ^~~~~~~ simlinemgmt.cc: In member function 'void simlinemgmt_t::rdwr(loadsave_t*, player_t*)': simlinemgmt.cc:132:54: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 132 | line_with_id_zero = linehandle_t(unbound_line,true); @@ -18724,146 +18897,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 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) {} - | ^~~~~~~~~~~~~~ -===> 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.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 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 +===> 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 +===> HOSTCXX simplan.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simplan.o simplan.cc +===> HOSTCXX simskin.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simskin.o simskin.cc +===> 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 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] @@ -18905,8 +18950,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 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 In file included from gui/gui_frame.h:20, from gui/banner.h:13, from simmain.cc:43: @@ -18981,6 +19024,81 @@ 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/base_info.h:4, + 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 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/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 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/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 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/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 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/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 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 bauer/vehikelbauer.h:14, from simmain.cc:77: bauer/../gui/depot_frame.h: In member function 'void depot_frame_t::set_selected_line(linehandle_t)': @@ -18993,6 +19111,17 @@ 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 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 simworld.h:24, from simmain.cc:15: tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': @@ -19079,135 +19208,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) {} | ^~~~~~~~~~~~~~ -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) - | ^~~~~~~~~~ -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 -===> HOSTCXX simplan.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simplan.o simplan.cc -===> HOSTCXX simskin.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/simskin.o simskin.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) {} - | ^~~~~~~~~~~~~~ -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 simtool-dialogs.h:19, - from simmenu.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 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 simplan.h:12, - from simworld.h:32, - from simmenu.cc:15: -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/factory_edit.h:8, - from simtool-dialogs.h:19, - from simmenu.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 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 simplan.h:12, - from simworld.h:32, - from simmenu.cc:15: -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/factory_edit.h:8, - from simtool-dialogs.h:19, - from simmenu.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 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 simplan.h:12, - from simworld.h:32, - from simmenu.cc:15: -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/factory_edit.h:8, - from simtool-dialogs.h:19, - from simmenu.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 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 simplan.h:12, - from simworld.h:32, - from simmenu.cc:15: -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/factory_edit.h:8, - from simtool-dialogs.h:19, - from simmenu.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 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 simplan.h:12, - from simworld.h:32, - from simmenu.cc:15: -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, @@ -19223,8 +19223,6 @@ display/scr_coord.h:112:2: note: because 'scr_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 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 gui/gui_frame.h:20, from gui/base_info.h:4, from gui/obj_info.h:13, @@ -19275,87 +19273,13 @@ display/scr_coord.h:112:2: note: because 'scr_size' has user-provided 'scr_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/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 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/halt_list_stats.h:15, - from gui/schedule_list.h:22, - from simtool-dialogs.h:30, - from simmenu.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 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 simplan.h:12, - from simworld.h:32, - from simmenu.cc:15: -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/base_info.h:4, - 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 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/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 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/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 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; } - | ^~~~~~~~ +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) + | ^~~~~~~~~~ +simmain.cc:87:13: warning: 'void show_sizes()' defined but not used [-Wunused-function] + 87 | static void show_sizes() + | ^~~~~~~~~~ In file included from gui/minimap.h:4, from simplan.cc:33: gui/components/gui_component.h: In member function 'virtual void gui_component_t::set_size(scr_size)': @@ -19373,20 +19297,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 gui/base_info.h:4, - 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 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; } - | ^~~~~~~~ ===> 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 In file included from simplan.cc:33: @@ -19453,6 +19363,10 @@ 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 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 +===> 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 In file included from dataobj/koord3d.h:7, from simobj.h:15, from simplan.cc:9: @@ -19545,20 +19459,145 @@ 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 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 -===> 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 -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 ); - | ~~~~~~^~~~~~~~~~~ +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 simtool-dialogs.h:19, + from simmenu.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 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 simplan.h:12, + from simworld.h:32, + from simmenu.cc:15: +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/factory_edit.h:8, + from simtool-dialogs.h:19, + from simmenu.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 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 simplan.h:12, + from simworld.h:32, + from simmenu.cc:15: +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/factory_edit.h:8, + from simtool-dialogs.h:19, + from simmenu.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 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 simplan.h:12, + from simworld.h:32, + from simmenu.cc:15: +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/factory_edit.h:8, + from simtool-dialogs.h:19, + from simmenu.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 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 simplan.h:12, + from simworld.h:32, + from simmenu.cc:15: +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/factory_edit.h:8, + from simtool-dialogs.h:19, + from simmenu.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 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 simplan.h:12, + from simworld.h:32, + from simmenu.cc:15: +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/halt_list_stats.h:15, + from gui/schedule_list.h:22, + from simtool-dialogs.h:30, + from simmenu.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 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 simplan.h:12, + from simworld.h:32, + from simmenu.cc:15: +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 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 +===> 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 +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 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 gui/components/gui_container.h:23, from gui/components/gui_aligned_container.h:4, from gui/gui_frame.h:20, @@ -19573,6 +19612,16 @@ display/scr_coord.h:112:2: note: because 'scr_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/sqstdio.cc +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; } + | ^~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 gui/gui_frame.h:20, from simticker.cc:19: gui/components/gui_aligned_container.h: In member function 'void gui_aligned_container_t::set_margin(scr_size, scr_size)': @@ -19619,20 +19668,6 @@ display/scr_coord.h:112:2: note: because 'scr_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 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/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 -===> 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 ===> 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 simware.cc:16: @@ -19787,144 +19822,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 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/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 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/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 -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 simworld.cc:29: -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 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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -===> 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 -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; } - | ^~~~~~~~ -===> 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 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 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 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] @@ -19936,13 +19833,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) {} | ^~~~~~~~~~~~~~ -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 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] @@ -19954,22 +19844,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 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] - 202 | new_size = 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 bauer/../gui/components/gui_container.h:23, from bauer/../gui/components/gui_aligned_container.h:4, from bauer/../gui/gui_frame.h:20, @@ -20031,18 +19905,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 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)': -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 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 bauer/../gui/depot_frame.h:15, from bauer/vehikelbauer.h:14, from simtool.cc:23: @@ -20069,8 +19931,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 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/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 simtool.cc:31: 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] @@ -20082,49 +19944,13 @@ 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/../tpl/vector_tpl.h:6, - from dataobj/koord3d.h:7, - from simobj.h:15, - from simcity.h:11, - from simworld.cc:22: -simworld.cc: In constructor 'karte_t::karte_t()': -dataobj/../tpl/../macros.h:20:63: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class pwd_hash_t'; use assignment or value-initialization instead [-Wclass-memaccess] - 20 | #define MEMZERON(ptr, n) memset((ptr), 0, sizeof(*(ptr)) * (n)) - | ^ -dataobj/../tpl/../macros.h:21:26: note: in expansion of macro 'MEMZERON' - 21 | #define MEMZERO(obj) MEMZERON(&(obj), 1) - | ^~~~~~~~ -simworld.cc:2039:3: note: in expansion of macro 'MEMZERO' - 2039 | MEMZERO(player_password_hash[i]); - | ^~~~~~~ -In file included from simworld.h:28, - from simfab.h:19, - from simworld.cc:27: -network/pwd_hash.h:11:7: note: 'class pwd_hash_t' declared here - 11 | class pwd_hash_t - | ^~~~~~~~~~ -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) ); - | ^ -In file included from linehandle_t.h:4, - from simconvoi.h:12, - from simworld.cc:24: -tpl/quickstone_tpl.h:19:26: note: 'halthandle_t' {aka 'class quickstone_tpl'} declared here - 19 | template class quickstone_tpl - | ^~~~~~~~~~~~~~ -===> 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/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; } - | ^~~~~~~~~~~~~~~ +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 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] @@ -20151,117 +19977,43 @@ 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/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/sqobject.h:5, - from squirrel/squirrel/sqpcheader.h:17, - from squirrel/squirrel/sqapi.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/sqapi.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, - from simworld.cc:22: -dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': -simworld.cc:5511:32: 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 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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/koord3d.h:7, - from simobj.h:15, - from simcity.h:11, - from simworld.cc:22: -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]' -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 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 dataobj/koord3d.h:7, - from simobj.h:15, - from simcity.h:11, - from simworld.cc:22: -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]' -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]; - | ~~~~~~~~^~~~~~~ +===> 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 +===> HOSTCXX 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/sqstdstring.o squirrel/sqstdlib/sqstdstring.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 dataobj/koord3d.h:7, - from simobj.h:15, - from simcity.h:11, - from simworld.cc:22: -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]' -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 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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/koord3d.h:7, - from simobj.h:15, - from simcity.h:11, - from simworld.cc:22: -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]' -simworld.cc:5511:32: 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 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 = convoi_t]' - 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} - | ^~~~~~~~~~~~~~ -In file included from dataobj/koord3d.h:7, - from simobj.h:15, - from simcity.h:11, - from simworld.cc:22: -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]' -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]; - | ~~~~~~~~~~~~^~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 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/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 +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': + | ^~~~ 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 ); @@ -20300,15 +20052,22 @@ 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 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: +In file included from simworld.cc:29: +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 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 = convoi_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 +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; } @@ -20316,6 +20075,19 @@ 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: +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/sqapi.cc:4: +squirrel/squirrel/sqobject.h:206:8: note: 'struct SQObjectPtr' declared here + 206 | struct SQObjectPtr : public SQObject + | ^~~~~~~~~~~ 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; @@ -20362,6 +20134,34 @@ 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 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 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; } + | ^~~~~~~~ simtool.cc: In member function 'const char* tool_build_station_t::tool_station_dock_aux(player_t*, koord3d, const building_desc_t*)': simtool.cc:3753:14: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 3753 | halt = test_halt; @@ -20390,6 +20190,76 @@ 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/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 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; } + | ^~~~~~~~ simtool.cc: In member function 'const char* tool_build_station_t::tool_station_flat_dock_aux(player_t*, koord3d, const building_desc_t*, sint8)': simtool.cc:3973:22: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 3973 | test_halt[ii] = halt; @@ -20455,16 +20325,35 @@ 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 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; } - | ^~ -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/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 +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] + 202 | new_size = 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 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 + | ^~~~~~~~~~~ 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(); @@ -20484,10 +20373,14 @@ 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) {} | ^~~~~~~~~~~~~~ -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/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; } + | ^~~~~~~~~~~~~~~ simtool.cc: In member function 'virtual const char* tool_make_stop_public_t::work(player_t*, koord3d)': simtool.cc:6296:17: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 6296 | merge_to = h; @@ -20536,6 +20429,18 @@ 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/vehikelbauer.h:14, + from simworld.cc:103: +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 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 member function 'virtual bool tool_change_line_t::init(player_t*)': simtool.cc:6950:61: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 6950 | line = player->simlinemgmt.create_line( atoi(p), player ); @@ -20555,13 +20460,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) {} | ^~~~~~~~~~~~~~ -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 : - | ^~~~~~~ simtool.cc: In member function 'virtual bool tool_change_depot_t::init(player_t*)': simtool.cc:7342:47: warning: implicitly-declared 'quickstone_tpl& quickstone_tpl::operator=(const quickstone_tpl&)' is deprecated [-Wdeprecated-copy] 7342 | cnv = depot->add_convoi( can_use_gui() ); @@ -20572,19 +20470,31 @@ 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 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/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 +In file included from dataobj/../tpl/vector_tpl.h:6, + from dataobj/koord3d.h:7, + from simobj.h:15, + from simcity.h:11, + from simworld.cc:22: +simworld.cc: In constructor 'karte_t::karte_t()': +dataobj/../tpl/../macros.h:20:63: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class pwd_hash_t'; use assignment or value-initialization instead [-Wclass-memaccess] + 20 | #define MEMZERON(ptr, n) memset((ptr), 0, sizeof(*(ptr)) * (n)) + | ^ +dataobj/../tpl/../macros.h:21:26: note: in expansion of macro 'MEMZERON' + 21 | #define MEMZERO(obj) MEMZERON(&(obj), 1) + | ^~~~~~~~ +simworld.cc:2039:3: note: in expansion of macro 'MEMZERO' + 2039 | MEMZERO(player_password_hash[i]); + | ^~~~~~~ +In file included from simworld.h:28, + from simfab.h:19, + from simworld.cc:27: +network/pwd_hash.h:11:7: note: 'class pwd_hash_t' declared here + 11 | class pwd_hash_t + | ^~~~~~~~~~ In file included from dataobj/koord3d.h:7, from simobj.h:15, from simcity.h:11, @@ -20712,6 +20622,110 @@ 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) {} | ^~~~~~~~~~~~~~ +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) ); + | ^ +In file included from linehandle_t.h:4, + from simconvoi.h:12, + from simworld.cc:24: +tpl/quickstone_tpl.h:19:26: note: 'halthandle_t' {aka 'class quickstone_tpl'} declared here + 19 | template class quickstone_tpl + | ^~~~~~~~~~~~~~ +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; } + | ^~ +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/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 : + | ^~~~~~~ +In file included from dataobj/koord3d.h:7, + from simobj.h:15, + from simcity.h:11, + from simworld.cc:22: +dataobj/../tpl/vector_tpl.h: In instantiation of 'void vector_tpl::append(const T&) [with T = quickstone_tpl]': +simworld.cc:5511:32: 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 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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from dataobj/koord3d.h:7, + from simobj.h:15, + from simcity.h:11, + from simworld.cc:22: +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]' +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 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 dataobj/koord3d.h:7, + from simobj.h:15, + from simcity.h:11, + from simworld.cc:22: +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]' +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 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 dataobj/koord3d.h:7, + from simobj.h:15, + from simcity.h:11, + from simworld.cc:22: +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]' +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 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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ +In file included from dataobj/koord3d.h:7, + from simobj.h:15, + from simcity.h:11, + from simworld.cc:22: +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]' +simworld.cc:5511:32: 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 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 = convoi_t]' + 185 | quickstone_tpl(const quickstone_tpl& r) : entry(r.entry) {} + | ^~~~~~~~~~~~~~ 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] @@ -20720,10 +20734,33 @@ 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 dataobj/koord3d.h:7, + from simobj.h:15, + from simcity.h:11, + from simworld.cc:22: +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]' +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 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/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 +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 ); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +===> HOSTCXX squirrel/squirrel/sqmem.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/sqmem.o squirrel/squirrel/sqmem.cc 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]; @@ -20739,8 +20776,6 @@ squirrel/squirrel/sqfuncproto.h:36:2: note: because 'SQLocalVarInfo' has user-provided 'SQLocalVarInfo::SQLocalVarInfo(const SQLocalVarInfo&)' 36 | SQLocalVarInfo(const SQLocalVarInfo &lvi) | ^~~~~~~~~~~~~~ -===> HOSTCXX squirrel/squirrel/sqmem.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/sqmem.o squirrel/squirrel/sqmem.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")); @@ -20763,6 +20798,8 @@ | ^~~~ ===> HOSTCXX squirrel/squirrel/sqobject.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/sqobject.o squirrel/squirrel/sqobject.cc +===> HOSTCXX squirrel/squirrel/sqstate.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/sqstate.o squirrel/squirrel/sqstate.cc In file included from squirrel/squirrel/sqobject.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] @@ -20771,6 +20808,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); @@ -20799,28 +20844,6 @@ squirrel/squirrel/sqobject.h:206:8: note: 'struct SQObjectPtr' declared here 206 | struct SQObjectPtr : public SQObject | ^~~~~~~~~~~ -===> HOSTCXX squirrel/squirrel/sqstate.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/sqstate.o squirrel/squirrel/sqstate.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 -===> 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/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/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] - 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: @@ -20834,8 +20857,18 @@ squirrel/squirrel/sqobject.h:206:8: note: 'struct SQObjectPtr' declared here 206 | struct SQObjectPtr : public SQObject | ^~~~~~~~~~~ -===> 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 +===> 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/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] + 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/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] @@ -20844,6 +20877,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 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 In file included from squirrel/squirrel/sqobject.h:5, from squirrel/squirrel/sqpcheader.h:17, from squirrel/squirrel/sqvm.cc:4: @@ -20871,8 +20906,6 @@ squirrel/squirrel/sqvm.cc:320:2: note: here 320 | default: | ^~~~~~~ -===> 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 squirrel/squirrel/sqvm.cc: In member function 'bool SQVM::FOREACH_OP(SQObjectPtr&, SQObjectPtr&, SQObjectPtr&, SQObjectPtr&, SQInteger, int, int&)': squirrel/squirrel/sqvm.cc:578:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 578 | } @@ -20907,6 +20940,8 @@ squirrel/squirrel/sqvm.cc:1398:2: note: here 1398 | case OT_INSTANCE: | ^~~~ +===> 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 g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/csv.o utils/csv.cc ===> HOSTCXX utils/log.cc @@ -20917,16 +20952,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/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 -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simthread.o utils/simthread.cc -===> HOSTCXX vehicle/movingobj.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/movingobj.o vehicle/movingobj.cc -===> HOSTCXX vehicle/simpeople.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simpeople.o vehicle/simpeople.cc -===> HOSTCXX vehicle/simroadtraffic.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simroadtraffic.o vehicle/simroadtraffic.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, @@ -21002,6 +21027,20 @@ 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/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 +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simthread.o utils/simthread.cc +===> HOSTCXX vehicle/movingobj.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/movingobj.o vehicle/movingobj.cc +===> HOSTCXX vehicle/simpeople.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simpeople.o vehicle/simpeople.cc +===> HOSTCXX vehicle/simroadtraffic.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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/simroadtraffic.o vehicle/simroadtraffic.cc +===> HOSTCXX vehicle/simvehicle.cc +g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 /usr/include/string.h:495, from utils/simstring.cc:4: In function 'char* strncpy(char*, const char*, size_t)', @@ -21014,10 +21053,6 @@ utils/simstring.cc:199:14: note: length computed here 199 | len = strlen(result); | ~~~~~~^~~~~~~~ -===> HOSTCXX vehicle/simvehicle.cc -g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -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 ===> HOSTCXX sound/sdl_mixer_sound.cc g++ -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=gnu++11 -g -O2 -fdebug-prefix-map=/build/simutrans-121.0=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -DNDEBUG -Wall -Wextra -Wcast-qual -Wpointer-arith -Wcast-align -DUSE_C -I/usr/include/SDL2 -D_REENTRANT -DCOLOUR_DEPTH=16 -c -MMD -o /build/simutrans-121.0/sound/sdl_mixer_sound.o sound/sdl_mixer_sound.cc ===> HOSTCXX music/sdl_midi.cc @@ -21532,48 +21567,40 @@ g++ /build/simutrans-121.0/clipboard_internal.o /build/simutrans-121.0/bauer/brueckenbauer.o /build/simutrans-121.0/bauer/fabrikbauer.o /build/simutrans-121.0/bauer/goods_manager.o /build/simutrans-121.0/bauer/hausbauer.o /build/simutrans-121.0/bauer/tunnelbauer.o /build/simutrans-121.0/bauer/vehikelbauer.o /build/simutrans-121.0/bauer/wegbauer.o /build/simutrans-121.0/boden/boden.o /build/simutrans-121.0/boden/brueckenboden.o /build/simutrans-121.0/boden/fundament.o /build/simutrans-121.0/boden/grund.o /build/simutrans-121.0/boden/monorailboden.o /build/simutrans-121.0/boden/tunnelboden.o /build/simutrans-121.0/boden/wasser.o /build/simutrans-121.0/boden/wege/kanal.o /build/simutrans-121.0/boden/wege/maglev.o /build/simutrans-121.0/boden/wege/monorail.o /build/simutrans-121.0/boden/wege/narrowgauge.o /build/simutrans-121.0/boden/wege/runway.o /build/simutrans-121.0/boden/wege/schiene.o /build/simutrans-121.0/boden/wege/strasse.o /build/simutrans-121.0/boden/wege/weg.o /build/simutrans-121.0/dataobj/crossing_logic.o /build/simutrans-121.0/dataobj/environment.o /build/simutrans-121.0/dataobj/freelist.o /build/simutrans-121.0/dataobj/gameinfo.o /build/simutrans-121.0/dataobj/height_map_loader.o /build/simutrans-121.0/dataobj/koord.o /build/simutrans-121.0/dataobj/koord3d.o /build/simutrans-121.0/dataobj/loadsave.o /build/simutrans-121.0/dataobj/marker.o /build/simutrans-121.0/dataobj/objlist.o /build/simutrans-121.0/dataobj/powernet.o /build/simutrans-121.0/dataobj/records.o /build/simutrans-121.0/dataobj/rect.o /build/simutrans-121.0/dataobj/ribi.o /build/simutrans-121.0/dataobj/route.o /build/simutrans-121.0/dataobj/scenario.o /build/simutrans-121.0/dataobj/schedule.o /build/simutrans-121.0/dataobj/settings.o /build/simutrans-121.0/dataobj/tabfile.o /build/simutrans-121.0/dataobj/translator.o /build/simutrans-121.0/descriptor/bridge_desc.o /build/simutrans-121.0/descriptor/building_desc.o /build/simutrans-121.0/descriptor/factory_desc.o /build/simutrans-121.0/descriptor/goods_desc.o /build/simutrans-121.0/descriptor/ground_desc.o /build/simutrans-121.0/descriptor/image.o /build/simutrans-121.0/descriptor/obj_base_desc.o /build/simutrans-121.0/descriptor/reader/bridge_reader.o /build/simutrans-121.0/descriptor/reader/building_reader.o /build/simutrans-121.0/descriptor/reader/citycar_reader.o /build/simutrans-121.0/descriptor/reader/crossing_reader.o /build/simutrans-121.0/descriptor/reader/factory_reader.o /build/simutrans-121.0/descriptor/reader/good_reader.o /build/simutrans-121.0/descriptor/reader/ground_reader.o /build/simutrans-121.0/descriptor/reader/groundobj_reader.o /build/simutrans-121.0/descriptor/reader/image_reader.o /build/simutrans-121.0/descriptor/reader/imagelist2d_reader.o /build/simutrans-121.0/descriptor/reader/imagelist_reader.o /build/simutrans-121.0/descriptor/reader/obj_reader.o /build/simutrans-121.0/descriptor/reader/pedestrian_reader.o /build/simutrans-121.0/descriptor/reader/roadsign_reader.o /build/simutrans-121.0/descriptor/reader/root_reader.o /build/simutrans-121.0/descriptor/reader/sim_reader.o /build/simutrans-121.0/descriptor/reader/skin_reader.o /build/simutrans-121.0/descriptor/reader/sound_reader.o /build/simutrans-121.0/descriptor/reader/text_reader.o /build/simutrans-121.0/descriptor/reader/tree_reader.o /build/simutrans-121.0/descriptor/reader/tunnel_reader.o /build/simutrans-121.0/descriptor/reader/vehicle_reader.o /build/simutrans-121.0/descriptor/reader/way_obj_reader.o /build/simutrans-121.0/descriptor/reader/way_reader.o /build/simutrans-121.0/descriptor/reader/xref_reader.o /build/simutrans-121.0/descriptor/sound_desc.o /build/simutrans-121.0/descriptor/tunnel_desc.o /build/simutrans-121.0/descriptor/vehicle_desc.o /build/simutrans-121.0/descriptor/way_desc.o /build/simutrans-121.0/display/font.o /build/simutrans-121.0/display/simgraph16.o /build/simutrans-121.0/display/simview.o /build/simutrans-121.0/display/viewport.o /build/simutrans-121.0/finder/placefinder.o /build/simutrans-121.0/freight_list_sorter.o /build/simutrans-121.0/gui/ai_option_t.o /build/simutrans-121.0/gui/ai_selector.o /build/simutrans-121.0/gui/banner.o /build/simutrans-121.0/gui/base_info.o /build/simutrans-121.0/gui/baum_edit.o /build/simutrans-121.0/gui/city_info.o /build/simutrans-121.0/gui/citybuilding_edit.o /build/simutrans-121.0/gui/citylist_frame_t.o /build/simutrans-121.0/gui/citylist_stats_t.o /build/simutrans-121.0/gui/climates.o /build/simutrans-121.0/gui/components/gui_aligned_container.o /build/simutrans-121.0/gui/components/gui_building.o /build/simutrans-121.0/gui/components/gui_button.o /build/simutrans-121.0/gui/components/gui_button_to_chart.o /build/simutrans-121.0/gui/components/gui_chart.o /build/simutrans-121.0/gui/components/gui_colorbox.o /build/simutrans-121.0/gui/components/gui_combobox.o /build/simutrans-121.0/gui/components/gui_container.o /build/simutrans-121.0/gui/components/gui_convoiinfo.o /build/simutrans-121.0/gui/components/gui_divider.o /build/simutrans-121.0/gui/components/gui_fixedwidth_textarea.o /build/simutrans-121.0/gui/components/gui_flowtext.o /build/simutrans-121.0/gui/components/gui_image.o /build/simutrans-121.0/gui/components/gui_image_list.o /build/simutrans-121.0/gui/components/gui_component.o /build/simutrans-121.0/gui/components/gui_label.o /build/simutrans-121.0/gui/components/gui_map_preview.o /build/simutrans-121.0/gui/components/gui_numberinput.o /build/simutrans-121.0/gui/components/gui_obj_view_t.o /build/simutrans-121.0/gui/components/gui_scrollbar.o /build/simutrans-121.0/gui/components/gui_scrolled_list.o /build/simutrans-121.0/gui/components/gui_scrollpane.o /build/simutrans-121.0/gui/components/gui_speedbar.o /build/simutrans-121.0/gui/components/gui_tab_panel.o /build/simutrans-121.0/gui/components/gui_textarea.o /build/simutrans-121.0/gui/components/gui_textinput.o /build/simutrans-121.0/gui/components/gui_world_view_t.o /build/simutrans-121.0/gui/convoi_detail_t.o /build/simutrans-121.0/gui/convoi_filter_frame.o /build/simutrans-121.0/gui/convoi_frame.o /build/simutrans-121.0/gui/convoi_info_t.o /build/simutrans-121.0/gui/convoy_item.o /build/simutrans-121.0/gui/curiosity_edit.o /build/simutrans-121.0/gui/curiositylist_frame_t.o /build/simutrans-121.0/gui/curiositylist_stats_t.o /build/simutrans-121.0/gui/depot_frame.o /build/simutrans-121.0/gui/display_settings.o /build/simutrans-121.0/gui/enlarge_map_frame_t.o /build/simutrans-121.0/gui/extend_edit.o /build/simutrans-121.0/gui/fabrik_info.o /build/simutrans-121.0/gui/factory_chart.o /build/simutrans-121.0/gui/factory_edit.o /build/simutrans-121.0/gui/factorylist_frame_t.o /build/simutrans-121.0/gui/factorylist_stats_t.o /build/simutrans-121.0/gui/goods_frame_t.o /build/simutrans-121.0/gui/goods_stats_t.o /build/simutrans-121.0/gui/ground_info.o /build/simutrans-121.0/gui/gui_frame.o /build/simutrans-121.0/gui/gui_theme.o /build/simutrans-121.0/gui/halt_info.o /build/simutrans-121.0/gui/halt_list_filter_frame.o /build/simutrans-121.0/gui/halt_list_frame.o /build/simutrans-121.0/gui/halt_list_stats.o /build/simutrans-121.0/gui/headquarter_info.o /build/simutrans-121.0/gui/help_frame.o /build/simutrans-121.0/gui/jump_frame.o /build/simutrans-121.0/gui/minimap.o /build/simutrans-121.0/gui/kennfarbe.o /build/simutrans-121.0/gui/label_info.o /build/simutrans-121.0/gui/labellist_frame_t.o /build/simutrans-121.0/gui/labellist_stats_t.o /build/simutrans-121.0/gui/line_item.o /build/simutrans-121.0/gui/line_management_gui.o /build/simutrans-121.0/gui/load_relief_frame.o /build/simutrans-121.0/gui/loadfont_frame.o /build/simutrans-121.0/gui/loadsave_frame.o /build/simutrans-121.0/gui/map_frame.o /build/simutrans-121.0/gui/message_frame_t.o /build/simutrans-121.0/gui/message_option_t.o /build/simutrans-121.0/gui/message_stats_t.o /build/simutrans-121.0/gui/messagebox.o /build/simutrans-121.0/gui/money_frame.o /build/simutrans-121.0/gui/obj_info.o /build/simutrans-121.0/gui/optionen.o /build/simutrans-121.0/gui/pakselector.o /build/simutrans-121.0/gui/password_frame.o /build/simutrans-121.0/gui/player_frame_t.o /build/simutrans-121.0/gui/privatesign_info.o /build/simutrans-121.0/gui/savegame_frame.o /build/simutrans-121.0/gui/scenario_frame.o /build/simutrans-121.0/gui/scenario_info.o /build/simutrans-121.0/gui/schedule_gui.o /build/simutrans-121.0/gui/schedule_list.o /build/simutrans-121.0/gui/server_frame.o /build/simutrans-121.0/gui/settings_frame.o /build/simutrans-121.0/gui/settings_stats.o /build/simutrans-121.0/gui/signal_spacing.o /build/simutrans-121.0/gui/simwin.o /build/simutrans-121.0/gui/sound_frame.o /build/simutrans-121.0/gui/sprachen.o /build/simutrans-121.0/gui/station_building_select.o /build/simutrans-121.0/gui/themeselector.o /build/simutrans-121.0/gui/tool_selector.o /build/simutrans-121.0/gui/trafficlight_info.o /build/simutrans-121.0/gui/welt.o /build/simutrans-121.0/network/checksum.o /build/simutrans-121.0/network/memory_rw.o /build/simutrans-121.0/network/network.o /build/simutrans-121.0/network/network_address.o /build/simutrans-121.0/network/network_cmd.o /build/simutrans-121.0/network/network_cmd_ingame.o /build/simutrans-121.0/network/network_cmd_scenario.o /build/simutrans-121.0/network/network_cmp_pakset.o /build/simutrans-121.0/network/network_file_transfer.o /build/simutrans-121.0/network/network_packet.o /build/simutrans-121.0/network/network_socket_list.o /build/simutrans-121.0/network/pakset_info.o /build/simutrans-121.0/network/pwd_hash.o /build/simutrans-121.0/obj/baum.o /build/simutrans-121.0/obj/bruecke.o /build/simutrans-121.0/obj/crossing.o /build/simutrans-121.0/obj/field.o /build/simutrans-121.0/obj/gebaeude.o /build/simutrans-121.0/obj/groundobj.o /build/simutrans-121.0/obj/label.o /build/simutrans-121.0/obj/leitung2.o /build/simutrans-121.0/obj/pillar.o /build/simutrans-121.0/obj/roadsign.o /build/simutrans-121.0/obj/signal.o /build/simutrans-121.0/obj/tunnel.o /build/simutrans-121.0/obj/wayobj.o /build/simutrans-121.0/obj/wolke.o /build/simutrans-121.0/obj/zeiger.o /build/simutrans-121.0/old_blockmanager.o /build/simutrans-121.0/player/ai.o /build/simutrans-121.0/player/ai_goods.o /build/simutrans-121.0/player/ai_passenger.o /build/simutrans-121.0/player/ai_scripted.o /build/simutrans-121.0/player/finance.o /build/simutrans-121.0/player/simplay.o /build/simutrans-121.0/script/api/api_city.o /build/simutrans-121.0/script/api/api_command.o /build/simutrans-121.0/script/api/api_const.o /build/simutrans-121.0/script/api/api_control.o /build/simutrans-121.0/script/api/api_convoy.o /build/simutrans-121.0/script/api/api_factory.o /build/simutrans-121.0/script/api/api_gui.o /build/simutrans-121.0/script/api/api_halt.o /build/simutrans-121.0/script/api/api_include.o /build/simutrans-121.0/script/api/api_line.o /build/simutrans-121.0/script/api/api_map_objects.o /build/simutrans-121.0/script/api/api_obj_desc.o /build/simutrans-121.0/script/api/api_obj_desc_base.o /build/simutrans-121.0/script/api/api_pathfinding.o /build/simutrans-121.0/script/api/api_player.o /build/simutrans-121.0/script/api/api_scenario.o /build/simutrans-121.0/script/api/api_schedule.o /build/simutrans-121.0/script/api/api_settings.o /build/simutrans-121.0/script/api/api_simple.o /build/simutrans-121.0/script/api/api_tiles.o /build/simutrans-121.0/script/api/api_world.o /build/simutrans-121.0/script/api/export_desc.o /build/simutrans-121.0/script/api/get_next.o /build/simutrans-121.0/script/api_class.o /build/simutrans-121.0/script/api_function.o /build/simutrans-121.0/script/api_param.o /build/simutrans-121.0/script/dynamic_string.o /build/simutrans-121.0/script/export_objs.o /build/simutrans-121.0/script/script.o /build/simutrans-121.0/simcity.o /build/simutrans-121.0/simconvoi.o /build/simutrans-121.0/simdebug.o /build/simutrans-121.0/simdepot.o /build/simutrans-121.0/simevent.o /build/simutrans-121.0/simfab.o /build/simutrans-121.0/simhalt.o /build/simutrans-121.0/siminteraction.o /build/simutrans-121.0/simintr.o /build/simutrans-121.0/simio.o /build/simutrans-121.0/simline.o /build/simutrans-121.0/simlinemgmt.o /build/simutrans-121.0/simloadingscreen.o /build/simutrans-121.0/simmain.o /build/simutrans-121.0/simmem.o /build/simutrans-121.0/simmenu.o /build/simutrans-121.0/simmesg.o /build/simutrans-121.0/simobj.o /build/simutrans-121.0/simplan.o /build/simutrans-121.0/simskin.o /build/simutrans-121.0/simsound.o /build/simutrans-121.0/simsys.o /build/simutrans-121.0/simticker.o /build/simutrans-121.0/simtool.o /build/simutrans-121.0/simware.o /build/simutrans-121.0/simworld.o /build/simutrans-121.0/squirrel/sq_extensions.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdaux.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdblob.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdio.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdmath.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdrex.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdstream.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdstring.o /build/simutrans-121.0/squirrel/sqstdlib/sqstdsystem.o /build/simutrans-121.0/squirrel/squirrel/sqapi.o /build/simutrans-121.0/squirrel/squirrel/sqbaselib.o /build/simutrans-121.0/squirrel/squirrel/sqclass.o /build/simutrans-121.0/squirrel/squirrel/sqcompiler.o /build/simutrans-121.0/squirrel/squirrel/sqdebug.o /build/simutrans-121.0/squirrel/squirrel/sqfuncstate.o /build/simutrans-121.0/squirrel/squirrel/sqlexer.o /build/simutrans-121.0/squirrel/squirrel/sqmem.o /build/simutrans-121.0/squirrel/squirrel/sqobject.o /build/simutrans-121.0/squirrel/squirrel/sqstate.o /build/simutrans-121.0/squirrel/squirrel/sqtable.o /build/simutrans-121.0/squirrel/squirrel/sqvm.o /build/simutrans-121.0/unicode.o /build/simutrans-121.0/utils/cbuffer_t.o /build/simutrans-121.0/utils/csv.o /build/simutrans-121.0/utils/log.o /build/simutrans-121.0/utils/searchfolder.o /build/simutrans-121.0/utils/sha1.o /build/simutrans-121.0/utils/simrandom.o /build/simutrans-121.0/utils/simstring.o /build/simutrans-121.0/utils/simthread.o /build/simutrans-121.0/vehicle/movingobj.o /build/simutrans-121.0/vehicle/simpeople.o /build/simutrans-121.0/vehicle/simroadtraffic.o /build/simutrans-121.0/vehicle/simvehicle.o /build/simutrans-121.0/simsys_s2.o /build/simutrans-121.0/sound/sdl_mixer_sound.o /build/simutrans-121.0/music/sdl_midi.o -Wl,-z,relro -Wl,-z,now -lbz2 -lz -lSDL2 -lSDL2_mixer -o /build/simutrans-121.0/sim make[2]: Leaving directory '/build/simutrans-121.0' dh_auto_build --sourcedirectory=makeobj - cd makeobj && make -j15 "INSTALL=install --strip-program=true" + cd makeobj && make -j16 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/simutrans-121.0/makeobj' ===> CXX ../descriptor/writer/bridge_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/bridge_writer-makeobj.o ../descriptor/writer/bridge_writer.cc ===> CXX ../descriptor/writer/building_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/building_writer-makeobj.o ../descriptor/writer/building_writer.cc ===> 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/building_writer-makeobj.o ../descriptor/writer/building_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 -===> 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/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 ===> CXX ../descriptor/writer/get_waytype.cc -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 ===> 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/get_waytype-makeobj.o ../descriptor/writer/get_waytype.cc +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 +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 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 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/image_writer-makeobj.o ../descriptor/writer/image_writer.cc ===> CXX ../descriptor/writer/imagelist2d_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/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 ===> 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/imagelist2d_writer-makeobj.o ../descriptor/writer/imagelist2d_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 +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 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 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/pedestrian_writer-makeobj.o ../descriptor/writer/pedestrian_writer.cc -===> CXX ../descriptor/writer/roadsign_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/roadsign_writer-makeobj.o ../descriptor/writer/roadsign_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/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 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,10 +21629,34 @@ ../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); | ~~~~~^~~~~~~~~~~~~~~~ +../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/roadsign_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/roadsign_writer-makeobj.o ../descriptor/writer/roadsign_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/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 ===> 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 +===> 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 +===> 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 ../descriptor/writer/building_writer.cc: In member function 'virtual void building_writer_t::write_obj(FILE*, obj_node_t&, tabfileobj_t&)': ../descriptor/writer/building_writer.cc:311:47: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 18 [-Wformat-overflow=] 311 | sprintf(buf, "%simage[%d][%d][%d][%d][%d][%d]", pos ? "back" : "front", l, y, x, h, phase, season); @@ -21642,20 +21693,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -===> 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/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/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_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 +===> 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 ../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); @@ -21676,18 +21717,12 @@ ../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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -===> 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 +===> 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/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 ===> 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 @@ -21696,27 +21731,27 @@ 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 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/simmem-makeobj.o ../simmem.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++) { +../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 ../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 -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/simstring-makeobj.o ../utils/simstring.cc ===> CXX ../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 -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/searchfolder-makeobj.o ../utils/searchfolder.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++) { -../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/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 -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/tabfile-makeobj.o ../dataobj/tabfile.cc ===> CXX ../utils/log.cc 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/log-makeobj.o ../utils/log.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 makeobj.cc 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/makeobj/makeobj-makeobj.o makeobj.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); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../dataobj/tabfile.cc: In member function 'const scr_size& tabfileobj_t::get_scr_size(const char*, scr_size)': ../dataobj/tabfile.cc:123:8: warning: implicitly-declared 'scr_size& scr_size::operator=(const scr_size&)' is deprecated [-Wdeprecated-copy] 123 | ret = def; @@ -21782,8 +21817,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'simutrans-dbgsym' in '../simutrans-dbgsym_121.0-1_amd64.deb'. dpkg-deb: building package 'simutrans' in '../simutrans_121.0-1_amd64.deb'. +dpkg-deb: building package 'simutrans-dbgsym' in '../simutrans-dbgsym_121.0-1_amd64.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_amd64.deb'. dpkg-deb: building package 'simutrans-makeobj-dbgsym' in '../simutrans-makeobj-dbgsym_121.0-1_amd64.deb'. @@ -21794,12 +21829,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/2492990/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2492990/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/677459 and its subdirectories -I: Current time: Wed Feb 9 11:47:32 -12 2022 -I: pbuilder-time-stamp: 1644450452 +I: removing directory /srv/workspace/pbuilder/2492990 and its subdirectories +I: Current time: Wed Mar 15 20:12:28 +14 2023 +I: pbuilder-time-stamp: 1678860748