Diff of the two buildlogs: -- --- b1/build.log 2024-12-05 22:51:09.055652329 +0000 +++ b2/build.log 2024-12-05 22:55:36.919493126 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 5 10:44:26 -12 2024 -I: pbuilder-time-stamp: 1733438666 +I: Current time: Fri Dec 6 12:51:47 +14 2024 +I: pbuilder-time-stamp: 1733439107 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying 02-honor-cflags-and-friends.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/21530/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20980/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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 Dec 5 22:52 /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/20980/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20980/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8f463ba7a2c84a979f72d87d5a31b8e5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='21530' - PS1='# ' - PS2='> ' + INVOCATION_ID=2ebc02b87efd495fb844835cdb98d863 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=20980 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.QJUmd9EQ/pbuilderrc_UWfp --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.QJUmd9EQ/b1 --logfile b1/build.log mazeofgalious_0.62.dfsg2-5.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.QJUmd9EQ/pbuilderrc_gJKj --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.QJUmd9EQ/b2 --logfile b2/build.log mazeofgalious_0.62.dfsg2-5.dsc' + SUDO_GID=112 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff64a 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/21530/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/20980/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -373,7 +405,7 @@ Get: 254 http://deb.debian.org/debian trixie/main armhf libspeex1 armhf 1.2.1-3 [47.3 kB] Get: 255 http://deb.debian.org/debian trixie/main armhf libsdl-sound1.2 armhf 1.0.3-9+b4 [75.7 kB] Get: 256 http://deb.debian.org/debian trixie/main armhf libsdl-sound1.2-dev armhf 1.0.3-9+b4 [91.9 kB] -Fetched 104 MB in 3s (30.4 MB/s) +Fetched 104 MB in 3s (35.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (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 ... 19684 files and directories currently installed.) @@ -1206,8 +1238,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Dec 5 22:47:09 UTC 2024. -Universal Time is now: Thu Dec 5 22:47:09 UTC 2024. +Local time is now: Thu Dec 5 22:53:04 UTC 2024. +Universal Time is now: Thu Dec 5 22:53:04 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:armhf (1.17.0-2+b1) ... @@ -1432,7 +1464,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/20980/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/20980/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 @@ -1442,7 +1478,7 @@ debian/rules clean dh clean dh_auto_clean - make -j5 clean + make -j4 clean make[1]: Entering directory '/build/reproducible-path/mazeofgalious-0.62.dfsg2' rm -f mog mogs rm -f *.o @@ -1454,14 +1490,12 @@ dh_autoreconf dh_auto_configure dh_auto_build -Nmazeofgalious-data - make -j5 "INSTALL=install --strip-program=true" + make -j4 "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 -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 gametiles.cpp -o gametiles.o `sdl-config --cflags` c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 bitmaps.cpp -o bitmaps.o `sdl-config --cflags` c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 gameaux.cpp -o gameaux.o `sdl-config --cflags` -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 gamecycle.cpp -o gamecycle.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++ @@ -1531,8 +1565,460 @@ gametiles.cpp:136:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 136 | final_bmp=load_bitmap("final.pcx"); | ^~~~~~~~~~~ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 render.cpp -o render.o `sdl-config --cflags` +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 gamecycle.cpp -o gamecycle.o `sdl-config --cflags` cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +gameaux.cpp: In function 'void drawstats(unsigned char*, int, int)': +gameaux.cpp:1582:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1582 | tile_print("CASTLE",3*TILE_SIZE_X+GAME_VIEW_X,3*TILE_SIZE_Y,screen,dx,dy); + | ^~~~~~~~ +gameaux.cpp: In function 'bool loadroom(int, int, int)': +gameaux.cpp:1704:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +gameaux.cpp:1704:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; + | ^~~~~ +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); + | ^~~~~~~~~~~ +gameaux.cpp:3083:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3083 | S_jump=Sound_create_sound("jump",0); + | ^~~~~~ +gameaux.cpp:3084:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3084 | S_sword=Sound_create_sound("sword",0); + | ^~~~~~~ +gameaux.cpp:3085:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3085 | S_swordhit=Sound_create_sound("stone_hit",0); + | ^~~~~~~~~~~ +gameaux.cpp:3086:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3086 | S_item=Sound_create_sound("itemget",0); + | ^~~~~~~~~ +gameaux.cpp:3087:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3087 | S_ah=Sound_create_sound("ah",0); + | ^~~~ +gameaux.cpp:3088:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3088 | S_ah2=Sound_create_sound("ah2",0); + | ^~~~~ +gameaux.cpp:3089:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3089 | S_powerup=Sound_create_sound("powerup",0); + | ^~~~~~~~~ +gameaux.cpp:3090:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3090 | S_enemyhit=Sound_create_sound("enemy_hit",0); + | ^~~~~~~~~~~ +gameaux.cpp:3091:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3091 | S_skeletonhit=Sound_create_sound("skeleton_hit",0); + | ^~~~~~~~~~~~~~ +gameaux.cpp:3092:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3092 | S_door=Sound_create_sound("doors",0); + | ^~~~~~~ +gameaux.cpp:3093:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3093 | S_enemykill=Sound_create_sound("enemy_kill",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3094:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3094 | S_ladderdisapear=Sound_create_sound("disappear",0); + | ^~~~~~~~~~~ +gameaux.cpp:3095:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3095 | S_armourhit=Sound_create_sound("sword_armour",0); + | ^~~~~~~~~~~~~~ +gameaux.cpp:3096:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3096 | S_pause=Sound_create_sound("pause",0); + | ^~~~~~~ +gameaux.cpp:3097:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3097 | S_death=Sound_create_sound("death",0); + | ^~~~~~~ +gameaux.cpp:3098:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3098 | S_gameover=Sound_create_sound("game_over",0); + | ^~~~~~~~~~~ +gameaux.cpp:3099:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3099 | S_worldkey=Sound_create_sound("worldkey",0); + | ^~~~~~~~~~ +gameaux.cpp:3100:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3100 | S_entering=Sound_create_sound("entering",0); + | ^~~~~~~~~~ +gameaux.cpp:3101:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3101 | S_enterwater=Sound_create_sound("enterwater",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3102:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3102 | S_select=Sound_create_sound("select",0); + | ^~~~~~~~ +gameaux.cpp:3103:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3103 | S_firearrow=Sound_create_sound("firearrow",0); + | ^~~~~~~~~~~ +gameaux.cpp:3104:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3104 | S_firearrow2=Sound_create_sound("firearrow2",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3105:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3105 | S_fall=Sound_create_sound("fall",0); + | ^~~~~~ +gameaux.cpp:3106:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3106 | S_waterhit=Sound_create_sound("waterhit",0); + | ^~~~~~~~~~ +gameaux.cpp:3107:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3107 | S_lavahit=Sound_create_sound("lavahit",0); + | ^~~~~~~~~ +gameaux.cpp:3108:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3108 | S_nocoins=Sound_create_sound("nocoins",0); + | ^~~~~~~~~ +gameaux.cpp:3109:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3109 | S_stones=Sound_create_sound("stones",0); + | ^~~~~~~~ +gameaux.cpp:3110:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3110 | S_blob=Sound_create_sound("blob",0); + | ^~~~~~ +gameaux.cpp:3111:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3111 | S_shield=Sound_create_sound("shield",0); + | ^~~~~~~~ +gameaux.cpp:3112:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3112 | S_bell=Sound_create_sound("bell",0); + | ^~~~~~ +gameaux.cpp:3113:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3113 | S_flapwings=Sound_create_sound("flapwings",0); + | ^~~~~~~~~~~ +gameaux.cpp:3114:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3114 | S_rotatedoor=Sound_create_sound("rotatedoor",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3115:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3115 | S_demon2ball=Sound_create_sound("demon2ball",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3116:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3116 | S_appearing=Sound_create_sound("appearing",0); + | ^~~~~~~~~~~ +gameaux.cpp:3117:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3117 | S_firebreath=Sound_create_sound("fbreath",0); + | ^~~~~~~~~ +gameaux.cpp:3118:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3118 | S_F1=Sound_create_sound("f1",0); + | ^~~~ +gameaux.cpp:3119:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3119 | S_karrow=Sound_create_sound("knightarrow",0); + | ^~~~~~~~~~~~~ +gameaux.cpp:3120:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3120 | S_jumptree=Sound_create_sound("jumptree",0); + | ^~~~~~~~~~ +gameaux.cpp:3121:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3121 | S_enemybullet=Sound_create_sound("enemybullet",0); + | ^~~~~~~~~~~~~ +gameaux.cpp:3122:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3122 | S_headbullet=Sound_create_sound("headbullet",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3123:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3123 | S_firefire=Sound_create_sound("firefire",0); + | ^~~~~~~~~~ +gameaux.cpp:3124:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3124 | S_dropmine=Sound_create_sound("dropmine",0); + | ^~~~~~~~~~ +gameaux.cpp:3125:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3125 | S_fireball=Sound_create_sound("fireball",0); + | ^~~~~~~~~~ +gameaux.cpp:3126:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3126 | S_fireball2=Sound_create_sound("fireball2",0); + | ^~~~~~~~~~~ +gameaux.cpp:3127:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3127 | S_wdoor=Sound_create_sound("wdoor",0); + | ^~~~~~~ +gameaux.cpp:3128:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3128 | S_door2=Sound_create_sound("door2",0); + | ^~~~~~~ +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); + | ^~~~~~~~~~~ +gameaux.cpp:3130:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3130 | S_bearbullet=Sound_create_sound("bearbullet",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3131:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3131 | S_chickenbomb=Sound_create_sound("chickenbomb",0); + | ^~~~~~~~~~~~~ +gameaux.cpp:3132:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3132 | S_colormonster=Sound_create_sound("colormonster",0); + | ^~~~~~~~~~~~~~ +gameaux.cpp:3133:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3133 | S_waterstone=Sound_create_sound("waterstone",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3134:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3134 | S_demon4jump=Sound_create_sound("demon4jump",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3135:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3135 | S_rockman=Sound_create_sound("rockman",0); + | ^~~~~~~~~ +gameaux.cpp:3136:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3136 | S_mine=Sound_create_sound("mine",0); + | ^~~~~~ +gameaux.cpp:3137:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3137 | S_bible=Sound_create_sound("bible",0); + | ^~~~~~~ +gameaux.cpp:3138:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3138 | S_demon1bones=Sound_create_sound("demon1bones",0); + | ^~~~~~~~~~~~~ +gameaux.cpp:3139:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3139 | S_demon1jump=Sound_create_sound("demon1jump",0); + | ^~~~~~~~~~~~ +gameaux.cpp:3140:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3140 | S_owl=Sound_create_sound("owl",0); + | ^~~~~ +gameaux.cpp:3141:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3141 | S_demon7bullet=Sound_create_sound("demon7bullet",0); + | ^~~~~~~~~~~~~~ +gameaux.cpp:3142:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3142 | S_demon8bullet=Sound_create_sound("demon8bullet",0); + | ^~~~~~~~~~~~~~ +gameaux.cpp:3143:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3143 | S_flamebullet=Sound_create_sound("flamebullet",0); + | ^~~~~~~~~~~~~ +gameaux.cpp:3144:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3144 | S_snakebullet=Sound_create_sound("snakebullet",0); + | ^~~~~~~~~~~~~ +gameaux.cpp:3145:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3145 | S_gorilla=Sound_create_sound("gorilla",0); + | ^~~~~~~~~ +gameaux.cpp:3146:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3146 | S_lizardtongue=Sound_create_sound("lizardtongue",0); + | ^~~~~~~~~~~~~~ +gameaux.cpp:3147:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 3147 | S_bdemonbullet=Sound_create_sound("bdemonbullet",0); + | ^~~~~~~~~~~~~~ +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); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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")) { @@ -1621,10 +2107,6 @@ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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:1386:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1386 | guardar_configuracion("MoG.cfg"); | ^~~~~~~~~ @@ -1673,52 +2155,18 @@ 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); | ^~~~~~~~~~ -gameaux.cpp: In function 'bool loadroom(int, int, int)': -gameaux.cpp:1704:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ 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); | ^~~~~~~~~~~~~~~~~~ -gameaux.cpp:1704:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ -gameaux.cpp:1704:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ 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); | ^~~~~~~~~~~~~~~~ -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"}; - | ^~~~~ 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); | ^~~~~~~~~~~~~ -gameaux.cpp:1704:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 1704 | char *prefixes[11]={"map","w01","w02","w03","w04","w05","w06","w07","w08","w09","w10"}; - | ^~~~~ gamecycle.cpp: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); | ^~~~~~~~~~~~~~~~~~~ @@ -2082,208 +2530,7 @@ gamecycle.cpp:2302:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2302 | guardar_configuracion("MoG.cfg"); | ^~~~~~~~~ -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); - | ^~~~~~~~~~~ -gameaux.cpp:3083:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3083 | S_jump=Sound_create_sound("jump",0); - | ^~~~~~ -gameaux.cpp:3084:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3084 | S_sword=Sound_create_sound("sword",0); - | ^~~~~~~ -gameaux.cpp:3085:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3085 | S_swordhit=Sound_create_sound("stone_hit",0); - | ^~~~~~~~~~~ -gameaux.cpp:3086:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3086 | S_item=Sound_create_sound("itemget",0); - | ^~~~~~~~~ -gameaux.cpp:3087:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3087 | S_ah=Sound_create_sound("ah",0); - | ^~~~ -gameaux.cpp:3088:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3088 | S_ah2=Sound_create_sound("ah2",0); - | ^~~~~ -gameaux.cpp:3089:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3089 | S_powerup=Sound_create_sound("powerup",0); - | ^~~~~~~~~ -gameaux.cpp:3090:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3090 | S_enemyhit=Sound_create_sound("enemy_hit",0); - | ^~~~~~~~~~~ -gameaux.cpp:3091:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3091 | S_skeletonhit=Sound_create_sound("skeleton_hit",0); - | ^~~~~~~~~~~~~~ -gameaux.cpp:3092:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3092 | S_door=Sound_create_sound("doors",0); - | ^~~~~~~ -gameaux.cpp:3093:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3093 | S_enemykill=Sound_create_sound("enemy_kill",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3094:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3094 | S_ladderdisapear=Sound_create_sound("disappear",0); - | ^~~~~~~~~~~ -gameaux.cpp:3095:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3095 | S_armourhit=Sound_create_sound("sword_armour",0); - | ^~~~~~~~~~~~~~ -gameaux.cpp:3096:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3096 | S_pause=Sound_create_sound("pause",0); - | ^~~~~~~ -gameaux.cpp:3097:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3097 | S_death=Sound_create_sound("death",0); - | ^~~~~~~ -gameaux.cpp:3098:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3098 | S_gameover=Sound_create_sound("game_over",0); - | ^~~~~~~~~~~ -gameaux.cpp:3099:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3099 | S_worldkey=Sound_create_sound("worldkey",0); - | ^~~~~~~~~~ -gameaux.cpp:3100:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3100 | S_entering=Sound_create_sound("entering",0); - | ^~~~~~~~~~ -gameaux.cpp:3101:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3101 | S_enterwater=Sound_create_sound("enterwater",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3102:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3102 | S_select=Sound_create_sound("select",0); - | ^~~~~~~~ -gameaux.cpp:3103:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3103 | S_firearrow=Sound_create_sound("firearrow",0); - | ^~~~~~~~~~~ -gameaux.cpp:3104:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3104 | S_firearrow2=Sound_create_sound("firearrow2",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3105:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3105 | S_fall=Sound_create_sound("fall",0); - | ^~~~~~ -gameaux.cpp:3106:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3106 | S_waterhit=Sound_create_sound("waterhit",0); - | ^~~~~~~~~~ -gameaux.cpp:3107:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3107 | S_lavahit=Sound_create_sound("lavahit",0); - | ^~~~~~~~~ -gameaux.cpp:3108:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3108 | S_nocoins=Sound_create_sound("nocoins",0); - | ^~~~~~~~~ -gameaux.cpp:3109:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3109 | S_stones=Sound_create_sound("stones",0); - | ^~~~~~~~ -gameaux.cpp:3110:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3110 | S_blob=Sound_create_sound("blob",0); - | ^~~~~~ -gameaux.cpp:3111:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3111 | S_shield=Sound_create_sound("shield",0); - | ^~~~~~~~ -gameaux.cpp:3112:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3112 | S_bell=Sound_create_sound("bell",0); - | ^~~~~~ -gameaux.cpp:3113:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3113 | S_flapwings=Sound_create_sound("flapwings",0); - | ^~~~~~~~~~~ -gameaux.cpp:3114:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3114 | S_rotatedoor=Sound_create_sound("rotatedoor",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3115:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3115 | S_demon2ball=Sound_create_sound("demon2ball",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3116:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3116 | S_appearing=Sound_create_sound("appearing",0); - | ^~~~~~~~~~~ -gameaux.cpp:3117:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3117 | S_firebreath=Sound_create_sound("fbreath",0); - | ^~~~~~~~~ -gameaux.cpp:3118:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3118 | S_F1=Sound_create_sound("f1",0); - | ^~~~ -gameaux.cpp:3119:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3119 | S_karrow=Sound_create_sound("knightarrow",0); - | ^~~~~~~~~~~~~ -gameaux.cpp:3120:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3120 | S_jumptree=Sound_create_sound("jumptree",0); - | ^~~~~~~~~~ -gameaux.cpp:3121:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3121 | S_enemybullet=Sound_create_sound("enemybullet",0); - | ^~~~~~~~~~~~~ -gameaux.cpp:3122:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3122 | S_headbullet=Sound_create_sound("headbullet",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3123:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3123 | S_firefire=Sound_create_sound("firefire",0); - | ^~~~~~~~~~ -gameaux.cpp:3124:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3124 | S_dropmine=Sound_create_sound("dropmine",0); - | ^~~~~~~~~~ -gameaux.cpp:3125:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3125 | S_fireball=Sound_create_sound("fireball",0); - | ^~~~~~~~~~ -gameaux.cpp:3126:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3126 | S_fireball2=Sound_create_sound("fireball2",0); - | ^~~~~~~~~~~ -gameaux.cpp:3127:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3127 | S_wdoor=Sound_create_sound("wdoor",0); - | ^~~~~~~ -gameaux.cpp:3128:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3128 | S_door2=Sound_create_sound("door2",0); - | ^~~~~~~ -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); - | ^~~~~~~~~~~ -gameaux.cpp:3130:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3130 | S_bearbullet=Sound_create_sound("bearbullet",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3131:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3131 | S_chickenbomb=Sound_create_sound("chickenbomb",0); - | ^~~~~~~~~~~~~ -gameaux.cpp:3132:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3132 | S_colormonster=Sound_create_sound("colormonster",0); - | ^~~~~~~~~~~~~~ -gameaux.cpp:3133:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3133 | S_waterstone=Sound_create_sound("waterstone",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3134:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3134 | S_demon4jump=Sound_create_sound("demon4jump",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3135:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3135 | S_rockman=Sound_create_sound("rockman",0); - | ^~~~~~~~~ -gameaux.cpp:3136:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3136 | S_mine=Sound_create_sound("mine",0); - | ^~~~~~ -gameaux.cpp:3137:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3137 | S_bible=Sound_create_sound("bible",0); - | ^~~~~~~ -gameaux.cpp:3138:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3138 | S_demon1bones=Sound_create_sound("demon1bones",0); - | ^~~~~~~~~~~~~ -gameaux.cpp:3139:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3139 | S_demon1jump=Sound_create_sound("demon1jump",0); - | ^~~~~~~~~~~~ -gameaux.cpp:3140:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3140 | S_owl=Sound_create_sound("owl",0); - | ^~~~~ -gameaux.cpp:3141:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3141 | S_demon7bullet=Sound_create_sound("demon7bullet",0); - | ^~~~~~~~~~~~~~ -gameaux.cpp:3142:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3142 | S_demon8bullet=Sound_create_sound("demon8bullet",0); - | ^~~~~~~~~~~~~~ -gameaux.cpp:3143:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3143 | S_flamebullet=Sound_create_sound("flamebullet",0); - | ^~~~~~~~~~~~~ -gameaux.cpp:3144:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3144 | S_snakebullet=Sound_create_sound("snakebullet",0); - | ^~~~~~~~~~~~~ -gameaux.cpp:3145:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3145 | S_gorilla=Sound_create_sound("gorilla",0); - | ^~~~~~~~~ -gameaux.cpp:3146:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3146 | S_lizardtongue=Sound_create_sound("lizardtongue",0); - | ^~~~~~~~~~~~~~ -gameaux.cpp:3147:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3147 | S_bdemonbullet=Sound_create_sound("bdemonbullet",0); - | ^~~~~~~~~~~~~~ -gameaux.cpp:3148:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 3148 | S_lightning=Sound_create_sound("lightning",0); - | ^~~~~~~~~~~ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 render.cpp -o render.o `sdl-config --cflags` gamecycle.cpp:343:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 343 | chdir(confdir); | ~~~~~^~~~~~~~~ @@ -2317,218 +2564,7 @@ gamecycle.cpp:2303:46: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2303 | chdir(datadir); | ~~~~~^~~~~~~~~ -gameaux.cpp: 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); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 ingamecycle.cpp -o ingamecycle.o `sdl-config --cflags` cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 passwords.cpp -o passwords.o `sdl-config --cflags` @@ -2925,6 +2961,8 @@ | ~~~~~^~~~~~~~~ c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 demons.cpp -o demons.o `sdl-config --cflags` cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 gameinteractions.cpp -o gameinteractions.o `sdl-config --cflags` +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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"); @@ -3065,8 +3103,6 @@ demons.cpp:1706:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1706 | Sound_subst_music_now("demon-vfast"); | ^~~~~~~~~~~~~ -c++ -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mazeofgalious-0.62.dfsg2=. -fstack-protector-strong -fstack-clash-protection -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 gameinteractions.cpp -o gameinteractions.o `sdl-config --cflags` -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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"))) { @@ -3294,8 +3330,8 @@ dpkg-gencontrol: warning: Depends field of package mazeofgalious-data: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums dh_builddeb -dpkg-deb: building package 'mazeofgalious-dbgsym' in '../mazeofgalious-dbgsym_0.62.dfsg2-5_armhf.deb'. dpkg-deb: building package 'mazeofgalious' in '../mazeofgalious_0.62.dfsg2-5_armhf.deb'. +dpkg-deb: building package 'mazeofgalious-dbgsym' in '../mazeofgalious-dbgsym_0.62.dfsg2-5_armhf.deb'. dpkg-deb: building package 'mazeofgalious-data' in '../mazeofgalious-data_0.62.dfsg2-5_all.deb'. dpkg-genbuildinfo --build=binary -O../mazeofgalious_0.62.dfsg2-5_armhf.buildinfo dpkg-genchanges --build=binary -O../mazeofgalious_0.62.dfsg2-5_armhf.changes @@ -3304,12 +3340,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/20980/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20980/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/21530 and its subdirectories -I: Current time: Thu Dec 5 10:51:03 -12 2024 -I: pbuilder-time-stamp: 1733439063 +I: removing directory /srv/workspace/pbuilder/20980 and its subdirectories +I: Current time: Fri Dec 6 12:55:30 +14 2024 +I: pbuilder-time-stamp: 1733439330