Diff of the two buildlogs: -- --- b1/build.log 2024-12-16 16:24:49.500575443 +0000 +++ b2/build.log 2024-12-16 16:25:54.265640685 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 16 04:23:29 -12 2024 -I: pbuilder-time-stamp: 1734366209 +I: Current time: Mon Jan 19 12:47:49 +14 2026 +I: pbuilder-time-stamp: 1768776469 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying 06-hardening.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3356976/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2162268/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 18 22:48 /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/2162268/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2162268/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]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=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='9496c77118e149da9187f8095a6f9663' - 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='3356976' - PS1='# ' - PS2='> ' + INVOCATION_ID=ac0b631e89594f73b54f272e52ce1af8 + 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=2162268 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.vOgXQ9x8/pbuilderrc_gJq0 --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.vOgXQ9x8/b1 --logfile b1/build.log starvoyager_0.4.4-11.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://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.vOgXQ9x8/pbuilderrc_SicQ --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.vOgXQ9x8/b2 --logfile b2/build.log starvoyager_0.4.4-11.dsc' + SUDO_GID=111 + SUDO_UID=106 + 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 ionos1-amd64 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3356976/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2162268/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -325,7 +357,7 @@ Get: 206 http://deb.debian.org/debian trixie/main amd64 libsdl2-dev amd64 2.30.9+dfsg-1 [1097 kB] Get: 207 http://deb.debian.org/debian trixie/main amd64 libsdl1.2-dev amd64 1.2.68-2+b1 [64.6 kB] Get: 208 http://deb.debian.org/debian trixie/main amd64 libsdl-net1.2-dev amd64 1.2.8-6+b2 [23.5 kB] -Fetched 99.9 MB in 2s (57.6 MB/s) +Fetched 99.9 MB in 1s (101 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19965 files and directories currently installed.) @@ -1005,8 +1037,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Dec 16 16:24:27 UTC 2024. -Universal Time is now: Mon Dec 16 16:24:27 UTC 2024. +Local time is now: Sun Jan 18 22:48:37 UTC 2026. +Universal Time is now: Sun Jan 18 22:48:37 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -1190,7 +1222,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/starvoyager-0.4.4/ && 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 > ../starvoyager_0.4.4-11_source.changes +I: user script /srv/workspace/pbuilder/2162268/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2162268/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/starvoyager-0.4.4/ && 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 > ../starvoyager_0.4.4-11_source.changes dpkg-buildpackage: info: source package starvoyager dpkg-buildpackage: info: source version 0.4.4-11 dpkg-buildpackage: info: source distribution unstable @@ -1200,7 +1236,7 @@ debian/rules clean dh clean dh_auto_clean - make -j20 clean + make -j42 clean make[1]: Entering directory '/build/reproducible-path/starvoyager-0.4.4' rm -f *.o rm -f starvoyager @@ -1213,7 +1249,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j20 "INSTALL=install --strip-program=true" + make -j42 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/starvoyager-0.4.4' c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o alliance.o alliance.cc c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o camera.o camera.cc @@ -1229,10 +1265,26 @@ c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o client.o client.cc c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o equip.o equip.cc c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o frag.o frag.cc +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o graphic.o graphic.cc +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o planet.o planet.cc +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o server.o server.cc +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sockhelper.o sockhelper.cc +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sv.o sv.cc +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o player.o player.cc +c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o os.o os.cc +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o SDL_rotozoom.o SDL_rotozoom.c +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o SDL_gfxPrimitives.o SDL_gfxPrimitives.c +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o graphic.o graphic.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ @@ -1241,25 +1293,8 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o planet.o planet.cc cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o server.o server.cc -database.cc: In static member function 'static void database::openreader(FILE*)': -database.cc:36:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 36 | throw error("Error opening reader"); - | ^~~~~~~~~~~~~~~~~~~~~~ -database.cc:42:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 42 | throw error("File is corrupt, or incompatible with this version"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -database.cc: In static member function 'static void database::openwriter(FILE*)': -database.cc:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 91 | throw error("Error opening writer"); - | ^~~~~~~~~~~~~~~~~~~~~~ -database.cc: In static member function 'static void database::switchobj(char*)': -database.cc:161:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 161 | throw error("Object not found in database"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ equip.cc: In member function 'void equip::load()': equip.cc:57:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | database::getvalue("Name",nam); @@ -1300,27 +1335,21 @@ equip.cc:69:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 69 | cost=database::getvalue("Cost"); | ^~~~~~ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sockhelper.o sockhelper.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o sv.o sv.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o player.o player.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -sound.cc: In member function 'void sound::load()': -sound.cc:136:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 136 | throw error("Can't load wave file"); +database.cc: In static member function 'static void database::openreader(FILE*)': +database.cc:36:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 36 | throw error("Error opening reader"); | ^~~~~~~~~~~~~~~~~~~~~~ -sound.cc:140:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 140 | throw error("Couldn't build the audio conversion structure"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c++ `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DPOSIX -DVERSION=\"0.4.4\" -DDATADIR=\"/usr/share/games/starvoyager\" -c -o os.o os.cc -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o SDL_rotozoom.o SDL_rotozoom.c -cc `sdl-config --cflags` -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/starvoyager-0.4.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o SDL_gfxPrimitives.o SDL_gfxPrimitives.c +database.cc:42:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 42 | throw error("File is corrupt, or incompatible with this version"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +database.cc: In static member function 'static void database::openwriter(FILE*)': +database.cc:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 91 | throw error("Error opening writer"); + | ^~~~~~~~~~~~~~~~~~~~~~ +database.cc: In static member function 'static void database::switchobj(char*)': +database.cc:161:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 161 | throw error("Object not found in database"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sockhelper.cc: In constructor 'sockhelper::sockhelper(TCPsocket)': sockhelper.cc:19:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 19 | throw error("Error creating a socket set"); @@ -1335,6 +1364,13 @@ sockhelper.cc:61:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 61 | throw error("Socket blocked: probably a laggy/hung/cracked client"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sound.cc: In member function 'void sound::load()': +sound.cc:136:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 136 | throw error("Can't load wave file"); + | ^~~~~~~~~~~~~~~~~~~~~~ +sound.cc:140:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 140 | throw error("Couldn't build the audio conversion structure"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ os.cc: In static member function 'static FILE* os::openpersonal(const char*, const char*)': os.cc:52:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 52 | throw error("getpwuid failed: cannot find user's home directory"); @@ -1349,35 +1385,6 @@ database.cc:68:40: note: 'sprintf' output between 1 and 2048 bytes into a destination of size 65 68 | sprintf(onam,"%s",tmp+1); | ~~~~~~~^~~~~~~~~~~~~~~~~ -alliance.cc: In member function 'void alliance::load()': -alliance.cc:201:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 201 | database::getvalue("Name",nam); - | ^~~~~~ -alliance.cc:202:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 202 | grp=database::getvalue("Group"); - | ^~~~~~~ -alliance.cc:203:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 203 | nsys=database::getvalue("Systems"); - | ^~~~~~~~~ -alliance.cc:204:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 204 | pinh=database::getvalue("PercentInhabited"); - | ^~~~~~~~~~~~~~~~~~ -alliance.cc:205:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 205 | ripo=database::getvalue("Ripoff"); - | ^~~~~~~~ -alliance.cc:206:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 206 | trad=database::getvalue("Trading"); - | ^~~~~~~~~ -alliance.cc:207:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 207 | spw=ship::libget(database::getvalue("Spawn")); - | ^~~~~~~ -ship.cc: In constructor 'ship::ship(cord, ship*, alliance*, int)': -ship.cc:27:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 27 | throw error("Null alliance given"); - | ^~~~~~~~~~~~~~~~~~~~~ -ship.cc:29:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 29 | throw error("Null ship template given"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ interface.cc: In static member function 'static void interface::poll()': interface.cc:101:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 101 | throw error("User requested quit"); @@ -1386,20 +1393,173 @@ interface.cc:148:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | printtomesg("%s",txt+(mesgb.w/6)); | ^~~~ +client.cc: In static member function 'static void client::connect(char*)': +client.cc:48:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 48 | throw error("Couldn't resolve hostname"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.cc:51:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 51 | throw error("Could not connect to server"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.cc: In static member function 'static void client::poll()': +client.cc:203:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 203 | throw error("Overflow from server in SERV_CONS"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.cc:209:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 209 | interface::printtocons("%s\n",txt); + | ^~~~~~ +client.cc:240:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 240 | throw error("Overflow from server in SERV_MESG"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +client.cc:246:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 246 | interface::printtomesg("%s",txt); + | ^~~~ +game.cc: In static member function 'static void game::runlocal()': +game.cc:95:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 95 | client::connect("127.0.0.1"); + | ^~~~~~~~~~~ presence.cc: In static member function 'static void presence::controls()': presence.cc:207:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 207 | throw error("User requested quit"); | ^~~~~~~~~~~~~~~~~~~~~ +ship.cc: In constructor 'ship::ship(cord, ship*, alliance*, int)': +ship.cc:27:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 27 | throw error("Null alliance given"); + | ^~~~~~~~~~~~~~~~~~~~~ +ship.cc:29:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 29 | throw error("Null ship template given"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +frag.cc: In constructor 'frag::frag(cord, int, short int, short int, ship*, ship*, vect, short int, short int, short int, short int)': +frag.cc:32:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 32 | throw error("No free slots for frag"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +sv.cc: In function 'void splashscreen()': +sv.cc:167:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 167 | interface::printtocons("Star Voyager %s\n\n[1] Run local game\n[2] Reset game\n[3] Connect to a server\n[4] Quit\n",VERSION); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +sv.cc:176:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 176 | interface::printtomesg("Initialising game..."); + | ^~~~~~~~~~~~~~~~~~~~~~ +sv.cc:189:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 189 | interface::printtomesg("Game reset"); + | ^~~~~~~~~~~~ +sv.cc:210:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 210 | throw error("User quit"); + | ^~~~~~~~~~~ +frag.cc: In member function 'void frag::save()': +frag.cc:230:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 230 | database::putvalue("Type",typ); + | ^~~~~~ +frag.cc:231:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 231 | database::putvalue("Sprite",spr); + | ^~~~~~~~ +frag.cc:232:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 232 | database::putvalue("Colour",col); + | ^~~~~~~~ +frag.cc:234:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 234 | database::putvalue("Target",trg->self); + | ^~~~~~~~ +frag.cc:236:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 236 | database::putvalue("Owner",own->self); + | ^~~~~~~ +frag.cc:237:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 237 | database::putvalue("XLoc",loc.x); + | ^~~~~~ +server.cc: In static member function 'static void server::start(bool)': +server.cc:59:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 59 | throw error("Can't open listening socket"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +frag.cc:238:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 238 | database::putvalue("YLoc",loc.y); + | ^~~~~~ +frag.cc:239:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 239 | database::putvalue("XVect",mov.xx); + | ^~~~~~~ +frag.cc:240:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 240 | database::putvalue("YVect",mov.yy); + | ^~~~~~~ +frag.cc:241:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 241 | database::putvalue("Rotation",rot); + | ^~~~~~~~~~ +frag.cc:242:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 242 | database::putvalue("Power",pow); + | ^~~~~~~ +frag.cc:243:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 243 | database::putvalue("Tracking",trck); + | ^~~~~~~~~~ +frag.cc:244:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 244 | database::putvalue("Range",rng); + | ^~~~~~~ ship.cc: In member function 'void ship::hit(int, cord, vect, ship*)': ship.cc:1019:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1019 | server::hail(NULL,src->ply,"Target destroyed; bounty paid"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc: In static member function 'static void server::cycle()': +server.cc:116:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 116 | connections[i]->log("Dropped from the game: %s",it.str); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +frag.cc: In member function 'void frag::load()': +frag.cc:249:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 249 | typ=database::getvalue("Type"); + | ^~~~~~ +frag.cc:250:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 250 | spr=database::getvalue("Sprite"); + | ^~~~~~~~ ship.cc:1024:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1024 | server::bulletin("%s has been destroyed",ply->nam); | ^~~~~~~~~~~~~~~~~~~~~~~ +frag.cc:251:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 251 | col=database::getvalue("Colour"); + | ^~~~~~~~ +server.cc:122:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 122 | throw error("Server caught quit signal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +frag.cc:252:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 252 | trg=ship::get(database::getvalue("Target")); + | ^~~~~~~~ ship.cc:1031:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1031 | server::hail(NULL,src->ply,"Target crippled"); | ^~~~~~~~~~~~~~~~~ +frag.cc:253:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 253 | own=ship::get(database::getvalue("Owner")); + | ^~~~~~~ +frag.cc:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 254 | loc.x=database::getvalue("XLoc"); + | ^~~~~~ +frag.cc:255:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 255 | loc.y=database::getvalue("YLoc"); + | ^~~~~~ +frag.cc:256:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 256 | mov.xx=database::getvalue("XVect"); + | ^~~~~~~ +frag.cc:257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 257 | mov.yy=database::getvalue("YVect"); + | ^~~~~~~ +frag.cc:258:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 258 | rot=database::getvalue("Rotation"); + | ^~~~~~~~~~ +server.cc: In static member function 'static void server::hail(player*, player*, char*)': +server.cc:156:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 156 | frnm=""; + | ^~ +frag.cc:259:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 259 | pow=database::getvalue("Power"); + | ^~~~~~~ +frag.cc:260:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 260 | trck=database::getvalue("Tracking"); + | ^~~~~~~~~~ +frag.cc:261:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 261 | rng=database::getvalue("Range"); + | ^~~~~~~ +server.cc:168:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 168 | connections[i]->printtomesg("%s",txt); + | ^~~~ +server.cc:173:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 173 | connections[i]->log("Received hail \"%s\"",txt); + | ^~~~~~~~~~~~~~~~~~~~~~ +server.cc: In static member function 'static void server::bulletin(char*, ...)': +server.cc:192:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 192 | connections[i]->printtomesg("%s",buf); + | ^~~~ ship.cc: In member function 'void ship::transport(planet*)': ship.cc:1133:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1133 | throw error("Cannot transport with shields up"); @@ -1413,10 +1573,36 @@ ship.cc:1148:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1148 | throw error("No available transporters ready or powered"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +alliance.cc: In member function 'void alliance::load()': +alliance.cc:201:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 201 | database::getvalue("Name",nam); + | ^~~~~~ +alliance.cc:202:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 202 | grp=database::getvalue("Group"); + | ^~~~~~~ +alliance.cc:203:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 203 | nsys=database::getvalue("Systems"); + | ^~~~~~~~~ +alliance.cc:204:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 204 | pinh=database::getvalue("PercentInhabited"); + | ^~~~~~~~~~~~~~~~~~ +server.cc: In constructor 'server::server(int, TCPsocket)': +server.cc:278:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 278 | log("Connection opened"); + | ^~~~~~~~~~~~~~~~~~~ +alliance.cc:205:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 205 | ripo=database::getvalue("Ripoff"); + | ^~~~~~~~ ship.cc: In member function 'void ship::transport(ship*)': ship.cc:1160:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1160 | throw error("Cannot transport with shields up"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +alliance.cc:206:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 206 | trad=database::getvalue("Trading"); + | ^~~~~~~~~ +alliance.cc:207:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 207 | spw=ship::libget(database::getvalue("Spawn")); + | ^~~~~~~ ship.cc:1162:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1162 | throw error("Not enough power to transport"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1429,9 +1615,17 @@ ship.cc:1168:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1168 | throw error("Cannot transport through destination's cloak"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc: In destructor 'server::~server()': +server.cc:294:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 294 | log("Connection terminated"); + | ^~~~~~~~~~~~~~~~~~~~~~~ ship.cc:1179:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1179 | throw error("No available transporters ready or powered"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc: In member function 'void server::poll()': +server.cc:333:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 333 | throw error("Activity timeout"); + | ^~~~~~~~~~~~~~~~~~ ship.cc: In member function 'void ship::save()': ship.cc:1186:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1186 | database::putvalue("Class",cls); @@ -1448,6 +1642,9 @@ ship.cc:1190:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1190 | database::putvalue("Height",h[0]); | ^~~~~~~~ +server.cc:372:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 372 | throw error("Using incorrect protocol"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ship.cc:1192:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1192 | database::putvalue("FragSprite",fspr); | ^~~~~~~~~~~~ @@ -1487,6 +1684,10 @@ ship.cc:1207:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1207 | database::putvalue("WarpLimit",mwp); | ^~~~~~~~~~~ +server.cc: In member function 'void server::action(int, short int)': +server.cc:521:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 521 | log("Bandwidth exploration reports %ld maximum",cbnd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ship.cc:1208:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1208 | database::putvalue("WarpAcceleration",awp); | ^~~~~~~~~~~~~~~~~~ @@ -1514,6 +1715,19 @@ ship.cc:1219:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1219 | database::putvalue("Crippled",crip); | ^~~~~~~~~~ +server.cc: In member function 'void server::changecmod(int)': +server.cc:555:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 555 | printtocons("Choose player name\n"); + | ^~~~~~~~~~~~~~~~~~~~~~ +server.cc:560:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 560 | printtocons("Player name currently exists\nPlease input player password"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:602:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 602 | printtocons("No target"); + | ^~~~~~~~~~~ +server.cc:622:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 622 | printtocons("No target"); + | ^~~~~~~~~~~ ship.cc: In member function 'void ship::load()': ship.cc:1249:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1249 | database::getvalue("Class",cls); @@ -1521,21 +1735,48 @@ ship.cc:1250:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1250 | typ=database::getvalue("Type"); | ^~~~~~ +server.cc:645:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 645 | printtocons("Chat with target player\n"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:650:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 650 | printtocons("Chat with team"); + | ^~~~~~~~~~~~~~~~ ship.cc:1251:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1251 | spr=database::getvalue("ShipSprite"); | ^~~~~~~~~~~~ +server.cc:655:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 655 | printtocons("Chat with all"); + | ^~~~~~~~~~~~~~~ ship.cc:1252:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1252 | w[0]=database::getvalue("Width"); | ^~~~~~~ ship.cc:1253:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1253 | h[0]=database::getvalue("Height"); | ^~~~~~~~ +server.cc:676:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 676 | printtocons("Admin\n\n[1] Set account password\n[2] Kick user\n[3] Delete user\n[4] Shutdown server"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:680:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 680 | printtocons("Admin\n\n[1] Set account password"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:685:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 685 | printtocons("Choose your password"); + | ^~~~~~~~~~~~~~~~~~~~~~ ship.cc:1279:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1279 | fspr=database::getvalue("FragSprite"); | ^~~~~~~~~~~~ +server.cc:690:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 690 | printtocons("Confirm your password"); + | ^~~~~~~~~~~~~~~~~~~~~~~ ship.cc:1280:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1280 | fsnd=database::getvalue("FragSound"); | ^~~~~~~~~~~ +server.cc:695:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 695 | printtocons("Input username to kick"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:700:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 700 | printtocons("Input username to delete"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ship.cc:1281:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1281 | dsnd=database::getvalue("DeathSound"); | ^~~~~~~~~~~~ @@ -1557,6 +1798,13 @@ ship.cc:1287:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1287 | vel.rad=database::getvalue("Speed"); | ^~~~~~~ +server.cc: In member function 'void server::cons(int)': +server.cc:725:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 725 | log("Spawned as %s(%s)",ply->in->cls,ply->in->all->nam); + | ^~~~~~~~~~~~~~~~~~~ +server.cc:730:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 730 | printtomesg("No such alliance"); + | ^~~~~~~~~~~~~~~~~~ ship.cc:1288:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1288 | trn=database::getvalue("TurnRate"); | ^~~~~~~~~~ @@ -1572,9 +1820,18 @@ ship.cc:1292:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1292 | awp=database::getvalue("WarpAcceleration"); | ^~~~~~~~~~~~~~~~~~ +server.cc:768:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 768 | printtomesg("Restore position saved"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +server.cc:771:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 771 | throw error("Cannot save with a different allegiance"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ship.cc:1293:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1293 | mss=database::getvalue("Mass"); | ^~~~~~ +server.cc:775:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 775 | throw error("Out of range"); + | ^~~~~~~~~~~~~~ ship.cc:1294:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1294 | hul=database::getvalue("HullStrength"); | ^~~~~~~~~~~~~~ @@ -1587,124 +1844,6 @@ ship.cc:1298:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1298 | crip=database::getvalue("Crippled"); | ^~~~~~~~~~ -ship.cc: In member function 'void ship::insert()': -ship.cc:1354:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1354 | throw error("No free ship index available"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ship.cc: In member function 'void ship::loadlink()': -ship.cc:1613:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1613 | frnd=get(database::getvalue("FriendTarget")); - | ^~~~~~~~~~~~~~ -ship.cc:1614:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1614 | enem=get(database::getvalue("EnemyTarget")); - | ^~~~~~~~~~~~~ -ship.cc:1615:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1615 | plnt=planet::get(database::getvalue("PlanetTarget")); - | ^~~~~~~~~~~~~~ -game.cc: In static member function 'static void game::runlocal()': -game.cc:95:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 95 | client::connect("127.0.0.1"); - | ^~~~~~~~~~~ -server.cc: In static member function 'static void server::start(bool)': -server.cc:59:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 59 | throw error("Can't open listening socket"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In static member function 'static void server::cycle()': -server.cc:116:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 116 | connections[i]->log("Dropped from the game: %s",it.str); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:122:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 122 | throw error("Server caught quit signal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In static member function 'static void server::hail(player*, player*, char*)': -server.cc:156:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 156 | frnm=""; - | ^~ -server.cc:168:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 168 | connections[i]->printtomesg("%s",txt); - | ^~~~ -server.cc:173:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 173 | connections[i]->log("Received hail \"%s\"",txt); - | ^~~~~~~~~~~~~~~~~~~~~~ -server.cc: In static member function 'static void server::bulletin(char*, ...)': -server.cc:192:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 192 | connections[i]->printtomesg("%s",buf); - | ^~~~ -server.cc: In constructor 'server::server(int, TCPsocket)': -server.cc:278:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 278 | log("Connection opened"); - | ^~~~~~~~~~~~~~~~~~~ -server.cc: In destructor 'server::~server()': -server.cc:294:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 294 | log("Connection terminated"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::poll()': -server.cc:333:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 333 | throw error("Activity timeout"); - | ^~~~~~~~~~~~~~~~~~ -server.cc:372:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 372 | throw error("Using incorrect protocol"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::action(int, short int)': -server.cc:521:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 521 | log("Bandwidth exploration reports %ld maximum",cbnd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::changecmod(int)': -server.cc:555:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 555 | printtocons("Choose player name\n"); - | ^~~~~~~~~~~~~~~~~~~~~~ -server.cc:560:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 560 | printtocons("Player name currently exists\nPlease input player password"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:602:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 602 | printtocons("No target"); - | ^~~~~~~~~~~ -server.cc:622:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 622 | printtocons("No target"); - | ^~~~~~~~~~~ -server.cc:645:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 645 | printtocons("Chat with target player\n"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:650:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 650 | printtocons("Chat with team"); - | ^~~~~~~~~~~~~~~~ -server.cc:655:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 655 | printtocons("Chat with all"); - | ^~~~~~~~~~~~~~~ -server.cc:676:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 676 | printtocons("Admin\n\n[1] Set account password\n[2] Kick user\n[3] Delete user\n[4] Shutdown server"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:680:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 680 | printtocons("Admin\n\n[1] Set account password"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:685:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 685 | printtocons("Choose your password"); - | ^~~~~~~~~~~~~~~~~~~~~~ -server.cc:690:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 690 | printtocons("Confirm your password"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -server.cc:695:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 695 | printtocons("Input username to kick"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:700:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 700 | printtocons("Input username to delete"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc: In member function 'void server::cons(int)': -server.cc:725:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 725 | log("Spawned as %s(%s)",ply->in->cls,ply->in->all->nam); - | ^~~~~~~~~~~~~~~~~~~ -server.cc:730:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 730 | printtomesg("No such alliance"); - | ^~~~~~~~~~~~~~~~~~ -server.cc:768:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 768 | printtomesg("Restore position saved"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:771:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 771 | throw error("Cannot save with a different allegiance"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -server.cc:775:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 775 | throw error("Out of range"); - | ^~~~~~~~~~~~~~ server.cc:843:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 843 | log("Server shutdown requested"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1715,6 +1854,10 @@ server.cc:874:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 874 | throw error("Name too short"); | ^~~~~~~~~~~~~~~~ +ship.cc: In member function 'void ship::insert()': +ship.cc:1354:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1354 | throw error("No free ship index available"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.cc:879:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 879 | log("Attempting login"); | ^~~~~~~~~~~~~~~~~~ @@ -1748,6 +1891,16 @@ server.cc:992:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 992 | bulletin("%s was kicked from the server",inpb); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ship.cc: In member function 'void ship::loadlink()': +ship.cc:1613:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1613 | frnd=get(database::getvalue("FriendTarget")); + | ^~~~~~~~~~~~~~ +ship.cc:1614:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1614 | enem=get(database::getvalue("EnemyTarget")); + | ^~~~~~~~~~~~~ +ship.cc:1615:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1615 | plnt=planet::get(database::getvalue("PlanetTarget")); + | ^~~~~~~~~~~~~~ server.cc: In member function 'void server::kill()': server.cc:1245:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1245 | printtomesg("You have been destroyed: Game Over"); @@ -1755,185 +1908,6 @@ server.cc:1246:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1246 | printtocons("Game over"); | ^~~~~~~~~~~ -alliance.cc: In member function 'void alliance::maketerritory(cord)': -alliance.cc:181:58: warning: '%hd' directive writing between 1 and 6 bytes into a region of size between 0 and 64 [-Wformat-overflow=] - 181 | sprintf(pnam,"%s %hd",snam,j); - | ^~~ -planet.cc: In constructor 'planet::planet(char*, cord, int, alliance*)': -planet.cc:33:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 33 | throw error("No free slots for planet"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -alliance.cc:181:54: note: using the range [-32768, 32767] for directive argument - 181 | sprintf(pnam,"%s %hd",snam,j); - | ^~~~~~~~ -alliance.cc:181:48: note: 'sprintf' output between 3 and 72 bytes into a destination of size 65 - 181 | sprintf(pnam,"%s %hd",snam,j); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -client.cc: In static member function 'static void client::connect(char*)': -client.cc:48:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 48 | throw error("Couldn't resolve hostname"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc:51:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 51 | throw error("Could not connect to server"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc: In static member function 'static void client::poll()': -client.cc:203:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 203 | throw error("Overflow from server in SERV_CONS"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc:209:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 209 | interface::printtocons("%s\n",txt); - | ^~~~~~ -client.cc:240:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 240 | throw error("Overflow from server in SERV_MESG"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -client.cc:246:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 246 | interface::printtomesg("%s",txt); - | ^~~~ -planet.cc: In constructor 'planet::planet(int)': -planet.cc:390:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 390 | throw error("This planet slot already taken"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -planet.cc: In member function 'void planet::save()': -planet.cc:402:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 402 | database::putvalue("Name",nam); - | ^~~~~~ -planet.cc:404:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 404 | database::putvalue("Sprite",spr); - | ^~~~~~~~ -planet.cc:405:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 405 | database::putvalue("SpriteRot",rot); - | ^~~~~~~~~~~ -planet.cc:407:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 407 | database::putvalue("Team",all->self); - | ^~~~~~ -planet.cc:408:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 408 | database::putvalue("XLoc",loc.x); - | ^~~~~~ -planet.cc:409:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 409 | database::putvalue("YLoc",loc.y); - | ^~~~~~ -planet.cc:410:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 410 | database::putvalue("Type",typ); - | ^~~~~~ -planet.cc: In member function 'void planet::load()': -planet.cc:425:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 425 | database::getvalue("Name",nam); - | ^~~~~~ -planet.cc:426:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 426 | spr=database::getvalue("Sprite"); - | ^~~~~~~~ -planet.cc:427:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 427 | rot=database::getvalue("SpriteRot"); - | ^~~~~~~~~~~ -planet.cc:428:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 428 | all=alliance::get(database::getvalue("Team")); - | ^~~~~~ -planet.cc:429:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 429 | loc.x=database::getvalue("XLoc"); - | ^~~~~~ -planet.cc:430:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 430 | loc.y=database::getvalue("YLoc"); - | ^~~~~~ -planet.cc:431:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 431 | typ=database::getvalue("Type"); - | ^~~~~~ -frag.cc: In constructor 'frag::frag(cord, int, short int, short int, ship*, ship*, vect, short int, short int, short int, short int)': -frag.cc:32:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 32 | throw error("No free slots for frag"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -frag.cc: In member function 'void frag::save()': -frag.cc:230:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 230 | database::putvalue("Type",typ); - | ^~~~~~ -frag.cc:231:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 231 | database::putvalue("Sprite",spr); - | ^~~~~~~~ -frag.cc:232:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 232 | database::putvalue("Colour",col); - | ^~~~~~~~ -frag.cc:234:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 234 | database::putvalue("Target",trg->self); - | ^~~~~~~~ -frag.cc:236:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 236 | database::putvalue("Owner",own->self); - | ^~~~~~~ -frag.cc:237:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 237 | database::putvalue("XLoc",loc.x); - | ^~~~~~ -frag.cc:238:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 238 | database::putvalue("YLoc",loc.y); - | ^~~~~~ -frag.cc:239:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 239 | database::putvalue("XVect",mov.xx); - | ^~~~~~~ -frag.cc:240:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 240 | database::putvalue("YVect",mov.yy); - | ^~~~~~~ -frag.cc:241:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 241 | database::putvalue("Rotation",rot); - | ^~~~~~~~~~ -frag.cc:242:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 242 | database::putvalue("Power",pow); - | ^~~~~~~ -frag.cc:243:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 243 | database::putvalue("Tracking",trck); - | ^~~~~~~~~~ -frag.cc:244:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 244 | database::putvalue("Range",rng); - | ^~~~~~~ -frag.cc: In member function 'void frag::load()': -frag.cc:249:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 249 | typ=database::getvalue("Type"); - | ^~~~~~ -frag.cc:250:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 250 | spr=database::getvalue("Sprite"); - | ^~~~~~~~ -frag.cc:251:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 251 | col=database::getvalue("Colour"); - | ^~~~~~~~ -frag.cc:252:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 252 | trg=ship::get(database::getvalue("Target")); - | ^~~~~~~~ -frag.cc:253:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 253 | own=ship::get(database::getvalue("Owner")); - | ^~~~~~~ -frag.cc:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 254 | loc.x=database::getvalue("XLoc"); - | ^~~~~~ -frag.cc:255:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 255 | loc.y=database::getvalue("YLoc"); - | ^~~~~~ -frag.cc:256:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 256 | mov.xx=database::getvalue("XVect"); - | ^~~~~~~ -frag.cc:257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 257 | mov.yy=database::getvalue("YVect"); - | ^~~~~~~ -frag.cc:258:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 258 | rot=database::getvalue("Rotation"); - | ^~~~~~~~~~ -frag.cc:259:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 259 | pow=database::getvalue("Power"); - | ^~~~~~~ -frag.cc:260:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 260 | trck=database::getvalue("Tracking"); - | ^~~~~~~~~~ -frag.cc:261:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 261 | rng=database::getvalue("Range"); - | ^~~~~~~ -sv.cc: In function 'void splashscreen()': -sv.cc:167:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 167 | interface::printtocons("Star Voyager %s\n\n[1] Run local game\n[2] Reset game\n[3] Connect to a server\n[4] Quit\n",VERSION); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -sv.cc:176:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 176 | interface::printtomesg("Initialising game..."); - | ^~~~~~~~~~~~~~~~~~~~~~ -sv.cc:189:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 189 | interface::printtomesg("Game reset"); - | ^~~~~~~~~~~~ -sv.cc:210:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 210 | throw error("User quit"); - | ^~~~~~~~~~~ player.cc: In constructor 'player::player(char*)': player.cc:37:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 37 | throw error("No more space for new accounts"); @@ -1998,6 +1972,72 @@ player.cc:271:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 271 | cash=database::getvalue("Cash"); | ^~~~~~ +planet.cc: In constructor 'planet::planet(char*, cord, int, alliance*)': +planet.cc:33:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 33 | throw error("No free slots for planet"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +alliance.cc: In member function 'void alliance::maketerritory(cord)': +alliance.cc:181:58: warning: '%hd' directive writing between 1 and 6 bytes into a region of size between 0 and 64 [-Wformat-overflow=] + 181 | sprintf(pnam,"%s %hd",snam,j); + | ^~~ +alliance.cc:181:54: note: using the range [-32768, 32767] for directive argument + 181 | sprintf(pnam,"%s %hd",snam,j); + | ^~~~~~~~ +alliance.cc:181:48: note: 'sprintf' output between 3 and 72 bytes into a destination of size 65 + 181 | sprintf(pnam,"%s %hd",snam,j); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +planet.cc: In constructor 'planet::planet(int)': +planet.cc:390:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 390 | throw error("This planet slot already taken"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +planet.cc: In member function 'void planet::save()': +planet.cc:402:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 402 | database::putvalue("Name",nam); + | ^~~~~~ +planet.cc:404:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 404 | database::putvalue("Sprite",spr); + | ^~~~~~~~ +planet.cc:405:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 405 | database::putvalue("SpriteRot",rot); + | ^~~~~~~~~~~ +planet.cc:407:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 407 | database::putvalue("Team",all->self); + | ^~~~~~ +planet.cc:408:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 408 | database::putvalue("XLoc",loc.x); + | ^~~~~~ +planet.cc:409:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 409 | database::putvalue("YLoc",loc.y); + | ^~~~~~ +planet.cc:410:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 410 | database::putvalue("Type",typ); + | ^~~~~~ +planet.cc: In member function 'void planet::load()': +planet.cc:425:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 425 | database::getvalue("Name",nam); + | ^~~~~~ +planet.cc:426:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 426 | spr=database::getvalue("Sprite"); + | ^~~~~~~~ +planet.cc:427:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 427 | rot=database::getvalue("SpriteRot"); + | ^~~~~~~~~~~ +planet.cc:428:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 428 | all=alliance::get(database::getvalue("Team")); + | ^~~~~~ +planet.cc:429:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 429 | loc.x=database::getvalue("XLoc"); + | ^~~~~~ +planet.cc:430:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 430 | loc.y=database::getvalue("YLoc"); + | ^~~~~~ +planet.cc:431:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 431 | typ=database::getvalue("Type"); + | ^~~~~~ +graphic.cc: In member function 'void graphic::draw(int, short int, short int, short int, short int, bool)': +graphic.cc:239:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 239 | string("Graphic missing",x,y,true); + | ^~~~~~~~~~~~~~~~~ camera.cc: In static member function 'static void camera::renderradar()': camera.cc:379:28: warning: '%ld' directive writing between 1 and 18 bytes into a region of size between 12 and 29 [-Wformat-overflow=] 379 | sprintf(txt,"%ld , %ld",(long)pov.x/100,(long)pov.y/100); @@ -2008,17 +2048,13 @@ camera.cc:379:16: note: 'sprintf' output between 6 and 40 bytes into a destination of size 33 379 | sprintf(txt,"%ld , %ld",(long)pov.x/100,(long)pov.y/100); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -graphic.cc: In member function 'void graphic::draw(int, short int, short int, short int, short int, bool)': -graphic.cc:239:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 239 | string("Graphic missing",x,y,true); - | ^~~~~~~~~~~~~~~~~ cc -o starvoyager alliance.o camera.o database.o error.o game.o interface.o presence.o ship.o sound.o ticker.o calc.o client.o equip.o frag.o graphic.o planet.o server.o sockhelper.o sv.o player.o os.o SDL_rotozoom.o SDL_gfxPrimitives.o `sdl-config --libs` -lSDL_net -lstdc++ -lm -Wl,-z,relro make[1]: Leaving directory '/build/reproducible-path/starvoyager-0.4.4' dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j20 install DESTDIR=/build/reproducible-path/starvoyager-0.4.4/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j42 install DESTDIR=/build/reproducible-path/starvoyager-0.4.4/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/starvoyager-0.4.4' rm /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/games/starvoyager -rf rm /build/reproducible-path/starvoyager-0.4.4/debian/tmp/usr/share/doc/starvoyager -rf @@ -2081,9 +2117,9 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'starvoyager-dbgsym' in '../starvoyager-dbgsym_0.4.4-11_amd64.deb'. dpkg-deb: building package 'starvoyager' in '../starvoyager_0.4.4-11_amd64.deb'. dpkg-deb: building package 'starvoyager-data' in '../starvoyager-data_0.4.4-11_all.deb'. +dpkg-deb: building package 'starvoyager-dbgsym' in '../starvoyager-dbgsym_0.4.4-11_amd64.deb'. dpkg-genbuildinfo --build=binary -O../starvoyager_0.4.4-11_amd64.buildinfo dpkg-genchanges --build=binary -O../starvoyager_0.4.4-11_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2091,12 +2127,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/2162268/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2162268/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/3356976 and its subdirectories -I: Current time: Mon Dec 16 04:24:48 -12 2024 -I: pbuilder-time-stamp: 1734366288 +I: removing directory /srv/workspace/pbuilder/2162268 and its subdirectories +I: Current time: Mon Jan 19 12:48:52 +14 2026 +I: pbuilder-time-stamp: 1768776532