Diff of the two buildlogs: -- --- b1/build.log 2024-07-16 19:07:20.940940265 +0000 +++ b2/build.log 2024-07-16 19:12:07.912769096 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 18 13:23:56 -12 2025 -I: pbuilder-time-stamp: 1755566636 +I: Current time: Wed Jul 17 09:07:28 +14 2024 +I: pbuilder-time-stamp: 1721156848 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./trigger-rally_0.6.6.1-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.hAXHGMH7/trustedkeys.kbx': General error -gpgv: Signature made Mon Mar 30 23:39:59 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.04m1lFcO/trustedkeys.kbx': General error +gpgv: Signature made Wed Apr 1 01:39:59 2020 +14 gpgv: using RSA key FDDD0CFF3864277630A2186C9164FA1D17BD5D36 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./trigger-rally_0.6.6.1-3.dsc @@ -32,135 +32,166 @@ dpkg-source: info: applying fix-sdl2-detection.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3397688/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2517844/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 17 09:07 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2517844/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2517844/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=42 ' - DISTRIBUTION='bullseye' - 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/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=20 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='23b9495954df483992d4d677d2503dc2' - 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='3397688' - PS1='# ' - PS2='> ' + INVOCATION_ID=02f2899bbbba4ee3b735d748d9229746 + 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=2517844 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rFXl0wEE/pbuilderrc_oytB --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rFXl0wEE/b1 --logfile b1/build.log trigger-rally_0.6.6.1-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.rFXl0wEE/pbuilderrc_VtQs --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.rFXl0wEE/b2 --logfile b2/build.log trigger-rally_0.6.6.1-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 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 Mar 27 2024 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 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 2024 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 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 Mar 27 2024 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 Mar 27 2024 more - -rwsr-xr-x 1 root root 55528 Mar 27 2024 mount - -rwxr-xr-x 1 root root 18664 Mar 27 2024 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 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 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 Aug 9 03:46 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 Mar 27 2024 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 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 Mar 27 2024 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 2024 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3397688/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 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 Mar 29 00:09 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 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 00:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 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 Mar 29 00:09 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 Mar 29 00:09 more + -rwsr-xr-x 1 root root 55528 Mar 29 00:09 mount + -rwxr-xr-x 1 root root 18664 Mar 29 00:09 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 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 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 9 Jul 17 09:07 sh -> /bin/bash + -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 Mar 29 00:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 23:59 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 Mar 29 00:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 00:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/2517844/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -430,7 +461,7 @@ Get: 218 http://deb.debian.org/debian bullseye/main amd64 libsdl2-image-dev amd64 2.0.5+dfsg1-2 [73.8 kB] Get: 219 http://deb.debian.org/debian bullseye/main amd64 libtinyxml2-8 amd64 8.0.0+dfsg-2 [30.2 kB] Get: 220 http://deb.debian.org/debian bullseye/main amd64 libtinyxml2-dev amd64 8.0.0+dfsg-2 [20.9 kB] -Fetched 85.9 MB in 4s (23.4 MB/s) +Fetched 85.9 MB in 8s (11.1 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 ... 19711 files and directories currently installed.) @@ -1339,7 +1370,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/trigger-rally-0.6.6.1/ && 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 > ../trigger-rally_0.6.6.1-3_source.changes +I: user script /srv/workspace/pbuilder/2517844/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/2517844/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/trigger-rally-0.6.6.1/ && 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 > ../trigger-rally_0.6.6.1-3_source.changes dpkg-buildpackage: info: source package trigger-rally dpkg-buildpackage: info: source version 0.6.6.1-3 dpkg-buildpackage: info: source distribution unstable @@ -1353,7 +1388,7 @@ make[1]: Entering directory '/build/reproducible-path/trigger-rally-0.6.6.1' rm -f debian/trigger-rally.6 dh_auto_clean override_dh_auto_clean - cd src && make -j42 clean + cd src && make -j20 clean make[2]: Entering directory '/build/reproducible-path/trigger-rally-0.6.6.1/src' make[2]: Leaving directory '/build/reproducible-path/trigger-rally-0.6.6.1/src' make[1]: Leaving directory '/build/reproducible-path/trigger-rally-0.6.6.1' @@ -1366,7 +1401,7 @@ dh_autoreconf -O-Dsrc/ dh_auto_configure -O-Dsrc/ dh_auto_build -O-Dsrc/ - cd src && make -j42 "INSTALL=install --strip-program=true" + cd src && make -j20 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/trigger-rally-0.6.6.1/src' current values of user-set variables: @@ -1412,115 +1447,105 @@ Trigger/menu.cpp:199:59: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 199 | gui.addLabel(790.0f, 30.0f, "Build: " __DATE__ " at " __TIME__, PTEXT_HZA_RIGHT | PTEXT_VTA_CENTER, 20.0f, LabelStyle::Weak); | ^~~~~~~~ -PEngine/model.cpp: In member function 'void PModel::loadASE(const string&, float)': -PEngine/model.cpp:401:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 401 | tm[0] = vec3f(1,0,0); - | ^ -In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/model.cpp:402:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 402 | tm[1] = vec3f(0,1,0); - | ^ -In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/model.cpp:403:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 403 | tm[2] = vec3f(0,0,1); - | ^ In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: + from PEngine/vbuffer.cpp:8: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:404:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 404 | tm[3] = vec3f::zero(); - | ^ In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: + from PEngine/vmath.cpp:8: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:430:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 430 | curmesh->vert[vnum] = vpos * globalScale; - | ^~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: +./include/vmath.h: In instantiation of 'vec3& vec3::operator*=(T) [with T = float]': +./include/vmath.h:315:14: required from 'void plane::normalize() [with T = float]' +PEngine/vmath.cpp:20:30: required from 'frustum& frustum::construct(const mat44&) [with T = float]' +PEngine/vmath.cpp:59:75: required from here +./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } + | ~~~~~~^~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) - | ^ -PEngine/model.cpp:490:60: note: in expansion of macro 'DO_TM2' - 490 | curmesh->face[fnum].facenormal = DO_TM2(nrm); - | ^~~~~~ -In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' +./include/vmath.h: In instantiation of 'vec3& vec3::operator*=(T) [with T = double]': +./include/vmath.h:315:14: required from 'void plane::normalize() [with T = double]' +PEngine/vmath.cpp:20:30: required from 'frustum& frustum::construct(const mat44&) [with T = double]' +PEngine/vmath.cpp:60:78: required from here +./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } + | ~~~~~~^~~~~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = double]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) - | ^ -PEngine/model.cpp:499:53: note: in expansion of macro 'DO_TM2' - 499 | curmesh->norm[fnum*3+0] = DO_TM2(nrm); - | ^~~~~~ +In file included from PSim/sim.cpp:12: +./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': +./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 49 | void setPosition(const vec3f &_pos) { pos = _pos; } + | ^~~~ In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: + from ./include/psim.h:11, + from PSim/sim.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) - | ^ -PEngine/model.cpp:502:53: note: in expansion of macro 'DO_TM2' - 502 | curmesh->norm[fnum*3+1] = DO_TM2(nrm); - | ^~~~~~ +In file included from PSim/sim.cpp:12: +./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': +./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } + | ^~~ In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: + from ./include/psim.h:11, + from PSim/sim.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) - | ^ -PEngine/model.cpp:505:53: note: in expansion of macro 'DO_TM2' - 505 | curmesh->norm[fnum*3+2] = DO_TM2(nrm); - | ^~~~~~ +In file included from PSim/sim.cpp:12: +./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': +./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } + | ^~~ In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: + from ./include/psim.h:11, + from PSim/sim.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:530:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 530 | tm[0] = vec3f(st[0].x, st[1].x, st[2].x); - | ^ +In file included from ./include/psim.h:131, + from PSim/sim.cpp:12: +./include/vehicle.h: In member function 'void v_control_s::setZero()': +./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 73 | turn = vec3f::zero(); + | ^ In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: + from ./include/psim.h:11, + from PSim/sim.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:531:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 531 | tm[1] = vec3f(st[0].y, st[1].y, st[2].y); - | ^ +In file included from ./include/psim.h:131, + from PSim/sim.cpp:12: +./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': +./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 82 | turn = vec3f(10.0f,10.0f,10.0f); + | ^ In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: + from ./include/psim.h:11, + from PSim/sim.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:532:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 532 | tm[2] = vec3f(st[0].z, st[1].z, st[2].z); - | ^ In file included from ./include/pengine.h:37, - from PEngine/model.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ + from PEngine/physfs_rw.cpp:12: ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:26: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -1529,36 +1554,71 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from PSim/vehicle.cpp:8: +In file included from PSim/sim.cpp:12: +./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': +./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } + | ^~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/sim.cpp:12: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from PSim/rigidbody.cpp:12: ./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': ./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 49 | void setPosition(const vec3f &_pos) { pos = _pos; } | ^~~~ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/vehicle.cpp:8: + from PSim/rigidbody.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from PSim/vehicle.cpp:8: +In file included from PSim/rigidbody.cpp:12: ./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': ./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } | ^~~ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/vehicle.cpp:8: + from PSim/rigidbody.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from PSim/vehicle.cpp:8: +In file included from PSim/rigidbody.cpp:12: ./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': ./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } | ^~~ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/vehicle.cpp:8: + from PSim/rigidbody.cpp:12: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/psim.h:131, + from PSim/rigidbody.cpp:12: +./include/vehicle.h: In member function 'void v_control_s::setZero()': +./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 73 | turn = vec3f::zero(); + | ^ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/rigidbody.cpp:12: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/psim.h:131, + from PSim/rigidbody.cpp:12: +./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': +./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 82 | turn = vec3f(10.0f,10.0f,10.0f); + | ^ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/rigidbody.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ @@ -1604,30 +1664,6 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/psim.h:131, - from PSim/vehicle.cpp:8: -./include/vehicle.h: In member function 'void v_control_s::setZero()': -./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 73 | turn = vec3f::zero(); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/psim.h:131, - from PSim/vehicle.cpp:8: -./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': -./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 82 | turn = vec3f(10.0f,10.0f,10.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ PEngine/render.cpp: In member function 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)': PEngine/render.cpp:302:21: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 302 | part.back().pos = pos; @@ -1670,345 +1706,43 @@ PEngine/render.cpp:319:21: note: synthesized method 'PParticle_s& PParticle_s::operator=(const PParticle_s&)' first required here 319 | part[j] = part[i]; | ^ -In file included from ./include/main.h:23, - from PEngine/texture.cpp:10: -./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': -./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 49 | void setPosition(const vec3f &_pos) { pos = _pos; } - | ^~~~ -In file included from ./include/pengine.h:37, - from PEngine/texture.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/main.h:23, - from PEngine/texture.cpp:10: -./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': -./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } - | ^~~ -In file included from ./include/pengine.h:37, - from PEngine/texture.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/main.h:23, - from PEngine/texture.cpp:10: -./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': -./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } - | ^~~ -In file included from ./include/pengine.h:37, - from PEngine/texture.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/psim.h:131, - from ./include/main.h:23, - from PEngine/texture.cpp:10: -./include/vehicle.h: In member function 'void v_control_s::setZero()': -./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 73 | turn = vec3f::zero(); - | ^ -In file included from ./include/pengine.h:37, - from PEngine/texture.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/psim.h:131, - from ./include/main.h:23, - from PEngine/texture.cpp:10: -./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': -./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 82 | turn = vec3f(10.0f,10.0f,10.0f); - | ^ -In file included from ./include/pengine.h:37, - from PEngine/texture.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/main.h:23, - from Trigger/game.cpp:7: -./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': -./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 49 | void setPosition(const vec3f &_pos) { pos = _pos; } - | ^~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/main.h:23, - from Trigger/game.cpp:7: -./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': -./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } - | ^~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/main.h:23, - from Trigger/game.cpp:7: -./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': -./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } - | ^~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/psim.h:131, - from ./include/main.h:23, - from Trigger/game.cpp:7: -./include/vehicle.h: In member function 'void v_control_s::setZero()': -./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 73 | turn = vec3f::zero(); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/psim.h:131, - from ./include/main.h:23, - from Trigger/game.cpp:7: -./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': -./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 82 | turn = vec3f(10.0f,10.0f,10.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from PSim/vehicle.cpp:8: +In file included from PSim/rigidbody.cpp:12: ./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': ./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } | ^~~~~~~~~~~ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/vehicle.cpp:8: + from PSim/rigidbody.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicleWheel::reset()': -PSim/vehicle.cpp:72:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 72 | dirtthrowpos = vec3f::zero(); - | ^ +PSim/rigidbody.cpp: In member function 'void PRigidBody::setMassCuboid(float, const vec3f&)': +PSim/rigidbody.cpp:51:71: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 51 | angmass = vec3f(rad.y*rad.z, rad.z*rad.x, rad.x*rad.y) * (mass * 0.4); + | ^ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/vehicle.cpp:8: + from PSim/rigidbody.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PSim/vehicle.cpp:73:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 73 | dirtthrowvec = vec3f::zero(); +PSim/rigidbody.cpp: In member function 'void PRigidBody::tick(float)': +PSim/rigidbody.cpp:218:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 218 | accum_force = vec3f::zero(); | ^ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp: In member function 'bool PVehicleType::load(const string&, PSSModel&)': -PSim/vehicle.cpp:15:37: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 15 | #define DEF_VEHICLE_DIMS vec3f(1,1,1) - | ^ -PSim/vehicle.cpp:93:10: note: in expansion of macro 'DEF_VEHICLE_DIMS' - 93 | dims = DEF_VEHICLE_DIMS; - | ^~~~~~~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:19:43: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 19 | #define DEF_VEHICLE_TURNSPEED vec3f::zero() - | ^ -PSim/vehicle.cpp:101:21: note: in expansion of macro 'DEF_VEHICLE_TURNSPEED' - 101 | param.turnspeed = DEF_VEHICLE_TURNSPEED; - | ^~~~~~~~~~~~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:23:38: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 23 | #define DEF_VEHICLE_DRAG vec3f::zero() - | ^ -PSim/vehicle.cpp:104:16: note: in expansion of macro 'DEF_VEHICLE_DRAG' - 104 | param.drag = DEF_VEHICLE_DRAG; - | ^~~~~~~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/main.h:23, - from PEngine/texture.cpp:10: -./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': -./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } - | ^~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from PEngine/texture.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/pengine.h:37, - from PEngine/render.cpp:7: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicle::doReset()': -PSim/vehicle.cpp:622:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 622 | reset_pos = body->pos + vec3f(0.0f, 0.0f, 2.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicle::doReset(const vec3f&, const quatf&)': -PSim/vehicle.cpp:649:15: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 649 | reset_pos = pos; - | ^~~ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicle::tick(const float&)': -./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) - | ^ -PSim/vehicle.cpp:733:5: note: in expansion of macro 'PULLTOWARD' - 733 | PULLTOWARD(body->pos, reset_pos, delta * 2.0f); - | ^~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/main.h:23, - from Trigger/game.cpp:7: -./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': -./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } - | ^~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:884:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 884 | tci.normal = vec3f(0,0,1); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:912:48: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 912 | rightdir = vec3f(0.0f, 1.0f, 0.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:914:48: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 914 | rightdir = vec3f(1.0f, 0.0f, 0.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:1187:73: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1187 | wheel.dirtthrowpos = wheel.ref_world_lowest_point.getPosition(); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:1191:71: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1191 | (downward ^ rightdir) * (wheel.spin_vel * typewheel.radius); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/main.h: In member function 'void DirtParticleSystem::tick(float)': -./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) - | ^ -./include/main.h:284:4: note: in expansion of macro 'PULLTOWARD' - 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); - | ^~~~~~~~~~ + from PSim/rigidbody.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicle::updateParts()': -PSim/vehicle.cpp:1258:70: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1258 | parent->getOrientationMatrix().transform1(part[i].ref_local.pos); - | ^ +PSim/rigidbody.cpp:219:30: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 219 | accum_torque = vec3f::zero(); + | ^ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/main.h: In member function 'void DirtParticleSystem::tick(float)': -./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) - | ^ -./include/main.h:284:4: note: in expansion of macro 'PULLTOWARD' - 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); - | ^~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': -PEngine/render.cpp:326:37: required from here -./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } - | ~~~~~~^~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/pengine.h:37, - from PEngine/app.cpp:8: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + from PSim/rigidbody.cpp:12: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ @@ -2020,77 +1754,6 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -Trigger/game.cpp: In member function 'bool TriggerGame::loadLevel(const string&)': -Trigger/game.cpp:15:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 15 | #define DEF_START_POS vec3f::zero(); - | ^ -Trigger/game.cpp:127:14: note: in expansion of macro 'DEF_START_POS' - 127 | start_pos = DEF_START_POS; - | ^~~~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -Trigger/game.cpp:20:34: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 20 | #define DEF_FOG_COLOR vec3f(1,1,1) - | ^ -Trigger/game.cpp:134:22: note: in expansion of macro 'DEF_FOG_COLOR' - 134 | weather.fog.color = DEF_FOG_COLOR; - | ^~~~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -Trigger/game.cpp:288:103: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 288 | lastCkptPos = vec3f(start_pos.x, start_pos.y, terrain->getHeight(start_pos.x, start_pos.y) + 2.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -Trigger/game.cpp:425:84: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 425 | checkpt[i].pt = vec3f(coords.x, coords.y, terrain->getHeight(coords.x, coords.y)); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -Trigger/game.cpp: In member function 'void TriggerGame::tick(float)': -Trigger/game.cpp:578:73: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 578 | lastCkptPos = checkpt[vehicle[i]->nextcp].pt + vec3f(0.0f, 0.0f, 2.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -Trigger/game.cpp:612:85: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 612 | lastCkptPos = codrivercheckpt[vehicle[i]->nextcdcp].pt + vec3f(0.0f, 0.0f, 2.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -Trigger/game.cpp:638:67: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 638 | lastCkptPos = codrivercheckpt[j].pt + vec3f(0.0f, 0.0f, 2.0f); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/game.cpp:7: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ ./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': ./include/psim.h:45:37: required from here ./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] @@ -2117,22 +1780,6 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator*=(T) [with T = float]': -PSim/vehicle.cpp:175:17: required from here -./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } - | ~~~~~~^~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': -PSim/vehicle.cpp:781:51: required from here -./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } - | ~~~~~~^~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:26: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -2142,7 +1789,7 @@ 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/pengine.h:37, - from PEngine/fxman.cpp:8: + from PEngine/render.cpp:7: ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:26: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -2151,39 +1798,62 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./include/main.h:23, + from PEngine/texture.cpp:10: +./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': +./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 49 | void setPosition(const vec3f &_pos) { pos = _pos; } + | ^~~~ +In file included from ./include/pengine.h:37, + from PEngine/texture.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': -./include/psim.h:45:37: required from here -./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +In file included from ./include/main.h:23, + from PEngine/texture.cpp:10: +./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': +./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } + | ^~~ +In file included from ./include/pengine.h:37, + from PEngine/texture.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +In file included from ./include/main.h:23, + from PEngine/texture.cpp:10: +./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': +./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } + | ^~~ +In file included from ./include/pengine.h:37, + from PEngine/texture.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +In file included from ./include/psim.h:131, + from ./include/main.h:23, + from PEngine/texture.cpp:10: +./include/vehicle.h: In member function 'void v_control_s::setZero()': +./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 73 | turn = vec3f::zero(); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/texture.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +In file included from ./include/psim.h:131, + from ./include/main.h:23, + from PEngine/texture.cpp:10: +./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': +./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 82 | turn = vec3f(10.0f,10.0f,10.0f); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/texture.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ ./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': ./include/psim.h:45:37: required from here @@ -2211,60 +1881,92 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -In file included from PSim/rigidbody.cpp:12: +./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': +PSim/rigidbody.cpp:64:18: required from here +./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } + | ~~~~~~^~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': +PEngine/render.cpp:326:37: required from here +./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } + | ~~~~~~^~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/main.h:23, + from Trigger/main.cpp:9: ./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': ./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 49 | void setPosition(const vec3f &_pos) { pos = _pos; } | ^~~~ In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from PSim/rigidbody.cpp:12: +In file included from ./include/main.h:23, + from Trigger/main.cpp:9: ./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': ./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } | ^~~ In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from PSim/rigidbody.cpp:12: +In file included from ./include/main.h:23, + from Trigger/main.cpp:9: ./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': ./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } | ^~~ In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/main.h:23, + from PEngine/texture.cpp:10: +./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': +./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } + | ^~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from PEngine/texture.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/psim.h:131, - from PSim/rigidbody.cpp:12: + from ./include/main.h:23, + from Trigger/main.cpp:9: ./include/vehicle.h: In member function 'void v_control_s::setZero()': ./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 73 | turn = vec3f::zero(); | ^ In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/psim.h:131, - from PSim/rigidbody.cpp:12: + from ./include/main.h:23, + from Trigger/main.cpp:9: ./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': ./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 82 | turn = vec3f(10.0f,10.0f,10.0f); | ^ In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ @@ -2295,43 +1997,13 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -In file included from PSim/rigidbody.cpp:12: -./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': -./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } - | ^~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/rigidbody.cpp: In member function 'void PRigidBody::setMassCuboid(float, const vec3f&)': -PSim/rigidbody.cpp:51:71: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 51 | angmass = vec3f(rad.y*rad.z, rad.z*rad.x, rad.x*rad.y) * (mass * 0.4); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/rigidbody.cpp: In member function 'void PRigidBody::tick(float)': -PSim/rigidbody.cpp:218:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 218 | accum_force = vec3f::zero(); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/rigidbody.cpp:219:30: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 219 | accum_torque = vec3f::zero(); - | ^ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: +./include/main.h: In member function 'void DirtParticleSystem::tick(float)': +./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) + | ^ +./include/main.h:284:4: note: in expansion of macro 'PULLTOWARD' + 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); + | ^~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ @@ -2362,8 +2034,85 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ +In file included from ./include/main.h:23, + from Trigger/main.cpp:9: +./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': +./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } + | ^~~~~~~~~~~ In file included from ./include/pengine.h:37, - from PEngine/vbuffer.cpp:8: + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/main.h: In member function 'void DirtParticleSystem::tick(float)': +./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) + | ^ +./include/main.h:284:4: note: in expansion of macro 'PULLTOWARD' + 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); + | ^~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from PSim/vehicle.cpp:8: +./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': +./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 49 | void setPosition(const vec3f &_pos) { pos = _pos; } + | ^~~~ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from PSim/vehicle.cpp:8: +./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': +./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } + | ^~~ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from PSim/vehicle.cpp:8: +./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': +./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } + | ^~~ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/psim.h:131, + from PSim/vehicle.cpp:8: +./include/vehicle.h: In member function 'void v_control_s::setZero()': +./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 73 | turn = vec3f::zero(); + | ^ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/psim.h:131, + from PSim/vehicle.cpp:8: +./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': +./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 82 | turn = vec3f(10.0f,10.0f,10.0f); + | ^ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:26: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -2372,33 +2121,8 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': -./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' -./include/psim.h:44:29: required from here -./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ +In file included from ./include/pengine.h:37, + from PEngine/app.cpp:8: ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:26: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -2433,306 +2157,350 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -In file included from ./include/pengine.h:37, - from PEngine/vmath.cpp:8: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': -PSim/rigidbody.cpp:64:18: required from here -./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } - | ~~~~~~^~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': -./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' -./include/psim.h:44:29: required from here -./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator*=(T) [with T = float]': -./include/vmath.h:315:14: required from 'void plane::normalize() [with T = float]' -PEngine/vmath.cpp:20:30: required from 'frustum& frustum::construct(const mat44&) [with T = float]' -PEngine/vmath.cpp:59:75: required from here -./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } - | ~~~~~~^~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator*=(T) [with T = double]': -./include/vmath.h:315:14: required from 'void plane::normalize() [with T = double]' -PEngine/vmath.cpp:20:30: required from 'frustum& frustum::construct(const mat44&) [with T = double]' -PEngine/vmath.cpp:60:78: required from here -./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } - | ~~~~~~^~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = double]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ In file included from ./include/main.h:23, - from PEngine/terrain.cpp:10: + from Trigger/game.cpp:7: ./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': ./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 49 | void setPosition(const vec3f &_pos) { pos = _pos; } | ^~~~ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/main.h:22, + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/main.h:23, - from PEngine/terrain.cpp:10: + from Trigger/game.cpp:7: ./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': ./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } | ^~~ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/main.h:22, + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/main.h:23, - from PEngine/terrain.cpp:10: + from Trigger/game.cpp:7: ./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': ./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } | ^~~ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/main.h:22, + from Trigger/game.cpp:7: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/main.cpp: In member function 'bool MainApp::loadAll()': +Trigger/main.cpp:1232:46: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1232 | campos = campos_prev = vec3f(-15.0,0.0,30.0); + | ^ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/main.cpp:1232:46: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1232 | campos = campos_prev = vec3f(-15.0,0.0,30.0); + | ^ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/main.cpp:1236:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1236 | camvel = vec3f::zero(); + | ^ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/psim.h:131, from ./include/main.h:23, - from PEngine/terrain.cpp:10: + from Trigger/game.cpp:7: ./include/vehicle.h: In member function 'void v_control_s::setZero()': ./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 73 | turn = vec3f::zero(); | ^ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/main.h:22, + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/psim.h:131, from ./include/main.h:23, - from PEngine/terrain.cpp:10: + from Trigger/game.cpp:7: ./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': ./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 82 | turn = vec3f(10.0f,10.0f,10.0f); | ^ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/main.h:22, + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +Trigger/main.cpp: In member function 'void MainApp::tickStateGame(float)': +Trigger/main.cpp:1741:17: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1741 | campos_prev = campos; + | ^~~~~~ In file included from ./include/pengine.h:37, - from PEngine/audio.cpp:40: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/main.h:23, - from PEngine/terrain.cpp:10: +Trigger/main.cpp:1773:34: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1773 | makevec3f(cammat.row[2]) * 5.0f; + | ^~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from PSim/vehicle.cpp:8: ./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': ./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } | ^~~~~~~~~~~ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from PSim/sim.cpp:12: -./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': -./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 49 | void setPosition(const vec3f &_pos) { pos = _pos; } - | ^~~~ +Trigger/main.cpp:1795:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1795 | makevec3f(rfmat.row[2]) * 0.4f; + | ^~~~ In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/sim.cpp:12: + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from PSim/sim.cpp:12: -./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': -./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } - | ^~~ +Trigger/main.cpp:1819:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1819 | makevec3f(rfmat.row[2]) * 0.1f; + | ^~~~ In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/sim.cpp:12: + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from PSim/sim.cpp:12: -./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': -./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } - | ^~~ +Trigger/main.cpp:1842:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1842 | makevec3f(rfmat.row[2]) * 0.85f; + | ^~~~~ In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/sim.cpp:12: + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/psim.h:131, - from PSim/sim.cpp:12: -./include/vehicle.h: In member function 'void v_control_s::setZero()': -./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 73 | turn = vec3f::zero(); - | ^ +PSim/vehicle.cpp: In member function 'void PVehicleWheel::reset()': +PSim/vehicle.cpp:72:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 72 | dirtthrowpos = vec3f::zero(); + | ^ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/sim.cpp:12: + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/psim.h:131, - from PSim/sim.cpp:12: -./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': -./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 82 | turn = vec3f(10.0f,10.0f,10.0f); - | ^ +Trigger/main.cpp:1864:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1864 | makevec3f(rfmat.row[2]) * 5.0f; + | ^~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp:73:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 73 | dirtthrowvec = vec3f::zero(); + | ^ In file included from ./include/pengine.h:37, from ./include/psim.h:11, - from PSim/sim.cpp:12: + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/main.h: In member function 'void DirtParticleSystem::tick(float)': -./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) - | ^ -./include/main.h:284:4: note: in expansion of macro 'PULLTOWARD' - 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); - | ^~~~~~~~~~ +Trigger/main.cpp:1894:34: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1894 | makevec3f(cammat.row[2]) * 6.0f; + | ^~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/vmath.h:41:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 41 | #define makevec3f(vec) (vec3f(vec.x,vec.y,vec.z)) + | ^ +Trigger/main.cpp:1899:10: note: in expansion of macro 'makevec3f' + 1899 | forw = makevec3f(cammat.row[0]); + | ^~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +Trigger/main.cpp:1965:52: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1965 | rain.back().drop_pt = vec3f(campos.x,campos.y,0); + | ^ In file included from ./include/pengine.h:37, - from PEngine/util.cpp:8: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./include/main.h:23, + from ./include/main.h:22, from Trigger/main.cpp:9: -./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': -./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 49 | void setPosition(const vec3f &_pos) { pos = _pos; } - | ^~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/main.cpp:1952:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1952 | #define RAIN_VEL_RANDOM 2.0f + | ^~~~ +Trigger/main.cpp:1952:33: note: in definition of macro 'RAIN_VEL_RANDOM' + 1952 | #define RAIN_VEL_RANDOM 2.0f + | ^~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/main.cpp:2005:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 2005 | snowfall.back().drop_pt = vec3f(campos.x,campos.y,0); + | ^ In file included from ./include/pengine.h:37, from ./include/main.h:22, from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +Trigger/main.cpp:1993:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1993 | #define SNOWFALL_VEL_RANDOM 0.8f + | ^~~~ +Trigger/main.cpp:1993:33: note: in definition of macro 'SNOWFALL_VEL_RANDOM' + 1993 | #define SNOWFALL_VEL_RANDOM 0.8f + | ^~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/main.h:23, +PSim/vehicle.cpp: In member function 'bool PVehicleType::load(const string&, PSSModel&)': +PSim/vehicle.cpp:15:37: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 15 | #define DEF_VEHICLE_DIMS vec3f(1,1,1) + | ^ +PSim/vehicle.cpp:93:10: note: in expansion of macro 'DEF_VEHICLE_DIMS' + 93 | dims = DEF_VEHICLE_DIMS; + | ^~~~~~~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/main.cpp:2033:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 2033 | cam_pos = campos; + | ^~~~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/main.cpp:2035:16: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 2035 | cam_linvel = camvel; + | ^~~~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, from Trigger/main.cpp:9: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp:19:43: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 19 | #define DEF_VEHICLE_TURNSPEED vec3f::zero() + | ^ +PSim/vehicle.cpp:101:21: note: in expansion of macro 'DEF_VEHICLE_TURNSPEED' + 101 | param.turnspeed = DEF_VEHICLE_TURNSPEED; + | ^~~~~~~~~~~~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp:23:38: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 23 | #define DEF_VEHICLE_DRAG vec3f::zero() + | ^ +PSim/vehicle.cpp:104:16: note: in expansion of macro 'DEF_VEHICLE_DRAG' + 104 | param.drag = DEF_VEHICLE_DRAG; + | ^~~~~~~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/main.h:23, + from PEngine/terrain.cpp:10: +./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': +./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 49 | void setPosition(const vec3f &_pos) { pos = _pos; } + | ^~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/main.h:23, + from PEngine/terrain.cpp:10: ./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': ./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } | ^~~ In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: + from PEngine/terrain.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/main.h:23, - from Trigger/main.cpp:9: + from PEngine/terrain.cpp:10: ./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': ./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } | ^~~ In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/pengine.h:37, - from PEngine/physfs_rw.cpp:12: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ + from PEngine/terrain.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/psim.h:131, from ./include/main.h:23, - from Trigger/main.cpp:9: + from PEngine/terrain.cpp:10: ./include/vehicle.h: In member function 'void v_control_s::setZero()': ./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 73 | turn = vec3f::zero(); | ^ In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: + from PEngine/terrain.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/psim.h:131, from ./include/main.h:23, - from Trigger/main.cpp:9: + from PEngine/terrain.cpp:10: ./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': ./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 82 | turn = vec3f(10.0f,10.0f,10.0f); | ^ In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from PSim/sim.cpp:12: -./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': -./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } - | ^~~~~~~~~~~ -In file included from ./include/pengine.h:37, - from ./include/psim.h:11, - from PSim/sim.cpp:12: + from PEngine/terrain.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ @@ -2749,17 +2517,66 @@ 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ In file included from ./include/main.h:23, + from Trigger/game.cpp:7: +./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': +./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } + | ^~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/game.cpp:7: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': +./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' +./include/psim.h:44:29: required from here +./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +In file included from ./include/main.h:23, from Trigger/render.cpp:21: ./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': ./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } | ^~~ +./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ In file included from ./include/pengine.h:37, from ./include/main.h:22, from Trigger/render.cpp:21: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +PSim/vehicle.cpp: In member function 'void PVehicle::doReset()': +PSim/vehicle.cpp:622:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 622 | reset_pos = body->pos + vec3f(0.0f, 0.0f, 2.0f); + | ^ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ In file included from ./include/main.h:23, from Trigger/render.cpp:21: ./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': @@ -2772,6 +2589,26 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +PSim/vehicle.cpp: In member function 'void PVehicle::doReset(const vec3f&, const quatf&)': +PSim/vehicle.cpp:649:15: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 649 | reset_pos = pos; + | ^~~ +In file included from ./include/pengine.h:37, + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp: In member function 'void PVehicle::tick(const float&)': +./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) + | ^ +PSim/vehicle.cpp:733:5: note: in expansion of macro 'PULLTOWARD' + 733 | PULLTOWARD(body->pos, reset_pos, delta * 2.0f); + | ^~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ In file included from ./include/psim.h:131, from ./include/main.h:23, from Trigger/render.cpp:21: @@ -2798,96 +2635,133 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': -PEngine/terrain.cpp:473:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 473 | tileptr->mins = vec3f((float)tilex * scale_hz, (float)tiley * scale_hz, 1000000000.0); - | ^ +PSim/vehicle.cpp:884:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 884 | tci.normal = vec3f(0,0,1); + | ^ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:474:96: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 474 | tileptr->maxs = vec3f((float)(tilex+1) * scale_hz, (float)(tiley+1) * scale_hz, -1000000000.0); - | ^ +PSim/vehicle.cpp:912:48: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 912 | rightdir = vec3f(0.0f, 1.0f, 0.0f); + | ^ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/main.h:23, - from Trigger/main.cpp:9: -./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': -./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } - | ^~~~~~~~~~~ +PSim/vehicle.cpp:914:48: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 914 | rightdir = vec3f(1.0f, 0.0f, 0.0f); + | ^ In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:568:93: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 568 | vec3f(cos(interang)*HMULT,sin(interang)*HMULT,0.0f) * tileptr->foliage[b].inst[j].scale; - | ^~~~~ -In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:574:95: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 574 | vec3f(-cos(interang)*HMULT,-sin(interang)*HMULT,0.0f) * tileptr->foliage[b].inst[j].scale; - | ^~~~~ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from PEngine/util.cpp:8: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:580:96: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 580 | vec3f(-cos(interang)*HMULT,-sin(interang)*HMULT,VMULT) * tileptr->foliage[b].inst[j].scale; - | ^~~~~ +PSim/vehicle.cpp:1187:73: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1187 | wheel.dirtthrowpos = wheel.ref_world_lowest_point.getPosition(); + | ^ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:586:94: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 586 | vec3f(cos(interang)*HMULT,sin(interang)*HMULT,VMULT) * tileptr->foliage[b].inst[j].scale; - | ^~~~~ +PSim/vehicle.cpp:1191:71: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1191 | (downward ^ rightdir) * (wheel.spin_vel * typewheel.radius); + | ^ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:660:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 660 | tileptr->roadsignset[b].inst[j].scale; - | ^~~~~ +PSim/vehicle.cpp: In member function 'void PVehicle::updateParts()': +PSim/vehicle.cpp:1258:70: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1258 | parent->getOrientationMatrix().transform1(part[i].ref_local.pos); + | ^ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:667:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 667 | tileptr->roadsignset[b].inst[j].scale; - | ^~~~~ -In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: +./include/main.h: In member function 'void DirtParticleSystem::tick(float)': +./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) + | ^ +./include/main.h:284:4: note: in expansion of macro 'PULLTOWARD' + 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); + | ^~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:674:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 674 | tileptr->roadsignset[b].inst[j].scale; - | ^~~~~ +In file included from ./include/main.h:23, + from PEngine/terrain.cpp:10: +./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': +./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } + | ^~~~~~~~~~~ In file included from ./include/pengine.h:37, from PEngine/terrain.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/terrain.cpp:681:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 681 | tileptr->roadsignset[b].inst[j].scale; - | ^~~~~ +./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': +./include/psim.h:45:37: required from here +./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ In file included from ./include/pengine.h:37, - from PEngine/terrain.cpp:8: + from PEngine/fxman.cpp:8: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ @@ -2913,6 +2787,51 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': +Trigger/main.cpp:1966:37: required from here +./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } + | ~~~~~~^~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/vmath.h: In instantiation of 'static vec3 vec3::rand() [with T = float]': +Trigger/main.cpp:1967:35: required from here +./include/vmath.h:162:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 162 | do { ret=vec3((T)2 * (T)::rand() / (T)RAND_MAX - (T)1, + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 163 | (T)2 * (T)::rand() / (T)RAND_MAX - (T)1, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 164 | (T)2 * (T)::rand() / (T)RAND_MAX - (T)1); } + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/game.cpp: In member function 'bool TriggerGame::loadLevel(const string&)': +Trigger/game.cpp:15:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 15 | #define DEF_START_POS vec3f::zero(); + | ^ +Trigger/game.cpp:127:14: note: in expansion of macro 'DEF_START_POS' + 127 | start_pos = DEF_START_POS; + | ^~~~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/game.cpp:7: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +Trigger/game.cpp:20:34: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 20 | #define DEF_FOG_COLOR vec3f(1,1,1) + | ^ +Trigger/game.cpp:134:22: note: in expansion of macro 'DEF_FOG_COLOR' + 134 | weather.fog.color = DEF_FOG_COLOR; + | ^~~~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/game.cpp:7: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:26: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -2921,65 +2840,49 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/main.h:23, - from Trigger/menu.cpp:8: -./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': -./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 49 | void setPosition(const vec3f &_pos) { pos = _pos; } - | ^~~~ +Trigger/game.cpp:288:103: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 288 | lastCkptPos = vec3f(start_pos.x, start_pos.y, terrain->getHeight(start_pos.x, start_pos.y) + 2.0f); + | ^ In file included from ./include/pengine.h:37, from ./include/main.h:22, - from Trigger/menu.cpp:8: + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/main.h:23, - from Trigger/menu.cpp:8: -./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': -./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } - | ^~~ +Trigger/game.cpp:425:84: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 425 | checkpt[i].pt = vec3f(coords.x, coords.y, terrain->getHeight(coords.x, coords.y)); + | ^ In file included from ./include/pengine.h:37, from ./include/main.h:22, - from Trigger/menu.cpp:8: + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/main.h:23, - from Trigger/menu.cpp:8: -./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': -./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } - | ^~~ +Trigger/game.cpp: In member function 'void TriggerGame::tick(float)': +Trigger/game.cpp:578:73: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 578 | lastCkptPos = checkpt[vehicle[i]->nextcp].pt + vec3f(0.0f, 0.0f, 2.0f); + | ^ In file included from ./include/pengine.h:37, from ./include/main.h:22, - from Trigger/menu.cpp:8: + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/psim.h:131, - from ./include/main.h:23, - from Trigger/menu.cpp:8: -./include/vehicle.h: In member function 'void v_control_s::setZero()': -./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 73 | turn = vec3f::zero(); - | ^ +Trigger/game.cpp:612:85: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 612 | lastCkptPos = codrivercheckpt[vehicle[i]->nextcdcp].pt + vec3f(0.0f, 0.0f, 2.0f); + | ^ In file included from ./include/pengine.h:37, from ./include/main.h:22, - from Trigger/menu.cpp:8: + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/psim.h:131, - from ./include/main.h:23, - from Trigger/menu.cpp:8: -./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': -./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 82 | turn = vec3f(10.0f,10.0f,10.0f); - | ^ +Trigger/game.cpp:638:67: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 638 | lastCkptPos = codrivercheckpt[j].pt + vec3f(0.0f, 0.0f, 2.0f); + | ^ In file included from ./include/pengine.h:37, from ./include/main.h:22, - from Trigger/menu.cpp:8: + from Trigger/game.cpp:7: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ @@ -3019,51 +2922,110 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h: In instantiation of 'vec3& vec3::operator*=(T) [with T = float]': +PSim/vehicle.cpp:175:17: required from here +./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } + | ~~~~~~^~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/main.h:23, - from Trigger/menu.cpp:8: -./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': -./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } - | ^~~~~~~~~~~ +./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': +PSim/vehicle.cpp:781:51: required from here +./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } + | ~~~~~~^~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': +PEngine/terrain.cpp:473:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 473 | tileptr->mins = vec3f((float)tilex * scale_hz, (float)tiley * scale_hz, 1000000000.0); + | ^ In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/menu.cpp:8: + from PEngine/terrain.cpp:8: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': -./include/psim.h:45:37: required from here -./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/terrain.cpp:474:96: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 474 | tileptr->maxs = vec3f((float)(tilex+1) * scale_hz, (float)(tiley+1) * scale_hz, -1000000000.0); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/terrain.cpp:568:93: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 568 | vec3f(cos(interang)*HMULT,sin(interang)*HMULT,0.0f) * tileptr->foliage[b].inst[j].scale; + | ^~~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/terrain.cpp:574:95: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 574 | vec3f(-cos(interang)*HMULT,-sin(interang)*HMULT,0.0f) * tileptr->foliage[b].inst[j].scale; + | ^~~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/terrain.cpp:580:96: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 580 | vec3f(-cos(interang)*HMULT,-sin(interang)*HMULT,VMULT) * tileptr->foliage[b].inst[j].scale; + | ^~~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/terrain.cpp:586:94: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 586 | vec3f(cos(interang)*HMULT,sin(interang)*HMULT,VMULT) * tileptr->foliage[b].inst[j].scale; + | ^~~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/terrain.cpp:660:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 660 | tileptr->roadsignset[b].inst[j].scale; + | ^~~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/terrain.cpp:667:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 667 | tileptr->roadsignset[b].inst[j].scale; + | ^~~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/terrain.cpp:674:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 674 | tileptr->roadsignset[b].inst[j].scale; + | ^~~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/terrain.cpp:681:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 681 | tileptr->roadsignset[b].inst[j].scale; + | ^~~~~ +In file included from ./include/pengine.h:37, + from PEngine/terrain.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ Trigger/render.cpp: In member function 'void MainApp::renderStateGame(float)': Trigger/render.cpp:926:42: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -3156,174 +3118,159 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/main.h: In member function 'void DirtParticleSystem::tick(float)': -./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) - | ^ -./include/main.h:284:4: note: in expansion of macro 'PULLTOWARD' - 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); - | ^~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': +./include/psim.h:45:37: required from here +./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp: In member function 'bool MainApp::loadAll()': -Trigger/main.cpp:1232:46: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1232 | campos = campos_prev = vec3f(-15.0,0.0,30.0); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1232:46: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1232 | campos = campos_prev = vec3f(-15.0,0.0,30.0); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1236:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1236 | camvel = vec3f::zero(); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp: In member function 'void MainApp::tickStateGame(float)': -Trigger/main.cpp:1741:17: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1741 | campos_prev = campos; - | ^~~~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': +./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' +./include/psim.h:44:29: required from here +./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1773:34: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1773 | makevec3f(cammat.row[2]) * 5.0f; - | ^~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1795:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1795 | makevec3f(rfmat.row[2]) * 0.4f; - | ^~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1819:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1819 | makevec3f(rfmat.row[2]) * 0.1f; - | ^~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1842:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1842 | makevec3f(rfmat.row[2]) * 0.85f; - | ^~~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -Trigger/main.cpp:1864:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1864 | makevec3f(rfmat.row[2]) * 5.0f; - | ^~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -Trigger/main.cpp:1894:34: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1894 | makevec3f(cammat.row[2]) * 6.0f; - | ^~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': +./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' +./include/psim.h:44:29: required from here +./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h:41:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 41 | #define makevec3f(vec) (vec3f(vec.x,vec.y,vec.z)) - | ^ -Trigger/main.cpp:1899:10: note: in expansion of macro 'makevec3f' - 1899 | forw = makevec3f(cammat.row[0]); - | ^~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1965:52: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1965 | rain.back().drop_pt = vec3f(campos.x,campos.y,0); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1952:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1952 | #define RAIN_VEL_RANDOM 2.0f - | ^~~~ -Trigger/main.cpp:1952:33: note: in definition of macro 'RAIN_VEL_RANDOM' - 1952 | #define RAIN_VEL_RANDOM 2.0f - | ^~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:2005:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 2005 | snowfall.back().drop_pt = vec3f(campos.x,campos.y,0); - | ^ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': +./include/psim.h:45:37: required from here +./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:1993:33: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1993 | #define SNOWFALL_VEL_RANDOM 0.8f - | ^~~~ -Trigger/main.cpp:1993:33: note: in definition of macro 'SNOWFALL_VEL_RANDOM' - 1993 | #define SNOWFALL_VEL_RANDOM 0.8f - | ^~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:2033:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 2033 | cam_pos = campos; - | ^~~~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/main.cpp:2035:16: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 2035 | cam_linvel = camvel; - | ^~~~~~ -In file included from ./include/pengine.h:37, - from ./include/main.h:22, - from Trigger/main.cpp:9: +./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': +./include/psim.h:45:37: required from here +./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h: In instantiation of 'vec3& vec3::operator*=(T) [with T = float]': +Trigger/render.cpp:927:44: required from here +./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } + | ~~~~~~^~~~~~~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ @@ -3354,6 +3301,8 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ +In file included from ./include/pengine.h:37, + from PEngine/audio.cpp:40: ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:26: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -3362,32 +3311,144 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': -./include/psim.h:45:37: required from here -./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': +./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' +./include/psim.h:44:29: required from here +./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ +./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': +./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' +./include/psim.h:44:29: required from here +./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ +In file included from ./include/main.h:23, + from Trigger/menu.cpp:8: +./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': +./include/psim.h:49:47: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 49 | void setPosition(const vec3f &_pos) { pos = _pos; } + | ^~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/menu.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/main.h:23, + from Trigger/menu.cpp:8: +./include/psim.h: In member function 'void PRigidBody::setLinearVel(const vec3f&)': +./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } + | ^~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/menu.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/main.h:23, + from Trigger/menu.cpp:8: +./include/psim.h: In member function 'void PRigidBody::setAngularVel(const vec3f&)': +./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } + | ^~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/menu.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/psim.h:131, + from ./include/main.h:23, + from Trigger/menu.cpp:8: +./include/vehicle.h: In member function 'void v_control_s::setZero()': +./include/vehicle.h:73:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 73 | turn = vec3f::zero(); + | ^ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/menu.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/psim.h:131, + from ./include/main.h:23, + from Trigger/menu.cpp:8: +./include/vehicle.h: In member function 'void v_control_s::setDefaultRates()': +./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 82 | turn = vec3f(10.0f,10.0f,10.0f); + | ^ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/menu.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/main.h:23, + from Trigger/menu.cpp:8: +./include/psim.h: In member function 'void PSim::setGravity(const vec3f&)': +./include/psim.h:161:64: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 161 | inline void setGravity(const vec3f &new_gravity) { gravity = new_gravity; } + | ^~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from ./include/main.h:22, + from Trigger/menu.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/main.h: In member function 'void DirtParticleSystem::tick(float)': +./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) + | ^ +./include/main.h:284:4: note: in expansion of macro 'PULLTOWARD' + 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); + | ^~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ Trigger/menu.cpp: In member function 'void Gui::render()': ./include/vmath.h:27:47: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] 27 | #define INTERP(a,b,f) ((a) + ((b) - (a)) * (f)) @@ -3564,20 +3625,12 @@ Trigger/menu.cpp:1729:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] 1729 | widget[w].colnormal = colors.listnormal; | ^~~~~~~~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator*=(T) [with T = float]': -Trigger/render.cpp:927:44: required from here -./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } - | ~~~~~~^~~~~~~~~~~~~~~~ In file included from ./include/pengine.h:37, from ./include/main.h:22, from Trigger/menu.cpp:8: ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ Trigger/menu.cpp:1730:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] 1730 | widget[w].colclick = colors.listclick; | ^~~~~~~~~ @@ -3659,33 +3712,6 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': -./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' -./include/psim.h:44:29: required from here -./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ ./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': ./include/psim.h:45:37: required from here ./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] @@ -3712,73 +3738,11 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:26: required from here -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In member function 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)': -./include/vmath.h:110:37: warning: '.vec3::x' may be used uninitialized in this function [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -./include/vmath.h:110:46: warning: '.vec3::y' may be used uninitialized in this function [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -./include/vmath.h:110:55: warning: '.vec3::z' may be used uninitialized in this function [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -./include/vmath.h:55:37: warning: '*((void*)(&)+28).vec2::x' may be used uninitialized in this function [-Wmaybe-uninitialized] - 55 | vec2 (const vec2 &vec) { x=vec.x; y=vec.y; } - | ~~~~^ -./include/vmath.h:55:46: warning: '*((void*)(&)+28).vec2::y' may be used uninitialized in this function [-Wmaybe-uninitialized] - 55 | vec2 (const vec2 &vec) { x=vec.x; y=vec.y; } - | ~~~~^ -./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': -Trigger/main.cpp:1966:37: required from here -./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } +./include/vmath.h: In instantiation of 'vec4& vec4::operator+=(const vec4&) [with T = float]': +Trigger/menu.cpp:1387:64: required from here +./include/vmath.h:196:53: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 196 | vec4 &operator += (const vec4 &vec) { *this = *this + vec; return *this; } | ~~~~~~^~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'static vec3 vec3::rand() [with T = float]': -Trigger/main.cpp:1967:35: required from here -./include/vmath.h:162:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 162 | do { ret=vec3((T)2 * (T)::rand() / (T)RAND_MAX - (T)1, - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 163 | (T)2 * (T)::rand() / (T)RAND_MAX - (T)1, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 164 | (T)2 * (T)::rand() / (T)RAND_MAX - (T)1); } - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': -./include/psim.h:45:37: required from here -./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ @@ -3809,67 +3773,138 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h: In instantiation of 'vec4& vec4::operator+=(const vec4&) [with T = float]': -Trigger/menu.cpp:1387:64: required from here -./include/vmath.h:196:53: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 196 | vec4 &operator += (const vec4 &vec) { *this = *this + vec; return *this; } - | ~~~~~~^~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp: In member function 'void PModel::loadASE(const string&, float)': +PEngine/model.cpp:401:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 401 | tm[0] = vec3f(1,0,0); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': -./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' -./include/psim.h:44:29: required from here -./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp:402:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 402 | tm[1] = vec3f(0,1,0); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp:403:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 403 | tm[2] = vec3f(0,0,1); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp:404:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 404 | tm[3] = vec3f::zero(); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp:430:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 430 | curmesh->vert[vnum] = vpos * globalScale; + | ^~~~~~~~~~~ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': -./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' -./include/psim.h:44:29: required from here -./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) + | ^ +PEngine/model.cpp:490:60: note: in expansion of macro 'DO_TM2' + 490 | curmesh->face[fnum].facenormal = DO_TM2(nrm); + | ^~~~~~ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) + | ^ +PEngine/model.cpp:499:53: note: in expansion of macro 'DO_TM2' + 499 | curmesh->norm[fnum*3+0] = DO_TM2(nrm); + | ^~~~~~ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) + | ^ +PEngine/model.cpp:502:53: note: in expansion of macro 'DO_TM2' + 502 | curmesh->norm[fnum*3+1] = DO_TM2(nrm); + | ^~~~~~ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) + | ^ +PEngine/model.cpp:505:53: note: in expansion of macro 'DO_TM2' + 505 | curmesh->norm[fnum*3+2] = DO_TM2(nrm); + | ^~~~~~ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:530:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 530 | tm[0] = vec3f(st[0].x, st[1].x, st[2].x); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:531:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 531 | tm[1] = vec3f(st[0].y, st[1].y, st[2].y); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:532:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 532 | tm[2] = vec3f(st[0].z, st[1].z, st[2].z); + | ^ +In file included from ./include/pengine.h:37, + from PEngine/model.cpp:8: +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/vmath.h: In member function 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)': +./include/vmath.h:110:37: warning: '.vec3::x' may be used uninitialized in this function [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +./include/vmath.h:110:46: warning: '.vec3::y' may be used uninitialized in this function [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +./include/vmath.h:110:55: warning: '.vec3::z' may be used uninitialized in this function [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +./include/vmath.h:55:37: warning: '*((void*)(&)+28).vec2::x' may be used uninitialized in this function [-Wmaybe-uninitialized] + 55 | vec2 (const vec2 &vec) { x=vec.x; y=vec.y; } + | ~~~~^ +./include/vmath.h:55:46: warning: '*((void*)(&)+28).vec2::y' may be used uninitialized in this function [-Wmaybe-uninitialized] + 55 | vec2 (const vec2 &vec) { x=vec.x; y=vec.y; } + | ~~~~^ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:26: required from here +./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 151 | *this = vec3((T)0,(T)0,(T)1); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ ./include/vmath.h:110:37: warning: '.vec3::x' may be used uninitialized in this function [-Wmaybe-uninitialized] 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } @@ -3919,7 +3954,7 @@ dh_prep -O-Dsrc/ dh_installdirs -O-Dsrc/ dh_auto_install -O-Dsrc/ - cd src && make -j42 install DESTDIR=/build/reproducible-path/trigger-rally-0.6.6.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd src && make -j20 install DESTDIR=/build/reproducible-path/trigger-rally-0.6.6.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/trigger-rally-0.6.6.1/src' mkdir [installation directories] @@ -4001,12 +4036,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2517844/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2517844/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/3397688 and its subdirectories -I: Current time: Mon Aug 18 13:30:20 -12 2025 -I: pbuilder-time-stamp: 1755567020 +I: removing directory /srv/workspace/pbuilder/2517844 and its subdirectories +I: Current time: Wed Jul 17 09:12:07 +14 2024 +I: pbuilder-time-stamp: 1721157127