Diff of the two buildlogs: -- --- b1/build.log 2024-05-13 23:57:10.357354307 +0000 +++ b2/build.log 2024-05-13 23:58:09.586835339 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 13 11:51:31 -12 2024 -I: pbuilder-time-stamp: 1715644291 +I: Current time: Mon Jun 16 20:20:12 +14 2025 +I: pbuilder-time-stamp: 1750054812 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/1255152/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3806336/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 16 06:20 /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/3806336/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3806336/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='52c17c7532f6493ebd0f26f7b6290496' - 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='1255152' - PS1='# ' - PS2='> ' + INVOCATION_ID=2ce1a2586c464ab2accdb51c3ef88913 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3806336 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.kZp8LegX/pbuilderrc_vSZR --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.kZp8LegX/b1 --logfile b1/build.log transcend_0.3.dfsg2-4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.kZp8LegX/pbuilderrc_C8QU --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.kZp8LegX/b2 --logfile b2/build.log transcend_0.3.dfsg2-4.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 13 11:26 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1255152/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 13 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3806336/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -282,7 +314,7 @@ Get: 155 http://deb.debian.org/debian trixie/main amd64 libportaudio2 amd64 19.6.0-1.2+b2 [64.8 kB] Get: 156 http://deb.debian.org/debian trixie/main amd64 libportaudiocpp0 amd64 19.6.0-1.2+b2 [17.6 kB] Get: 157 http://deb.debian.org/debian trixie/main amd64 portaudio19-dev amd64 19.6.0-1.2+b2 [106 kB] -Fetched 80.0 MB in 4s (20.0 MB/s) +Fetched 80.0 MB in 1s (105 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libfftw3-double3:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19699 files and directories currently installed.) @@ -955,7 +987,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/3806336/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3806336/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 @@ -1002,11 +1038,11 @@ -DLEVELS_DIR=\\\"/usr/share/games/transcend/levels\\\"" \ PLATFORM_LINK_FLAGS="-Wl,-z,relro -lGL -lglut -lGLU -lportaudio -lpthread" dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 7 in use) - cd Transcend/game && make -j20 GXX=\$\(CXX\) "OPTIMIZE_FLAG=-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 -fcf-protection -DLEVELS_DIR=\\\"/usr/share/games/transcend/levels\\\"" "PLATFORM_LINK_FLAGS=-Wl,-z,relro -lGL -lglut -lGLU -lportaudio -lpthread" + cd Transcend/game && make -j42 GXX=\$\(CXX\) "OPTIMIZE_FLAG=-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 -fcf-protection -DLEVELS_DIR=\\\"/usr/share/games/transcend/levels\\\"" "PLATFORM_LINK_FLAGS=-Wl,-z,relro -lGL -lglut -lGLU -lportaudio -lpthread" make[2]: Entering directory '/build/reproducible-path/transcend-0.3.dfsg2/Transcend/game' rm -f Makefile.minorGems_dependencies -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -I../.. -MM ../../minorGems/network/linux/HostAddressLinux.cpp ../../minorGems/network/linux/SocketLinux.cpp ../../minorGems/network/linux/SocketServerLinux.cpp ../../minorGems/network/linux/SocketClientLinux.cpp ../../minorGems/network/NetworkFunctionLocks.cpp ../../minorGems/io/file/linux/PathLinux.cpp ../../minorGems/io/file/unix/DirectoryUnix.cpp ../../minorGems/io/linux/TypeIOLinux.cpp ../../minorGems/system/unix/TimeUnix.cpp ../../minorGems/system/linux/ThreadLinux.cpp ../../minorGems/system/linux/MutexLockLinux.cpp ../../minorGems/system/linux/BinarySemaphoreLinux.cpp ../../minorGems/util/log/AppLog.cpp ../../minorGems/util/log/PrintLog.cpp ../../minorGems/util/log/FileLog.cpp ../../minorGems/util/log/Log.cpp ../../minorGems/util/printUtils.cpp ../../minorGems/network/web/WebClient.cpp ../../minorGems/network/web/URLUtils.cpp ../../minorGems/network/web/MimeTyper.cpp ../../minorGems/util/StringBufferOutputStream.cpp ../../minorGems/formats/xml/XMLUtils.cpp ../../minorGems/formats/html/HTMLUtils.cpp ../../minorGems/util/SettingsManager.cpp ../../minorGems/util/stringUtils.cpp ../../minorGems/crypto/hashes/sha1.cpp ../../minorGems/sound/formats/aiff.cpp ../../minorGems/util/development/memory/MemoryTrack.cpp ../../minorGems/util/development/memory/debugMemory.cpp ../../minorGems/network/p2pParts/HostCatcher.cpp ../../minorGems/network/p2pParts/OutboundChannel.cpp ../../minorGems/network/p2pParts/DuplicateMessageDetector.cpp ../../minorGems/network/p2pParts/protocolUtils.cpp ../../minorGems/network/p2pParts/MessagePerSecondLimiter.cpp ../../minorGems/formats/encodingUtils.cpp ../../minorGems/network/web/server/WebServer.cpp ../../minorGems/network/web/server/RequestHandlingThread.cpp ../../minorGems/network/web/server/ThreadHandlingThread.cpp ../../minorGems/network/web/server/ConnectionPermissionHandler.cpp ../../minorGems/system/StopSignalThread.cpp ../../minorGems/system/FinishedSignalThread.cpp ../../minorGems/graphics/openGL/ScreenGL.cpp >> Makefile.minorGems_dependencies.temp rm -f Makefile.dependencies +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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -I../.. -MM ../../minorGems/network/linux/HostAddressLinux.cpp ../../minorGems/network/linux/SocketLinux.cpp ../../minorGems/network/linux/SocketServerLinux.cpp ../../minorGems/network/linux/SocketClientLinux.cpp ../../minorGems/network/NetworkFunctionLocks.cpp ../../minorGems/io/file/linux/PathLinux.cpp ../../minorGems/io/file/unix/DirectoryUnix.cpp ../../minorGems/io/linux/TypeIOLinux.cpp ../../minorGems/system/unix/TimeUnix.cpp ../../minorGems/system/linux/ThreadLinux.cpp ../../minorGems/system/linux/MutexLockLinux.cpp ../../minorGems/system/linux/BinarySemaphoreLinux.cpp ../../minorGems/util/log/AppLog.cpp ../../minorGems/util/log/PrintLog.cpp ../../minorGems/util/log/FileLog.cpp ../../minorGems/util/log/Log.cpp ../../minorGems/util/printUtils.cpp ../../minorGems/network/web/WebClient.cpp ../../minorGems/network/web/URLUtils.cpp ../../minorGems/network/web/MimeTyper.cpp ../../minorGems/util/StringBufferOutputStream.cpp ../../minorGems/formats/xml/XMLUtils.cpp ../../minorGems/formats/html/HTMLUtils.cpp ../../minorGems/util/SettingsManager.cpp ../../minorGems/util/stringUtils.cpp ../../minorGems/crypto/hashes/sha1.cpp ../../minorGems/sound/formats/aiff.cpp ../../minorGems/util/development/memory/MemoryTrack.cpp ../../minorGems/util/development/memory/debugMemory.cpp ../../minorGems/network/p2pParts/HostCatcher.cpp ../../minorGems/network/p2pParts/OutboundChannel.cpp ../../minorGems/network/p2pParts/DuplicateMessageDetector.cpp ../../minorGems/network/p2pParts/protocolUtils.cpp ../../minorGems/network/p2pParts/MessagePerSecondLimiter.cpp ../../minorGems/formats/encodingUtils.cpp ../../minorGems/network/web/server/WebServer.cpp ../../minorGems/network/web/server/RequestHandlingThread.cpp ../../minorGems/network/web/server/ThreadHandlingThread.cpp ../../minorGems/network/web/server/ConnectionPermissionHandler.cpp ../../minorGems/system/StopSignalThread.cpp ../../minorGems/system/FinishedSignalThread.cpp ../../minorGems/graphics/openGL/ScreenGL.cpp >> Makefile.minorGems_dependencies.temp 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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -MM game.cpp DrawableObject.cpp LevelDirectoryManager.cpp NamedColorFactory.cpp ParameterizedSpace.cpp ParameterSpaceControlPoint.cpp ObjectParameterSpaceControlPoint.cpp ParameterizedObject.cpp ShipBullet.cpp ShipBulletManager.cpp Enemy.cpp EnemyManager.cpp SculptureManager.cpp BossManager.cpp PortalManager.cpp SoundSamples.cpp SoundPlayer.cpp ReverbSoundFilter.cpp SoundParameterSpaceControlPoint.cpp StereoSoundParameterSpaceControlPoint.cpp ParameterizedStereoSound.cpp OnePointPlayableSound.cpp BulletSound.cpp MusicNoteWaveTable.cpp MusicPart.cpp MusicPlayer.cpp >> Makefile.dependencies cat Makefile.minorGems_dependencies.temp | sed ' s/^HostAddress.*\.o/${HOST_ADDRESS_O}/; s/^Socket.*\.o/${SOCKET_O}/; s/^SocketServer.*\.o/${SOCKET_SERVER_O}/; s/^SocketClient.*\.o/${SOCKET_CLIENT_O}/; s/^NetworkFunctionLocks.*\.o/${NETWORK_FUNCTION_LOCKS_O}/; s/^Path.*\.o/${PATH_O}/; s/^Directory.*\.o/${DIRECTORY_O}/; s/^TypeIO.*\.o/${TYPE_IO_O}/; s/^Time.*\.o/${TIME_O}/; s/^Thread.*\.o/${THREAD_O}/; s/^MutexLock.*\.o/${MUTEX_LOCK_O}/; s/^BinarySemaphore.*\.o/${BINARY_SEMAPHORE_O}/; s/^AppLog.*\.o/${APP_LOG_O}/; s/^PrintLog.*\.o/${PRINT_LOG_O}/; s/^FileLog.*\.o/${FILE_LOG_O}/; s/^Log.*\.o/${LOG_O}/; s/^PrintUtils.*\.o/${PRINT_UTILS_O}/; s/^WebClient.*\.o/${WEB_CLIENT_O}/; s/^URLUtils.*\.o/${URL_UTILS_O}/; s/^MimeTyper.*\.o/${MIME_TYPER_O}/; s/^StringBufferOutputStream.*\.o/${STRING_BUFFER_OUTPUT_STREAM_O}/; s/^XMLUtils.*\.o/${XML_UTILS_O}/; s/^HTMLUtils.*\.o/${HTML_UTILS_O}/; s/^SettingsManager.*\.o/${SETTINGS_MANAGER_O}/; s/^stringUtils.*\.o/${STRING_UTILS_O}/; s/^sha1.*\.o/${SHA1_O}/; s/^aiff.*\.o/${AIFF_O}/; s/^MemoryTrack.*\.o/${MEMORY_TRACK_O}/; s/^DebugMemory.*\.o/${DEBUG_MEMORY_O}/; s/^HostCatcher.*\.o/${HOST_CATCHER_O}/; s/^OutboundChannel.*\.o/${OUTBOUND_CHANNEL_O}/; s/^DuplicateMessageDetector.*\.o/${DUPLICATE_MESSAGE_DETECTOR_O}/; s/^protocolUtils.*\.o/${PROTOCOL_UTILS_O}/; s/^MessagePerSecondLimiter.*\.o/${MESSAGE_PER_SECOND_LIMITER_O}/; s/^encodingUtils.*\.o/${ENCODING_UTILS_O}/; s/^WebServer.*\.o/${WEB_SERVER_O }/; s/^RequestHandlingThread.*\.o/${REQUEST_HANDLING_THREAD_O}/; s/^ThreadHandlingThread.*\.o/${THREAD_HANDLING_THREAD_O}/; s/^ConnectionPermissionHandler.*\.o/${CONNECTION_PERMISSION_HANDLER_O}/; s/^StopSignalThread.*\.o/${STOP_SIGNAL_THREAD_O}/; s/^FinishedSignalThread.*\.o/${FINISHED_SIGNAL_THREAD_O}/; s/^ScreenGL.*\.o/${SCREEN_GL_O}/; ' >> Makefile.minorGems_dependencies rm -f Makefile.minorGems_dependencies.temp @@ -1027,18 +1063,45 @@ 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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o SoundPlayer.o SoundPlayer.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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ReverbSoundFilter.o ReverbSoundFilter.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ParameterizedStereoSound.o ParameterizedStereoSound.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o MusicPlayer.o MusicPlayer.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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 +../../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 LevelDirectoryManager.h:24, from LevelDirectoryManager.cpp:16: ../../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( ".." ); | ^~~~ -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ReverbSoundFilter.o ReverbSoundFilter.cpp ../../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 -fcf-protection -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o StereoSoundParameterSpaceControlPoint.o StereoSoundParameterSpaceControlPoint.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 = ".."; + | ^~~~ 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' @@ -1047,8 +1110,18 @@ LevelDirectoryManager.cpp:46:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 46 | File *level1Directory = levelDirectory->getChildFile( "001" ); | ^~~~~ +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 NamedColorFactory.cpp:20: + 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( ".." ); + | ^~~~ +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( ".." ); @@ -1056,15 +1129,11 @@ ../../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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o ParameterizedStereoSound.o ParameterizedStereoSound.cpp -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" ); - | ^~~~~~~~ -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o OnePointPlayableSound.o OnePointPlayableSound.cpp -In file included from ParameterizedObject.h:21, - from ShipBullet.h:15, - from ShipBullet.cpp: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 ParameterSpaceControlPoint.h:15, + from ParameterSpaceControlPoint.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; @@ -1095,6 +1164,18 @@ ../../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; | ^~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~ +../../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::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; @@ -1105,12 +1186,9 @@ ../../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 ParameterSpaceControlPoint.h:15, - from ParameterSpaceControlPoint.cpp:16: + 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; @@ -1135,12 +1213,26 @@ ../../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 '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: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::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::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; @@ -1148,60 +1240,32 @@ ../../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 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( ".." ); - | ^~~~ -../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 674 | char *parentName = ".."; - | ^~~~ -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; - | ^~~~~~~~~~~~~~~~~~ -In file included from ParameterizedObject.h:21, - from Enemy.h:18, - from EnemyManager.h:31, - from EnemyManager.cpp:51: +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; - | ^~~~~~~~~~~~~~~~~ -../../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: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::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: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: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: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::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; @@ -1212,14 +1276,13 @@ ../../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 BossManager.h:27, - from BossManager.cpp:43: +../../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; + | ^~~~~~~~~~~~~~~~~~ +In file included from ParameterSpaceControlPoint.h:15, + from SoundParameterSpaceControlPoint.h:23, + from SoundParameterSpaceControlPoint.cpp:22: ../../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; @@ -1230,16 +1293,20 @@ ../../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; | ^~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~ ../../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; @@ -1250,117 +1317,30 @@ ../../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 '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; | ^~~~~~~~~~~~~~~~~~ -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 ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~~~~~~~~~~~~~ -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 ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -BossManager.cpp:115:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 115 | delete mCurrentRotation; - | ^~~~~~~~~~~~~~~~~~~~~~~ -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 ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -BossManager.cpp: In member function 'void BossManager::passTime(double, Vector3D*, Vector3D*)': -BossManager.cpp:253:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 253 | delete perpendicularAngle; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~~~~~~~~~~~~~~ -BossManager.cpp:265:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 265 | delete bossMoveVector; - | ^~~~~~~~~~~~~~~~~~~~~ -BossManager.cpp:318:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 318 | delete yVector; - | ^~~~~~~~~~~~~~ -BossManager.cpp:383:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 383 | delete bulletPositions[i]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o BulletSound.o BulletSound.cpp -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; - | ^~~~~~~~~~~~~~~~~ -../../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::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 '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; @@ -1385,9 +1365,23 @@ ../../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 StereoSoundParameterSpaceControlPoint.h:20, - from StereoSoundParameterSpaceControlPoint.cpp:16: +../../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 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; @@ -1428,9 +1422,14 @@ ../../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 ParameterSpaceControlPoint.h:15, - from SoundParameterSpaceControlPoint.h:23, - from SoundParameterSpaceControlPoint.cpp:22: +../../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 SculptureManager.h:33, + from MusicPlayer.h:16, + from SoundPlayer.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; @@ -1441,10 +1440,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; | ^~~~~~~~~~~~~~~~~~ -../../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: 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; @@ -1455,6 +1450,18 @@ ../../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; | ^~~~~~~~~~~~~~~~~~ +In file included from ParameterizedStereoSound.h:15, + from ParameterizedStereoSound.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::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; @@ -1462,40 +1469,16 @@ ../../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 ParameterizedObject.h:21, - from Enemy.h:18, - from Enemy.cpp:16: + 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: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: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; | ^~~~~~~~~~~~~~~~~ @@ -1512,16 +1495,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: 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; @@ -1529,33 +1502,26 @@ ../../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; | ^~~~~~~~~~~~~~~~~ -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: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: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: 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: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: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: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; | ^~~~~~~~~~~~~~~~~~ @@ -1563,12 +1529,26 @@ ../../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: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: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: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: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 '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: 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; @@ -1579,9 +1559,18 @@ ../../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; + | ^~~~~~~~~~~~~~~~~~ +../../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 PortalManager.h:15, - from PortalManager.cpp:10: + 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; @@ -1589,10 +1578,6 @@ ../../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: 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: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; | ^~~~~~~~~~~~~~~~~~ @@ -1606,6 +1591,15 @@ ../../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; | ^~~~~~~~~~~~~~~~~~ +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( ".." ); + | ^~~~ +../../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: 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; @@ -1630,13 +1624,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; | ^~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~~~~~~~~~~~~~~~~~~~~~ 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]; @@ -1658,16 +1645,30 @@ SculptureManager.cpp:440:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 440 | delete jarVector; | ^~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~ SculptureManager.cpp:462:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 462 | delete mCurrentPiecePositions[i]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../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; + | ^~~~~~~~~~~~~~~~~~ SculptureManager.cpp:485:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 485 | delete moveVector; | ^~~~~~~~~~~~~~~~~ In file included from ParameterizedObject.h:21, - from ShipBullet.h:15, - from ShipBulletManager.h:30, - from ShipBulletManager.cpp:35: + from SculptureManager.h:33, + from MusicPlayer.h:16, + from MusicPlayer.cpp:17: ../../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; @@ -1688,6 +1689,26 @@ ../../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::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 '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: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: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: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; + | ^~~~~~~~~~~~~~~~~~ SculptureManager.cpp: In member function 'void SculptureManager::updateInOutStatusOfAllPieces()': 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; @@ -1699,9 +1720,19 @@ ../../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: 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: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; @@ -1716,16 +1747,36 @@ ../../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; + | ^~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~ +BossManager.cpp:115:5: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 115 | delete mCurrentRotation; + | ^~~~~~~~~~~~~~~~~~~~~~~ +BossManager.cpp: In member function 'void BossManager::passTime(double, Vector3D*, Vector3D*)': +BossManager.cpp:253:9: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 253 | delete perpendicularAngle; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +BossManager.cpp:265:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 265 | delete bossMoveVector; + | ^~~~~~~~~~~~~~~~~~~~~ +BossManager.cpp:318:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 318 | delete yVector; + | ^~~~~~~~~~~~~~ +BossManager.cpp:383:17: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 383 | delete bulletPositions[i]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ParameterizedObject.h:21, - from SculptureManager.h:33, - from MusicPlayer.h:16, - from SoundPlayer.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; - | ^~~~~~~~~~~~~~~~~~ -In file included from ParameterizedObject.h:21, - from ParameterizedObject.cpp:16: + from PortalManager.h:15, + from PortalManager.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; @@ -1733,44 +1784,19 @@ ../../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; | ^~~~~~~~~~~~~~~~~ +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 ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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 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/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: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: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/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: 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; - | ^~~~~~~~~~~~~~~~~~ +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/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; @@ -1781,30 +1807,26 @@ ../../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::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; - | ^~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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: 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: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; | ^~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~ ../../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; @@ -1815,31 +1837,73 @@ ../../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 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; - | ^~~~~~~~~~~~~~~~~ -../../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; - | ^~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~ ../../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: 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; - | ^~~~~~~~~~~~~~~~~ -In file included from ObjectParameterSpaceControlPoint.h:36, - from ObjectParameterSpaceControlPoint.cpp:35: +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 MusicPlayer.cpp:18: +../../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 = ".."; + | ^~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~~~ +MusicPlayer.cpp: In constructor 'MusicPlayer::MusicPlayer(long unsigned int, SculptureManager*, MusicNoteWaveTable*, double, double, double)': +MusicPlayer.cpp:46:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 46 | "musicPartLength", &error, true ); + | ^~~~~~~~~~~~~~~~~ +MusicPlayer.cpp: In member function 'SoundSamples* MusicPlayer::getMoreMusic(long unsigned int)': +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]; + | ^~~~~~~~~~~~~~~~~~~ +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 ); + | ^~~~~~~~~~~~~~~~~ +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; @@ -1850,29 +1914,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; | ^~~~~~~~~~~~~~~~~~ -../../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 '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; @@ -1907,63 +1948,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; | ^~~~~~~~~~~~~~~~~~ -../../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; - | ^~~~~~~~~~~~~~~~~~ -ShipBulletManager.cpp: In destructor 'virtual ShipBulletManager::~ShipBulletManager()': -ShipBulletManager.cpp:92:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 92 | delete *( mStartingPositions->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ShipBulletManager.cpp:93:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 93 | delete *( mVelocitiesInScreenUnitsPerSecond->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ShipBulletManager.cpp:94:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 94 | delete *( mCurrentPositions->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ShipBulletManager.cpp:286:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 286 | delete travelVector; - | ^~~~~~~~~~~~~~~~~~~ -ShipBulletManager.cpp:338:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 338 | delete *( mStartingPositions->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ShipBulletManager.cpp:341:13: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 341 | delete *( mCurrentRotations->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ShipBulletManager.cpp:346:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] - 346 | delete *( mVelocitiesInScreenUnitsPerSecond->getElement( i ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 ) ); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ParameterizedStereoSound.h:15, - from BulletSound.h:15, - from BulletSound.cpp:10: +../../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 = ".."; + | ^~~~ +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; @@ -1974,9 +1979,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; | ^~~~~~~~~~~~~~~~~~ -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]; - | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../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; @@ -1987,6 +1989,19 @@ ../../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; | ^~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~ +../../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; @@ -2007,45 +2022,6 @@ ../../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; - | ^~~~~~~~~~~~~~~~~~ -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 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 ../../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; - | ^~~~~~~~~~~~~~~~~~ -../../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; @@ -2060,6 +2036,10 @@ ../../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 '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: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; | ^~~~~~~~~~~~~~~~~ @@ -2076,21 +2056,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; | ^~~~~~~~~~~~~~~~~~ -../../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; - | ^~~~~~~~~~~~~~~~~~~~~~~ -In file included from ParameterSpaceControlPoint.h:15, - from StereoSoundParameterSpaceControlPoint.h:20, - from OnePointPlayableSound.h:16, - from OnePointPlayableSound.cpp:12: +In file included from ParameterizedObject.h:21, + from ShipBullet.h:15, + from ShipBulletManager.h:30, + from ShipBulletManager.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; @@ -2101,10 +2070,10 @@ ../../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/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; + | ^~~~~~~~~~~~~~~~~~ ../../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; @@ -2135,21 +2104,34 @@ ../../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; | ^~~~~~~~~~~~~~~~~~ +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]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from ParameterizedStereoSound.h:15, + from BulletSound.h:15, + from BulletSound.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 '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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o MusicNoteWaveTable.o MusicNoteWaveTable.cpp -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 = ".."; - | ^~~~ -In file included from ParameterizedStereoSound.h:15, - from ParameterizedStereoSound.cpp:10: +In file included from ParameterSpaceControlPoint.h:15, + from StereoSoundParameterSpaceControlPoint.h:20, + from OnePointPlayableSound.h:16, + from OnePointPlayableSound.cpp:12: ../../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; @@ -2160,8 +2142,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; | ^~~~~~~~~~~~~~~~~~ -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 -fcf-protection -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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -c -o MusicPlayer.o MusicPlayer.cpp ../../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; @@ -2172,44 +2152,70 @@ ../../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: 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; + | ^~~~~~~~~~~ +../../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 '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: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; + | ^~~~~~~~~~~~~~~~~ +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]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../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: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; | ^~~~~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../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: 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: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: 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: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 '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: 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; | ^~~~~~~~~~~~~~~~~~~ +../../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; + | ^~~~~~~~~~~~~~~~~~ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] game.cpp:498:45: note: in expansion of macro 'LEVELS_DIR' 498 | File *levelsDirectory = new File( NULL, LEVELS_DIR ); @@ -2223,9 +2229,23 @@ game.cpp:529:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 529 | int yGridSize = LevelDirectoryManager::readIntFileContents( "gridSizeY", | ^~~~~~~~~~~ +../../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; + | ^~~~~~~~~~~~~~~~~~ game.cpp:552:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 552 | FILE *reverbFILE = LevelDirectoryManager::getStdStream( "reverbFilters", | ^~~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~~~~~ +../../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; + | ^~~~~~~~~~~~~~~~~~ game.cpp:579:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 579 | LevelDirectoryManager::getStdStream( "backgroundColor", true ); | ^~~~~~~~~~~~~~~~~ @@ -2238,6 +2258,10 @@ game.cpp:622:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 622 | LevelDirectoryManager::getStdStream( "weakUmbilicalColor", true ); | ^~~~~~~~~~~~~~~~~~~~ +../../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:636:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 636 | LevelDirectoryManager::getStdStream( "strongUmbilicalColor", true ); | ^~~~~~~~~~~~~~~~~~~~~~ @@ -2253,6 +2277,10 @@ 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: 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:721:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 721 | LevelDirectoryManager::readDoubleFileContents( "shipBulletRange", | ^~~~~~~~~~~~~~~~~ @@ -2415,9 +2443,22 @@ game.cpp:1521:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1521 | LevelDirectoryManager::readDoubleFileContents( "bossDamageScale", | ^~~~~~~~~~~~~~~~~ +ShipBulletManager.cpp: In destructor 'virtual ShipBulletManager::~ShipBulletManager()': +ShipBulletManager.cpp:92:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 92 | delete *( mStartingPositions->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1533:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1533 | "bossDamageTime", | ^~~~~~~~~~~~~~~~ +ShipBulletManager.cpp:93:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 93 | delete *( mVelocitiesInScreenUnitsPerSecond->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ShipBulletManager.cpp:94:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 94 | delete *( mCurrentPositions->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1581:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1581 | LevelDirectoryManager::getStdStream( "portal", true ); | ^~~~~~~~ @@ -2431,10 +2472,26 @@ 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; | ^~~~~~~~~~~~~~~~~~ +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: 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../../minorGems/io/file/File.h:674:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 674 | char *parentName = ".."; + | ^~~~ +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 ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ShipBulletManager.cpp:286:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 286 | delete travelVector; + | ^~~~~~~~~~~~~~~~~~~ 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; @@ -2442,6 +2499,18 @@ 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; | ^~~~~~~~~~~~~~~ +ShipBulletManager.cpp:338:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 338 | delete *( mStartingPositions->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ShipBulletManager.cpp:341:13: warning: deleting object of polymorphic class type 'Angle3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 341 | delete *( mCurrentRotations->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ShipBulletManager.cpp:346:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] + 346 | delete *( mVelocitiesInScreenUnitsPerSecond->getElement( i ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 ) ); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.cpp:1856:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 1856 | delete bossPostion; | ^~~~~~~~~~~~~~~~~~ @@ -2454,6 +2523,13 @@ game.cpp:2213:5: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2213 | delete viewPosition; | ^~~~~~~~~~~~~~~~~~~ +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 ); + | ^~~~~~~~~~~~~~~~~~ game.cpp: In member function 'virtual void GameSceneHandler::keyPressed(unsigned char, int, int)': game.cpp:2335:13: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 2335 | delete droppedPiecePosition; @@ -2495,25 +2571,8 @@ 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; | ^~~~~~~~~~~~~~~~~~~~~~ -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 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 LevelDirectoryManager.h:24, - from MusicNoteWaveTable.cpp:14: + 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( ".." ); @@ -2521,36 +2580,8 @@ ../../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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -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 = ""; - | ^~ -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 -fcf-protection -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 -fcf-protection -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 -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 -fcf-protection -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 -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 ); - | ^~~~~~~~~~~~~~~~~~ -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 -fcf-protection -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, - from MusicPlayer.cpp:17: +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; @@ -2565,14 +2596,6 @@ ../../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; | ^~~~~~~~~~~~~~~~~~ -BulletSound.cpp: In constructor 'BulletSound::BulletSound(FILE*, char*)': -BulletSound.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)); - | ^~~~~~ ../../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; | ^~~~~~~~~~~~~~~~~ @@ -2603,23 +2626,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; | ^~~~~~~~~~~~~~~~~~ -In file included from LevelDirectoryManager.h:24, - from MusicPlayer.cpp:18: -../../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 = ".."; - | ^~~~ -MusicPlayer.cpp: In constructor 'MusicPlayer::MusicPlayer(long unsigned int, SculptureManager*, MusicNoteWaveTable*, double, double, double)': -MusicPlayer.cpp:46:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 46 | "musicPartLength", &error, true ); - | ^~~~~~~~~~~~~~~~~ -MusicPlayer.cpp: In member function 'SoundSamples* MusicPlayer::getMoreMusic(long unsigned int)': -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]; - | ^~~~~~~~~~~~~~~~~~~ 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*)': @@ -2652,6 +2658,13 @@ ../../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; | ^~~~~~~~~~~~~~~~~~ +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]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../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; @@ -2666,6 +2679,13 @@ ../../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 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]; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../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; @@ -2684,6 +2704,22 @@ ../../minorGems/graphics/openGL/ScreenGL.cpp:215:9: warning: deleting object of polymorphic class type 'Vector3D' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 215 | delete upDirection; | ^~~~~~~~~~~~~~~~~~ +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)); + | ^~~~~~ +BulletSound.cpp: In constructor 'BulletSound::BulletSound(FILE*, char*)': +BulletSound.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)); + | ^~~~~~ 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 -fcf-protection -DLEVELS_DIR=\"/usr/share/games/transcend/levels\" -I../.. -I../../Transcend/portaudio/pa_common -o Transcend game.o DrawableObject.o LevelDirectoryManager.o NamedColorFactory.o ParameterizedSpace.o ParameterSpaceControlPoint.o ObjectParameterSpaceControlPoint.o ParameterizedObject.o ShipBullet.o ShipBulletManager.o Enemy.o EnemyManager.o SculptureManager.o BossManager.o PortalManager.o SoundSamples.o SoundPlayer.o ReverbSoundFilter.o SoundParameterSpaceControlPoint.o StereoSoundParameterSpaceControlPoint.o ParameterizedStereoSound.o OnePointPlayableSound.o BulletSound.o MusicNoteWaveTable.o MusicPart.o MusicPlayer.o ../../minorGems/graphics/openGL/ScreenGL.o ../../minorGems/io/linux/TypeIOLinux.o ../../minorGems/util/stringUtils.o ../../minorGems/util/StringBufferOutputStream.o ../../minorGems/io/file/linux/PathLinux.o ../../minorGems/system/unix/TimeUnix.o ../../minorGems/system/linux/ThreadLinux.o ../../minorGems/system/linux/MutexLockLinux.o -Wl,-z,relro -lGL -lglut -lGLU -lportaudio -lpthread make[2]: Leaving directory '/build/reproducible-path/transcend-0.3.dfsg2/Transcend/game' make[1]: Leaving directory '/build/reproducible-path/transcend-0.3.dfsg2' @@ -2733,8 +2769,8 @@ dh_gencontrol: warning: Compatibility levels before 10 are deprecated (level 7 in use) dh_md5sums -O--parallel dh_builddeb -O--parallel -dpkg-deb: building package 'transcend-dbgsym' in '../transcend-dbgsym_0.3.dfsg2-4_amd64.deb'. dpkg-deb: building package 'transcend' in '../transcend_0.3.dfsg2-4_amd64.deb'. +dpkg-deb: building package 'transcend-dbgsym' in '../transcend-dbgsym_0.3.dfsg2-4_amd64.deb'. dpkg-genbuildinfo --build=binary -O../transcend_0.3.dfsg2-4_amd64.buildinfo dpkg-genchanges --build=binary -O../transcend_0.3.dfsg2-4_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2742,12 +2778,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/3806336/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3806336/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/1255152 and its subdirectories -I: Current time: Mon May 13 11:57:09 -12 2024 -I: pbuilder-time-stamp: 1715644629 +I: removing directory /srv/workspace/pbuilder/3806336 and its subdirectories +I: Current time: Mon Jun 16 20:21:07 +14 2025 +I: pbuilder-time-stamp: 1750054867