Diff of the two buildlogs: -- --- b1/build.log 2025-03-16 02:20:40.466020129 +0000 +++ b2/build.log 2025-03-16 02:21:49.086928135 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 17 20:40:26 -12 2026 -I: pbuilder-time-stamp: 1776501626 +I: Current time: Sun Mar 16 16:20:43 +14 2025 +I: pbuilder-time-stamp: 1742091643 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying 02-honor-cflags-and-friends.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3804167/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/966450/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Mar 16 02: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/966450/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/966450/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ee3cb2ef576f4a3cba9afb2df8067696' - 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='3804167' - PS1='# ' - PS2='> ' + INVOCATION_ID=35e567ee18e94c8b8974378e5a738633 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=966450 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.pAOZVmDx/pbuilderrc_Dz6T --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.pAOZVmDx/b1 --logfile b1/build.log mazeofgalious_0.62.dfsg2-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.pAOZVmDx/pbuilderrc_Z5oc --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.pAOZVmDx/b2 --logfile b2/build.log mazeofgalious_0.62.dfsg2-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3804167/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/966450/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -370,7 +402,7 @@ Get: 254 http://deb.debian.org/debian trixie/main arm64 libspeex1 arm64 1.2.1-3 [50.4 kB] Get: 255 http://deb.debian.org/debian trixie/main arm64 libsdl-sound1.2 arm64 1.0.3-9+b5 [84.1 kB] Get: 256 http://deb.debian.org/debian trixie/main arm64 libsdl-sound1.2-dev arm64 1.0.3-9+b5 [99.9 kB] -Fetched 111 MB in 1s (81.2 MB/s) +Fetched 111 MB in 1s (211 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19917 files and directories currently installed.) @@ -1200,8 +1232,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Apr 18 08:41:53 UTC 2026. -Universal Time is now: Sat Apr 18 08:41:53 UTC 2026. +Local time is now: Sun Mar 16 02:21:12 UTC 2025. +Universal Time is now: Sun Mar 16 02:21:12 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:arm64 (1.17.0-2+b1) ... @@ -1427,7 +1459,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/mazeofgalious-0.62.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 > ../mazeofgalious_0.62.dfsg2-6_source.changes +I: user script /srv/workspace/pbuilder/966450/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/966450/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mazeofgalious-0.62.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 > ../mazeofgalious_0.62.dfsg2-6_source.changes dpkg-buildpackage: info: source package mazeofgalious dpkg-buildpackage: info: source version 0.62.dfsg2-6 dpkg-buildpackage: info: source distribution unstable @@ -1457,19 +1493,19 @@ c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 gameaux.cpp -o gameaux.o `sdl-config --cflags` c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 gamecycle.cpp -o gamecycle.o `sdl-config --cflags` c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 render.cpp -o render.o `sdl-config --cflags` +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 ingamecycle.cpp -o ingamecycle.o `sdl-config --cflags` +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 passwords.cpp -o passwords.o `sdl-config --cflags` +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 shrines.cpp -o shrines.o `sdl-config --cflags` +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 demons.cpp -o demons.o `sdl-config --cflags` +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 gameinteractions.cpp -o gameinteractions.o `sdl-config --cflags` +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 line_clip.cpp -o line_clip.o `sdl-config --cflags` 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++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 ingamecycle.cpp -o ingamecycle.o `sdl-config --cflags` cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 passwords.cpp -o passwords.o `sdl-config --cflags` 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++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 shrines.cpp -o shrines.o `sdl-config --cflags` -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 demons.cpp -o demons.o `sdl-config --cflags` cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 gameinteractions.cpp -o gameinteractions.o `sdl-config --cflags` cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 line_clip.cpp -o line_clip.o `sdl-config --cflags` 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++ @@ -1544,7 +1580,6 @@ demons.cpp:441:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 441 | Sound_subst_music_now("demon-fast"); | ^~~~~~~~~~~~ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 path.cpp -o path.o `sdl-config --cflags` demons.cpp:445:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 445 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ @@ -1583,24 +1618,102 @@ demons.cpp:781:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 781 | back_bmp=load_bitmap("back4.pcx"); | ^~~~~~~~~~~ +shrines.cpp: In function 'void passage_mainloop(int, int, int, unsigned char*, int, int)': +shrines.cpp:247:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 247 | tile_print("h F5 TO F9",TILE_SIZE_X*6,TILE_SIZE_Y*21,screen,dx,dy); + | ^~~~~~~~~~~~ demons.cpp: In function 'void demon4_cycle()': demons.cpp:809:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 809 | Sound_subst_music_now("demon-fast"); | ^~~~~~~~~~~~ +shrines.cpp:249:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 249 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~ demons.cpp:813:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 813 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ -gametiles.cpp: In function 'void ReloadGraphics(int, int)': -gametiles.cpp:129:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 129 | thegnu_bmp=load_bitmap("thegnu.pcx"); - | ^~~~~~~~~~~~ +shrines.cpp:285:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 285 | tile_print("YOU WANT THE SECRET",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:286:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 286 | tile_print("CODE TO WAKEN",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:287:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 287 | tile_print("MY MEMORY KEEP THE",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +shrines.cpp:288:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 288 | tile_print("RECORDS ABOUT YOU?",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +shrines.cpp:289:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 289 | tile_print(" YES NO",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +shrines.cpp:319:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 319 | tile_print("RESCUE THE BABY AS ",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:320:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 320 | tile_print("SOON AS POSSIBLE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~ +shrines.cpp:350:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 350 | tile_print("DID YOU GET THEM?",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +shrines.cpp:351:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 351 | tile_print(" YES",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~ +shrines.cpp:360:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 360 | tile_print("SEE YOU AGAIN",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:369:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 369 | tile_print("ARES",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~ +shrines.cpp:375:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 375 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:376:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 376 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:378:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 378 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:379:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 379 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ demons.cpp: In function 'void load_demon5()': demons.cpp:922:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 922 | demon_bmp=load_bitmap("demon5.pcx"); | ^~~~~~~~~~~~ +shrines.cpp:396:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 396 | tile_print(" 20 30 20",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ demons.cpp:923:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 923 | back_bmp=load_bitmap("back5.pcx"); | ^~~~~~~~~~~ +shrines.cpp:460:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 460 | tile_print("HEPHAESTUS",TILE_SIZE_X*15,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~~~~ +shrines.cpp:466:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 466 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:467:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 467 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:469:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 469 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:470:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 470 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:487:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 487 | tile_print(" 30 05 20",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +shrines.cpp:547:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 547 | tile_print("DEATH",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~ +shrines.cpp:553:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 553 | tile_print("IF YOUR LOVER IS",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~ +shrines.cpp:554:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 554 | tile_print("KILLED,COME BACK",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~ demons.cpp: In function 'void demon5_cycle()': demons.cpp:974:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 974 | Sound_subst_music_now("demon-fast"); @@ -1608,59 +1721,259 @@ demons.cpp:978:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 978 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ +shrines.cpp:555:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 555 | tile_print("HERE WITH abc100,",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +shrines.cpp:556:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 556 | tile_print("dec100, AND fgc20.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +shrines.cpp:559:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 559 | tile_print("GIVE ME abc100,",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~ +shrines.cpp:560:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 560 | tile_print("dec100 AND fgc20 IN",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp: In function 'void GameCycle(unsigned char*, int, int)': +gamecycle.cpp:344:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 344 | if (!cargar_configuracion("MoG.cfg")) { + | ^~~~~~~~~ +shrines.cpp:561:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 561 | tile_print("RETURN FOR REVIVING",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:562:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 562 | tile_print("YOUR LOVER.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:563:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 563 | tile_print(" YES NO",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~ +gamecycle.cpp:346:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 346 | guardar_configuracion("MoG.cfg"); + | ^~~~~~~~~ +shrines.cpp:602:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 602 | tile_print("THEN,YOU MUST FIGHT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:603:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 603 | tile_print("ALL BY YOURSELF",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~ demons.cpp: In function 'void load_demon6()': demons.cpp:1057:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1057 | demon_bmp=load_bitmap("demon6.pcx"); | ^~~~~~~~~~~~ +shrines.cpp:604:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 604 | tile_print("GO,RIGHT NOW.",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:608:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 608 | tile_print("YOUR LOVER HAS",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~ demons.cpp:1058:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1058 | back_bmp=load_bitmap("back6.pcx"); | ^~~~~~~~~~~ +shrines.cpp:609:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 609 | tile_print("REVIVED, GO AND GET",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:610:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 610 | tile_print("BACK THE LITTLE BABY",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:611:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 611 | tile_print("TOGETHER. GO AHEAD!",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:397:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 397 | tile_print("PUSH SPACE KEY",TILE_SIZE_X*13,TILE_SIZE_Y*19,screen,dx,dy); + | ^~~~~~~~~~~~~~~~ +shrines.cpp:621:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 621 | tile_print("HEPHAESTUS",TILE_SIZE_X*15,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~~~~ +shrines.cpp:627:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 627 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:628:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 628 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:630:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 630 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:631:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 631 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ demons.cpp: In function 'void demon6_cycle()': demons.cpp:1088:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1088 | Sound_subst_music_now("demon-fast"); | ^~~~~~~~~~~~ -gametiles.cpp:131:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 131 | menu_bmp=load_bitmap("start.pcx"); - | ^~~~~~~~~~~ -gametiles.cpp:132:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 132 | tiles_bmp=load_bitmap("tiles.pcx"); - | ^~~~~~~~~~~ -gametiles.cpp:133:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 133 | tiles2_bmp=load_bitmap("tiles2.pcx"); - | ^~~~~~~~~~~~ -gametiles.cpp:134:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 134 | enemy_bmp=load_bitmap("enemy.pcx"); - | ^~~~~~~~~~~ -gametiles.cpp:135:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 135 | enemy2_bmp=load_bitmap("enemy2.pcx"); - | ^~~~~~~~~~~~ -gametiles.cpp:136:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 136 | final_bmp=load_bitmap("final.pcx"); - | ^~~~~~~~~~~ +gamecycle.cpp:407:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 407 | tile_print("PRESS K TO REDEFINE THE KEYS",TILE_SIZE_X*6,TILE_SIZE_Y*23,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:648:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 648 | tile_print(" 20 25 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ demons.cpp:1092:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1092 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ +shrines.cpp:711:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 711 | tile_print("ARES",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~ +gamecycle.cpp:448:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 448 | tile_print(" PLAY START ",TILE_SIZE_X*13,TILE_SIZE_Y*19,screen,dx,dy); + | ^~~~~~~~~~~~~~~~ +shrines.cpp:717:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 717 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:718:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 718 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:720:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 720 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:721:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 721 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:738:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 738 | tile_print(" 20 50 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ demons.cpp: In function 'void load_demon7()': demons.cpp:1208:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1208 | demon_bmp=load_bitmap("demon7.pcx"); | ^~~~~~~~~~~~ +shrines.cpp:801:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 801 | tile_print("HEPHAESTUS",TILE_SIZE_X*15,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~~~~ +gamecycle.cpp:501:107: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 501 | if ((next_world<=1 && fighting_demon==0 && map==1 && typed_word_p("yomar")) || + | ^~~~~~~ +shrines.cpp:807:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 807 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ demons.cpp:1209:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1209 | back_bmp=load_bitmap("back7.pcx"); | ^~~~~~~~~~~ +shrines.cpp:808:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 808 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +gamecycle.cpp:502:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 502 | (next_world<=2 && fighting_demon==0 && map==2 && typed_word_p("elohim")) || + | ^~~~~~~~ +shrines.cpp:810:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 810 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:811:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 811 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ +gamecycle.cpp:503:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 503 | (next_world<=3 && fighting_demon==0 && map==3 && typed_word_p("hahakla")) || + | ^~~~~~~~~ +shrines.cpp:828:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 828 | tile_print(" 30 20 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:504:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 504 | (next_world<=4 && fighting_demon==0 && map==4 && typed_word_p("barechet")) || + | ^~~~~~~~~~ +gamecycle.cpp:505:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 505 | (next_world<=5 && fighting_demon==0 && map==5 && typed_word_p("heotymeo")) || + | ^~~~~~~~~~ +gamecycle.cpp:506:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 506 | (next_world<=6 && fighting_demon==0 && map==6 && typed_word_p("lepha")) || + | ^~~~~~~ +gamecycle.cpp:507:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 507 | (next_world<=7 && fighting_demon==0 && map==7 && typed_word_p("nawabra")) || + | ^~~~~~~~~ +shrines.cpp:891:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 891 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:897:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 897 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:898:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 898 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +gamecycle.cpp:508:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 508 | (next_world<=8 && fighting_demon==0 && map==8 && typed_word_p("ascher")) || + | ^~~~~~~~ +shrines.cpp:900:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 900 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ demons.cpp: In function 'void demon7_cycle()': demons.cpp:1246:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1246 | Sound_subst_music_now("demon-fast"); | ^~~~~~~~~~~~ +shrines.cpp:901:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 901 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ +gamecycle.cpp:509:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 509 | (next_world<=9 && fighting_demon==0 && map==9 && typed_word_p("xywoleh")) || + | ^~~~~~~~~ +shrines.cpp:918:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 918 | tile_print(" 20 25 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:510:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 510 | (next_world<=10 && fighting_demon==0 && map==10 && typed_word_p("hamalech"))) { + | ^~~~~~~~~~ demons.cpp:1250:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1250 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ +shrines.cpp:981:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 981 | tile_print("ARES",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~ +shrines.cpp:987:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 987 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:988:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 988 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:990:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 990 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:991:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 991 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:1008:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1008 | tile_print(" 20 40 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +gametiles.cpp: In function 'void ReloadGraphics(int, int)': +gametiles.cpp:129:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 129 | thegnu_bmp=load_bitmap("thegnu.pcx"); + | ^~~~~~~~~~~~ demons.cpp: In function 'void load_demon8()': demons.cpp:1393:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1393 | demon_bmp=load_bitmap("demon8.pcx"); | ^~~~~~~~~~~~ +gametiles.cpp:131:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 131 | menu_bmp=load_bitmap("start.pcx"); + | ^~~~~~~~~~~ demons.cpp:1394:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1394 | back_bmp=load_bitmap("back8.pcx"); | ^~~~~~~~~~~ +gametiles.cpp:132:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 132 | tiles_bmp=load_bitmap("tiles.pcx"); + | ^~~~~~~~~~~ +gametiles.cpp:133:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 133 | tiles2_bmp=load_bitmap("tiles2.pcx"); + | ^~~~~~~~~~~~ +shrines.cpp:1074:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1074 | tile_print("ARES",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~ +gametiles.cpp:134:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 134 | enemy_bmp=load_bitmap("enemy.pcx"); + | ^~~~~~~~~~~ +gametiles.cpp:135:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 135 | enemy2_bmp=load_bitmap("enemy2.pcx"); + | ^~~~~~~~~~~~ +gametiles.cpp:136:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 136 | final_bmp=load_bitmap("final.pcx"); + | ^~~~~~~~~~~ +shrines.cpp:1080:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1080 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1081:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1081 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:1083:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1083 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:1084:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1084 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:1101:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1101 | tile_print(" 20 50 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ demons.cpp: In function 'void demon8_cycle()': demons.cpp:1422:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1422 | Sound_subst_music_now("demon-fast"); @@ -1668,27 +1981,171 @@ demons.cpp:1426:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1426 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ +gamecycle.cpp:702:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 702 | if (typed_word_p("zeus") && map==0 && map_x==5 && map_y==12 && pause2) { + | ^~~~~~ +shrines.cpp:1165:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1165 | tile_print("ASCLEPIUS",TILE_SIZE_X*16,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~~~ +shrines.cpp:1170:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1170 | tile_print("SEE A FAIRY TO",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~ +shrines.cpp:1171:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1171 | tile_print("RESTORE YOUR",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~ +shrines.cpp:1172:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1172 | tile_print("VITALITY.",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~ +shrines.cpp:1177:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1177 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:1182:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1182 | tile_print("TAKE A MINE WITH YOU",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1183:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1183 | tile_print("WHEN YOU GO TO",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~ +shrines.cpp:1184:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1184 | tile_print("WORLD 4",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:1189:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1189 | tile_print("ATHENA",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~ +shrines.cpp:1194:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1194 | tile_print("HIT THE WALL WITH",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +shrines.cpp:1195:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1195 | tile_print("YOURE SWORD IF YOU",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1196:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1196 | tile_print("WANT TO GO TO THE",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +shrines.cpp:1197:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1197 | tile_print("OPPOSITE SHORE.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~ +shrines.cpp:1202:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1202 | tile_print("ATHENA",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~ demons.cpp: In function 'void load_demon9()': demons.cpp:1558:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1558 | demon_bmp=load_bitmap("demon9.pcx"); | ^~~~~~~~~~~~ +shrines.cpp:1207:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1207 | tile_print("APHRODITE.DO NOT BE",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1208:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1208 | tile_print("AFRAID OF WATER.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~ +shrines.cpp:1213:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1213 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~ demons.cpp:1559:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1559 | back_bmp=load_bitmap("back9.pcx"); | ^~~~~~~~~~~ +shrines.cpp:1218:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1218 | tile_print("THE PURE WATER IS",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ +shrines.cpp:1219:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1219 | tile_print("INSIDE THE WALL.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~ +shrines.cpp:1226:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1226 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~ +gamecycle.cpp:786:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 786 | tile_print("ITEM",TILE_SIZE_X*18,GAME_VIEW_Y+TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~ +shrines.cpp:1232:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1232 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1233:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1233 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:1235:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1235 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:1236:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1236 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:1243:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1243 | tile_print(" 30",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~ demons.cpp: In function 'void demon9_cycle()': demons.cpp:1599:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1599 | Sound_subst_music_now("demon-fast"); | ^~~~~~~~~~~~ +shrines.cpp:1272:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1272 | tile_print("ATHENA",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~ +shrines.cpp:1277:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1277 | tile_print("HIT THE WALL WHEN",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~ demons.cpp:1603:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1603 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ +shrines.cpp:1278:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1278 | tile_print("YOU ARE HALFWAY OF",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1279:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1279 | tile_print("THE STAIRS.",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~ +gamecycle.cpp:844:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 844 | tile_print("MAP",6*TILE_SIZE_X+GAME_VIEW_X,GAME_VIEW_Y+13*TILE_SIZE_Y,screen,dx,dy); + | ^~~~~ +shrines.cpp:1284:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1284 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:1289:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1289 | tile_print("FIND THE SPELL",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~ +shrines.cpp:1290:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1290 | tile_print("WRITTEN ON A STONE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1291:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1291 | tile_print("MONUMENT UNDER THE",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1292:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1292 | tile_print("WATER.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~ +shrines.cpp:1299:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1299 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:1305:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1305 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1306:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1306 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~ demons.cpp: In function 'void load_demon10()': demons.cpp:1659:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1659 | demon_bmp=load_bitmap("demon10.pcx"); | ^~~~~~~~~~~~~ +shrines.cpp:1308:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1308 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +shrines.cpp:1309:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1309 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~ demons.cpp:1660:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1660 | back_bmp=load_bitmap("back10.pcx"); | ^~~~~~~~~~~~ +shrines.cpp:1316:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1316 | tile_print(" 30",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); + | ^~~~~~~~~~~~~ +shrines.cpp:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1346 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); + | ^~~~~~~~~ +shrines.cpp:1351:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1351 | tile_print("A GATE WHICH LEADS",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1352:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1352 | tile_print("TO GALIOUS WILL",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~ +shrines.cpp:1353:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1353 | tile_print("APPEAR SOMEWHERE IN",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~ +shrines.cpp:1354:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1354 | tile_print("THE CASTLE.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~ demons.cpp: In function 'void demon10_cycle()': demons.cpp:1702:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1702 | Sound_subst_music_now("demon-fast"); @@ -1696,69 +2153,9 @@ demons.cpp:1706:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1706 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ -gamecycle.cpp: In function 'void GameCycle(unsigned char*, int, int)': -gamecycle.cpp:344:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 344 | if (!cargar_configuracion("MoG.cfg")) { - | ^~~~~~~~~ -gamecycle.cpp:346:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 346 | guardar_configuracion("MoG.cfg"); - | ^~~~~~~~~ -gamecycle.cpp:397:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 397 | tile_print("PUSH SPACE KEY",TILE_SIZE_X*13,TILE_SIZE_Y*19,screen,dx,dy); - | ^~~~~~~~~~~~~~~~ -gamecycle.cpp:407:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 407 | tile_print("PRESS K TO REDEFINE THE KEYS",TILE_SIZE_X*6,TILE_SIZE_Y*23,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:448:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 448 | tile_print(" PLAY START ",TILE_SIZE_X*13,TILE_SIZE_Y*19,screen,dx,dy); - | ^~~~~~~~~~~~~~~~ -gamecycle.cpp:501:107: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 501 | if ((next_world<=1 && fighting_demon==0 && map==1 && typed_word_p("yomar")) || - | ^~~~~~~ -gamecycle.cpp:502:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 502 | (next_world<=2 && fighting_demon==0 && map==2 && typed_word_p("elohim")) || - | ^~~~~~~~ -gamecycle.cpp:503:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 503 | (next_world<=3 && fighting_demon==0 && map==3 && typed_word_p("hahakla")) || - | ^~~~~~~~~ -gamecycle.cpp:504:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 504 | (next_world<=4 && fighting_demon==0 && map==4 && typed_word_p("barechet")) || - | ^~~~~~~~~~ -gamecycle.cpp:505:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 505 | (next_world<=5 && fighting_demon==0 && map==5 && typed_word_p("heotymeo")) || - | ^~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -gamecycle.cpp:506:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 506 | (next_world<=6 && fighting_demon==0 && map==6 && typed_word_p("lepha")) || - | ^~~~~~~ -gamecycle.cpp:507:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 507 | (next_world<=7 && fighting_demon==0 && map==7 && typed_word_p("nawabra")) || - | ^~~~~~~~~ -gamecycle.cpp:508:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 508 | (next_world<=8 && fighting_demon==0 && map==8 && typed_word_p("ascher")) || - | ^~~~~~~~ -gamecycle.cpp:509:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 509 | (next_world<=9 && fighting_demon==0 && map==9 && typed_word_p("xywoleh")) || - | ^~~~~~~~~ -gamecycle.cpp:510:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 510 | (next_world<=10 && fighting_demon==0 && map==10 && typed_word_p("hamalech"))) { - | ^~~~~~~~~~ -gamecycle.cpp:702:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 702 | if (typed_word_p("zeus") && map==0 && map_x==5 && map_y==12 && pause2) { - | ^~~~~~ -gamecycle.cpp:786:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 786 | tile_print("ITEM",TILE_SIZE_X*18,GAME_VIEW_Y+TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~ -gamecycle.cpp:844:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 844 | tile_print("MAP",6*TILE_SIZE_X+GAME_VIEW_X,GAME_VIEW_Y+13*TILE_SIZE_Y,screen,dx,dy); - | ^~~~~ gamecycle.cpp:1292:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1292 | tile_print("PRESS A KEY FOR UP:",TILE_SIZE_X*2,TILE_SIZE_Y*2,screen,dx,dy); | ^~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp: In function 'void drawstats(unsigned char*, int, int)': -gameaux.cpp:1582:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1582 | tile_print("CASTLE",3*TILE_SIZE_X+GAME_VIEW_X,3*TILE_SIZE_Y,screen,dx,dy); - | ^~~~~~~~ gamecycle.cpp:1297:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1297 | tile_print("PRESS A KEY FOR DOWN:",TILE_SIZE_X*2,TILE_SIZE_Y*4,screen,dx,dy); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -1774,40 +2171,6 @@ gamecycle.cpp:1317:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1317 | tile_print("PRESS A KEY FOR WEAPON:",TILE_SIZE_X*2,TILE_SIZE_Y*12,screen,dx,dy); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp: In function 'bool loadroom(int, int, int)': -gameaux.cpp:1704:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ gamecycle.cpp:1322:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1322 | tile_print("PRESS A KEY FOR ITEM:",TILE_SIZE_X*2,TILE_SIZE_Y*14,screen,dx,dy); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -1838,6 +2201,7 @@ gamecycle.cpp:1424:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1424 | tile_print("F5 CONTINUE",TILE_SIZE_X*14,TILE_SIZE_Y*14,screen,dx,dy); | ^~~~~~~~~~~~~ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 path.cpp -o path.o `sdl-config --cflags` gamecycle.cpp:1569:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1569 | Sound_create_music("castle",0,0); | ^~~~~~~~ @@ -1880,82 +2244,9 @@ gamecycle.cpp:1673:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1673 | tile_print("CODE AND PRESS",TILE_SIZE_X*9,TILE_SIZE_Y*5,screen,dx,dy); | ^~~~~~~~~~~~~~~~ -shrines.cpp: In function 'void passage_mainloop(int, int, int, unsigned char*, int, int)': -shrines.cpp:247:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 247 | tile_print("h F5 TO F9",TILE_SIZE_X*6,TILE_SIZE_Y*21,screen,dx,dy); - | ^~~~~~~~~~~~ -shrines.cpp:249:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 249 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:1674:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1674 | tile_print("RETURN KEY.",TILE_SIZE_X*9,TILE_SIZE_Y*6,screen,dx,dy); | ^~~~~~~~~~~~~ -shrines.cpp:285:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 285 | tile_print("YOU WANT THE SECRET",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:286:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 286 | tile_print("CODE TO WAKEN",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:287:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 287 | tile_print("MY MEMORY KEEP THE",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:288:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 288 | tile_print("RECORDS ABOUT YOU?",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:289:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 289 | tile_print(" YES NO",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:319:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 319 | tile_print("RESCUE THE BABY AS ",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:320:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 320 | tile_print("SOON AS POSSIBLE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~ -shrines.cpp:350:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 350 | tile_print("DID YOU GET THEM?",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:351:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 351 | tile_print(" YES",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~ -shrines.cpp:360:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 360 | tile_print("SEE YOU AGAIN",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:369:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 369 | tile_print("ARES",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~ -shrines.cpp:375:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 375 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:376:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 376 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:378:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 378 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:379:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 379 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ -shrines.cpp:396:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 396 | tile_print(" 20 30 20",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:460:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 460 | tile_print("HEPHAESTUS",TILE_SIZE_X*15,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~~~~ -shrines.cpp:466:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 466 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:467:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 467 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:469:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 469 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:470:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 470 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ -shrines.cpp:487:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 487 | tile_print(" 30 05 20",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ gamecycle.cpp:1890:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1890 | tile_print("THAT IS THE WRONG",TILE_SIZE_X*9,TILE_SIZE_Y*17,screen,dx,dy); | ^~~~~~~~~~~~~~~~~~~ @@ -2061,185 +2352,36 @@ gamecycle.cpp:2174:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2174 | " EPILOGUE", | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:547:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 547 | tile_print("DEATH",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~ -shrines.cpp:553:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 553 | tile_print("IF YOUR LOVER IS",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~ -shrines.cpp:554:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 554 | tile_print("KILLED,COME BACK",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~ -shrines.cpp:555:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 555 | tile_print("HERE WITH abc100,",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:556:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 556 | tile_print("dec100, AND fgc20.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:559:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 559 | tile_print("GIVE ME abc100,",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~ -shrines.cpp:560:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 560 | tile_print("dec100 AND fgc20 IN",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:561:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 561 | tile_print("RETURN FOR REVIVING",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:562:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 562 | tile_print("YOUR LOVER.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:563:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 563 | tile_print(" YES NO",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~ -shrines.cpp:602:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 602 | tile_print("THEN,YOU MUST FIGHT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:603:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 603 | tile_print("ALL BY YOURSELF",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~ -shrines.cpp:604:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 604 | tile_print("GO,RIGHT NOW.",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:608:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 608 | tile_print("YOUR LOVER HAS",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~ -shrines.cpp:609:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 609 | tile_print("REVIVED, GO AND GET",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:610:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 610 | tile_print("BACK THE LITTLE BABY",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:611:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 611 | tile_print("TOGETHER. GO AHEAD!",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:621:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 621 | tile_print("HEPHAESTUS",TILE_SIZE_X*15,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~~~~ -shrines.cpp:627:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 627 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:628:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 628 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:630:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 630 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:631:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 631 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ -shrines.cpp:648:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 648 | tile_print(" 20 25 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:711:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 711 | tile_print("ARES",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~ -shrines.cpp:717:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 717 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:718:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 718 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:720:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 720 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:721:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 721 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ -shrines.cpp:738:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 738 | tile_print(" 20 50 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:801:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 801 | tile_print("HEPHAESTUS",TILE_SIZE_X*15,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~~~~ -shrines.cpp:807:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 807 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:808:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 808 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:810:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 810 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:811:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 811 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2175:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2175 | "THANKS TO YOU,THE BABY WAS", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:828:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 828 | tile_print(" 30 20 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2176:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2176 | "RESCUED SAFELY.THE KINGDOM", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2177:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2177 | "TOOK BACK PACE AND VIGOR.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:891:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 891 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~ -shrines.cpp:897:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 897 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:898:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 898 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:900:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 900 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:901:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 901 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2178:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2178 | "POPOLON WAS AWARDED THE", | ^~~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:918:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 918 | tile_print(" 20 25 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:981:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 981 | tile_print("ARES",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~ -shrines.cpp:987:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 987 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:988:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 988 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:990:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 990 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ gamecycle.cpp:2179:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2179 | "CROWN FOR HIS ACHIEVEMENT.IT", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:991:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 991 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2180:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2180 | "WAS DECIDED THAT HE PROTECT", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2181:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2181 | "THE KINGDOM WITH APHRODITE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1008:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1008 | tile_print(" 20 40 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2182:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2182 | "AS HIS WIFE FOR THE REST OF", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 sound.cpp -o sound.o `sdl-config --cflags` gamecycle.cpp:2183:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2183 | "THEIR LIVES.THIS LEGEND WILL", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2184:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2184 | "BE TOLD AGAIN WHEN THEY ARE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -path.cpp:13:9: warning: "NAME_MAX" redefined - 13 | #define NAME_MAX 256 - | ^~~~~~~~ -gameinteractions.cpp: In function 'void GameTestInteractions(int, int)': -gameinteractions.cpp:396:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 396 | (item[25] && typed_word_p("umbrella"))) { - | ^~~~~~~~~~ gamecycle.cpp:2185:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2185 | "APT TO LOSE BELIEF IN LOVE.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2267,33 +2409,18 @@ gamecycle.cpp:2193:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2193 | "", | ^~ -shrines.cpp:1074:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1074 | tile_print("ARES",TILE_SIZE_X*18,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~ gamecycle.cpp:2194:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2194 | " ORIGINAL STAFF", | ^~~~~~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2195:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2195 | "", | ^~ -shrines.cpp:1080:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1080 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1081:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1081 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ gamecycle.cpp:2196:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2196 | " MAIN PROGRAMMER", | ^~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1083:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1083 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ gamecycle.cpp:2197:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2197 | " Y.HARUKI", | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1084:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1084 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2198:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2198 | "", | ^~ @@ -2303,9 +2430,6 @@ gamecycle.cpp:2200:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2200 | " I.AKADA", | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1101:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1101 | tile_print(" 20 50 05",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2201:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2201 | " M.OZAWA", | ^~~~~~~~~~~~~~~~~~~~ @@ -2327,123 +2451,48 @@ gamecycle.cpp:2207:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2207 | " GRAPHIC DESIGNER", | ^~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1165:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1165 | tile_print("ASCLEPIUS",TILE_SIZE_X*16,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~~~ gamecycle.cpp:2208:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2208 | " R.SHOGAKI", | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1170:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1170 | tile_print("SEE A FAIRY TO",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~ gamecycle.cpp:2209:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2209 | " C.TANIGAKI", | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1171:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1171 | tile_print("RESTORE YOUR",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~ -shrines.cpp:1172:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1172 | tile_print("VITALITY.",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~ -shrines.cpp:1177:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1177 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2210:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2210 | " T.MIYOSHI", | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1182:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1182 | tile_print("TAKE A MINE WITH YOU",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1183:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1183 | tile_print("WHEN YOU GO TO",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~ gamecycle.cpp:2211:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2211 | " K.SHIRAKAGI", | ^~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1184:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1184 | tile_print("WORLD 4",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~ -shrines.cpp:1189:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1189 | tile_print("ATHENA",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~ gamecycle.cpp:2212:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2212 | "", | ^~ -shrines.cpp:1194:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1194 | tile_print("HIT THE WALL WITH",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:1195:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1195 | tile_print("YOURE SWORD IF YOU",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2213:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2213 | " SOUND CREATOR", | ^~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1196:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1196 | tile_print("WANT TO GO TO THE",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:1197:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1197 | tile_print("OPPOSITE SHORE.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~ gamecycle.cpp:2214:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2214 | " K.UEHARA", | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1202:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1202 | tile_print("ATHENA",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~ gamecycle.cpp:2215:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2215 | "", | ^~ -shrines.cpp:1207:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1207 | tile_print("APHRODITE.DO NOT BE",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1208:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1208 | tile_print("AFRAID OF WATER.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~ -shrines.cpp:1213:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1213 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2216:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2216 | "", | ^~ -shrines.cpp:1218:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1218 | tile_print("THE PURE WATER IS",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:1219:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1219 | tile_print("INSIDE THE WALL.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~ gamecycle.cpp:2217:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2217 | " PLANNER AND DIRECTOR", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1226:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1226 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2218:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2218 | " R.SHOGAKI", | ^~~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2219:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2219 | "", | ^~ -shrines.cpp:1232:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1232 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1233:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1233 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ gamecycle.cpp:2220:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2220 | "", | ^~ -shrines.cpp:1235:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1235 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -shrines.cpp:1236:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1236 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2221:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2221 | "", | ^~ -shrines.cpp:1243:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1243 | tile_print(" 30",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~ gamecycle.cpp:2222:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2222 | "", | ^~ @@ -2453,78 +2502,33 @@ gamecycle.cpp:2224:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2224 | " SENDING ROMANTIC GAME", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1272:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1272 | tile_print("ATHENA",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~ gamecycle.cpp:2225:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2225 | " MESSAGES.", | ^~~~~~~~~~~~~~ gamecycle.cpp:2226:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2226 | "", | ^~ -shrines.cpp:1277:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1277 | tile_print("HIT THE WALL WHEN",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~ -shrines.cpp:1278:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1278 | tile_print("YOU ARE HALFWAY OF",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1279:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1279 | tile_print("THE STAIRS.",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~ gamecycle.cpp:2227:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2227 | " THANK YOU VERY MUCH", | ^~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1284:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1284 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2228:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2228 | " FOR YOUR JOINING IN", | ^~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1289:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1289 | tile_print("FIND THE SPELL",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~ -shrines.cpp:1290:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1290 | tile_print("WRITTEN ON A STONE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2229:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2229 | " THIS STORY.", | ^~~~~~~~~~~~~~~~ -shrines.cpp:1291:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1291 | tile_print("MONUMENT UNDER THE",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1292:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1292 | tile_print("WATER.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~ gamecycle.cpp:2230:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2230 | "", | ^~ -shrines.cpp:1299:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1299 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2231:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2231 | "", | ^~ -shrines.cpp:1305:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1305 | tile_print("YOU CAN BUY SOME OF",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1306:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1306 | tile_print("MY TREASURE",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~ -shrines.cpp:1308:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1308 | tile_print("COINS ARE NOT",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~ gamecycle.cpp:2232:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2232 | "", | ^~ -shrines.cpp:1309:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1309 | tile_print("ENOUGH.",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2233:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2233 | "", | ^~ -shrines.cpp:1316:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1316 | tile_print(" 30",TILE_SIZE_X*10,TILE_SIZE_Y*13,screen,dx,dy); - | ^~~~~~~~~~~~~ gamecycle.cpp:2234:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2234 | "", | ^~ @@ -2534,30 +2538,15 @@ gamecycle.cpp:2236:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2236 | "", | ^~ -shrines.cpp:1346:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1346 | tile_print("DEMETER",TILE_SIZE_X*17,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~ gamecycle.cpp:2237:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2237 | " PRESENTED ", | ^~~~~~~~~~~~~~~~ -shrines.cpp:1351:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1351 | tile_print("A GATE WHICH LEADS",TILE_SIZE_X*10,TILE_SIZE_Y*9,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2238:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2238 | " ORIGINALLY AT 1987", | ^~~~~~~~~~~~~~~~~~~~~~~~~ -shrines.cpp:1352:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1352 | tile_print("TO GALIOUS WILL",TILE_SIZE_X*10,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~ -shrines.cpp:1353:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1353 | tile_print("APPEAR SOMEWHERE IN",TILE_SIZE_X*10,TILE_SIZE_Y*11,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:2239:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2239 | "", | ^~ -shrines.cpp:1354:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1354 | tile_print("THE CASTLE.",TILE_SIZE_X*10,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~ gamecycle.cpp:2240:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2240 | " REMAKE PRESENTED BY ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2621,6 +2610,58 @@ gamecycle.cpp:2302:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2302 | guardar_configuracion("MoG.cfg"); | ^~~~~~~~~ +shrines.cpp:271:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 271 | chdir(confdir); + | ~~~~~^~~~~~~~~ +shrines.cpp:273:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 273 | chdir(datadir); + | ~~~~~^~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +gameinteractions.cpp: In function 'void GameTestInteractions(int, int)': +gameinteractions.cpp:396:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 396 | (item[25] && typed_word_p("umbrella"))) { + | ^~~~~~~~~~ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 sound.cpp -o sound.o `sdl-config --cflags` +gameinteractions.cpp:2150:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2150 | if (item[25] && typed_word_p("umbrella")) { + | ^~~~~~~~~~ +gamecycle.cpp:343:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 343 | chdir(confdir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:348:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 348 | chdir(datadir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:1385:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1385 | chdir(confdir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:1387:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1387 | chdir(datadir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:1715:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1715 | chdir(confdir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:1717:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1717 | chdir(datadir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:1965:38: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1965 | chdir(datadir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:2290:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2290 | chdir(confdir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:2292:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2292 | chdir(datadir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:2301:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2301 | chdir(confdir); + | ~~~~~^~~~~~~~~ +gamecycle.cpp:2303:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2303 | chdir(datadir); + | ~~~~~^~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +path.cpp:13:9: warning: "NAME_MAX" redefined + 13 | #define NAME_MAX 256 + | ^~~~~~~~ In file included from /usr/include/aarch64-linux-gnu/bits/local_lim.h:38, from /usr/include/aarch64-linux-gnu/bits/posix1_lim.h:161, from /usr/include/dirent.h:235, @@ -2628,6 +2669,109 @@ /usr/include/linux/limits.h:12:9: note: this is the location of the previous definition 12 | #define NAME_MAX 255 /* # chars in a file name */ | ^~~~~~~~ +sound.cpp: In function 'Mix_Chunk* Sound_create_sound(char*, int)': +sound.cpp:115:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; + | ^~~~~~ +sound.cpp:115:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; + | ^~~~~~ +sound.cpp:115:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; + | ^~~~~~ +sound.cpp:115:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; + | ^~~~~~ +sound.cpp:115:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; + | ^~~~~~ +sound.cpp:115:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; + | ^~~~~~ +sound.cpp: In function 'void Sound_obtain_file_name(char*, char*)': +sound.cpp:162:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:162:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:162:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:162:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:162:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:162:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp: In function 'Sound_Sample* Sound_create_stream(char*)': +sound.cpp:193:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:193:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:193:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:193:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:193:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp:193:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; + | ^~~~~~ +sound.cpp: In function 'int file_check(char*)': +sound.cpp:96:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 96 | chdir(datadir); + | ~~~~~^~~~~~~~~ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 drawing.cpp -o drawing.o `sdl-config --cflags` +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 gameobjects.cpp -o gameobjects.o `sdl-config --cflags` +gameaux.cpp: In function 'void drawstats(unsigned char*, int, int)': +gameaux.cpp:1582:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1582 | tile_print("CASTLE",3*TILE_SIZE_X+GAME_VIEW_X,3*TILE_SIZE_Y,screen,dx,dy); + | ^~~~~~~~ +gameaux.cpp: In function 'bool loadroom(int, int, int)': +gameaux.cpp:1704:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 loadpcx.cpp -o loadpcx.o `sdl-config --cflags` gameaux.cpp: In function 'void ReloadSound()': gameaux.cpp:3082:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3082 | S_gamestart=Sound_create_sound("gamestart",0); @@ -2831,26 +2975,11 @@ 3148 | S_lightning=Sound_create_sound("lightning",0); | ^~~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -gameinteractions.cpp:2150:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2150 | if (item[25] && typed_word_p("umbrella")) { - | ^~~~~~~~~~ -shrines.cpp:271:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 271 | chdir(confdir); - | ~~~~~^~~~~~~~~ -shrines.cpp:273:30: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 273 | chdir(datadir); - | ~~~~~^~~~~~~~~ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 drawing.cpp -o drawing.o `sdl-config --cflags` +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ gameaux.cpp: In function 'bool loadroom(int, int, int)': gameaux.cpp:1716:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1716 | chdir(datadir); | ~~~~~^~~~~~~~~ -gamecycle.cpp:343:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 343 | chdir(confdir); - | ~~~~~^~~~~~~~~ -gamecycle.cpp:348:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 348 | chdir(datadir); - | ~~~~~^~~~~~~~~ gameaux.cpp:1722:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1722 | fscanf(fp,"%i %i",&room_size_x,&room_size_y); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2878,9 +3007,6 @@ gameaux.cpp:1779:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1779 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1385:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1385 | chdir(confdir); - | ~~~~~^~~~~~~~~ gameaux.cpp:1784:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1784 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2890,42 +3016,27 @@ gameaux.cpp:1794:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1794 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1387:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1387 | chdir(datadir); - | ~~~~~^~~~~~~~~ gameaux.cpp:1799:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1799 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gameaux.cpp:1803:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1803 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1715:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1715 | chdir(confdir); - | ~~~~~^~~~~~~~~ gameaux.cpp:1810:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1810 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1717:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1717 | chdir(datadir); - | ~~~~~^~~~~~~~~ gameaux.cpp:1818:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1818 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gameaux.cpp:1825:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1825 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1965:38: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1965 | chdir(datadir); - | ~~~~~^~~~~~~~~ gameaux.cpp:1830:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1830 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gameaux.cpp:1833:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1833 | fscanf(fp,"%s",buffer2); | ~~~~~~^~~~~~~~~~~~~~~~~ -gamecycle.cpp:2290:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2290 | chdir(confdir); - | ~~~~~^~~~~~~~~ gameaux.cpp:1842:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 1842 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3046,15 +3157,6 @@ gameaux.cpp:2314:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2314 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2292:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2292 | chdir(datadir); - | ~~~~~^~~~~~~~~ -gamecycle.cpp:2301:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2301 | chdir(confdir); - | ~~~~~^~~~~~~~~ -gamecycle.cpp:2303:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2303 | chdir(datadir); - | ~~~~~^~~~~~~~~ gameaux.cpp:2324:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2324 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3086,78 +3188,12 @@ gameaux.cpp:2616:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2616 | fscanf(fp,"%i %i",&music_volume,&sfx_volume); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 gameobjects.cpp -o gameobjects.o `sdl-config --cflags` -sound.cpp: In function 'Mix_Chunk* Sound_create_sound(char*, int)': -sound.cpp:115:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; - | ^~~~~~ -sound.cpp:115:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; - | ^~~~~~ -sound.cpp:115:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; - | ^~~~~~ -sound.cpp:115:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; - | ^~~~~~ -sound.cpp:115:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; - | ^~~~~~ -sound.cpp:115:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 115 | char *ext[6]={".wav",".ogg",".mp3",".WAV",".OGG",".MP3"}; - | ^~~~~~ -sound.cpp: In function 'void Sound_obtain_file_name(char*, char*)': -sound.cpp:162:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:162:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:162:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:162:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:162:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:162:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 162 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp: In function 'Sound_Sample* Sound_create_stream(char*)': -sound.cpp:193:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:193:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:193:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:193:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:193:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -sound.cpp:193:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 193 | char *ext[6]={".WAV",".OGG",".MP3",".wav",".ogg",".mp3"}; - | ^~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -sound.cpp: In function 'int file_check(char*)': -sound.cpp:96:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 96 | chdir(datadir); - | ~~~~~^~~~~~~~~ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 loadpcx.cpp -o loadpcx.o `sdl-config --cflags` -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 roomchange.cpp -o roomchange.o `sdl-config --cflags` -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 debug-report.cpp -o debug-report.o `sdl-config --cflags` -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 keyboard.cpp -o keyboard.o `sdl-config --cflags` 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++ roomchange.cpp: In function 'void RoomChange()': roomchange.cpp:233:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 233 | Sound_create_music("entering","shrine1","shrine2"); @@ -3289,8 +3325,8 @@ dpkg-gencontrol: warning: Depends field of package mazeofgalious-data: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb -dpkg-deb: building package 'mazeofgalious-dbgsym' in '../mazeofgalious-dbgsym_0.62.dfsg2-6_arm64.deb'. dpkg-deb: building package 'mazeofgalious' in '../mazeofgalious_0.62.dfsg2-6_arm64.deb'. +dpkg-deb: building package 'mazeofgalious-dbgsym' in '../mazeofgalious-dbgsym_0.62.dfsg2-6_arm64.deb'. dpkg-deb: building package 'mazeofgalious-data' in '../mazeofgalious-data_0.62.dfsg2-6_all.deb'. dpkg-genbuildinfo --build=binary -O../mazeofgalious_0.62.dfsg2-6_arm64.buildinfo dpkg-genchanges --build=binary -O../mazeofgalious_0.62.dfsg2-6_arm64.changes @@ -3299,12 +3335,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/966450/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/966450/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/3804167 and its subdirectories -I: Current time: Fri Apr 17 20:43:39 -12 2026 -I: pbuilder-time-stamp: 1776501819 +I: removing directory /srv/workspace/pbuilder/966450 and its subdirectories +I: Current time: Sun Mar 16 16:21:48 +14 2025 +I: pbuilder-time-stamp: 1742091708