Diff of the two buildlogs: -- --- b1/build.log 2024-10-31 06:28:10.677143585 +0000 +++ b2/build.log 2024-10-31 06:29:55.385407856 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Dec 3 00:47:55 -12 2025 -I: pbuilder-time-stamp: 1764766075 +I: Current time: Thu Oct 31 20:28:14 +14 2024 +I: pbuilder-time-stamp: 1730356094 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,86 @@ 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/120357/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/33804/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 31 06:28 /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/33804/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/33804/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='7ce571f7b6c8422088e8c90bdaf29de2' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='120357' - PS1='# ' - PS2='> ' + INVOCATION_ID=239f191a59f34251b64f5cc3ff8bb766 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=33804 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.5OcRYb8b/pbuilderrc_BbFd --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.5OcRYb8b/b1 --logfile b1/build.log mazeofgalious_0.62.dfsg2-5.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.5OcRYb8b/pbuilderrc_lgTG --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.5OcRYb8b/b2 --logfile b2/build.log mazeofgalious_0.62.dfsg2-5.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/120357/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/33804/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -372,7 +404,7 @@ Get: 250 http://deb.debian.org/debian trixie/main i386 libspeex1 i386 1.2.1-2+b2 [53.1 kB] Get: 251 http://deb.debian.org/debian trixie/main i386 libsdl-sound1.2 i386 1.0.3-9+b4 [89.4 kB] Get: 252 http://deb.debian.org/debian trixie/main i386 libsdl-sound1.2-dev i386 1.0.3-9+b4 [108 kB] -Fetched 119 MB in 4s (31.7 MB/s) +Fetched 119 MB in 2s (61.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19956 files and directories currently installed.) @@ -1193,8 +1225,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Dec 3 12:49:09 UTC 2025. -Universal Time is now: Wed Dec 3 12:49:09 UTC 2025. +Local time is now: Thu Oct 31 06:28:58 UTC 2024. +Universal Time is now: Thu Oct 31 06:28:58 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:i386 (1.17.0-2+b1) ... @@ -1415,7 +1447,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-5_source.changes +I: user script /srv/workspace/pbuilder/33804/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/33804/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-5_source.changes dpkg-buildpackage: info: source package mazeofgalious dpkg-buildpackage: info: source version 0.62.dfsg2-5 dpkg-buildpackage: info: source distribution unstable @@ -1425,7 +1461,7 @@ debian/rules clean dh clean dh_auto_clean - make -j22 clean + make -j10 clean make[1]: Entering directory '/build/reproducible-path/mazeofgalious-0.62.dfsg2' rm -f mog mogs rm -f *.o @@ -1437,7 +1473,7 @@ dh_autoreconf dh_auto_configure dh_auto_build -Nmazeofgalious-data - make -j22 "INSTALL=install --strip-program=true" + make -j10 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/mazeofgalious-0.62.dfsg2' c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 main.cpp -o main.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 -Wdate-time -D_FORTIFY_SOURCE=2 gametiles.cpp -o gametiles.o `sdl-config --cflags` @@ -1449,24 +1485,6 @@ c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -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 -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 -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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 line_clip.cpp -o line_clip.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 -Wdate-time -D_FORTIFY_SOURCE=2 path.cpp -o path.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 -Wdate-time -D_FORTIFY_SOURCE=2 sound.cpp -o sound.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 -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 -Wdate-time -D_FORTIFY_SOURCE=2 gameobjects.cpp -o gameobjects.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 -Wdate-time -D_FORTIFY_SOURCE=2 loadpcx.cpp -o loadpcx.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 -Wdate-time -D_FORTIFY_SOURCE=2 roomchange.cpp -o roomchange.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 -Wdate-time -D_FORTIFY_SOURCE=2 debug-report.cpp -o debug-report.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 -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++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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++ @@ -1492,78 +1510,6 @@ passwords.cpp:114:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 114 | char *hex="0123456789ABCDEF"; | ^~~~~~~~~~~~~~~~~~ -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/i386-linux-gnu/bits/local_lim.h:38, - from /usr/include/i386-linux-gnu/bits/posix1_lim.h:161, - from /usr/include/dirent.h:235, - from path.cpp:5: -/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); - | ~~~~~^~~~~~~~~ main.cpp:47:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 47 | char *default_g_path="graphics/alternate/"; | ^~~~~~~~~~~~~~~~~~~~~ @@ -1573,11 +1519,295 @@ main.cpp:57:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 57 | char *datadir="/usr/share/games/mazeofgalious/"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +main.cpp: In function 'int main(int, char**)': +main.cpp:188:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 188 | guardar_configuracion("MoG.cfg"); + | ^~~~~~~~~ +main.cpp:201:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 201 | guardar_configuracion("MoG.cfg"); + | ^~~~~~~~~ +main.cpp:209:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 209 | write_debug_report("debug-report.txt"); + | ^~~~~~~~~~~~~~~~~~ +main.cpp:118:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 118 | chdir(confdir); + | ~~~~~^~~~~~~~~ +main.cpp:124:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 124 | chdir(datadir); + | ~~~~~^~~~~~~~~ +main.cpp:187:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 187 | chdir(confdir); + | ~~~~~^~~~~~~~~ +main.cpp:189:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 189 | chdir(datadir); + | ~~~~~^~~~~~~~~ +main.cpp:200:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 200 | chdir(confdir); + | ~~~~~^~~~~~~~~ +main.cpp:202:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 202 | chdir(datadir); + | ~~~~~^~~~~~~~~ +main.cpp:208:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 208 | chdir(confdir); + | ~~~~~^~~~~~~~~ +main.cpp:210:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 210 | chdir(datadir); + | ~~~~~^~~~~~~~~ +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")) || + | ^~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1302:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1302 | tile_print("PRESS A KEY FOR LEFT:",TILE_SIZE_X*2,TILE_SIZE_Y*6,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1307:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1307 | tile_print("PRESS A KEY FOR RIGHT:",TILE_SIZE_X*2,TILE_SIZE_Y*8,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1312:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1312 | tile_print("PRESS A KEY FOR SWORD:",TILE_SIZE_X*2,TILE_SIZE_Y*10,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1327:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1327 | tile_print("PRESS A KEY FOR PAUSE:",TILE_SIZE_X*2,TILE_SIZE_Y*16,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1334:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1334 | tile_print("TO GO TO THE TITTLE SCREEN PRESS: ESC",TILE_SIZE_X*2,TILE_SIZE_Y*18,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1335:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1335 | tile_print("TO EXIT THE GAME PRESS: F12",TILE_SIZE_X*2,TILE_SIZE_Y*19,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1336:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1336 | tile_print("TO CHANGE THE ZOOM: PGUP:PGDN",TILE_SIZE_X*2,TILE_SIZE_Y*20,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1386:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1386 | guardar_configuracion("MoG.cfg"); + | ^~~~~~~~~ +gamecycle.cpp:1414:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1414 | tile_print("POPOLON OUT",TILE_SIZE_X*14,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~ +gamecycle.cpp:1418:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1418 | tile_print("APHRODITE OUT",TILE_SIZE_X*13,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +gamecycle.cpp:1422:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1422 | tile_print("GAME OVER",TILE_SIZE_X*15,TILE_SIZE_Y*12,screen,dx,dy); + | ^~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~ +gamecycle.cpp:1569:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1569 | Sound_create_music("castle",0,0); + | ^~~~~~~~ +gamecycle.cpp:1612:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1612 | tile_print2("YOMAR",GAME_VIEW_X+TILE_SIZE_X*13+TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~ +gamecycle.cpp:1614:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1614 | tile_print2("ELOHIM",GAME_VIEW_X+TILE_SIZE_X*13,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~~ +gamecycle.cpp:1616:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1616 | tile_print2("HAHAKLA",GAME_VIEW_X+TILE_SIZE_X*13-TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~~~ +gamecycle.cpp:1618:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1618 | tile_print2("BARECHET",GAME_VIEW_X+TILE_SIZE_X*12,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~~~~ +gamecycle.cpp:1620:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1620 | tile_print2("HEOTYMEO",GAME_VIEW_X+TILE_SIZE_X*12,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~~~~ +gamecycle.cpp:1622:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1622 | tile_print2("LEPHA",GAME_VIEW_X+TILE_SIZE_X*13+TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~ +gamecycle.cpp:1624:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1624 | tile_print2("NAWABRA",GAME_VIEW_X+TILE_SIZE_X*12+TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~~~ +gamecycle.cpp:1626:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1626 | tile_print2("ASCHER",GAME_VIEW_X+TILE_SIZE_X*13,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~~ +gamecycle.cpp:1628:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1628 | tile_print2("XYWOLEH",GAME_VIEW_X+TILE_SIZE_X*12+TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~~~ +gamecycle.cpp:1630:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1630 | tile_print2("HAMALECH",GAME_VIEW_X+TILE_SIZE_X*12,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); + | ^~~~~~~~~~ +gamecycle.cpp:1670:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1670 | tile_print("h F5 TO F9",TILE_SIZE_X*9,TILE_SIZE_Y*2,screen,dx,dy); + | ^~~~~~~~~~~~ +gamecycle.cpp:1672:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1672 | tile_print("ENTER THE SECRET",TILE_SIZE_X*9,TILE_SIZE_Y*4,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~ +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); + | ^~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1891:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1891 | tile_print("CODE",TILE_SIZE_X*9,TILE_SIZE_Y*19,screen,dx,dy); + | ^~~~~~ +gamecycle.cpp:1895:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1895 | tile_print("MY MEMORY HAS BEEN",TILE_SIZE_X*9,TILE_SIZE_Y*17,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1896:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1896 | tile_print("BROUGHT BACK!",TILE_SIZE_X*9,TILE_SIZE_Y*18,screen,dx,dy); + | ^~~~~~~~~~~~~~~ +gamecycle.cpp:1897:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1897 | tile_print("DEFEAT GALIOUS AND",TILE_SIZE_X*9,TILE_SIZE_Y*19,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1898:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1898 | tile_print("SAVE PAMPERSE AS",TILE_SIZE_X*9,TILE_SIZE_Y*20,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:1899:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1899 | tile_print("SOON AS POSSIBLE! GO!",TILE_SIZE_X*9,TILE_SIZE_Y*21,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1929:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:107: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1929:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gamecycle.cpp:1934:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1934 | tile_print("START ROOM:",TILE_SIZE_X*9,TILE_SIZE_Y*2,screen,dx,dy); + | ^~~~~~~~~~~~~ +gamecycle.cpp:1968:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1968 | tile_print("PRESS SPACE TO START",TILE_SIZE_X*9,TILE_SIZE_Y*8,screen,dx,dy); + | ^~~~~~~~~~~~~~~~~~~~~~ +demons.cpp: In function 'void load_demon1()': +demons.cpp:394:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 394 | demon_bmp=load_bitmap("demon1.pcx"); + | ^~~~~~~~~~~~ +gamecycle.cpp:1976:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1976 | tile_print("NOT VALID ROOM",TILE_SIZE_X*9,TILE_SIZE_Y*8,screen,dx,dy); + | ^~~~~~~~~~~~~~~~ +demons.cpp:395:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 395 | back_bmp=load_bitmap("back1.pcx"); + | ^~~~~~~~~~~ +gamecycle.cpp:1996:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1996 | " STORY", + | ^~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1997:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1997 | "POPOLON WENT INTO MT.ATOS TO", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1998:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1998 | "RESCUE APHRODITE KIDNAPPED", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:1999:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1999 | "BY HUDNOS. BUT IT WAS A TRAP", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2000:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2000 | "MADE BY GALIOUS. HE ATTACKED", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2001:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2001 | "THE CASTLE DURING POPOLON'S", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2002:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2002 | "ABSENCE AND ALSO KIDNAPPED", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2003:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2003 | "AND IMPRISONED A BABY FROM", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2004:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2004 | "THE HEAVEN WHO WAS SUPPOSED", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2005:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2005 | "TO BE BORN TO POPOLON AND", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2006:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2006 | "APHRODITE SEVERAL YEARS", + | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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"}; @@ -1588,9 +1818,15 @@ 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"}; | ^~~~~ +gamecycle.cpp:2007:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2007 | "LATER..."}; + | ^~~~~~~~~~ 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"}; | ^~~~~ +gamecycle.cpp:2011:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2011 | Sound_create_music("story",0,0); + | ^~~~~~~ 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"}; | ^~~~~ @@ -1609,13 +1845,366 @@ 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"}; | ^~~~~ +demons.cpp: In function 'void demon1_cycle()': +demons.cpp:441:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 441 | Sound_subst_music_now("demon-fast"); + | ^~~~~~~~~~~~ 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"}; | ^~~~~ +demons.cpp:445:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 445 | Sound_subst_music_now("demon-vfast"); + | ^~~~~~~~~~~~~ +demons.cpp: In function 'void load_demon2()': +demons.cpp:555:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 555 | demon_bmp=load_bitmap("demon2.pcx"); + | ^~~~~~~~~~~~ +demons.cpp:556:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 556 | back_bmp=load_bitmap("back2.pcx"); + | ^~~~~~~~~~~ +gamecycle.cpp:2174:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2174 | " EPILOGUE", + | ^~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2175:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2175 | "THANKS TO YOU,THE BABY WAS", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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.", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +demons.cpp: In function 'void demon2_cycle()': +demons.cpp:587:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 587 | Sound_subst_music_now("demon-fast"); + | ^~~~~~~~~~~~ +demons.cpp:591:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 591 | Sound_subst_music_now("demon-vfast"); + | ^~~~~~~~~~~~~ +gamecycle.cpp:2178:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2178 | "POPOLON WAS AWARDED THE", + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2179:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2179 | "CROWN FOR HIS ACHIEVEMENT.IT", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2182:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2182 | "AS HIS WIFE FOR THE REST OF", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2183:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2183 | "THEIR LIVES.THIS LEGEND WILL", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +demons.cpp: In function 'void load_demon3()': +demons.cpp:635:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 635 | demon_bmp=load_bitmap("demon3.pcx"); + | ^~~~~~~~~~~~ +demons.cpp:636:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 636 | back_bmp=load_bitmap("back3.pcx"); + | ^~~~~~~~~~~ +gamecycle.cpp:2184:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2184 | "BE TOLD AGAIN WHEN THEY ARE", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2185:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2185 | "APT TO LOSE BELIEF IN LOVE.", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2186:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2186 | "", + | ^~ +gamecycle.cpp:2187:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2187 | "", + | ^~ +gamecycle.cpp:2188:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2188 | "", + | ^~ +gamecycle.cpp:2189:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2189 | "", + | ^~ +gamecycle.cpp:2190:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2190 | "", + | ^~ +gamecycle.cpp:2191:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2191 | "", + | ^~ +gamecycle.cpp:2192:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2192 | "", + | ^~ +gamecycle.cpp:2193:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2193 | "", + | ^~ +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 | "", + | ^~ +gamecycle.cpp:2196:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2196 | " MAIN PROGRAMMER", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +demons.cpp: In function 'void demon3_cycle()': +demons.cpp:670:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 670 | Sound_subst_music_now("demon-fast"); + | ^~~~~~~~~~~~ +demons.cpp:674:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 674 | Sound_subst_music_now("demon-vfast"); + | ^~~~~~~~~~~~~ +gamecycle.cpp:2197:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2197 | " Y.HARUKI", + | ^~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2198:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2198 | "", + | ^~ +gamecycle.cpp:2199:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2199 | " SUB PROGRAMMER", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2200:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2200 | " I.AKADA", + | ^~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2201:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2201 | " M.OZAWA", + | ^~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2202:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2202 | " T.OKA", + | ^~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2203:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2203 | " Y.HIRONAKA", + | ^~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2204:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2204 | " K.OZAWA", + | ^~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2205:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2205 | " S.YOSHINAWA", + | ^~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2206:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2206 | "", + | ^~ +gamecycle.cpp:2207:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2207 | " GRAPHIC DESIGNER", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2208:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2208 | " R.SHOGAKI", + | ^~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2209:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2209 | " C.TANIGAKI", + | ^~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2210:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2210 | " T.MIYOSHI", + | ^~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2211:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2211 | " K.SHIRAKAGI", + | ^~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2212:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2212 | "", + | ^~ +gamecycle.cpp:2213:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2213 | " SOUND CREATOR", + | ^~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2214:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2214 | " K.UEHARA", + | ^~~~~~~~~~~~~~~~~~~~ +demons.cpp: In function 'void load_demon4()': +demons.cpp:780:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 780 | demon_bmp=load_bitmap("demon4.pcx"); + | ^~~~~~~~~~~~ +demons.cpp:781:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 781 | back_bmp=load_bitmap("back4.pcx"); + | ^~~~~~~~~~~ +gamecycle.cpp:2215:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2215 | "", + | ^~ +gamecycle.cpp:2216:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2216 | "", + | ^~ +gamecycle.cpp:2217:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2217 | " PLANNER AND DIRECTOR", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +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 | "", + | ^~ +gamecycle.cpp:2220:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2220 | "", + | ^~ +gamecycle.cpp:2221:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2221 | "", + | ^~ +gamecycle.cpp:2222:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2222 | "", + | ^~ +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"); + | ^~~~~~~~~~~~ +demons.cpp:813:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 813 | Sound_subst_music_now("demon-vfast"); + | ^~~~~~~~~~~~~ +gamecycle.cpp:2223:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2223 | " WE PROMISE TO CONTINUE", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2224:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2224 | " SENDING ROMANTIC GAME", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +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 | "", + | ^~ +gamecycle.cpp:2227:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2227 | " THANK YOU VERY MUCH", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2228:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2228 | " FOR YOUR JOINING IN", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2229:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2229 | " THIS STORY.", + | ^~~~~~~~~~~~~~~~ +gamecycle.cpp:2230:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2230 | "", + | ^~ +gamecycle.cpp:2231:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2231 | "", + | ^~ +gamecycle.cpp:2232:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2232 | "", + | ^~ +gamecycle.cpp:2233:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2233 | "", + | ^~ +gamecycle.cpp:2234:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2234 | "", + | ^~ +gamecycle.cpp:2235:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2235 | "", + | ^~ +gamecycle.cpp:2236:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2236 | "", + | ^~ +gamecycle.cpp:2237:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2237 | " PRESENTED ", + | ^~~~~~~~~~~~~~~~ +gamecycle.cpp:2238:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2238 | " ORIGINALLY AT 1987", + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2239:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2239 | "", + | ^~ +gamecycle.cpp:2240:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2240 | " REMAKE PRESENTED BY ", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +gamecycle.cpp:2241:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2241 | " SANTI ONTAŅON AT 2002"}; + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~ +demons.cpp:923:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 923 | back_bmp=load_bitmap("back5.pcx"); + | ^~~~~~~~~~~ +gamecycle.cpp:2270:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:105: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2270:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; + | ^~~ +gamecycle.cpp:2277:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2277 | tile_print("OPTIONS MENU",TILE_SIZE_X*14,TILE_SIZE_Y*2,screen,dx,dy); + | ^~~~~~~~~~~~~~ +gamecycle.cpp:2278:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2278 | tile_print("QUIT GAME",TILE_SIZE_X*15,TILE_SIZE_Y*5,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"); + | ^~~~~~~~~~~~ +demons.cpp:978:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 978 | Sound_subst_music_now("demon-vfast"); + | ^~~~~~~~~~~~~ +gamecycle.cpp:2291:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2291 | guardar_configuracion("MoG.cfg"); + | ^~~~~~~~~ +gamecycle.cpp:2302:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 2302 | guardar_configuracion("MoG.cfg"); + | ^~~~~~~~~ +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"); + | ^~~~~~~~~~~~ +demons.cpp:1058:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1058 | back_bmp=load_bitmap("back6.pcx"); + | ^~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~ +demons.cpp:1092:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1092 | Sound_subst_music_now("demon-vfast"); + | ^~~~~~~~~~~~~ +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"); + | ^~~~~~~~~~~~ +demons.cpp:1209:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1209 | back_bmp=load_bitmap("back7.pcx"); + | ^~~~~~~~~~~ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 gameinteractions.cpp -o gameinteractions.o `sdl-config --cflags` +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"); + | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~ +demons.cpp:1250:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1250 | Sound_subst_music_now("demon-vfast"); + | ^~~~~~~~~~~~~ gameaux.cpp:3083:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3083 | S_jump=Sound_create_sound("jump",0); | ^~~~~~ @@ -1694,9 +2283,16 @@ gameaux.cpp:3108:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3108 | S_nocoins=Sound_create_sound("nocoins",0); | ^~~~~~~~~ +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"); + | ^~~~~~~~~~~~ gameaux.cpp:3109:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3109 | S_stones=Sound_create_sound("stones",0); | ^~~~~~~~ +demons.cpp:1394:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1394 | back_bmp=load_bitmap("back8.pcx"); + | ^~~~~~~~~~~ gameaux.cpp:3110:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3110 | S_blob=Sound_create_sound("blob",0); | ^~~~~~ @@ -1745,6 +2341,10 @@ gameaux.cpp:3125:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3125 | S_fireball=Sound_create_sound("fireball",0); | ^~~~~~~~~~ +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"); + | ^~~~~~~~~~~~ gameaux.cpp:3126:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3126 | S_fireball2=Sound_create_sound("fireball2",0); | ^~~~~~~~~~~ @@ -1754,6 +2354,9 @@ gameaux.cpp:3128:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3128 | S_door2=Sound_create_sound("door2",0); | ^~~~~~~ +demons.cpp:1426:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1426 | Sound_subst_music_now("demon-vfast"); + | ^~~~~~~~~~~~~ gameaux.cpp:3129:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3129 | S_demonhit=Sound_create_sound("demon_hit",0); | ^~~~~~~~~~~ @@ -1814,452 +2417,13 @@ gameaux.cpp:3148:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 3148 | S_lightning=Sound_create_sound("lightning",0); | ^~~~~~~~~~~ -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); - | ~~~~~^~~~~~~~~ -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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1726:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1726 | fscanf(fp,"%i",&(room_tiles[i])); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1730:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1730 | fscanf(fp,"%i",&n_objects); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1748:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1748 | fscanf(fp,"%s",buffer); - | ~~~~~~^~~~~~~~~~~~~~~~ -gameaux.cpp:1751:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1751 | fscanf(fp,"%i %i %i %i",&(object[i].x),&(object[i].y),&(object[i].size),&(object[i].state)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1756:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1756 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state2)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1761:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1761 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1774:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1774 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1789:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1789 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~^~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1853:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1853 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1866:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1866 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1875:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1875 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1885:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1885 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state3)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1896:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1896 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1908:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1908 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1920:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1920 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1933:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1933 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1945:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1945 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1957:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1957 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1968:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1968 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1979:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1979 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:1991:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1991 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2006:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2006 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2020:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2020 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2034:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2034 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2048:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2048 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state2)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2059:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2059 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2071:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2071 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2084:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2084 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2097:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2097 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2110:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2110 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2123:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2123 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2135:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2135 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2147:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2147 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2156:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2156 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2169:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2169 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2179:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2179 | fscanf(fp,"%i %i %i %i",&(object[i].x),&(object[i].y),&(object[i].state),&(object[i].state2)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2194:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2194 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2206:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2206 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2218:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2218 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2230:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2230 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2242:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2242 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2254:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2254 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2266:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2266 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2278:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2278 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2290:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2290 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2302:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2302 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state3)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2336:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2336 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2348:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2348 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2360:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2360 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2373:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2373 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2412:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2412 | fscanf(fp,"%i %i",&fairy_x,&fairy_y); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp:2426:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2426 | fscanf(fp,"%i %i",&room_appearwall_x,&room_appearwall_y); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gameaux.cpp: In function 'bool cargar_configuracion(char*)': -gameaux.cpp:2592:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2592 | fscanf(fp,"%s",tmp); - | ~~~~~~^~~~~~~~~~~~~ -gameaux.cpp:2604:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2604 | fscanf(fp,"%s",tmp); - | ~~~~~~^~~~~~~~~~~~~ -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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -main.cpp: In function 'int main(int, char**)': -main.cpp:188:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 188 | guardar_configuracion("MoG.cfg"); - | ^~~~~~~~~ -main.cpp:201:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 201 | guardar_configuracion("MoG.cfg"); - | ^~~~~~~~~ -main.cpp:209:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 209 | write_debug_report("debug-report.txt"); - | ^~~~~~~~~~~~~~~~~~ -main.cpp:118:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 118 | chdir(confdir); - | ~~~~~^~~~~~~~~ -main.cpp:124:14: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 124 | chdir(datadir); - | ~~~~~^~~~~~~~~ -main.cpp:187:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 187 | chdir(confdir); - | ~~~~~^~~~~~~~~ -main.cpp:189:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 189 | chdir(datadir); - | ~~~~~^~~~~~~~~ -main.cpp:200:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 200 | chdir(confdir); - | ~~~~~^~~~~~~~~ -main.cpp:202:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 202 | chdir(datadir); - | ~~~~~^~~~~~~~~ -main.cpp:208:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 208 | chdir(confdir); - | ~~~~~^~~~~~~~~ -main.cpp:210:54: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 210 | chdir(datadir); - | ~~~~~^~~~~~~~~ -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"); - | ^~~~~~~~~~ -roomchange.cpp:233:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 233 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:233:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 233 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:242:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 242 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~~ -roomchange.cpp:242:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 242 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:242:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 242 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:250:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 250 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~~ -roomchange.cpp:250:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 250 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:250:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 250 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:259:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 259 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~~ -roomchange.cpp:259:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 259 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:259:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 259 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:272:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 272 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~~ -roomchange.cpp:272:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 272 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:272:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 272 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:281:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 281 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~~ -roomchange.cpp:281:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 281 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:281:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 281 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:290:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 290 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~~ -roomchange.cpp:290:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 290 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:290:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 290 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:299:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 299 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~~ -roomchange.cpp:299:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 299 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:299:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 299 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:308:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 308 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~~ -roomchange.cpp:308:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 308 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:308:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 308 | Sound_create_music("entering","shrine1","shrine2"); - | ^~~~~~~~~ -roomchange.cpp:475:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 475 | Sound_create_music("demonroom2","demonroom1",0); - | ^~~~~~~~~~~~ -roomchange.cpp:475:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 475 | Sound_create_music("demonroom2","demonroom1",0); - | ^~~~~~~~~~~~ -demons.cpp: In function 'void load_demon1()': -demons.cpp:394:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 394 | demon_bmp=load_bitmap("demon1.pcx"); - | ^~~~~~~~~~~~ -demons.cpp:395:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 395 | back_bmp=load_bitmap("back1.pcx"); - | ^~~~~~~~~~~ -demons.cpp: In function 'void demon1_cycle()': -demons.cpp:441:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 441 | Sound_subst_music_now("demon-fast"); - | ^~~~~~~~~~~~ -demons.cpp:445:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 445 | Sound_subst_music_now("demon-vfast"); - | ^~~~~~~~~~~~~ -demons.cpp: In function 'void load_demon2()': -demons.cpp:555:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 555 | demon_bmp=load_bitmap("demon2.pcx"); - | ^~~~~~~~~~~~ -demons.cpp:556:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 556 | back_bmp=load_bitmap("back2.pcx"); - | ^~~~~~~~~~~ -demons.cpp: In function 'void demon2_cycle()': -demons.cpp:587:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 587 | Sound_subst_music_now("demon-fast"); - | ^~~~~~~~~~~~ -demons.cpp:591:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 591 | Sound_subst_music_now("demon-vfast"); - | ^~~~~~~~~~~~~ -demons.cpp: In function 'void load_demon3()': -demons.cpp:635:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 635 | demon_bmp=load_bitmap("demon3.pcx"); - | ^~~~~~~~~~~~ -demons.cpp:636:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 636 | back_bmp=load_bitmap("back3.pcx"); - | ^~~~~~~~~~~ -demons.cpp: In function 'void demon3_cycle()': -demons.cpp:670:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 670 | Sound_subst_music_now("demon-fast"); - | ^~~~~~~~~~~~ -demons.cpp:674:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 674 | Sound_subst_music_now("demon-vfast"); - | ^~~~~~~~~~~~~ -demons.cpp: In function 'void load_demon4()': -demons.cpp:780:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 780 | demon_bmp=load_bitmap("demon4.pcx"); - | ^~~~~~~~~~~~ -demons.cpp:781:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 781 | back_bmp=load_bitmap("back4.pcx"); - | ^~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~ -demons.cpp:813:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 813 | Sound_subst_music_now("demon-vfast"); - | ^~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~ -demons.cpp:923:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 923 | back_bmp=load_bitmap("back5.pcx"); - | ^~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~ -demons.cpp:978:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 978 | Sound_subst_music_now("demon-vfast"); - | ^~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~ -demons.cpp:1058:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1058 | back_bmp=load_bitmap("back6.pcx"); - | ^~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~ -demons.cpp:1092:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1092 | Sound_subst_music_now("demon-vfast"); - | ^~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~ -demons.cpp:1209:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1209 | back_bmp=load_bitmap("back7.pcx"); - | ^~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~ -demons.cpp:1250:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1250 | Sound_subst_music_now("demon-vfast"); - | ^~~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~~ -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: 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"); + | ^~~~~~~~~~~~ +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: 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"); - | ^~~~~~~~~~~~ -demons.cpp:1426:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1426 | Sound_subst_music_now("demon-vfast"); - | ^~~~~~~~~~~~~ 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"); @@ -2267,6 +2431,21 @@ demons.cpp:1559:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1559 | back_bmp=load_bitmap("back9.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"); + | ^~~~~~~~~~~ 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"); @@ -2288,28 +2467,7 @@ demons.cpp:1706:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1706 | 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"); - | ^~~~~~~~~~~~ -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"); - | ^~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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); @@ -2317,10 +2475,6 @@ 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); | ^~~~~~~~~ -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"))) { - | ^~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~ @@ -2639,9 +2793,6 @@ 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); | ^~~~~~~~~~~~~~~~ -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: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); | ^~~~~~~~~~~~~~~~~~~~ @@ -2684,523 +2835,218 @@ 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: 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")) || - | ^~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1302:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1302 | tile_print("PRESS A KEY FOR LEFT:",TILE_SIZE_X*2,TILE_SIZE_Y*6,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1307:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1307 | tile_print("PRESS A KEY FOR RIGHT:",TILE_SIZE_X*2,TILE_SIZE_Y*8,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1312:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1312 | tile_print("PRESS A KEY FOR SWORD:",TILE_SIZE_X*2,TILE_SIZE_Y*10,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1327:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1327 | tile_print("PRESS A KEY FOR PAUSE:",TILE_SIZE_X*2,TILE_SIZE_Y*16,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1334:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1334 | tile_print("TO GO TO THE TITTLE SCREEN PRESS: ESC",TILE_SIZE_X*2,TILE_SIZE_Y*18,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1335:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1335 | tile_print("TO EXIT THE GAME PRESS: F12",TILE_SIZE_X*2,TILE_SIZE_Y*19,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1336:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1336 | tile_print("TO CHANGE THE ZOOM: PGUP:PGDN",TILE_SIZE_X*2,TILE_SIZE_Y*20,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1386:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1386 | guardar_configuracion("MoG.cfg"); - | ^~~~~~~~~ -gamecycle.cpp:1414:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1414 | tile_print("POPOLON OUT",TILE_SIZE_X*14,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~ -gamecycle.cpp:1418:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1418 | tile_print("APHRODITE OUT",TILE_SIZE_X*13,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -gamecycle.cpp:1422:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1422 | tile_print("GAME OVER",TILE_SIZE_X*15,TILE_SIZE_Y*12,screen,dx,dy); - | ^~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~ -gamecycle.cpp:1569:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1569 | Sound_create_music("castle",0,0); - | ^~~~~~~~ -gamecycle.cpp:1612:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1612 | tile_print2("YOMAR",GAME_VIEW_X+TILE_SIZE_X*13+TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~ -gamecycle.cpp:1614:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1614 | tile_print2("ELOHIM",GAME_VIEW_X+TILE_SIZE_X*13,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~~ -gamecycle.cpp:1616:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1616 | tile_print2("HAHAKLA",GAME_VIEW_X+TILE_SIZE_X*13-TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~~~ -gamecycle.cpp:1618:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1618 | tile_print2("BARECHET",GAME_VIEW_X+TILE_SIZE_X*12,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~~~~ -gamecycle.cpp:1620:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1620 | tile_print2("HEOTYMEO",GAME_VIEW_X+TILE_SIZE_X*12,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~~~~ -gamecycle.cpp:1622:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1622 | tile_print2("LEPHA",GAME_VIEW_X+TILE_SIZE_X*13+TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~ -gamecycle.cpp:1624:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1624 | tile_print2("NAWABRA",GAME_VIEW_X+TILE_SIZE_X*12+TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~~~ -gamecycle.cpp:1626:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1626 | tile_print2("ASCHER",GAME_VIEW_X+TILE_SIZE_X*13,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~~ -gamecycle.cpp:1628:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1628 | tile_print2("XYWOLEH",GAME_VIEW_X+TILE_SIZE_X*12+TILE_SIZE_X/2,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~~~ -gamecycle.cpp:1630:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1630 | tile_print2("HAMALECH",GAME_VIEW_X+TILE_SIZE_X*12,GAME_VIEW_Y+TILE_SIZE_Y*6+TILE_SIZE_Y/2,screen,dx,dy); - | ^~~~~~~~~~ -gamecycle.cpp:1670:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1670 | tile_print("h F5 TO F9",TILE_SIZE_X*9,TILE_SIZE_Y*2,screen,dx,dy); - | ^~~~~~~~~~~~ -gamecycle.cpp:1672:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1672 | tile_print("ENTER THE SECRET",TILE_SIZE_X*9,TILE_SIZE_Y*4,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~ -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); - | ^~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1891:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1891 | tile_print("CODE",TILE_SIZE_X*9,TILE_SIZE_Y*19,screen,dx,dy); - | ^~~~~~ -gamecycle.cpp:1895:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1895 | tile_print("MY MEMORY HAS BEEN",TILE_SIZE_X*9,TILE_SIZE_Y*17,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1896:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1896 | tile_print("BROUGHT BACK!",TILE_SIZE_X*9,TILE_SIZE_Y*18,screen,dx,dy); - | ^~~~~~~~~~~~~~~ -gamecycle.cpp:1897:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1897 | tile_print("DEFEAT GALIOUS AND",TILE_SIZE_X*9,TILE_SIZE_Y*19,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1898:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1898 | tile_print("SAVE PAMPERSE AS",TILE_SIZE_X*9,TILE_SIZE_Y*20,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1899:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1899 | tile_print("SOON AS POSSIBLE! GO!",TILE_SIZE_X*9,TILE_SIZE_Y*21,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1929:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:107: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1929:113: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1929 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gamecycle.cpp:1934:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1934 | tile_print("START ROOM:",TILE_SIZE_X*9,TILE_SIZE_Y*2,screen,dx,dy); - | ^~~~~~~~~~~~~ -gamecycle.cpp:1968:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1968 | tile_print("PRESS SPACE TO START",TILE_SIZE_X*9,TILE_SIZE_Y*8,screen,dx,dy); - | ^~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1976:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1976 | tile_print("NOT VALID ROOM",TILE_SIZE_X*9,TILE_SIZE_Y*8,screen,dx,dy); - | ^~~~~~~~~~~~~~~~ -gamecycle.cpp:1996:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1996 | " STORY", - | ^~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1997:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1997 | "POPOLON WENT INTO MT.ATOS TO", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1998:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1998 | "RESCUE APHRODITE KIDNAPPED", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:1999:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1999 | "BY HUDNOS. BUT IT WAS A TRAP", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2000:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2000 | "MADE BY GALIOUS. HE ATTACKED", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2001:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2001 | "THE CASTLE DURING POPOLON'S", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2002:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2002 | "ABSENCE AND ALSO KIDNAPPED", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2003:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2003 | "AND IMPRISONED A BABY FROM", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2004:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2004 | "THE HEAVEN WHO WAS SUPPOSED", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2005:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2005 | "TO BE BORN TO POPOLON AND", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2006:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2006 | "APHRODITE SEVERAL YEARS", - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2007:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2007 | "LATER..."}; - | ^~~~~~~~~~ -gamecycle.cpp:2011:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2011 | Sound_create_music("story",0,0); - | ^~~~~~~ -gamecycle.cpp:2174:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2174 | " EPILOGUE", - | ^~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2175:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2175 | "THANKS TO YOU,THE BABY WAS", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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.", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2178:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2178 | "POPOLON WAS AWARDED THE", - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2179:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2179 | "CROWN FOR HIS ACHIEVEMENT.IT", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2182:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2182 | "AS HIS WIFE FOR THE REST OF", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2185:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2185 | "APT TO LOSE BELIEF IN LOVE.", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2186:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2186 | "", - | ^~ -gamecycle.cpp:2187:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2187 | "", - | ^~ -gamecycle.cpp:2188:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2188 | "", - | ^~ -gamecycle.cpp:2189:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2189 | "", - | ^~ -gamecycle.cpp:2190:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2190 | "", - | ^~ -gamecycle.cpp:2191:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2191 | "", - | ^~ -gamecycle.cpp:2192:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2192 | "", - | ^~ -gamecycle.cpp:2193:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2193 | "", - | ^~ -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 | "", - | ^~ -gamecycle.cpp:2196:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2196 | " MAIN PROGRAMMER", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2197:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2197 | " Y.HARUKI", - | ^~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2198:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2198 | "", - | ^~ -gamecycle.cpp:2199:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2199 | " SUB PROGRAMMER", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2200:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2200 | " I.AKADA", - | ^~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2201:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2201 | " M.OZAWA", - | ^~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2202:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2202 | " T.OKA", - | ^~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2203:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2203 | " Y.HIRONAKA", - | ^~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2204:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2204 | " K.OZAWA", - | ^~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2205:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2205 | " S.YOSHINAWA", - | ^~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2206:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2206 | "", - | ^~ -gamecycle.cpp:2207:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2207 | " GRAPHIC DESIGNER", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2208:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2208 | " R.SHOGAKI", - | ^~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2209:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2209 | " C.TANIGAKI", - | ^~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2210:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2210 | " T.MIYOSHI", - | ^~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2211:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2211 | " K.SHIRAKAGI", - | ^~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2212:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2212 | "", - | ^~ -gamecycle.cpp:2213:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2213 | " SOUND CREATOR", - | ^~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2214:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2214 | " K.UEHARA", - | ^~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2215:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2215 | "", - | ^~ -gamecycle.cpp:2216:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2216 | "", - | ^~ -gamecycle.cpp:2217:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2217 | " PLANNER AND DIRECTOR", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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 | "", - | ^~ -gamecycle.cpp:2220:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2220 | "", - | ^~ -gamecycle.cpp:2221:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2221 | "", - | ^~ -gamecycle.cpp:2222:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2222 | "", - | ^~ -gamecycle.cpp:2223:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2223 | " WE PROMISE TO CONTINUE", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2224:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2224 | " SENDING ROMANTIC GAME", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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 | "", - | ^~ -gamecycle.cpp:2227:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2227 | " THANK YOU VERY MUCH", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2228:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2228 | " FOR YOUR JOINING IN", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2229:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2229 | " THIS STORY.", - | ^~~~~~~~~~~~~~~~ -gamecycle.cpp:2230:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2230 | "", - | ^~ -gamecycle.cpp:2231:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2231 | "", - | ^~ -gamecycle.cpp:2232:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2232 | "", - | ^~ -gamecycle.cpp:2233:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2233 | "", - | ^~ -gamecycle.cpp:2234:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2234 | "", - | ^~ -gamecycle.cpp:2235:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2235 | "", - | ^~ -gamecycle.cpp:2236:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2236 | "", - | ^~ -gamecycle.cpp:2237:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2237 | " PRESENTED ", - | ^~~~~~~~~~~~~~~~ -gamecycle.cpp:2238:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2238 | " ORIGINALLY AT 1987", - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2239:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2239 | "", - | ^~ -gamecycle.cpp:2240:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2240 | " REMAKE PRESENTED BY ", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2241:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2241 | " SANTI ONTAŅON AT 2002"}; - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -gamecycle.cpp:2270:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:72: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:105: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2270:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2270 | char *letter[15]={"A","B","C","D","E", "F","G","H","I","J", "K","L","M","N","O"}; - | ^~~ -gamecycle.cpp:2277:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2277 | tile_print("OPTIONS MENU",TILE_SIZE_X*14,TILE_SIZE_Y*2,screen,dx,dy); - | ^~~~~~~~~~~~~~ -gamecycle.cpp:2278:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2278 | tile_print("QUIT GAME",TILE_SIZE_X*15,TILE_SIZE_Y*5,screen,dx,dy); - | ^~~~~~~~~~~ -gamecycle.cpp:2291:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 2291 | guardar_configuracion("MoG.cfg"); - | ^~~~~~~~~ -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); - | ~~~~~^~~~~~~~~ +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); + | ~~~~~^~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1726:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1726 | fscanf(fp,"%i",&(room_tiles[i])); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1730:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1730 | fscanf(fp,"%i",&n_objects); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1748:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1748 | fscanf(fp,"%s",buffer); + | ~~~~~~^~~~~~~~~~~~~~~~ +gameaux.cpp:1751:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1751 | fscanf(fp,"%i %i %i %i",&(object[i].x),&(object[i].y),&(object[i].size),&(object[i].state)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1756:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1756 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state2)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1761:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1761 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1774:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1774 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1789:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1789 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1853:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1853 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1866:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1866 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1875:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1875 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].size)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1885:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1885 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state3)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1896:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1896 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1908:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1908 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1920:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1920 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1933:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1933 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1945:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1945 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1957:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1957 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1968:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1968 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1979:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1979 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:1991:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1991 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2006:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2006 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2020:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2020 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2034:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2034 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2048:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2048 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state2)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2059:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2059 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2071:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2071 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2084:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2084 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2097:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2097 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2110:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2110 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2123:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2123 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2135:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2135 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2147:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2147 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2156:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2156 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2169:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2169 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2179:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2179 | fscanf(fp,"%i %i %i %i",&(object[i].x),&(object[i].y),&(object[i].state),&(object[i].state2)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2194:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2194 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2206:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2206 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2218:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2218 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2230:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2230 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2242:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2242 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2254:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2254 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2266:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2266 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2278:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2278 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2290:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2290 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2302:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2302 | fscanf(fp,"%i %i %i",&(object[i].x),&(object[i].y),&(object[i].state3)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2336:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2336 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2348:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2348 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2360:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2360 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2373:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2373 | fscanf(fp,"%i %i",&(object[i].x),&(object[i].y)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2412:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2412 | fscanf(fp,"%i %i",&fairy_x,&fairy_y); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp:2426:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2426 | fscanf(fp,"%i %i",&room_appearwall_x,&room_appearwall_y); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gameaux.cpp: In function 'bool cargar_configuracion(char*)': +gameaux.cpp:2592:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2592 | fscanf(fp,"%s",tmp); + | ~~~~~~^~~~~~~~~~~~~ +gameaux.cpp:2604:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2604 | fscanf(fp,"%s",tmp); + | ~~~~~~^~~~~~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamecycle.cpp:343:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 343 | chdir(confdir); | ~~~~~^~~~~~~~~ @@ -3234,6 +3080,196 @@ gamecycle.cpp:2303:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2303 | chdir(datadir); | ~~~~~^~~~~~~~~ +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 -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++ +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 -Wdate-time -D_FORTIFY_SOURCE=2 path.cpp -o path.o `sdl-config --cflags` +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")) { + | ^~~~~~~~~~ +path.cpp:13:9: warning: "NAME_MAX" redefined + 13 | #define NAME_MAX 256 + | ^~~~~~~~ +In file included from /usr/include/i386-linux-gnu/bits/local_lim.h:38, + from /usr/include/i386-linux-gnu/bits/posix1_lim.h:161, + from /usr/include/dirent.h:235, + from path.cpp:5: +/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 */ + | ^~~~~~~~ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 sound.cpp -o sound.o `sdl-config --cflags` +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +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 -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++ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 gameobjects.cpp -o gameobjects.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 -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 -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 -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++ +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"); + | ^~~~~~~~~~ +roomchange.cpp:233:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 233 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:233:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 233 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:242:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 242 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~~ +roomchange.cpp:242:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 242 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:242:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 242 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:250:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 250 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~~ +roomchange.cpp:250:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 250 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:250:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 250 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:259:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 259 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~~ +roomchange.cpp:259:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 259 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:259:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 259 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:272:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 272 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~~ +roomchange.cpp:272:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 272 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:272:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 272 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:281:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 281 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~~ +roomchange.cpp:281:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 281 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:281:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 281 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:290:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 290 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~~ +roomchange.cpp:290:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 290 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:290:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 290 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:299:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 299 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~~ +roomchange.cpp:299:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 299 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:299:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 299 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:308:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 308 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~~ +roomchange.cpp:308:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 308 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:308:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 308 | Sound_create_music("entering","shrine1","shrine2"); + | ^~~~~~~~~ +roomchange.cpp:475:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 475 | Sound_create_music("demonroom2","demonroom1",0); + | ^~~~~~~~~~~~ +roomchange.cpp:475:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 475 | Sound_create_music("demonroom2","demonroom1",0); + | ^~~~~~~~~~~~ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -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++ c++ main.o gametiles.o bitmaps.o gameaux.o gamecycle.o render.o ingamecycle.o passwords.o shrines.o demons.o gameinteractions.o line_clip.o path.o sound.o drawing.o gameobjects.o loadpcx.o roomchange.o debug-report.o keyboard.o -o mog -Wl,-z,relro `sdl-config --libs` -lSDL_image -lSDL_mixer -lSDL_sound -lSDL_sound make[1]: Leaving directory '/build/reproducible-path/mazeofgalious-0.62.dfsg2' dh_auto_test @@ -3273,9 +3309,9 @@ 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-5_i386.deb'. dpkg-deb: building package 'mazeofgalious-data' in '../mazeofgalious-data_0.62.dfsg2-5_all.deb'. dpkg-deb: building package 'mazeofgalious' in '../mazeofgalious_0.62.dfsg2-5_i386.deb'. -dpkg-deb: building package 'mazeofgalious-dbgsym' in '../mazeofgalious-dbgsym_0.62.dfsg2-5_i386.deb'. dpkg-genbuildinfo --build=binary -O../mazeofgalious_0.62.dfsg2-5_i386.buildinfo dpkg-genchanges --build=binary -O../mazeofgalious_0.62.dfsg2-5_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3283,12 +3319,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/33804/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/33804/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/120357 and its subdirectories -I: Current time: Wed Dec 3 00:51:08 -12 2025 -I: pbuilder-time-stamp: 1764766268 +I: removing directory /srv/workspace/pbuilder/33804 and its subdirectories +I: Current time: Thu Oct 31 20:29:54 +14 2024 +I: pbuilder-time-stamp: 1730356194