Diff of the two buildlogs: -- --- b1/build.log 2024-05-12 04:49:16.845896952 +0000 +++ b2/build.log 2024-05-12 04:50:14.255451018 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 11 16:48:22 -12 2024 -I: pbuilder-time-stamp: 1715489302 +I: Current time: Sun Jun 15 01:12:19 +14 2025 +I: pbuilder-time-stamp: 1749899539 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying 03_portaudio.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1926024/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1630669/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 14 11:12 /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/1630669/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1630669/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='a4ce5d7497fb4d0ebd6b713736d0153b' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1926024' - PS1='# ' - PS2='> ' + INVOCATION_ID=0d649497eef744e593acdee251dec197 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1630669 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.feTIeTOw/pbuilderrc_plXp --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.feTIeTOw/b1 --logfile b1/build.log transcend_0.3.dfsg2-4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.feTIeTOw/pbuilderrc_GCn7 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.feTIeTOw/b2 --logfile b2/build.log transcend_0.3.dfsg2-4.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 11 11:23 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1926024/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 12 17:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1630669/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -280,7 +312,7 @@ Get: 153 http://deb.debian.org/debian trixie/main arm64 libportaudio2 arm64 19.6.0-1.2+b2 [58.9 kB] Get: 154 http://deb.debian.org/debian trixie/main arm64 libportaudiocpp0 arm64 19.6.0-1.2+b2 [16.3 kB] Get: 155 http://deb.debian.org/debian trixie/main arm64 portaudio19-dev arm64 19.6.0-1.2+b2 [102 kB] -Fetched 73.4 MB in 0s (175 MB/s) +Fetched 73.4 MB in 1s (92.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:arm64. (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 ... 19745 files and directories currently installed.) @@ -945,7 +977,11 @@ fakeroot is already the newest version (1.33-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/transcend-0.3.dfsg2/ && 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 > ../transcend_0.3.dfsg2-4_source.changes +I: user script /srv/workspace/pbuilder/1630669/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1630669/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/transcend-0.3.dfsg2/ && 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 > ../transcend_0.3.dfsg2-4_source.changes dpkg-buildpackage: info: source package transcend dpkg-buildpackage: info: source version 0.3.dfsg2-4 dpkg-buildpackage: info: source distribution unstable @@ -1010,21 +1046,6 @@ g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ParameterizedObject.o ParameterizedObject.cpp g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ShipBullet.o ShipBullet.cpp g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ShipBulletManager.o ShipBulletManager.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o Enemy.o Enemy.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o EnemyManager.o EnemyManager.cpp -In file included from LevelDirectoryManager.h:24, - from NamedColorFactory.cpp:20: -../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': -../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 645 | parentPath = mPath->append( ".." ); - | ^~~~ -../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 674 | char *parentName = ".."; - | ^~~~ -NamedColorFactory.cpp: In static member function 'static Color* NamedColorFactory::getColor(char*)': -NamedColorFactory.cpp:38:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 38 | File *colorDirectory = levelDirectory->getChildFile( "colors" ); - | ^~~~~~~~ In file included from LevelDirectoryManager.h:24, from LevelDirectoryManager.cpp:16: ../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': @@ -1034,6 +1055,7 @@ ../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 674 | char *parentName = ".."; | ^~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o Enemy.o Enemy.cpp LevelDirectoryManager.cpp: In static member function 'static File* LevelDirectoryManager::getLevelDirectory()': : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] LevelDirectoryManager.cpp:45:48: note: in expansion of macro 'LEVELS_DIR' @@ -1042,6 +1064,20 @@ LevelDirectoryManager.cpp:46:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | File *level1Directory = levelDirectory->getChildFile( "001" ); | ^~~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o EnemyManager.o EnemyManager.cpp +In file included from LevelDirectoryManager.h:24, + from NamedColorFactory.cpp:20: +../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': +../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 645 | parentPath = mPath->append( ".." ); + | ^~~~ +../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 674 | char *parentName = ".."; + | ^~~~ +NamedColorFactory.cpp: In static member function 'static Color* NamedColorFactory::getColor(char*)': +NamedColorFactory.cpp:38:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 38 | File *colorDirectory = levelDirectory->getChildFile( "colors" ); + | ^~~~~~~~ In file included from ParameterSpaceControlPoint.h:15, from ParameterSpaceControlPoint.cpp:16: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': @@ -1084,67 +1120,16 @@ ../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 631 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -In file included from ParameterizedObject.h:21, - from ParameterizedObject.cpp:16: +In file included from ObjectParameterSpaceControlPoint.h:36, + from ObjectParameterSpaceControlPoint.cpp:35: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 417 | delete crossVector; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 418 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 419 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 524 | delete rightAngleZ; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:528:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 528 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:529:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 529 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getYAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:575:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 575 | delete rightAngleY; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:579:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 579 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:580:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 580 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getXAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 626 | delete rightAngleX; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:630:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 630 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 631 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ -ParameterSpaceControlPoint.cpp: In static member function 'static Vector3D** ParameterSpaceControlPoint::blendVertexArrays(Vector3D**, int, double, Vector3D**, int, int*)': -ParameterSpaceControlPoint.cpp:63:12: warning: variable 'weightOfSmallerSet' set but not used [-Wunused-but-set-variable] - 63 | double weightOfSmallerSet; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': -../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 732 | delete actualAngle; - | ^~~~~~~~~~~~~~~~~~ -In file included from ParameterSpaceControlPoint.h:15, - from ParameterizedSpace.h:17, - from ParameterizedSpace.cpp:10: -../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 417 | delete crossVector; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 418 | delete normalThis; | ^~~~~~~~~~~~~~~~~ @@ -1185,8 +1170,33 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -In file included from ObjectParameterSpaceControlPoint.h:36, - from ObjectParameterSpaceControlPoint.cpp:35: +ParameterSpaceControlPoint.cpp: In static member function 'static Vector3D** ParameterSpaceControlPoint::blendVertexArrays(Vector3D**, int, double, Vector3D**, int, int*)': +ParameterSpaceControlPoint.cpp:63:12: warning: variable 'weightOfSmallerSet' set but not used [-Wunused-but-set-variable] + 63 | double weightOfSmallerSet; + | ^~~~~~~~~~~~~~~~~~ +ObjectParameterSpaceControlPoint.cpp: In destructor 'virtual ObjectParameterSpaceControlPoint::~ObjectParameterSpaceControlPoint()': +ObjectParameterSpaceControlPoint.cpp:173:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 173 | delete mTriangleVertices[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +ObjectParameterSpaceControlPoint.cpp:177:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 177 | delete mBorderVertices[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +ObjectParameterSpaceControlPoint.cpp: In member function 'SimpleVector* ObjectParameterSpaceControlPoint::getDrawableObjects()': +ObjectParameterSpaceControlPoint.cpp:446:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 446 | delete workingTriangleVertices[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ObjectParameterSpaceControlPoint.cpp:451:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 451 | delete workingBorderVertices[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ObjectParameterSpaceControlPoint.cpp:456:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 456 | delete angleBetweenRotatedCopies; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ObjectParameterSpaceControlPoint.cpp: In member function 'Color** ObjectParameterSpaceControlPoint::blendColorArrays(Color**, int, double, Color**, int, int*)': +ObjectParameterSpaceControlPoint.cpp:579:12: warning: variable 'weightOfSmallerSet' set but not used [-Wunused-but-set-variable] + 579 | double weightOfSmallerSet; + | ^~~~~~~~~~~~~~~~~~ +In file included from ParameterizedObject.h:21, + from ParameterizedObject.cpp:16: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 417 | delete crossVector; @@ -1231,27 +1241,6 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -ObjectParameterSpaceControlPoint.cpp: In destructor 'virtual ObjectParameterSpaceControlPoint::~ObjectParameterSpaceControlPoint()': -ObjectParameterSpaceControlPoint.cpp:173:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 173 | delete mTriangleVertices[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -ObjectParameterSpaceControlPoint.cpp:177:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 177 | delete mBorderVertices[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -ObjectParameterSpaceControlPoint.cpp: In member function 'SimpleVector* ObjectParameterSpaceControlPoint::getDrawableObjects()': -ObjectParameterSpaceControlPoint.cpp:446:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 446 | delete workingTriangleVertices[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ObjectParameterSpaceControlPoint.cpp:451:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 451 | delete workingBorderVertices[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ObjectParameterSpaceControlPoint.cpp:456:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 456 | delete angleBetweenRotatedCopies; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ObjectParameterSpaceControlPoint.cpp: In member function 'Color** ObjectParameterSpaceControlPoint::blendColorArrays(Color**, int, double, Color**, int, int*)': -ObjectParameterSpaceControlPoint.cpp:579:12: warning: variable 'weightOfSmallerSet' set but not used [-Wunused-but-set-variable] - 579 | double weightOfSmallerSet; - | ^~~~~~~~~~~~~~~~~~ In file included from ParameterizedObject.h:21, from ShipBullet.h:15, from ShipBulletManager.h:30, @@ -1313,6 +1302,12 @@ ShipBulletManager.cpp:95:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 95 | delete *( mCurrentRotations->getElement( i ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ../../minorGems/graphics/openGL/ScreenGL.h:51, + from game.cpp:131: +../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 417 | delete crossVector; + | ^~~~~~~~~~~~~~~~~~ ShipBulletManager.cpp: In member function 'void ShipBulletManager::passTime(double)': ShipBulletManager.cpp:280:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 280 | delete *( mCurrentPositions->getElement( i ) ); @@ -1332,9 +1327,9 @@ ShipBulletManager.cpp:349:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 349 | delete *( mCurrentPositions->getElement( i ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ParameterizedObject.h:21, - from Enemy.h:18, - from Enemy.cpp:16: +In file included from ParameterSpaceControlPoint.h:15, + from ParameterizedSpace.h:17, + from ParameterizedSpace.cpp:10: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 417 | delete crossVector; @@ -1375,84 +1370,24 @@ ../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 631 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': -../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 732 | delete actualAngle; - | ^~~~~~~~~~~~~~~~~~ -In file included from ParameterizedObject.h:21, - from Enemy.h:18, - from EnemyManager.h:31, - from EnemyManager.cpp:51: -../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 417 | delete crossVector; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 418 | delete normalThis; | ^~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 419 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 524 | delete rightAngleZ; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:528:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 528 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:529:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 529 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getYAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:575:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 575 | delete rightAngleY; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:579:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 579 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:580:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 580 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getXAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 626 | delete rightAngleX; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:630:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 630 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 631 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -In file included from LevelDirectoryManager.h:24, - from Enemy.cpp:17: -../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': -../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 645 | parentPath = mPath->append( ".." ); - | ^~~~ -../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 674 | char *parentName = ".."; - | ^~~~ -In file included from ParameterizedObject.h:21, - from ShipBullet.h:15, - from ShipBullet.cpp:10: -../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 417 | delete crossVector; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 418 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 419 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 524 | delete rightAngleZ; | ^~~~~~~~~~~~~~~~~~ +../../minorGems/graphics/openGL/ScreenGL.h: In destructor 'ScreenGL::~ScreenGL()': +../../minorGems/graphics/openGL/ScreenGL.h:359:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 359 | delete mViewPosition; + | ^~~~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:528:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 528 | delete normalThis; | ^~~~~~~~~~~~~~~~~ @@ -1473,68 +1408,24 @@ ../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 626 | delete rightAngleX; | ^~~~~~~~~~~~~~~~~~ +../../minorGems/graphics/openGL/ScreenGL.h:360:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 360 | delete mViewOrientation; + | ^~~~~~~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:630:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 630 | delete normalThis; | ^~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 631 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -EnemyManager.cpp: In destructor 'virtual EnemyManager::~EnemyManager()': -EnemyManager.cpp:153:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 153 | delete *( mCurrentPositions->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:154:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 154 | delete *( mCurrentAnglesToPointAt->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:155:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 155 | delete *( mCurrentRotations->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../minorGems/graphics/openGL/ScreenGL.h: In member function 'void ScreenGL::setViewPosition(Vector3D*)': +../../minorGems/graphics/openGL/ScreenGL.h:394:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 394 | delete mViewPosition; + | ^~~~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -EnemyManager.cpp: In member function 'void EnemyManager::passTime(double, Vector3D*)': -EnemyManager.cpp:282:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 282 | delete closestSculpturePiecePosition; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:360:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 360 | delete defaultMoveVector; - | ^~~~~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:387:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 387 | delete moveVector; - | ^~~~~~~~~~~~~~~~~ -EnemyManager.cpp:460:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 460 | delete trueMoveVector; - | ^~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:463:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 463 | delete yVector; - | ^~~~~~~~~~~~~~ -EnemyManager.cpp:506:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 506 | delete angleToPointAt; - | ^~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:508:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 508 | delete normalizedMoveVector; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:510:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 510 | delete targetPosition; - | ^~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:248:14: warning: variable 'targetIsShip' set but not used [-Wunused-but-set-variable] - 248 | char targetIsShip = false; - | ^~~~~~~~~~~~ -EnemyManager.cpp:663:13: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 663 | delete *( mCurrentRotations->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:668:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 668 | delete *( mCurrentPositions->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:671:13: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 671 | delete *( mCurrentAnglesToPointAt->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -EnemyManager.cpp:681:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 681 | delete centerPosition; - | ^~~~~~~~~~~~~~~~~~~~~ -In file included from LevelDirectoryManager.h:24, - from ShipBullet.cpp:11: +In file included from game.cpp:137: ../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': ../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 645 | parentPath = mPath->append( ".." ); @@ -1542,8 +1433,10 @@ ../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 674 | char *parentName = ".."; | ^~~~ -In file included from DrawableObject.h:28, - from DrawableObject.cpp:27: +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SculptureManager.o SculptureManager.cpp +In file included from ParameterizedObject.h:21, + from Enemy.h:18, + from Enemy.cpp:16: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 417 | delete crossVector; @@ -1588,26 +1481,14 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -DrawableObject.cpp: In destructor 'virtual DrawableObject::~DrawableObject()': -DrawableObject.cpp:54:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 54 | delete mTriangleVertices[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -DrawableObject.cpp:58:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 58 | delete mBorderVertices[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -DrawableObject.cpp: In member function 'void DrawableObject::draw(double, Angle3D*, Vector3D*)': -DrawableObject.cpp:220:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 220 | delete worldTriangleVertices[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -DrawableObject.cpp:225:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 225 | delete worldBorderVertices[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SculptureManager.o SculptureManager.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o BossManager.o BossManager.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o PortalManager.o PortalManager.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SoundSamples.o SoundSamples.cpp -In file included from ../../minorGems/graphics/openGL/ScreenGL.h:51, - from game.cpp:131: +game.cpp: In function 'int main(int, char**)': +game.cpp:373:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 373 | "Transcend", sceneHandler, NULL, sceneHandler ); + | ^~~~~~~~~~~ +In file included from ParameterizedObject.h:21, + from Enemy.h:18, + from EnemyManager.h:31, + from EnemyManager.cpp:51: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 417 | delete crossVector; @@ -1632,12 +1513,19 @@ ../../minorGems/math/geometry/Vector3D.h:575:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 575 | delete rightAngleY; | ^~~~~~~~~~~~~~~~~~ +game.cpp:381:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 381 | delete move; + | ^~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:579:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 579 | delete normalThis; | ^~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:580:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 580 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ +game.cpp: In member function 'void GameSceneHandler::loadNextLevel()': +game.cpp:475:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 475 | delete viewPosition; + | ^~~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getXAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 626 | delete rightAngleX; @@ -1648,41 +1536,10 @@ ../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 631 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SoundPlayer.o SoundPlayer.cpp ../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/graphics/openGL/ScreenGL.h: In destructor 'ScreenGL::~ScreenGL()': -../../minorGems/graphics/openGL/ScreenGL.h:359:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 359 | delete mViewPosition; - | ^~~~~~~~~~~~~~~~~~~~ -../../minorGems/graphics/openGL/ScreenGL.h:360:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 360 | delete mViewOrientation; - | ^~~~~~~~~~~~~~~~~~~~~~~ -../../minorGems/graphics/openGL/ScreenGL.h: In member function 'void ScreenGL::setViewPosition(Vector3D*)': -../../minorGems/graphics/openGL/ScreenGL.h:394:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 394 | delete mViewPosition; - | ^~~~~~~~~~~~~~~~~~~~ -In file included from game.cpp:137: -../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': -../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 645 | parentPath = mPath->append( ".." ); - | ^~~~ -../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 674 | char *parentName = ".."; - | ^~~~ -game.cpp: In function 'int main(int, char**)': -game.cpp:373:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 373 | "Transcend", sceneHandler, NULL, sceneHandler ); - | ^~~~~~~~~~~ -game.cpp:381:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 381 | delete move; - | ^~~~~~~~~~~ -game.cpp: In member function 'void GameSceneHandler::loadNextLevel()': -game.cpp:475:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 475 | delete viewPosition; - | ^~~~~~~~~~~~~~~~~~~ game.cpp:483:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 483 | delete viewRotation; | ^~~~~~~~~~~~~~~~~~~ @@ -1696,6 +1553,13 @@ game.cpp:521:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 521 | int xGridSize = LevelDirectoryManager::readIntFileContents( "gridSizeX", | ^~~~~~~~~~~ +In file included from ParameterizedObject.h:21, + from ShipBullet.h:15, + from ShipBullet.cpp:10: +../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 417 | delete crossVector; + | ^~~~~~~~~~~~~~~~~~ game.cpp:529:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 529 | int yGridSize = LevelDirectoryManager::readIntFileContents( "gridSizeY", | ^~~~~~~~~~~ @@ -1708,6 +1572,12 @@ game.cpp:594:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 594 | LevelDirectoryManager::getStdStream( "nearBossGridColor", true ); | ^~~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 418 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 419 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ game.cpp:607:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 607 | LevelDirectoryManager::getStdStream( "farBossGridColor", true ); | ^~~~~~~~~~~~~~~~~~ @@ -1717,24 +1587,54 @@ game.cpp:636:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 636 | LevelDirectoryManager::getStdStream( "strongUmbilicalColor", true ); | ^~~~~~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 524 | delete rightAngleZ; + | ^~~~~~~~~~~~~~~~~~ game.cpp:655:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 655 | FILE *shipFILE = LevelDirectoryManager::getStdStream( "ship", true ); | ^~~~~~ +../../minorGems/math/geometry/Vector3D.h:528:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 528 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:529:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 529 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ game.cpp:668:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 668 | FILE *shipBulletFILE = LevelDirectoryManager::getStdStream( "shipBullet", | ^~~~~~~~~~~~ game.cpp:685:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 685 | LevelDirectoryManager::readDoubleFileContents( "shipBulletScale", | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getYAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:575:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 575 | delete rightAngleY; + | ^~~~~~~~~~~~~~~~~~ game.cpp:696:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 696 | LevelDirectoryManager::getStdStream( "shipBulletSound", true ); | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:579:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 579 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:580:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 580 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ game.cpp:721:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 721 | LevelDirectoryManager::readDoubleFileContents( "shipBulletRange", | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getXAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 626 | delete rightAngleX; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:630:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 630 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ game.cpp:733:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 733 | "shipBulletBaseVelocity", | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 631 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ game.cpp:746:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 746 | "maxShipBulletsOnScreen", | ^~~~~~~~~~~~~~~~~~~~~~~~ @@ -1750,6 +1650,10 @@ game.cpp:814:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 814 | "enemyBulletShipJarPower", | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': +../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 732 | delete actualAngle; + | ^~~~~~~~~~~~~~~~~~ game.cpp:826:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 826 | "enemyBulletSculptureJarPower", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1849,6 +1753,12 @@ game.cpp:1342:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1342 | LevelDirectoryManager::readDoubleFileContents( "bossScale", | ^~~~~~~~~~~ +In file included from LevelDirectoryManager.h:24, + from Enemy.cpp:17: +../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': +../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 645 | parentPath = mPath->append( ".." ); + | ^~~~ game.cpp:1352:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1352 | LevelDirectoryManager::readDoubleFileContents( "bossExplosionScale", | ^~~~~~~~~~~~~~~~~~~~ @@ -1864,12 +1774,19 @@ game.cpp:1397:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1397 | "bossBulletBaseVelocity", | ^~~~~~~~~~~~~~~~~~~~~~~~ +../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 674 | char *parentName = ".."; + | ^~~~ game.cpp:1410:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1410 | "bossMinBulletsPerSecond", | ^~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1423:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1423 | "bossMaxBulletsPerSecond", | ^~~~~~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp: In destructor 'virtual EnemyManager::~EnemyManager()': +EnemyManager.cpp:153:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 153 | delete *( mCurrentPositions->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1437:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1437 | "bossTimeToGetAngry", | ^~~~~~~~~~~~~~~~~~~~ @@ -1888,9 +1805,19 @@ game.cpp:1503:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1503 | FILE *bossDamageFILE = LevelDirectoryManager::getStdStream( "bossDamage", | ^~~~~~~~~~~~ +EnemyManager.cpp:154:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 154 | delete *( mCurrentAnglesToPointAt->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:155:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 155 | delete *( mCurrentRotations->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1521:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1521 | LevelDirectoryManager::readDoubleFileContents( "bossDamageScale", | ^~~~~~~~~~~~~~~~~ +EnemyManager.cpp: In member function 'void EnemyManager::passTime(double, Vector3D*)': +EnemyManager.cpp:282:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 282 | delete closestSculpturePiecePosition; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1533:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1533 | "bossDamageTime", | ^~~~~~~~~~~~~~~~ @@ -1907,14 +1834,50 @@ game.cpp:1639:5: warning: deleting object of polymorphic class type 'StdRandomSource' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1639 | delete mRandSource; | ^~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:360:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 360 | delete defaultMoveVector; + | ^~~~~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:387:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 387 | delete moveVector; + | ^~~~~~~~~~~~~~~~~ +EnemyManager.cpp:460:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 460 | delete trueMoveVector; + | ^~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:463:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 463 | delete yVector; + | ^~~~~~~~~~~~~~ +EnemyManager.cpp:506:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 506 | delete angleToPointAt; + | ^~~~~~~~~~~~~~~~~~~~~ game.cpp: In member function 'void GameSceneHandler::destroyLevel()': game.cpp:1663:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1663 | delete mCurrentShipVelocityVector; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:508:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 508 | delete normalizedMoveVector; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:510:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 510 | delete targetPosition; + | ^~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:248:14: warning: variable 'targetIsShip' set but not used [-Wunused-but-set-variable] + 248 | char targetIsShip = false; + | ^~~~~~~~~~~~ game.cpp: In member function 'virtual void GameSceneHandler::drawScene()': game.cpp:1770:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1770 | delete gridSpot; | ^~~~~~~~~~~~~~~ +EnemyManager.cpp:663:13: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 663 | delete *( mCurrentRotations->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:668:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 668 | delete *( mCurrentPositions->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:671:13: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 671 | delete *( mCurrentAnglesToPointAt->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +EnemyManager.cpp:681:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 681 | delete centerPosition; + | ^~~~~~~~~~~~~~~~~~~~~ game.cpp:1818:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1818 | delete gridSpot; | ^~~~~~~~~~~~~~~ @@ -1941,18 +1904,36 @@ game.cpp:2552:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2552 | delete viewPosition; | ^~~~~~~~~~~~~~~~~~~ +In file included from LevelDirectoryManager.h:24, + from ShipBullet.cpp:11: +../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': +../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 645 | parentPath = mPath->append( ".." ); + | ^~~~ game.cpp:2592:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2592 | delete rotationDelta; | ^~~~~~~~~~~~~~~~~~~~ game.cpp:2602:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2602 | delete mCurrentShipVelocityVector; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from DrawableObject.h:28, + from DrawableObject.cpp:27: +../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 417 | delete crossVector; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 418 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ game.cpp:2612:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2612 | delete rotation; | ^~~~~~~~~~~~~~~ game.cpp:2613:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2613 | delete moveVector; | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 419 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ game.cpp:2646:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2646 | delete jumpToWrapVector; | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -1962,34 +1943,19 @@ game.cpp:2711:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2711 | delete moveToCenterVector; | ^~~~~~~~~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 524 | delete rightAngleZ; + | ^~~~~~~~~~~~~~~~~~ game.cpp:2724:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2724 | delete jarVector; | ^~~~~~~~~~~~~~~~ game.cpp:2727:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2727 | delete currentPosition; | ^~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ReverbSoundFilter.o ReverbSoundFilter.cpp -game.cpp:2804:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 2804 | delete currentPosition; - | ^~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SoundParameterSpaceControlPoint.o SoundParameterSpaceControlPoint.cpp -In file included from ParameterizedObject.h:21, - from SculptureManager.h:33, - from SculptureManager.cpp:35: -../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 417 | delete crossVector; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 418 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 419 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 524 | delete rightAngleZ; - | ^~~~~~~~~~~~~~~~~~ +../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 674 | char *parentName = ".."; + | ^~~~ ../../minorGems/math/geometry/Vector3D.h:528:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 528 | delete normalThis; | ^~~~~~~~~~~~~~~~~ @@ -2000,6 +1966,9 @@ ../../minorGems/math/geometry/Vector3D.h:575:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 575 | delete rightAngleY; | ^~~~~~~~~~~~~~~~~~ +game.cpp:2804:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 2804 | delete currentPosition; + | ^~~~~~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:579:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 579 | delete normalThis; | ^~~~~~~~~~~~~~~~~ @@ -2020,10 +1989,27 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ +DrawableObject.cpp: In destructor 'virtual DrawableObject::~DrawableObject()': +DrawableObject.cpp:54:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 54 | delete mTriangleVertices[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +DrawableObject.cpp:58:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 58 | delete mBorderVertices[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o BossManager.o BossManager.cpp +DrawableObject.cpp: In member function 'void DrawableObject::draw(double, Angle3D*, Vector3D*)': +DrawableObject.cpp:220:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 220 | delete worldTriangleVertices[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +DrawableObject.cpp:225:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 225 | delete worldBorderVertices[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o PortalManager.o PortalManager.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SoundSamples.o SoundSamples.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SoundPlayer.o SoundPlayer.cpp In file included from ParameterizedObject.h:21, - from Enemy.h:18, - from BossManager.h:27, - from BossManager.cpp:43: + from SculptureManager.h:33, + from SculptureManager.cpp:35: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 417 | delete crossVector; @@ -2068,6 +2054,7 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ReverbSoundFilter.o ReverbSoundFilter.cpp SculptureManager.cpp: In destructor 'virtual SculptureManager::~SculptureManager()': SculptureManager.cpp:167:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 167 | delete mCurrentPiecePositions[i]; @@ -2099,6 +2086,54 @@ SculptureManager.cpp:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 631 | delete zeroVector; | ^~~~~~~~~~~~~~~~~ +In file included from ParameterizedObject.h:21, + from Enemy.h:18, + from BossManager.h:27, + from BossManager.cpp:43: +../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 417 | delete crossVector; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 418 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 419 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 524 | delete rightAngleZ; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:528:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 528 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:529:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 529 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getYAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:575:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 575 | delete rightAngleY; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:579:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 579 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:580:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 580 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getXAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 626 | delete rightAngleX; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:630:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 630 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 631 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': +../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 732 | delete actualAngle; + | ^~~~~~~~~~~~~~~~~~ BossManager.cpp: In destructor 'virtual BossManager::~BossManager()': BossManager.cpp:114:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 114 | delete mBossPosition; @@ -2122,6 +2157,9 @@ BossManager.cpp:389:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 389 | delete bossVelocityVector; | ^~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SoundParameterSpaceControlPoint.o SoundParameterSpaceControlPoint.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o StereoSoundParameterSpaceControlPoint.o StereoSoundParameterSpaceControlPoint.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ParameterizedStereoSound.o ParameterizedStereoSound.cpp In file included from ParameterizedObject.h:21, from PortalManager.h:15, from PortalManager.cpp:10: @@ -2169,7 +2207,6 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o StereoSoundParameterSpaceControlPoint.o StereoSoundParameterSpaceControlPoint.cpp PortalManager.cpp: In destructor 'virtual PortalManager::~PortalManager()': PortalManager.cpp:35:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 35 | delete mCurrentPosition; @@ -2177,14 +2214,6 @@ PortalManager.cpp:37:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 37 | delete mCurrentRotation; | ^~~~~~~~~~~~~~~~~~~~~~~ -ShipBullet.cpp: In constructor 'ShipBullet::ShipBullet(FILE*, char*)': -ShipBullet.cpp:84:15: warning: argument 1 null where non-null expected [-Wnonnull] - 84 | fclose( farRangeFILE ); - | ~~~~~~^~~~~~~~~~~~~~~~ -In file included from ../../minorGems/math/geometry/Vector3D.h:65: -/usr/include/stdio.h:183:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' - 183 | extern int fclose (FILE *__stream) __nonnull ((1)); - | ^~~~~~ In file included from ParameterizedObject.h:21, from SculptureManager.h:33, from MusicPlayer.h:16, @@ -2229,15 +2258,19 @@ ../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 631 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ParameterizedStereoSound.o ParameterizedStereoSound.cpp ../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o OnePointPlayableSound.o OnePointPlayableSound.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o BulletSound.o BulletSound.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o MusicNoteWaveTable.o MusicNoteWaveTable.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o MusicPart.o MusicPart.cpp +ShipBullet.cpp: In constructor 'ShipBullet::ShipBullet(FILE*, char*)': +ShipBullet.cpp:84:15: warning: argument 1 null where non-null expected [-Wnonnull] + 84 | fclose( farRangeFILE ); + | ~~~~~~^~~~~~~~~~~~~~~~ +In file included from ../../minorGems/math/geometry/Vector3D.h:65: +/usr/include/stdio.h:183:12: note: in a call to function 'int fclose(FILE*)' declared 'nonnull' + 183 | extern int fclose (FILE *__stream) __nonnull ((1)); + | ^~~~~~ In file included from ParameterSpaceControlPoint.h:15, from SoundParameterSpaceControlPoint.h:23, from SoundParameterSpaceControlPoint.cpp:22: @@ -2251,13 +2284,6 @@ ../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 419 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -In file included from ParameterSpaceControlPoint.h:15, - from StereoSoundParameterSpaceControlPoint.h:20, - from StereoSoundParameterSpaceControlPoint.cpp:16: -../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 417 | delete crossVector; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 524 | delete rightAngleZ; @@ -2268,12 +2294,6 @@ ../../minorGems/math/geometry/Vector3D.h:529:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 529 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 418 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 419 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getYAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:575:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 575 | delete rightAngleY; @@ -2281,13 +2301,50 @@ ../../minorGems/math/geometry/Vector3D.h:579:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 579 | delete normalThis; | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:580:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 580 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getXAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 626 | delete rightAngleX; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:630:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 630 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 631 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': +../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 732 | delete actualAngle; + | ^~~~~~~~~~~~~~~~~~ +SoundParameterSpaceControlPoint.cpp: In member function 'virtual ParameterSpaceControlPoint* SoundParameterSpaceControlPoint::createLinearBlend(ParameterSpaceControlPoint*, double)': +SoundParameterSpaceControlPoint.cpp:182:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 182 | delete thisWaveComponents[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +SoundParameterSpaceControlPoint.cpp:187:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 187 | delete otherWaveComponents[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +SoundParameterSpaceControlPoint.cpp:204:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 204 | delete resultWaveComponents[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ParameterSpaceControlPoint.h:15, + from StereoSoundParameterSpaceControlPoint.h:20, + from StereoSoundParameterSpaceControlPoint.cpp:16: +../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': +../../minorGems/math/geometry/Vector3D.h:417:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 417 | delete crossVector; + | ^~~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:418:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 418 | delete normalThis; + | ^~~~~~~~~~~~~~~~~ +../../minorGems/math/geometry/Vector3D.h:419:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 419 | delete normalOther; + | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getZAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 524 | delete rightAngleZ; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:580:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 580 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:528:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 528 | delete normalThis; | ^~~~~~~~~~~~~~~~~ @@ -2298,22 +2355,12 @@ ../../minorGems/math/geometry/Vector3D.h:575:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 575 | delete rightAngleY; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getXAngleTo(Vector3D*)': -../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 626 | delete rightAngleX; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:579:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 579 | delete normalThis; | ^~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h:580:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 580 | delete normalOther; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:630:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 630 | delete normalThis; - | ^~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h:631:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 631 | delete normalOther; - | ^~~~~~~~~~~~~~~~~~ ../../minorGems/math/geometry/Vector3D.h: In member function 'Angle3D* Vector3D::getXAngleTo(Vector3D*)': ../../minorGems/math/geometry/Vector3D.h:626:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 626 | delete rightAngleX; @@ -2328,39 +2375,10 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -../../minorGems/math/geometry/Vector3D.h: In member function 'void Vector3D::reverseRotate(Angle3D*)': -../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 732 | delete actualAngle; - | ^~~~~~~~~~~~~~~~~~ -SoundParameterSpaceControlPoint.cpp: In member function 'virtual ParameterSpaceControlPoint* SoundParameterSpaceControlPoint::createLinearBlend(ParameterSpaceControlPoint*, double)': -SoundParameterSpaceControlPoint.cpp:182:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 182 | delete thisWaveComponents[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SoundParameterSpaceControlPoint.cpp:187:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 187 | delete otherWaveComponents[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -SoundParameterSpaceControlPoint.cpp:204:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 204 | delete resultWaveComponents[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o BulletSound.o BulletSound.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o MusicNoteWaveTable.o MusicNoteWaveTable.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o MusicPart.o MusicPart.cpp g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o MusicPlayer.o MusicPlayer.cpp -In file included from LevelDirectoryManager.h:24, - from MusicNoteWaveTable.cpp:14: -../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': -../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 645 | parentPath = mPath->append( ".." ); - | ^~~~ -../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 674 | char *parentName = ".."; - | ^~~~ -In file included from LevelDirectoryManager.h:24, - from MusicPart.cpp:14: -../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': -../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 645 | parentPath = mPath->append( ".." ); - | ^~~~ -../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 674 | char *parentName = ".."; - | ^~~~ In file included from ParameterizedStereoSound.h:15, from ParameterizedStereoSound.cpp:10: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': @@ -2377,6 +2395,24 @@ ../../minorGems/math/geometry/Vector3D.h:524:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 524 | delete rightAngleZ; | ^~~~~~~~~~~~~~~~~~ +In file included from LevelDirectoryManager.h:24, + from MusicPart.cpp:14: +../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': +../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 645 | parentPath = mPath->append( ".." ); + | ^~~~ +In file included from LevelDirectoryManager.h:24, + from MusicNoteWaveTable.cpp:14: +../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': +../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 645 | parentPath = mPath->append( ".." ); + | ^~~~ +../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 674 | char *parentName = ".."; + | ^~~~ +../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 674 | char *parentName = ".."; + | ^~~~ ../../minorGems/math/geometry/Vector3D.h:528:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 528 | delete normalThis; | ^~~~~~~~~~~~~~~~~ @@ -2407,6 +2443,9 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/graphics/openGL/ScreenGL.o ../../minorGems/graphics/openGL/ScreenGL.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/io/linux/TypeIOLinux.o ../../minorGems/io/linux/TypeIOLinux.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/util/stringUtils.o ../../minorGems/util/stringUtils.cpp In file included from ParameterSpaceControlPoint.h:15, from StereoSoundParameterSpaceControlPoint.h:20, from OnePointPlayableSound.h:16, @@ -2455,7 +2494,11 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/graphics/openGL/ScreenGL.o ../../minorGems/graphics/openGL/ScreenGL.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/util/StringBufferOutputStream.o ../../minorGems/util/StringBufferOutputStream.cpp +../../minorGems/util/stringUtils.cpp: In function 'char* concatonate(char*, char*)': +../../minorGems/util/stringUtils.cpp:154:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 154 | char *glue = ""; + | ^~ In file included from ParameterizedStereoSound.h:15, from BulletSound.h:15, from BulletSound.cpp:10: @@ -2503,40 +2546,6 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/io/linux/TypeIOLinux.o ../../minorGems/io/linux/TypeIOLinux.cpp -MusicNoteWaveTable.cpp: In constructor 'MusicNoteWaveTable::MusicNoteWaveTable(long unsigned int)': -MusicNoteWaveTable.cpp:50:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | LevelDirectoryManager::getStdStream( "musicNotePitches", true ); - | ^~~~~~~~~~~~~~~~~~ -MusicNoteWaveTable.cpp:52:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 52 | LevelDirectoryManager::getStdStream( "musicNoteLengths", true ); - | ^~~~~~~~~~~~~~~~~~ -In file included from LevelDirectoryManager.h:24, - from BulletSound.cpp:11: -../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': -../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 645 | parentPath = mPath->append( ".." ); - | ^~~~ -../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 674 | char *parentName = ".."; - | ^~~~ -MusicPart.cpp: In constructor 'MusicPart::MusicPart(MusicNoteWaveTable*, RandomSource*, double)': -MusicPart.cpp:33:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 33 | "musicChanceOfReversedNote", &error, true ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -MusicPart.cpp:44:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 44 | "musicPartLength", &error, true ); - | ^~~~~~~~~~~~~~~~~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/util/stringUtils.o ../../minorGems/util/stringUtils.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/util/StringBufferOutputStream.o ../../minorGems/util/StringBufferOutputStream.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/io/file/linux/PathLinux.o ../../minorGems/io/file/linux/PathLinux.cpp -../../minorGems/util/stringUtils.cpp: In function 'char* concatonate(char*, char*)': -../../minorGems/util/stringUtils.cpp:154:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 154 | char *glue = ""; - | ^~ -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/system/unix/TimeUnix.o ../../minorGems/system/unix/TimeUnix.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/system/linux/ThreadLinux.o ../../minorGems/system/linux/ThreadLinux.cpp -g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/system/linux/MutexLockLinux.o ../../minorGems/system/linux/MutexLockLinux.cpp In file included from ParameterizedObject.h:21, from SculptureManager.h:33, from MusicPlayer.h:16, @@ -2585,6 +2594,29 @@ ../../minorGems/math/geometry/Vector3D.h:732:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 732 | delete actualAngle; | ^~~~~~~~~~~~~~~~~~ +MusicNoteWaveTable.cpp: In constructor 'MusicNoteWaveTable::MusicNoteWaveTable(long unsigned int)': +MusicNoteWaveTable.cpp:50:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 50 | LevelDirectoryManager::getStdStream( "musicNotePitches", true ); + | ^~~~~~~~~~~~~~~~~~ +MusicPart.cpp: In constructor 'MusicPart::MusicPart(MusicNoteWaveTable*, RandomSource*, double)': +MusicPart.cpp:33:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 33 | "musicChanceOfReversedNote", &error, true ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +MusicNoteWaveTable.cpp:52:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 52 | LevelDirectoryManager::getStdStream( "musicNoteLengths", true ); + | ^~~~~~~~~~~~~~~~~~ +MusicPart.cpp:44:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 44 | "musicPartLength", &error, true ); + | ^~~~~~~~~~~~~~~~~ +In file included from LevelDirectoryManager.h:24, + from BulletSound.cpp:11: +../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': +../../minorGems/io/file/File.h:645:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 645 | parentPath = mPath->append( ".." ); + | ^~~~ +../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 674 | char *parentName = ".."; + | ^~~~ In file included from LevelDirectoryManager.h:24, from MusicPlayer.cpp:18: ../../minorGems/io/file/File.h: In member function 'File* File::getParentDirectory()': @@ -2602,6 +2634,10 @@ MusicPlayer.cpp:285:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 285 | delete positions[i]; | ^~~~~~~~~~~~~~~~~~~ +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/io/file/linux/PathLinux.o ../../minorGems/io/file/linux/PathLinux.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/system/unix/TimeUnix.o ../../minorGems/system/unix/TimeUnix.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/system/linux/ThreadLinux.o ../../minorGems/system/linux/ThreadLinux.cpp +g++ -Wall -DLINUX -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/transcend-0.3.dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ../../minorGems/system/linux/MutexLockLinux.o ../../minorGems/system/linux/MutexLockLinux.cpp In file included from ../../minorGems/graphics/openGL/ScreenGL.h:51, from ../../minorGems/graphics/openGL/ScreenGL.cpp:45: ../../minorGems/math/geometry/Vector3D.h: In member function 'double Vector3D::getAngleTo(Vector3D*)': @@ -2732,12 +2768,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/1630669/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1630669/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/1926024 and its subdirectories -I: Current time: Sat May 11 16:49:15 -12 2024 -I: pbuilder-time-stamp: 1715489355 +I: removing directory /srv/workspace/pbuilder/1630669 and its subdirectories +I: Current time: Sun Jun 15 01:13:12 +14 2025 +I: pbuilder-time-stamp: 1749899592