Diff of the two buildlogs: -- --- b1/build.log 2024-12-29 01:06:07.852126101 +0000 +++ b2/build.log 2024-12-29 01:16:41.103181256 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jan 30 19:27:29 -12 2026 -I: pbuilder-time-stamp: 1769844449 +I: Current time: Sun Dec 29 15:06:33 +14 2024 +I: pbuilder-time-stamp: 1735434393 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,54 +28,86 @@ dpkg-source: info: applying fix-sdl2-detection.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/128699/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20348/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 29 01:07 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/20348/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20348/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='32d7cdbcf6e9451c90d660494e1a7a81' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='128699' - PS1='# ' - PS2='> ' + INVOCATION_ID=cd4dec99376a4498aa762ee398193ce3 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=20348 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.TwYiD3hz/pbuilderrc_6MmJ --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.TwYiD3hz/b1 --logfile b1/build.log trigger-rally_0.6.6.1-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.TwYiD3hz/pbuilderrc_Pdpg --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.TwYiD3hz/b2 --logfile b2/build.log trigger-rally_0.6.6.1-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/128699/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/20348/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -372,7 +404,7 @@ Get: 245 http://deb.debian.org/debian unstable/main i386 libsdl2-image-dev i386 2.8.2+dfsg-1+b2 [84.2 kB] Get: 246 http://deb.debian.org/debian unstable/main i386 libtinyxml2-10 i386 10.0.0+dfsg-2+b2 [33.3 kB] Get: 247 http://deb.debian.org/debian unstable/main i386 libtinyxml2-dev i386 10.0.0+dfsg-2+b2 [23.3 kB] -Fetched 115 MB in 1s (90.5 MB/s) +Fetched 115 MB in 3s (38.8 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.12-minimal:i386. (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 ... 19844 files and directories currently installed.) @@ -1176,8 +1208,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Jan 31 07:28:07 UTC 2026. -Universal Time is now: Sat Jan 31 07:28:07 UTC 2026. +Local time is now: Sun Dec 29 01:08:59 UTC 2024. +Universal Time is now: Sun Dec 29 01:08:59 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:i386 (1.17.0-2+b1) ... @@ -1400,7 +1432,11 @@ fakeroot is already the newest version (1.36.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/trigger-rally-0.6.6.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../trigger-rally_0.6.6.1-3_source.changes +I: user script /srv/workspace/pbuilder/20348/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/20348/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/trigger-rally-0.6.6.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../trigger-rally_0.6.6.1-3_source.changes dpkg-buildpackage: info: source package trigger-rally dpkg-buildpackage: info: source version 0.6.6.1-3 dpkg-buildpackage: info: source distribution unstable @@ -1414,7 +1450,7 @@ make[1]: Entering directory '/build/reproducible-path/trigger-rally-0.6.6.1' rm -f debian/trigger-rally.6 dh_auto_clean override_dh_auto_clean - cd src && make -j22 clean + cd src && make -j10 clean make[2]: Entering directory '/build/reproducible-path/trigger-rally-0.6.6.1/src' make[2]: Leaving directory '/build/reproducible-path/trigger-rally-0.6.6.1/src' make[1]: Leaving directory '/build/reproducible-path/trigger-rally-0.6.6.1' @@ -1427,23 +1463,23 @@ dh_autoreconf -O-Dsrc/ dh_auto_configure -O-Dsrc/ dh_auto_build -O-Dsrc/ - cd src && make -j22 "INSTALL=install --strip-program=true" + cd src && make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/trigger-rally-0.6.6.1/src' current values of user-set variables: - DESTDIR ?= g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/app.cpp -o PEngine/app.o + DESTDIR ?= prefix ?= /usr exec_prefix ?= /usr OPTIMS ?= WARNINGS ?= -Wall -Wextra -pedantic - g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/audio.cpp -o PEngine/audio.o + resulting values of build variables: CXXFLAGS += -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp - 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/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -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/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/model.cpp -o PEngine/model.o g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/physfs_rw.cpp -o PEngine/physfs_rw.o @@ -1452,21 +1488,6 @@ g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/texture.cpp -o PEngine/texture.o g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/util.cpp -o PEngine/util.o g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/vbuffer.cpp -o PEngine/vbuffer.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/vmath.cpp -o PEngine/vmath.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PSim/engine.cpp -o PSim/engine.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PSim/rigidbody.cpp -o PSim/rigidbody.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PSim/sim.cpp -o PSim/sim.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PSim/vehicle.cpp -o PSim/vehicle.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c Trigger/game.cpp -o Trigger/game.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c Trigger/main.cpp -o Trigger/main.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c Trigger/menu.cpp -o Trigger/menu.o -g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c Trigger/render.cpp -o Trigger/render.o -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); - | ^~~~~~~~ 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; | ^~~~~~~~ @@ -1474,8 +1495,7 @@ 129 | PUtil::outLog() << "Build: " << PACKAGE_VERSION << " on " << __DATE__ << " at " << __TIME__ << std::endl; | ^~~~~~~~ In file included from ./include/pengine.h:202, - from ./include/main.h:22, - from Trigger/game.cpp:7: + from PEngine/fxman.cpp:8: ./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) | ^~~~ @@ -1484,8 +1504,7 @@ 35 | void tick(); | ^~~~ In file included from ./include/pengine.h:202, - from ./include/main.h:22, - from Trigger/menu.cpp:8: + from PEngine/app.cpp:8: ./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) | ^~~~ @@ -1494,7 +1513,7 @@ 35 | void tick(); | ^~~~ In file included from ./include/pengine.h:202, - from PEngine/texture.cpp:8: + from PEngine/vbuffer.cpp:8: ./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) | ^~~~ @@ -1502,87 +1521,156 @@ ./include/audio.h:35:10: note: by 'void PSSAudio::tick()' 35 | void tick(); | ^~~~ -In file included from ./include/main.h:23: -./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: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: required from here + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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 PRigidBody::setLinearVel(const vec3f&)': -./include/psim.h:103:50: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 103 | void setLinearVel(const vec3f &vel) { linvel = vel; } - | ^~~ +In file included from ./include/pengine.h:202, + from PEngine/audio.cpp:40: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +In file included from ./include/pengine.h:37: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: required from here + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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 PRigidBody::setAngularVel(const vec3f&)': -./include/psim.h:106:51: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 106 | void setAngularVel(const vec3f &vel) { angvel = vel; } - | ^~~ +In file included from ./include/pengine.h:37: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: required from here + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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/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(); - | ^ +In file included from ./include/pengine.h:37: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: required from here + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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/vehicle.h: In member function 'void v_control_s::setDefaultRates()': -./include/vehicle.h:82:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 82 | turn = vec3f(10.0f,10.0f,10.0f); - | ^ +In file included from ./include/pengine.h:202, + from PEngine/model.cpp:8: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +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); + | ^ +In file included from ./include/pengine.h:37: ./include/vmath.h:110:3: note: because 'vec3' 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/model.cpp:402:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 402 | tm[1] = vec3f(0,1,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/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); - | ^~~~~~~~~~ +PEngine/model.cpp:403:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 403 | tm[2] = vec3f(0,0,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/main.h:23: -./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: +PEngine/model.cpp:404:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 404 | tm[3] = 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/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/model.cpp:430:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 430 | curmesh->vert[vnum] = vpos * globalScale; + | ^~~~~~~~~~~ ./include/vmath.h:110:3: note: because 'vec3' 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/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) + | ^ +PEngine/model.cpp:490:60: note: in expansion of macro 'DO_TM2' + 490 | curmesh->face[fnum].facenormal = DO_TM2(nrm); + | ^~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) + | ^ +PEngine/model.cpp:499:53: note: in expansion of macro 'DO_TM2' + 499 | curmesh->norm[fnum*3+0] = DO_TM2(nrm); + | ^~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) + | ^ +PEngine/model.cpp:502:53: note: in expansion of macro 'DO_TM2' + 502 | curmesh->norm[fnum*3+1] = DO_TM2(nrm); + | ^~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) + | ^ +PEngine/model.cpp:505:53: note: in expansion of macro 'DO_TM2' + 505 | curmesh->norm[fnum*3+2] = DO_TM2(nrm); + | ^~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:530:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 530 | tm[0] = vec3f(st[0].x, st[1].x, st[2].x); + | ^ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:531:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 531 | tm[1] = vec3f(st[0].y, st[1].y, st[2].y); + | ^ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PEngine/model.cpp:532:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 532 | tm[2] = vec3f(st[0].z, st[1].z, st[2].z); + | ^ ./include/vmath.h:110:3: note: because 'vec3' 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:202, - from ./include/psim.h:11, - from PSim/sim.cpp:12: + from PEngine/texture.cpp:8: ./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) | ^~~~ @@ -1590,18 +1678,22 @@ ./include/audio.h:35:10: note: by 'void PSSAudio::tick()' 35 | void tick(); | ^~~~ -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); - | ^ +In file included from ./include/pengine.h:202, + from PEngine/util.cpp:8: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: required from here + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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; } | ^~~~ @@ -1644,63 +1736,91 @@ ./include/vmath.h:110:3: note: because 'vec3' 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/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; } | ^~~~ -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/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: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); - | ^ +In file included from ./include/pengine.h:37: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: required from here + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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/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)); - | ^ +In file included from ./include/pengine.h:202, + from PEngine/terrain.cpp:8: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +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: ./include/vmath.h:110:3: note: because 'vec3' 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/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; } | ^~~~ -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/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; } | ^~~~ -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); - | ^ +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; } | ^~~~ -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/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:202, + from PEngine/render.cpp:7: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ ./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; } @@ -1708,26 +1828,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/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 815 | tci.normal.normalize(); @@ -1738,186 +1838,252 @@ ./include/vmath.h:110:3: note: because 'vec3' 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)) - | ^ -Trigger/menu.cpp:1381:16: note: in expansion of macro 'INTERP' - 1381 | colc = INTERP(widget[i].colclick, widget[i].colhover, widget[i].glow); - | ^~~~~~ +./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': +./include/psim.h:45:36: required from here + 45 | ori_mat_inv = ori_mat.transpose(); + | ~~~~~~~~~~~~~~~~~^~ +./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp:1383:26: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1383 | colc = widget[i].colnormal; - | ^~~~~~~~~ +./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:27:47: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 27 | #define INTERP(a,b,f) ((a) + ((b) - (a)) * (f)) - | ^ -Trigger/menu.cpp:1407:16: note: in expansion of macro 'INTERP' - 1407 | colc = INTERP(widget[i].colclick, widget[i].colhover, widget[i].glow); - | ^~~~~~ +./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp:1409:26: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1409 | colc = widget[i].colnormal; - | ^~~~~~~~~ +./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp: In member function 'int Gui::addLabel(float, float, const std::string&, uint32, float, LabelStyle)': -Trigger/menu.cpp:1694:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1694 | widget[w].colnormal = colors.normal; - | ^~~~~~ +./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]' + 552 | m.assemble( + | ~~~~~~~~~~^ + 553 | vec3((T)1 - (yy + zz), xy + wz, xz - wy), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 554 | vec3(xy - wz, (T)1 - (xx + zz), yz + wx), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 555 | vec3(xz + wy, yz - wx, (T)1 - (xx + yy))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/psim.h:44:28: required from here + 44 | ori_mat = ori.getMatrix(); + | ~~~~~~~~~~~~~^~ +./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/menu.cpp:1695:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1695 | widget[w].colclick = colors.click; - | ^~~~~ +./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/menu.cpp:1696:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1696 | widget[w].colhover = colors.hover; - | ^~~~~ +./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp:1701:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1701 | widget[w].colnormal = colors.weak; - | ^~~~ +./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:1702:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1702 | widget[w].colclick = colors.click; - | ^~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +./include/main.h: In member function 'void DirtParticleSystem::tick(float)': +./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) + | ^ +./include/main.h:284: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/menu.cpp:1703:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1703 | widget[w].colhover = colors.hover; - | ^~~~~ -./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; } | ^~~~ -Trigger/menu.cpp:1708:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1708 | widget[w].colnormal = colors.strong; - | ^~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/terrain.cpp:474:96: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 474 | tileptr->maxs = vec3f((float)(tilex+1) * scale_hz, (float)(tiley+1) * scale_hz, -1000000000.0); + | ^ +./include/vmath.h:110:3: note: because 'vec3' 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:1709:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1709 | widget[w].colclick = colors.click; - | ^~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/terrain.cpp:568:93: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 568 | vec3f(cos(interang)*HMULT,sin(interang)*HMULT,0.0f) * tileptr->foliage[b].inst[j].scale; + | ^~~~~ +./include/vmath.h:110:3: note: because 'vec3' 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:1710:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1710 | widget[w].colhover = colors.hover; - | ^~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/terrain.cpp:574:95: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 574 | vec3f(-cos(interang)*HMULT,-sin(interang)*HMULT,0.0f) * tileptr->foliage[b].inst[j].scale; + | ^~~~~ +./include/vmath.h:110:3: note: because 'vec3' 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:1715:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1715 | widget[w].colnormal = colors.marked; - | ^~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } +PEngine/terrain.cpp:580:96: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 580 | vec3f(-cos(interang)*HMULT,-sin(interang)*HMULT,VMULT) * tileptr->foliage[b].inst[j].scale; + | ^~~~~ +./include/vmath.h:110:3: note: because 'vec3' 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:1716:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1716 | widget[w].colclick = colors.click; - | ^~~~~ -./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: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; } | ^~~~ -Trigger/menu.cpp:1717:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1717 | widget[w].colhover = colors.hover; - | ^~~~~ -./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; } | ^~~~ -Trigger/menu.cpp:1722:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1722 | widget[w].colnormal = colors.header; - | ^~~~~~ -./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; } | ^~~~ -Trigger/menu.cpp:1723:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1723 | widget[w].colclick = colors.click; - | ^~~~~ -./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; } | ^~~~ -Trigger/menu.cpp:1724:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1724 | widget[w].colhover = colors.hover; - | ^~~~~ -./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:110:3: note: because 'vec3' 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:1729:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1729 | widget[w].colnormal = colors.listnormal; - | ^~~~~~~~~~ -./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 + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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/menu.cpp:1730:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1730 | widget[w].colclick = colors.listclick; - | ^~~~~~~~~ +./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': +./include/psim.h:45:36: required from here + 45 | ori_mat_inv = ori_mat.transpose(); + | ~~~~~~~~~~~~~~~~~^~ +./include/vmath.h:375:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 375 | ret.row[0] = vec4(row[0].x, row[1].x, row[2].x, row[3].x); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp:1731:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1731 | widget[w].colhover = colors.listhover; - | ^~~~~~~~~ +./include/vmath.h:376:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 376 | ret.row[1] = vec4(row[0].y, row[1].y, row[2].y, row[3].y); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp: In member function 'int Gui::addGraphic(float, float, float, float, PTexture*, GraphicStyle)': -Trigger/menu.cpp:1757:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1757 | widget[w].colnormal = colors.bnormal; - | ^~~~~~~ +./include/vmath.h:377:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 377 | ret.row[2] = vec4(row[0].z, row[1].z, row[2].z, row[3].z); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp:1758:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1758 | widget[w].colclick = colors.bclick; - | ^~~~~~ +./include/vmath.h:378:16: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 378 | ret.row[3] = vec4(row[0].w, row[1].w, row[2].w, row[3].w); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp:1759:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1759 | widget[w].colhover = colors.bhover; - | ^~~~~~ +./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]' + 552 | m.assemble( + | ~~~~~~~~~~^ + 553 | vec3((T)1 - (yy + zz), xy + wz, xz - wy), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 554 | vec3(xy - wz, (T)1 - (xx + zz), yz + wx), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 555 | vec3(xz + wy, yz - wx, (T)1 - (xx + yy))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +./include/psim.h:44:28: required from here + 44 | ori_mat = ori.getMatrix(); + | ~~~~~~~~~~~~~^~ +./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/menu.cpp:1764:58: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1764 | widget[w].colnormal = {1.00f, 1.00f, 1.00f, 1.00f}; - | ^ +./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/menu.cpp:1765:58: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1765 | widget[w].colclick = {1.00f, 1.00f, 1.00f, 1.00f}; - | ^ +./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -Trigger/menu.cpp:1766:58: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 1766 | widget[w].colhover = {1.00f, 1.00f, 1.00f, 1.00f}; - | ^ +./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ +PEngine/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: +./include/vmath.h:110:3: note: because 'vec3' 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; } + | ^~~~ In file included from ./include/pengine.h:202, - from ./include/main.h:22, - from Trigger/main.cpp:9: + from PEngine/physfs_rw.cpp:12: ./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) | ^~~~ @@ -1925,6 +2091,37 @@ ./include/audio.h:35:10: note: by 'void PSSAudio::tick()' 35 | void tick(); | ^~~~ +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 815 | tci.normal.normalize(); @@ -1935,34 +2132,135 @@ ./include/vmath.h:110:3: note: because 'vec3' 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 - 45 | ori_mat_inv = ori_mat.transpose(); - | ~~~~~~~~~~~~~~~~~^~ -./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; } +In file included from ./include/pengine.h:37: +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: required from here + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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: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; } +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PEngine/vmath.cpp -o PEngine/vmath.o +./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': +PEngine/render.cpp:326:37: required from here + 326 | part[i].pos += part[i].linvel * delta; + | ^~~~~ +./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; } | ^~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PSim/engine.cpp -o PSim/engine.o +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PSim/rigidbody.cpp -o PSim/rigidbody.o +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PSim/sim.cpp -o PSim/sim.o +In copy constructor 'vec3::vec3(const vec3&) [with T = float]', + inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, + inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:539:41: +./include/vmath.h:110:37: warning: '.PTerrainFoliage::pos.vec3::x' may be used uninitialized [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': +PEngine/terrain.cpp:539:58: note: '' declared here + 539 | tileptr->foliage[b].inst.push_back(PTerrainFoliage()); + | ^ +In copy constructor 'vec3::vec3(const vec3&) [with T = float]', + inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, + inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:539:41: +./include/vmath.h:110:46: warning: '.PTerrainFoliage::pos.vec3::y' may be used uninitialized [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': +PEngine/terrain.cpp:539:58: note: '' declared here + 539 | tileptr->foliage[b].inst.push_back(PTerrainFoliage()); + | ^ +In copy constructor 'vec3::vec3(const vec3&) [with T = float]', + inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, + inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:539:41: +./include/vmath.h:110:55: warning: '.PTerrainFoliage::pos.vec3::z' may be used uninitialized [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': +PEngine/terrain.cpp:539:58: note: '' declared here + 539 | tileptr->foliage[b].inst.push_back(PTerrainFoliage()); + | ^ +In copy constructor 'vec3::vec3(const vec3&) [with T = float]', + inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, + inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:635:47: +./include/vmath.h:110:37: warning: '.PTerrainFoliage::pos.vec3::x' may be used uninitialized [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': +PEngine/terrain.cpp:635:64: note: '' declared here + 635 | tileptr->roadsignset[b].inst.push_back(PTerrainFoliage()); + | ^ +In copy constructor 'vec3::vec3(const vec3&) [with T = float]', + inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, + inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:635:47: +./include/vmath.h:110:46: warning: '.PTerrainFoliage::pos.vec3::y' may be used uninitialized [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': +PEngine/terrain.cpp:635:64: note: '' declared here + 635 | tileptr->roadsignset[b].inst.push_back(PTerrainFoliage()); + | ^ +In copy constructor 'vec3::vec3(const vec3&) [with T = float]', + inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, + inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, + inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, + inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, + inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, + inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:635:47: +./include/vmath.h:110:55: warning: '.PTerrainFoliage::pos.vec3::z' may be used uninitialized [-Wmaybe-uninitialized] + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ~~~~^ +PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': +PEngine/terrain.cpp:635:64: note: '' declared here + 635 | tileptr->roadsignset[b].inst.push_back(PTerrainFoliage()); + | ^ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c PSim/vehicle.cpp -o PSim/vehicle.o +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c Trigger/game.cpp -o Trigger/game.o +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c Trigger/main.cpp -o Trigger/main.o +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c Trigger/menu.cpp -o Trigger/menu.o +In file included from ./include/pengine.h:202, + from PEngine/vmath.cpp:8: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +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/pengine.h:37: ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:25: required from here 815 | tci.normal.normalize(); @@ -1973,6 +2271,49 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +./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]' + 315 | normal *= len; + | ~~~~~~~^~~~~~ +PEngine/vmath.cpp:20:30: required from 'frustum& frustum::construct(const mat44&) [with T = float]' + 20 | side[SideRight].normalize(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ +PEngine/vmath.cpp:59:75: required from here + 59 | template frustum &frustum::construct(const mat44 &mat); + | ^ +./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]' + 315 | normal *= len; + | ~~~~~~~^~~~~~ +PEngine/vmath.cpp:20:30: required from 'frustum& frustum::construct(const mat44&) [with T = double]' + 20 | side[SideRight].normalize(); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ +PEngine/vmath.cpp:60:78: required from here + 60 | template frustum &frustum::construct(const mat44 &mat); + | ^ +./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } + | ~~~~~~^~~~~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = double]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +In file included from ./include/pengine.h:202, + from ./include/psim.h:11, + from PSim/rigidbody.cpp:12: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +g++ -g -O2 -ffile-prefix-map=/build/reproducible-path/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/i386-linux-gnu -I/usr/include/webp -MMD -MP -c Trigger/render.cpp -o Trigger/render.o ./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; } @@ -2010,33 +2351,52 @@ ./include/vmath.h:110:3: note: because 'vec3' 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 - 45 | ori_mat_inv = ori_mat.transpose(); - | ~~~~~~~~~~~~~~~~~^~ -./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 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: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; } +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/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; } +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; } | ^~~~ -./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; } +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; } + | ^~~~ +In file included from ./include/pengine.h:202, + from ./include/psim.h:11, + from PSim/sim.cpp:12: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': +./include/render.h:815:25: required from here + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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 @@ -2066,32 +2426,16 @@ ./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h: In instantiation of 'vec4& vec4::operator+=(const vec4&) [with T = float]': -Trigger/menu.cpp:1387:64: required from here - 1387 | colc += vec4f(0.1f, -0.1f, -0.1f, 0.0f) * sinf(defflash); - | ^ -./include/vmath.h:196:53: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 196 | vec4 &operator += (const vec4 &vec) { *this = *this + vec; return *this; } +./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': +PSim/rigidbody.cpp:64:18: required from here + 64 | accum_force += frc; + | ^~~ +./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: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; } | ^~~~ -In file included from ./include/pengine.h:202, - from PEngine/model.cpp:8: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ ./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]' 552 | m.assemble( @@ -2129,8 +2473,53 @@ ./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 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: +./include/vmath.h:110:3: note: because 'vec3' 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; } + | ^~~~ In file included from ./include/pengine.h:202, - from PEngine/vmath.cpp:8: + from ./include/psim.h:11, + from PSim/vehicle.cpp:8: ./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) | ^~~~ @@ -2148,6 +2537,71 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': +./include/psim.h:45:36: required from here + 45 | ori_mat_inv = ori_mat.transpose(); + | ~~~~~~~~~~~~~~~~~^~ +./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/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: +./include/vmath.h:110:3: note: because 'vec3' 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/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]' 552 | m.assemble( @@ -2185,6 +2639,183 @@ ./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; } + | ^~~~ +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/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/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; } + | ^~~~ +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; } + | ^~~~ +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; } + | ^~~~ +PSim/vehicle.cpp: In member function 'void PVehicle::doReset()': +PSim/vehicle.cpp:622:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 622 | reset_pos = body->pos + vec3f(0.0f, 0.0f, 2.0f); + | ^ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp: In member function 'void PVehicle::doReset(const vec3f&, const quatf&)': +PSim/vehicle.cpp:649:15: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 649 | reset_pos = pos; + | ^~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp: In member function 'void PVehicle::tick(const float&)': +./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) + | ^ +PSim/vehicle.cpp:733:5: note: in expansion of macro 'PULLTOWARD' + 733 | PULLTOWARD(body->pos, reset_pos, delta * 2.0f); + | ^~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp:884:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 884 | tci.normal = vec3f(0,0,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:912:48: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 912 | rightdir = vec3f(0.0f, 1.0f, 0.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; } + | ^~~~ +PSim/vehicle.cpp:914:48: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 914 | rightdir = vec3f(1.0f, 0.0f, 0.0f); + | ^ +./include/vmath.h:110:3: note: because 'vec3' 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(); + | ^ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp:1191:71: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1191 | (downward ^ rightdir) * (wheel.spin_vel * typewheel.radius); + | ^ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +PSim/vehicle.cpp: In member function 'void PVehicle::updateParts()': +PSim/vehicle.cpp:1258:70: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1258 | parent->getOrientationMatrix().transform1(part[i].ref_local.pos); + | ^ +./include/vmath.h:110:3: note: because 'vec3' 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 + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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:202, + from ./include/main.h:22, + from Trigger/game.cpp:7: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': +./include/psim.h:45:36: required from here + 45 | ori_mat_inv = ori_mat.transpose(); + | ~~~~~~~~~~~~~~~~~^~ +./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]': +PSim/vehicle.cpp:175:17: required from here + 175 | dims *= allscale; + | ^~~~~~~~ +./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } + | ~~~~~~^~~~~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ +./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': +PSim/vehicle.cpp:781:51: required from here + 781 | loclinvel.z * type->param.lift.y * loclinvel.y); + | ^ +./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } + | ~~~~~~^~~~~~~~~~~~~ +./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' + 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } + | ^~~~ ./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': ./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' 552 | m.assemble( @@ -2222,15 +2853,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; } | ^~~~ -In file included from ./include/pengine.h:202, - from PEngine/app.cpp:8: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ In file included from ./include/main.h:23: ./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] @@ -2269,6 +2891,83 @@ ./include/vmath.h:110:3: note: because 'vec3' 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/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 + 815 | tci.normal.normalize(); + | ~~~~~~~~~~~~~~~~~~~~^~ +./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 45 | ori_mat_inv = ori_mat.transpose(); @@ -2297,89 +2996,9 @@ ./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; } - | ^~~~ -In file included from ./include/pengine.h:202, - from ./include/psim.h:11, - from PSim/rigidbody.cpp:12: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ In file included from ./include/pengine.h:202, - from PEngine/vbuffer.cpp:8: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ -In file included from ./include/pengine.h:202, - from PEngine/util.cpp:8: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ -In file included from ./include/pengine.h:202, - from PEngine/audio.cpp:40: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ -In file included from ./include/pengine.h:202, - from PEngine/physfs_rw.cpp:12: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ -./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/pengine.h:202, - from PEngine/fxman.cpp:8: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ -In file included from ./include/pengine.h:202, - from PEngine/render.cpp:7: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ -In file included from ./include/pengine.h:202, - from PEngine/terrain.cpp:8: + from ./include/main.h:22, + from Trigger/main.cpp:9: ./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) | ^~~~ @@ -2412,17 +3031,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; } | ^~~~ -In file included from ./include/pengine.h:37: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: required from here - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./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: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); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2435,105 +3043,54 @@ ./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:202, - from ./include/psim.h:11, - from PSim/vehicle.cpp:8: -./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] - 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) - | ^~~~ -In file included from ./include/pengine.h:203: -./include/audio.h:35:10: note: by 'void PSSAudio::tick()' - 35 | void tick(); - | ^~~~ -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); - | ^ +In file included from ./include/main.h:23: +./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: ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -PEngine/model.cpp:402:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 402 | tm[1] = vec3f(0,1,0); - | ^ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/model.cpp:403:28: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 403 | tm[2] = vec3f(0,0,1); - | ^ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/model.cpp:404:29: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 404 | tm[3] = vec3f::zero(); - | ^ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/model.cpp:430:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 430 | curmesh->vert[vnum] = vpos * globalScale; - | ^~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) - | ^ -PEngine/model.cpp:490:60: note: in expansion of macro 'DO_TM2' - 490 | curmesh->face[fnum].facenormal = DO_TM2(nrm); - | ^~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) - | ^ -PEngine/model.cpp:499:53: note: in expansion of macro 'DO_TM2' - 499 | curmesh->norm[fnum*3+0] = DO_TM2(nrm); - | ^~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) - | ^ -PEngine/model.cpp:502:53: note: in expansion of macro 'DO_TM2' - 502 | curmesh->norm[fnum*3+1] = DO_TM2(nrm); - | ^~~~~~ +./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/model.cpp:405:56: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 405 | #define DO_TM2(v) (vec3f((v)*tm[0],(v)*tm[1],(v)*tm[2])) - | ^ -PEngine/model.cpp:505:53: note: in expansion of macro 'DO_TM2' - 505 | curmesh->norm[fnum*3+2] = DO_TM2(nrm); - | ^~~~~~ +./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; } | ^~~~ -PEngine/model.cpp:530:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 530 | tm[0] = vec3f(st[0].x, st[1].x, st[2].x); - | ^ +In file included from ./include/psim.h:131: +./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; } | ^~~~ -PEngine/model.cpp:531:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 531 | tm[1] = vec3f(st[0].y, st[1].y, st[2].y); - | ^ +./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; } | ^~~~ -PEngine/model.cpp:532:58: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 532 | tm[2] = vec3f(st[0].z, st[1].z, st[2].z); - | ^ +./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 ./include/pengine.h:202, from ./include/main.h:22, - from Trigger/render.cpp:21: + from Trigger/menu.cpp:8: ./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) | ^~~~ @@ -2541,6 +3098,16 @@ ./include/audio.h:35:10: note: by 'void PSSAudio::tick()' 35 | void tick(); | ^~~~ +./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/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); @@ -2560,6 +3127,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; } | ^~~~ +Trigger/main.cpp: In member function 'void MainApp::tickStateGame(float)': +Trigger/main.cpp:1741:17: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] + 1741 | campos_prev = campos; + | ^~~~~~ +In file included from ./include/main.h:23: ./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; } @@ -2568,6 +3140,9 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ +./include/vmath.h:110:3: note: because 'vec3' 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; } @@ -2582,28 +3157,6 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -In file included from ./include/psim.h:131: -./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/main.cpp: In member function 'void MainApp::tickStateGame(float)': -Trigger/main.cpp:1741:17: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1741 | campos_prev = campos; - | ^~~~~~ -./include/vmath.h:110:3: note: because 'vec3' 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:1773:34: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] 1773 | makevec3f(cammat.row[2]) * 5.0f; | ^~~~ @@ -2622,13 +3175,18 @@ ./include/vmath.h:110:3: note: because 'vec3' 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 - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ./include/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; } | ^~~~ @@ -2701,54 +3259,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: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: required from here - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./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/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: -./include/vmath.h:110:3: note: because 'vec3' 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; } - | ^~~~ -./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]' - 315 | normal *= len; - | ~~~~~~~^~~~~~ -PEngine/vmath.cpp:20:30: required from 'frustum& frustum::construct(const mat44&) [with T = float]' - 20 | side[SideRight].normalize(); - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ -PEngine/vmath.cpp:59:75: required from here - 59 | template frustum &frustum::construct(const mat44 &mat); - | ^ -./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/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; } @@ -2756,143 +3266,13 @@ ./include/vmath.h:110:3: note: because 'vec3' 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; } - | ^~~~ -./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]' - 315 | normal *= len; - | ~~~~~~~^~~~~~ -PEngine/vmath.cpp:20:30: required from 'frustum& frustum::construct(const mat44&) [with T = double]' - 20 | side[SideRight].normalize(); - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ -PEngine/vmath.cpp:60:78: required from here - 60 | template frustum &frustum::construct(const mat44 &mat); - | ^ -./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } - | ~~~~~~^~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = double]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -In file included from ./include/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; } - | ^~~~ -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; } - | ^~~~ -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; } - | ^~~~ -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: -./include/vmath.h:110:3: note: because 'vec3' 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/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: -./include/vmath.h:110:3: note: because 'vec3' 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/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; } | ^~~~ @@ -2906,215 +3286,182 @@ ./include/vmath.h:110:3: note: because 'vec3' 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; } +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)) + | ^ +Trigger/menu.cpp:1381:16: note: in expansion of macro 'INTERP' + 1381 | colc = INTERP(widget[i].colclick, widget[i].colhover, widget[i].glow); + | ^~~~~~ +./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/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:1383:26: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1383 | colc = widget[i].colnormal; + | ^~~~~~~~~ +./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:27:47: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 27 | #define INTERP(a,b,f) ((a) + ((b) - (a)) * (f)) + | ^ +Trigger/menu.cpp:1407:16: note: in expansion of macro 'INTERP' + 1407 | colc = INTERP(widget[i].colclick, widget[i].colhover, widget[i].glow); + | ^~~~~~ +./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: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: required from here - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./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/menu.cpp:1409:26: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1409 | colc = widget[i].colnormal; + | ^~~~~~~~~ +./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: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: required from here - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./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/menu.cpp: In member function 'int Gui::addLabel(float, float, const std::string&, uint32, float, LabelStyle)': +Trigger/menu.cpp:1694:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1694 | widget[w].colnormal = colors.normal; + | ^~~~~~ +./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 - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./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/menu.cpp:1695:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1695 | widget[w].colclick = colors.click; + | ^~~~~ +./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: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: required from here - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./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/menu.cpp:1696:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1696 | widget[w].colhover = colors.hover; + | ^~~~~ +./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: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: required from here - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./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/menu.cpp:1701:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1701 | widget[w].colnormal = colors.weak; + | ^~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/main.h: In member function 'void DirtParticleSystem::tick(float)': -./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) - | ^ -./include/main.h:284: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/menu.cpp:1702:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1702 | widget[w].colclick = colors.click; + | ^~~~~ +./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 - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./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/menu.cpp:1703:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1703 | widget[w].colhover = colors.hover; + | ^~~~~ +./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: -./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: -./include/vmath.h:110:3: note: because 'vec3' 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:1708:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1708 | widget[w].colnormal = colors.strong; + | ^~~~~~ +./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::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; } +Trigger/menu.cpp:1709:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1709 | widget[w].colclick = colors.click; + | ^~~~~ +./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; } +Trigger/menu.cpp:1710:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1710 | widget[w].colhover = colors.hover; + | ^~~~~ +./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 - 45 | ori_mat_inv = ori_mat.transpose(); - | ~~~~~~~~~~~~~~~~~^~ -./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); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Trigger/menu.cpp:1715:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1715 | widget[w].colnormal = colors.marked; + | ^~~~~~ ./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); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Trigger/menu.cpp:1716:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1716 | widget[w].colclick = colors.click; + | ^~~~~ ./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); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Trigger/menu.cpp:1717:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1717 | widget[w].colhover = colors.hover; + | ^~~~~ ./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); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Trigger/menu.cpp:1722:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1722 | widget[w].colnormal = colors.header; + | ^~~~~~ ./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; } +Trigger/menu.cpp:1723:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1723 | widget[w].colclick = colors.click; + | ^~~~~ +./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; } | ^~~~ -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; } +Trigger/menu.cpp:1724:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1724 | widget[w].colhover = colors.hover; + | ^~~~~ +./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(); - | ^ -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; } +Trigger/menu.cpp:1729:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1729 | widget[w].colnormal = colors.listnormal; + | ^~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } | ^~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } +Trigger/menu.cpp:1730:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1730 | widget[w].colclick = colors.listclick; + | ^~~~~~~~~ +./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/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:1731:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1731 | widget[w].colhover = colors.listhover; + | ^~~~~~~~~ +./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; } | ^~~~ -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; } +Trigger/menu.cpp: In member function 'int Gui::addGraphic(float, float, float, float, PTexture*, GraphicStyle)': +Trigger/menu.cpp:1757:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1757 | widget[w].colnormal = colors.bnormal; + | ^~~~~~~ +./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; } | ^~~~ -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; } +Trigger/menu.cpp:1758:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1758 | widget[w].colclick = colors.bclick; + | ^~~~~~ +./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; } | ^~~~ -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; } +Trigger/menu.cpp:1759:38: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1759 | widget[w].colhover = colors.bhover; + | ^~~~~~ +./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:1764:58: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1764 | widget[w].colnormal = {1.00f, 1.00f, 1.00f, 1.00f}; + | ^ +./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:1765:58: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1765 | widget[w].colclick = {1.00f, 1.00f, 1.00f, 1.00f}; + | ^ +./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:1766:58: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 1766 | widget[w].colhover = {1.00f, 1.00f, 1.00f, 1.00f}; + | ^ +./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 @@ -3144,27 +3491,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; } | ^~~~ -In file included from ./include/pengine.h:37: -./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: required from here - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': -PSim/rigidbody.cpp:64:18: required from here - 64 | accum_force += frc; - | ^~~ -./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } - | ~~~~~~^~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ ./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': Trigger/main.cpp:1966:37: required from here 1950 | #define RAIN_START_LIFE 0.6f @@ -3189,155 +3515,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; } | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicle::doReset()': -PSim/vehicle.cpp:622:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 622 | reset_pos = body->pos + vec3f(0.0f, 0.0f, 2.0f); - | ^ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicle::doReset(const vec3f&, const quatf&)': -PSim/vehicle.cpp:649:15: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 649 | reset_pos = pos; - | ^~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicle::tick(const float&)': -./include/vmath.h:31:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 31 | #define PULLTOWARD(val,target,delta) (val = (target) + (val-(target)) / (1.0 + (delta))) - | ^ -PSim/vehicle.cpp:733:5: note: in expansion of macro 'PULLTOWARD' - 733 | PULLTOWARD(body->pos, reset_pos, delta * 2.0f); - | ^~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:884:35: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 884 | tci.normal = vec3f(0,0,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:912:48: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 912 | rightdir = vec3f(0.0f, 1.0f, 0.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; } - | ^~~~ -PSim/vehicle.cpp:914:48: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 914 | rightdir = vec3f(1.0f, 0.0f, 0.0f); - | ^ -./include/vmath.h:110:3: note: because 'vec3' 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(); - | ^ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PSim/vehicle.cpp:1191:71: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1191 | (downward ^ rightdir) * (wheel.spin_vel * typewheel.radius); - | ^ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': -PEngine/render.cpp:326:37: required from here - 326 | part[i].pos += part[i].linvel * delta; - | ^~~~~ -./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; } - | ^~~~ -PSim/vehicle.cpp: In member function 'void PVehicle::updateParts()': -PSim/vehicle.cpp:1258:70: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 1258 | parent->getOrientationMatrix().transform1(part[i].ref_local.pos); - | ^ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': -PEngine/terrain.cpp:473:87: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 473 | tileptr->mins = vec3f((float)tilex * scale_hz, (float)tiley * scale_hz, 1000000000.0); - | ^ -./include/vmath.h:110:3: note: because 'vec3' 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:110:3: note: because 'vec3' 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:110:3: note: because 'vec3' 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; } - | ^~~~ -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; } - | ^~~~ -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; } - | ^~~~ -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; } - | ^~~~ -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; } - | ^~~~ -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; } - | ^~~~ -./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 815 | tci.normal.normalize(); @@ -3348,6 +3525,44 @@ ./include/vmath.h:110:3: note: because 'vec3' 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 + 45 | ori_mat_inv = ori_mat.transpose(); + | ~~~~~~~~~~~~~~~~~^~ +./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 'vec4& vec4::operator+=(const vec4&) [with T = float]': +Trigger/menu.cpp:1387:64: required from here + 1387 | colc += vec4f(0.1f, -0.1f, -0.1f, 0.0f) * sinf(defflash); + | ^ +./include/vmath.h:196:53: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] + 196 | vec4 &operator += (const vec4 &vec) { *this = *this + vec; return *this; } + | ~~~~~~^~~~~~~~~~~~~ +./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' + 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } + | ^~~~ ./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]' 552 | m.assemble( @@ -3422,6 +3637,71 @@ ./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:202, + from ./include/main.h:22, + from Trigger/render.cpp:21: +./include/subsys.h:98:18: warning: 'virtual void PSubsystem::tick(float, const vec3f&, const mat44f&, const vec3f&)' was hidden [-Woverloaded-virtual=] + 98 | virtual void tick(float delta, const vec3f &eyepos, const mat44f &eyeori, const vec3f &eyevel) + | ^~~~ +In file included from ./include/pengine.h:203: +./include/audio.h:35:10: note: by 'void PSSAudio::tick()' + 35 | void tick(); + | ^~~~ +In file included from ./include/main.h:23: +./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: +./include/vmath.h:110:3: note: because 'vec3' 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); @@ -3471,16 +3751,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 'void vec3::normalize() [with T = float]': -./include/render.h:815:25: required from here - 815 | tci.normal.normalize(); - | ~~~~~~~~~~~~~~~~~~~~^~ -./include/vmath.h:151:13: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 151 | *this = vec3((T)0,(T)0,(T)1); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ Trigger/render.cpp:1370:40: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] 1370 | colr = checkpoint_col[0]; | ^ @@ -3493,82 +3763,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::transpose() const [with T = float]': -./include/psim.h:45:36: required from here - 45 | ori_mat_inv = ori_mat.transpose(); - | ~~~~~~~~~~~~~~~~~^~ -./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]': -PSim/vehicle.cpp:175:17: required from here - 175 | dims *= allscale; - | ^~~~~~~~ -./include/vmath.h:129:49: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 129 | vec3 &operator *= (const T factor) { *this = *this * factor; return *this; } - | ~~~~~~^~~~~~~~~~~~~~~~ -./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ^~~~ -./include/vmath.h: In instantiation of 'vec3& vec3::operator+=(const vec3&) [with T = float]': -PSim/vehicle.cpp:781:51: required from here - 781 | loclinvel.z * type->param.lift.y * loclinvel.y); - | ^ -./include/vmath.h:127:53: warning: implicitly-declared 'vec3& vec3::operator=(const vec3&)' is deprecated [-Wdeprecated-copy] - 127 | vec3 &operator += (const vec3 &vec) { *this = *this + vec; return *this; } - | ~~~~~~^~~~~~~~~~~~~ -./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': -./include/psim.h:45:36: required from here - 45 | ori_mat_inv = ori_mat.transpose(); - | ~~~~~~~~~~~~~~~~~^~ -./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:110:3: note: because 'vec3' 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; } - | ^~~~ ./include/vmath.h: In instantiation of 'void vec3::normalize() [with T = float]': ./include/render.h:815:25: required from here 815 | tci.normal.normalize(); @@ -3579,80 +3773,6 @@ ./include/vmath.h:110:3: note: because 'vec3' has user-provided 'vec3::vec3(const vec3&) [with T = float]' 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } | ^~~~ -./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': -./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' - 552 | m.assemble( - | ~~~~~~~~~~^ - 553 | vec3((T)1 - (yy + zz), xy + wz, xz - wy), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 554 | vec3(xy - wz, (T)1 - (xx + zz), yz + wx), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 555 | vec3(xz + wy, yz - wx, (T)1 - (xx + yy))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/psim.h:44:28: required from here - 44 | ori_mat = ori.getMatrix(); - | ~~~~~~~~~~~~~^~ -./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h: In instantiation of 'mat44& mat44::assemble(const vec3&, const vec3&, const vec3&) [with T = float]': -./include/vmath.h:552:15: required from 'mat44 quat::getMatrix() const [with T = float]' - 552 | m.assemble( - | ~~~~~~~~~~^ - 553 | vec3((T)1 - (yy + zz), xy + wz, xz - wy), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 554 | vec3(xy - wz, (T)1 - (xx + zz), yz + wx), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 555 | vec3(xz + wy, yz - wx, (T)1 - (xx + yy))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/psim.h:44:28: required from here - 44 | ori_mat = ori.getMatrix(); - | ~~~~~~~~~~~~~^~ -./include/vmath.h:341:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 341 | row[0] = vec4(r0.x, r0.y, r0.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:342:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 342 | row[1] = vec4(r1.x, r1.y, r1.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:343:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 343 | row[2] = vec4(r2.x, r2.y, r2.z, (T)0); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ -./include/vmath.h:344:12: warning: implicitly-declared 'vec4& vec4::operator=(const vec4&)' is deprecated [-Wdeprecated-copy] - 344 | row[3] = vec4((T)0, (T)0, (T)0, (T)1); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -./include/vmath.h:183:3: note: because 'vec4' has user-provided 'vec4::vec4(const vec4&) [with T = float]' - 183 | vec4 (const vec4 &vec) { x=vec.x; y=vec.y; z=vec.z; w=vec.w; } - | ^~~~ ./include/vmath.h: In instantiation of 'mat44 mat44::transpose() const [with T = float]': ./include/psim.h:45:36: required from here 45 | ori_mat_inv = ori_mat.transpose(); @@ -3728,90 +3848,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; } | ^~~~ -In copy constructor 'vec3::vec3(const vec3&) [with T = float]', - inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, - inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:539:41: -./include/vmath.h:110:37: warning: '.PTerrainFoliage::pos.vec3::x' may be used uninitialized [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': -PEngine/terrain.cpp:539:58: note: '' declared here - 539 | tileptr->foliage[b].inst.push_back(PTerrainFoliage()); - | ^ -In copy constructor 'vec3::vec3(const vec3&) [with T = float]', - inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, - inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:539:41: -./include/vmath.h:110:46: warning: '.PTerrainFoliage::pos.vec3::y' may be used uninitialized [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': -PEngine/terrain.cpp:539:58: note: '' declared here - 539 | tileptr->foliage[b].inst.push_back(PTerrainFoliage()); - | ^ -In copy constructor 'vec3::vec3(const vec3&) [with T = float]', - inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, - inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:539:41: -./include/vmath.h:110:55: warning: '.PTerrainFoliage::pos.vec3::z' may be used uninitialized [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': -PEngine/terrain.cpp:539:58: note: '' declared here - 539 | tileptr->foliage[b].inst.push_back(PTerrainFoliage()); - | ^ -In copy constructor 'vec3::vec3(const vec3&) [with T = float]', - inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, - inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:635:47: -./include/vmath.h:110:37: warning: '.PTerrainFoliage::pos.vec3::x' may be used uninitialized [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': -PEngine/terrain.cpp:635:64: note: '' declared here - 635 | tileptr->roadsignset[b].inst.push_back(PTerrainFoliage()); - | ^ -In copy constructor 'vec3::vec3(const vec3&) [with T = float]', - inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, - inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:635:47: -./include/vmath.h:110:46: warning: '.PTerrainFoliage::pos.vec3::y' may be used uninitialized [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': -PEngine/terrain.cpp:635:64: note: '' declared here - 635 | tileptr->roadsignset[b].inst.push_back(PTerrainFoliage()); - | ^ -In copy constructor 'vec3::vec3(const vec3&) [with T = float]', - inlined from 'PTerrainFoliage::PTerrainFoliage(PTerrainFoliage&&)' at ./include/render.h:378:8, - inlined from 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/new_allocator.h:191:4, - inlined from 'static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = PTerrainFoliage; _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage]' at /usr/include/c++/14/bits/alloc_traits.h:569:17, - inlined from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {PTerrainFoliage}; _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/vector.tcc:117:30, - inlined from 'void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = PTerrainFoliage; _Alloc = std::allocator]' at /usr/include/c++/14/bits/stl_vector.h:1301:21, - inlined from 'PTerrainTile* PTerrain::getTile(int, int)' at PEngine/terrain.cpp:635:47: -./include/vmath.h:110:55: warning: '.PTerrainFoliage::pos.vec3::z' may be used uninitialized [-Wmaybe-uninitialized] - 110 | vec3 (const vec3 &vec) { x=vec.x; y=vec.y; z=vec.z; } - | ~~~~^ -PEngine/terrain.cpp: In member function 'PTerrainTile* PTerrain::getTile(int, int)': -PEngine/terrain.cpp:635:64: note: '' declared here - 635 | tileptr->roadsignset[b].inst.push_back(PTerrainFoliage()); - | ^ g++ -o ../bin/trigger-rally PEngine/app.o PEngine/audio.o PEngine/fxman.o PEngine/model.o PEngine/physfs_rw.o PEngine/render.o PEngine/terrain.o PEngine/texture.o PEngine/util.o PEngine/vbuffer.o PEngine/vmath.o PSim/engine.o PSim/rigidbody.o PSim/sim.o PSim/vehicle.o Trigger/game.o Trigger/main.o Trigger/menu.o Trigger/render.o -Wl,-z,relro -lSDL2 -lSDL2_image -lSDL2 -lSDL2main -lGL -lGLU -lGLEW -lSDL2 -lSDL2_image -lphysfs -lopenal -lalut -lpthread -ltinyxml2 #@printf "strip\t%s\n" ../bin/trigger-rally #@strip ../bin/trigger-rally @@ -3824,7 +3860,7 @@ dh_prep -O-Dsrc/ dh_installdirs -O-Dsrc/ dh_auto_install -O-Dsrc/ - cd src && make -j22 install DESTDIR=/build/reproducible-path/trigger-rally-0.6.6.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd src && make -j10 install DESTDIR=/build/reproducible-path/trigger-rally-0.6.6.1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/trigger-rally-0.6.6.1/src' mkdir [installation directories] @@ -3904,12 +3940,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/20348/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20348/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/128699 and its subdirectories -I: Current time: Fri Jan 30 19:29:06 -12 2026 -I: pbuilder-time-stamp: 1769844546 +I: removing directory /srv/workspace/pbuilder/20348 and its subdirectories +I: Current time: Sun Dec 29 15:16:28 +14 2024 +I: pbuilder-time-stamp: 1735434988