Diff of the two buildlogs: -- --- b1/build.log 2023-04-15 06:27:54.331189629 +0000 +++ b2/build.log 2023-04-15 06:29:44.542289395 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 14 18:24:52 -12 2023 -I: pbuilder-time-stamp: 1681539892 +I: Current time: Sat May 18 02:51:01 +14 2024 +I: pbuilder-time-stamp: 1715950261 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./trigger-rally_0.6.6.1.orig.tar.gz] I: copying [./trigger-rally_0.6.6.1-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Mar 30 23:39:59 2020 -12 +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: cannot verify inline signature for ./trigger-rally_0.6.6.1-3.dsc: no acceptable signature found @@ -30,135 +30,144 @@ dpkg-source: info: applying fix-sdl2-detection.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3986867/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1006176/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +lrwxrwxrwx 1 root root 4 Jan 6 2023 /bin/sh -> dash +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/1006176/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1006176/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME='pbuilder2' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' - INVOCATION_ID='00e502a700b041cf9491f17d3bb11fa5' + INVOCATION_ID='2f2836d85ca74deaaa90b4ed1cbf2c3d' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='et_EE:et' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='3986867' + PPID='1006176' PS1='# ' PS2='> ' 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.UuXB3RyG/pbuilderrc_3q3e --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UuXB3RyG/b1 --logfile b1/build.log trigger-rally_0.6.6.1-3.dsc' - SUDO_GID='110' - SUDO_UID='105' + 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.UuXB3RyG/pbuilderrc_NgwU --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.UuXB3RyG/b2 --logfile b2/build.log --extrapackages usrmerge trigger-rally_0.6.6.1-3.dsc' + SUDO_GID='111' + SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + http_proxy='http://85.184.249.68:3128' I: uname -a - Linux ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 08:05 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:05 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 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 6460 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 8103 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/3986867/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 4 Jan 6 2023 sh -> dash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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 6460 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 8103 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/1006176/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -436,7 +445,7 @@ Get: 226 http://deb.debian.org/debian bookworm/main amd64 libsdl2-image-dev amd64 2.6.3+dfsg-1 [75.9 kB] Get: 227 http://deb.debian.org/debian bookworm/main amd64 libtinyxml2-9 amd64 9.0.0+dfsg-3.1 [31.8 kB] Get: 228 http://deb.debian.org/debian bookworm/main amd64 libtinyxml2-dev amd64 9.0.0+dfsg-3.1 [24.0 kB] -Fetched 93.4 MB in 4s (22.3 MB/s) +Fetched 93.4 MB in 1s (90.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19596 files and directories currently installed.) @@ -1373,10 +1382,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/1006176/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/1006176/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/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 @@ -1390,7 +1406,7 @@ make[1]: Entering directory '/build/trigger-rally-0.6.6.1' rm -f debian/trigger-rally.6 dh_auto_clean override_dh_auto_clean - cd src && make -j15 clean + cd src && make -j16 clean make[2]: Entering directory '/build/trigger-rally-0.6.6.1/src' make[2]: Leaving directory '/build/trigger-rally-0.6.6.1/src' make[1]: Leaving directory '/build/trigger-rally-0.6.6.1' @@ -1403,7 +1419,7 @@ dh_autoreconf -O-Dsrc/ dh_auto_configure -O-Dsrc/ dh_auto_build -O-Dsrc/ - cd src && make -j15 "INSTALL=install --strip-program=true" + cd src && make -j16 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/trigger-rally-0.6.6.1/src' current values of user-set variables: @@ -1413,14 +1429,14 @@ exec_prefix ?= /usr OPTIMS ?= WARNINGS ?= -Wall -Wextra -pedantic - g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PEngine/audio.cpp -o PEngine/audio.o + resulting values of build variables: CXXFLAGS += -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic CPPFLAGS += -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION="0.6.6.1" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu +g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PEngine/fxman.cpp -o PEngine/fxman.o LDFLAGS += -Wl,-z,relro -lSDL2 -lSDL2_image -lSDL2 -lSDL2main -lGL -lGLU -lGLEW -lSDL2 -lSDL2_image -lphysfs -lopenal -lalut -lpthread -ltinyxml2 -g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PEngine/fxman.cpp -o PEngine/fxman.o g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PEngine/model.cpp -o PEngine/model.o g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PEngine/physfs_rw.cpp -o PEngine/physfs_rw.o g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PEngine/render.cpp -o PEngine/render.o @@ -1433,13 +1449,87 @@ g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PSim/rigidbody.cpp -o PSim/rigidbody.o g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PSim/sim.cpp -o PSim/sim.o g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c PSim/vehicle.cpp -o PSim/vehicle.o +g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c Trigger/game.cpp -o Trigger/game.o PEngine/app.cpp:129:64: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 129 | PUtil::outLog() << "Build: " << PACKAGE_VERSION << " on " << __DATE__ << " at " << __TIME__ << std::endl; | ^~~~~~~~ PEngine/app.cpp:129:86: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 129 | PUtil::outLog() << "Build: " << PACKAGE_VERSION << " on " << __DATE__ << " at " << __TIME__ << std::endl; | ^~~~~~~~ -g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c Trigger/game.cpp -o Trigger/game.o +g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c Trigger/main.cpp -o Trigger/main.o +PEngine/render.cpp: In member function 'virtual void PSSRender::tick(float, const vec3f&, const mat44f&, const vec3f&)': +PEngine/render.cpp:25:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 25 | cam_pos = eyepos; + | ^~~~~~ +In file included from ./include/pengine.h:37, + from PEngine/render.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; } + | ^~~~ +PEngine/render.cpp: In member function 'void PSSRender::render(PParticleSystem*)': +PEngine/render.cpp:55:32: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 55 | vert = part.pos - pushx2 - pushy2; + | ^~~~~~ +./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:58:32: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 58 | vert = part.pos + pushx2 - pushy2; + | ^~~~~~ +./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:61:32: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 61 | vert = part.pos + pushx2 + pushy2; + | ^~~~~~ +./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:64:32: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 64 | vert = part.pos - pushx2 + pushy2; + | ^~~~~~ +./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; + | ^~~ +./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:303:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 303 | part.back().linvel = linvel; + | ^~~~~~ +./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:204: +./include/render.h: In member function 'PParticle_s& PParticle_s::operator=(const PParticle_s&)': +./include/render.h:13:8: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 13 | struct PParticle_s { + | ^~~~~~~~~~~ +./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/render.h:13:8: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 13 | struct PParticle_s { + | ^~~~~~~~~~~ +./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::tick(float)': +PEngine/render.cpp:319:21: note: synthesized method 'PParticle_s& PParticle_s::operator=(const PParticle_s&)' first required here + 319 | part[j] = part[i]; + | ^ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: 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: In member function 'void PModel::loadASE(const std::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); @@ -1527,11 +1617,11 @@ ./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:25: 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+=(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; } | ^~~~ @@ -1545,8 +1635,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/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:25: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -1555,13 +1643,14 @@ ./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: +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 ./include/psim.h:11: + 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; } | ^~~~ @@ -1594,23 +1683,42 @@ ./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; } + | ^~~~ In file included from ./include/pengine.h:37, - from PEngine/fxman.cpp:8: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: 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/psim.h:11: ./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:25: 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/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: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/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; } + | ^~~ +./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: +./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(); + | ^ +./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/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); + | ^ ./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; } | ^~~~ @@ -1622,104 +1730,20 @@ 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ 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:25: 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; } - | ^~~~ + from PEngine/physfs_rw.cpp:12: ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:25: 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 'mat44 mat44::transpose() const [with T = float]': -./include/psim.h:45:36: 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]': -./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; } - | ^~~~ -./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:28: 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 PEngine/texture.cpp:10: + 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/texture.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; } | ^~~~ @@ -1737,6 +1761,19 @@ ./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:25: 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: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: ./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] @@ -1759,25 +1796,14 @@ ./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:25: 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 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: 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/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: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 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; } @@ -1801,6 +1827,16 @@ ./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:25: 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 ./include/psim.h:131: ./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] @@ -1816,63 +1852,31 @@ ./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:36: 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; } - | ^~~~ -PEngine/render.cpp: In member function 'virtual void PSSRender::tick(float, const vec3f&, const mat44f&, const vec3f&)': -PEngine/render.cpp:25:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 25 | cam_pos = eyepos; - | ^~~~~~ -In file included from ./include/pengine.h:37, - from PEngine/render.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; } - | ^~~~ -PEngine/render.cpp: In member function 'void PSSRender::render(PParticleSystem*)': -PEngine/render.cpp:55:32: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 55 | vert = part.pos - pushx2 - pushy2; - | ^~~~~~ -./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:58:32: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 58 | vert = part.pos + pushx2 - pushy2; - | ^~~~~~ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: 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/render.cpp:61:32: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 61 | vert = part.pos + pushx2 + pushy2; - | ^~~~~~ +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:25: 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/render.cpp:64:32: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 64 | vert = part.pos - pushx2 + pushy2; - | ^~~~~~ +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:25: 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; } | ^~~~ @@ -1883,99 +1887,76 @@ ./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); - | ^ +PSim/vehicle.cpp: In member function 'void PVehicleWheel::reset()': +PSim/vehicle.cpp:72:36: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 72 | dirtthrowpos = vec3f::zero(); + | ^ ./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(); - | ^ +PSim/vehicle.cpp:73:36: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 73 | dirtthrowvec = vec3f::zero(); + | ^ ./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(); - | ^ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: 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/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; - | ^~~ +PSim/vehicle.cpp: In member function 'bool PVehicleType::load(const std::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; + | ^~~~~~~~~~~~~~~~ ./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:303:24: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 303 | part.back().linvel = linvel; - | ^~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~ ./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:204: -./include/render.h: In member function 'PParticle_s& PParticle_s::operator=(const PParticle_s&)': -./include/render.h:13:8: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 13 | struct PParticle_s { - | ^~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~ ./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/render.h:13:8: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 13 | struct PParticle_s { - | ^~~~~~~~~~~ +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: ./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::tick(float)': -PEngine/render.cpp:319:21: note: synthesized method 'PParticle_s& PParticle_s::operator=(const PParticle_s&)' first required here - 319 | part[j] = part[i]; - | ^ -./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:28: 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/util.cpp:8: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: 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/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: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:25: 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/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; } + | ^~~ ./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; } | ^~~~ @@ -2005,141 +1986,79 @@ ./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+=(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 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: 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 '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:28: 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+=(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; } - | ~~~~~~^~~~~~~~~~~~~ +In file included from ./include/psim.h:131: +./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(); + | ^ ./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: +./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); + | ^ ./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/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; } - | ^~~ +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); + | ^ ./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/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; } - | ^~~ +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); + | ^ ./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: -./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(); - | ^ +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; + | ^~~~~ ./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/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); - | ^ +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; + | ^~~~~ ./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/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; } - | ^~~~~~~~~~~ +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; + | ^~~~~ ./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:36: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 72 | dirtthrowpos = vec3f::zero(); - | ^ +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; + | ^~~~~ ./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:36: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 73 | dirtthrowvec = vec3f::zero(); - | ^ +PEngine/terrain.cpp:660:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 660 | tileptr->roadsignset[b].inst[j].scale; + | ^~~~~ ./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 std::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; - | ^~~~~~~~~~~~~~~~ +PEngine/terrain.cpp:667:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 667 | tileptr->roadsignset[b].inst[j].scale; + | ^~~~~ ./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; - | ^~~~~~~~~~~~~~~~~~~~~ +PEngine/terrain.cpp:674:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 674 | tileptr->roadsignset[b].inst[j].scale; + | ^~~~~ ./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; - | ^~~~~~~~~~~~~~~~ +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: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; } | ^~~~ @@ -2185,16 +2104,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/pengine.h:37, - from PEngine/vbuffer.cpp:8: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: 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:1187:73: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 1187 | wheel.dirtthrowpos = wheel.ref_world_lowest_point.getPosition(); | ^ @@ -2214,46 +2123,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; } - | ^~~~ -./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: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/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; } - | ^~~ -./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: -./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(); - | ^ -./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/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); - | ^ -./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/vbuffer.cpp:8: ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:25: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -2288,14 +2159,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/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; } @@ -2303,21 +2166,41 @@ ./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; } - | ~~~~~~^~~~~~~~~~~~~ +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); + | ^ ./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:25: note: in expansion of macro 'PULLTOWARD' - 284 | PULLTOWARD(part[i].linvel, vec3f::zero(), delta * 25.0f); - | ^~~~~~~~~~ +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(); + | ^ +./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(); + | ^ +./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:25: 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; } + | ^~~~ +In file included from ./include/pengine.h:37, + from PEngine/fxman.cpp:8: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: 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; } | ^~~~ @@ -2348,73 +2231,61 @@ ./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: 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); - | ^ -./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); - | ^ -./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; - | ^~~~~ -./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; - | ^~~~~ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: 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; - | ^~~~~ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: 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: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; - | ^~~~~ -./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:36: 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:660:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 660 | tileptr->roadsignset[b].inst[j].scale; - | ^~~~~ -./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:667:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 667 | tileptr->roadsignset[b].inst[j].scale; - | ^~~~~ -./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:674:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 674 | tileptr->roadsignset[b].inst[j].scale; - | ^~~~~ -./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: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 '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; } | ^~~~ -g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c Trigger/main.cpp -o Trigger/main.o -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: 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+=(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; } | ^~~~ @@ -2444,44 +2315,58 @@ ./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/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: +./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/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: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:36: 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/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; } - | ^~~ -./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/psim.h:131: -./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(); - | ^ +./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]': +./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/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); - | ^ -./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; } | ^~~~ ./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': @@ -2511,114 +2396,60 @@ ./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/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: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:25: 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; } - | ^~~~ -g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c Trigger/menu.cpp -o Trigger/menu.o -Trigger/game.cpp: In member function 'bool TriggerGame::loadLevel(const std::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:21: note: in expansion of macro 'DEF_START_POS' - 127 | start_pos = DEF_START_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/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:29: note: in expansion of macro 'DEF_FOG_COLOR' - 134 | weather.fog.color = DEF_FOG_COLOR; - | ^~~~~~~~~~~~~ -./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:138: 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); - | ^ -./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:105: 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)); - | ^ -./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:94: 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); - | ^ -./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:28: 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/game.cpp:612:120: 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); - | ^ -./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/game.cpp:638:109: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 638 | lastCkptPos = codrivercheckpt[j].pt + vec3f(0.0f, 0.0f, 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; } +./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: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: 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: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:36: 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:28: 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; } | ^~~~ -Trigger/menu.cpp:199:43: warning: macro "__DATE__" 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); - | ^~~~~~~~ -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); - | ^~~~~~~~ ./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:28: required from here @@ -2646,63 +2477,31 @@ ./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 copy constructor 'vec3::vec3(const vec3&) [with T = float]', - inlined from 'PParticle_s::PParticle_s(PParticle_s&&)' at ./include/render.h:13:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PParticle_s}; _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, - inlined from 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)' at PEngine/render.cpp:301:17: -./include/vmath.h:110:37: warning: '' may be used uninitialized [-Wmaybe-uninitialized] +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: +./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:301:30: note: '' declared here - 301 | part.push_back(PParticle_s()); - | ^ -In copy constructor 'vec3::vec3(const vec3&) [with T = float]', - inlined from 'PParticle_s::PParticle_s(PParticle_s&&)' at ./include/render.h:13:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PParticle_s}; _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, - inlined from 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)' at PEngine/render.cpp:301:17: -./include/vmath.h:110:46: warning: '*(const __vector(2) float*)((char*)& + offsetof(PParticle_s, PParticle_s::linvel.vec3::y))' may be used uninitialized [-Wmaybe-uninitialized] + | ^~~~ +./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: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:301:30: note: '' declared here - 301 | part.push_back(PParticle_s()); - | ^ -In copy constructor 'vec2::vec2(const vec2&) [with T = float]', - inlined from 'PParticle_s::PParticle_s(PParticle_s&&)' at ./include/render.h:13:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PParticle_s}; _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, - inlined from 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)' at PEngine/render.cpp:301:17: -./include/vmath.h:55:37: warning: '*(long unsigned int*)((char*)& + offsetof(PParticle_s, PParticle_s::orix.vec2::x))' may be used uninitialized [-Wmaybe-uninitialized] - 55 | vec2 (const vec2 &vec) { x=vec.x; y=vec.y; } - | ~~~~^ -PEngine/render.cpp: In member function 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)': -PEngine/render.cpp:301:30: note: '' declared here - 301 | part.push_back(PParticle_s()); - | ^ -In copy constructor 'vec2::vec2(const vec2&) [with T = float]', - inlined from 'PParticle_s::PParticle_s(PParticle_s&&)' at ./include/render.h:13:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/new_allocator.h:175:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PParticle_s}; _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, - inlined from 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)' at PEngine/render.cpp:301:17: -./include/vmath.h:55:37: warning: '*(long unsigned int*)((char*)& + offsetof(PParticle_s, PParticle_s::oriy.vec2::x))' may be used uninitialized [-Wmaybe-uninitialized] - 55 | vec2 (const vec2 &vec) { x=vec.x; y=vec.y; } - | ~~~~^ -PEngine/render.cpp: In member function 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)': -PEngine/render.cpp:301:30: note: '' declared here - 301 | part.push_back(PParticle_s()); - | ^ -g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c Trigger/render.cpp -o Trigger/render.o + | ^~~~ +./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; } + | ^~~ +./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&)': @@ -2743,6 +2542,38 @@ ./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: +./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(); + | ^ +./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/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); + | ^ +./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/util.cpp:8: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: 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/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: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/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; } @@ -2760,6 +2591,74 @@ ./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:25: 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/game.cpp: In member function 'bool TriggerGame::loadLevel(const std::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:21: note: in expansion of macro 'DEF_START_POS' + 127 | start_pos = DEF_START_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/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:29: note: in expansion of macro 'DEF_FOG_COLOR' + 134 | weather.fog.color = DEF_FOG_COLOR; + | ^~~~~~~~~~~~~ +./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:138: 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); + | ^ +./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:105: 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)); + | ^ +./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:94: 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); + | ^ +./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:120: 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); + | ^ +./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:109: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 638 | lastCkptPos = codrivercheckpt[j].pt + vec3f(0.0f, 0.0f, 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; } + | ^~~~ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: 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: 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); @@ -2907,6 +2806,32 @@ ./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:36: 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+=(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] @@ -2954,6 +2879,97 @@ ./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:28: 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; } + | ^~~~ +g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c Trigger/menu.cpp -o Trigger/menu.o +g++ -g -O2 -ffile-prefix-map=/build/trigger-rally-0.6.6.1=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DUNIX -DPACKAGE_VERSION=\"0.6.6.1\" -I'./include' -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -MMD -MP -c Trigger/render.cpp -o Trigger/render.o +In copy constructor 'vec3::vec3(const vec3&) [with T = float]', + inlined from 'PParticle_s::PParticle_s(PParticle_s&&)' at ./include/render.h:13:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PParticle_s}; _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, + inlined from 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)' at PEngine/render.cpp:301:17: +./include/vmath.h:110:37: warning: '' may be used uninitialized [-Wmaybe-uninitialized] + 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:301:30: note: '' declared here + 301 | part.push_back(PParticle_s()); + | ^ +In copy constructor 'vec3::vec3(const vec3&) [with T = float]', + inlined from 'PParticle_s::PParticle_s(PParticle_s&&)' at ./include/render.h:13:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PParticle_s}; _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, + inlined from 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)' at PEngine/render.cpp:301:17: +./include/vmath.h:110:46: warning: '*(const __vector(2) float*)((char*)& + offsetof(PParticle_s, PParticle_s::linvel.vec3::y))' may be used uninitialized [-Wmaybe-uninitialized] + 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:301:30: note: '' declared here + 301 | part.push_back(PParticle_s()); + | ^ +In copy constructor 'vec2::vec2(const vec2&) [with T = float]', + inlined from 'PParticle_s::PParticle_s(PParticle_s&&)' at ./include/render.h:13:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PParticle_s}; _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, + inlined from 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)' at PEngine/render.cpp:301:17: +./include/vmath.h:55:37: warning: '*(long unsigned int*)((char*)& + offsetof(PParticle_s, PParticle_s::orix.vec2::x))' may be used uninitialized [-Wmaybe-uninitialized] + 55 | vec2 (const vec2 &vec) { x=vec.x; y=vec.y; } + | ~~~~^ +PEngine/render.cpp: In member function 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)': +PEngine/render.cpp:301:30: note: '' declared here + 301 | part.push_back(PParticle_s()); + | ^ +In copy constructor 'vec2::vec2(const vec2&) [with T = float]', + inlined from 'PParticle_s::PParticle_s(PParticle_s&&)' at ./include/render.h:13:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/new_allocator.h:175:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PParticle_s; _Args = {PParticle_s}; _Tp = PParticle_s]' at /usr/include/c++/12/bits/alloc_traits.h:516:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PParticle_s}; _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PParticle_s; _Alloc = std::allocator]' at /usr/include/c++/12/bits/stl_vector.h:1294:21, + inlined from 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)' at PEngine/render.cpp:301:17: +./include/vmath.h:55:37: warning: '*(long unsigned int*)((char*)& + offsetof(PParticle_s, PParticle_s::oriy.vec2::x))' may be used uninitialized [-Wmaybe-uninitialized] + 55 | vec2 (const vec2 &vec) { x=vec.x; y=vec.y; } + | ~~~~^ +PEngine/render.cpp: In member function 'void PParticleSystem::addParticle(const vec3f&, const vec3f&)': +PEngine/render.cpp:301:30: note: '' declared here + 301 | part.push_back(PParticle_s()); + | ^ +Trigger/menu.cpp:199:43: warning: macro "__DATE__" 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); + | ^~~~~~~~ +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); + | ^~~~~~~~ In file included from ./include/main.h:23, from Trigger/menu.cpp:8: ./include/psim.h: In member function 'void PReferenceFrame::setPosition(const vec3f&)': @@ -3011,46 +3027,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/main.h:23, - from Trigger/render.cpp:21: -./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: -./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/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: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/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; } - | ^~~ -./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: -./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(); - | ^ -./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/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); - | ^ -./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)) @@ -3228,13 +3204,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/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: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:25: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -3243,16 +3212,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/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:25: 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:36: required from here ./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] @@ -3287,6 +3246,90 @@ ./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:28: 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/render.cpp:21: +./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: +./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/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: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/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; } + | ^~~ +./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: +./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(); + | ^ +./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/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); + | ^ +./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/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: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:25: 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/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] 926 | zag = zag.cross(rain[i].drop_vect); @@ -3348,33 +3391,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 '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:28: 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 'void vec3::normalize() [with T = float]': ./include/render.h:815:25: required from here ./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] @@ -3456,7 +3472,7 @@ dh_prep -O-Dsrc/ dh_installdirs -O-Dsrc/ dh_auto_install -O-Dsrc/ - cd src && make -j15 install DESTDIR=/build/trigger-rally-0.6.6.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd src && make -j16 install DESTDIR=/build/trigger-rally-0.6.6.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/trigger-rally-0.6.6.1/src' mkdir [installation directories] @@ -3526,8 +3542,8 @@ dh_gencontrol -O-Dsrc/ dh_md5sums -O-Dsrc/ dh_builddeb -O-Dsrc/ -dpkg-deb: building package 'trigger-rally' in '../trigger-rally_0.6.6.1-3_amd64.deb'. dpkg-deb: building package 'trigger-rally-dbgsym' in '../trigger-rally-dbgsym_0.6.6.1-3_amd64.deb'. +dpkg-deb: building package 'trigger-rally' in '../trigger-rally_0.6.6.1-3_amd64.deb'. dpkg-deb: building package 'trigger-rally-data' in '../trigger-rally-data_0.6.6.1-3_all.deb'. dpkg-genbuildinfo --build=binary -O../trigger-rally_0.6.6.1-3_amd64.buildinfo dpkg-genchanges --build=binary -O../trigger-rally_0.6.6.1-3_amd64.changes @@ -3536,12 +3552,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/1006176/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1006176/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/3986867 and its subdirectories -I: Current time: Fri Apr 14 18:27:53 -12 2023 -I: pbuilder-time-stamp: 1681540073 +I: removing directory /srv/workspace/pbuilder/1006176 and its subdirectories +I: Current time: Sat May 18 02:52:45 +14 2024 +I: pbuilder-time-stamp: 1715950365