Diff of the two buildlogs: -- --- b1/build.log 2021-06-20 08:08:28.014493055 +0000 +++ b2/build.log 2021-06-20 08:14:30.660745587 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 23 02:30:21 -12 2022 -I: pbuilder-time-stamp: 1658586621 +I: Current time: Sun Jun 20 22:08:31 +14 2021 +I: pbuilder-time-stamp: 1624176511 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Tue Apr 27 23:59:54 2021 -12 +gpgv: Signature made Thu Apr 29 01:59:54 2021 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -35,138 +35,172 @@ dpkg-source: info: applying 944431-avoid-no-return-statement-in-function-returning-non-void.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/35239/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2321/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 +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/2321/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2321/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + 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= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='927996fa95e6409b9f44cf46876a21ba' - 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='35239' - PS1='# ' - PS2='> ' + INVOCATION_ID=240b8e1f7fbb47f885436dc91c122206 + 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=2321 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/tmp.n0fpd22mNo/pbuilderrc_dMwT --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.n0fpd22mNo/b1 --logfile b1/build.log berusky2_0.10-7+deb10u1.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://85.184.249.68: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/tmp.n0fpd22mNo/pbuilderrc_lNYM --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.n0fpd22mNo/b2 --logfile b2/build.log berusky2_0.10-7+deb10u1.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://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 4.19.0-17-amd64 #1 SMP Debian 4.19.194-1 (2021-06-10) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-686-pae #1 SMP Debian 4.19.194-1 (2021-06-10) i686 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 38692 Feb 28 2019 cat - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown - -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp - -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash - -rwxr-xr-x 1 root root 120676 Feb 28 2019 date - -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd - -rwxr-xr-x 1 root root 100620 Feb 28 2019 df - -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir - -rwxr-xr-x 1 root root 79412 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 34532 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 34532 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 30112 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 206392 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 100952 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln - -rwxr-xr-x 1 root root 55400 Jul 26 2018 login - -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls - -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 42348 Jan 9 2019 more - -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount - -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 157832 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38660 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm - -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 10 02:47 sh -> dash - -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty - -rwsr-xr-x 1 root root 71072 Jan 9 2019 su - -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync - -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar - -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch - -rwxr-xr-x 1 root root 34532 Feb 28 2019 true - -rwxr-xr-x 1 root root 17768 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount - -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34208 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/35239/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1302248 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 38692 Mar 1 2019 cat + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 63268 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 75588 Mar 1 2019 chown + -rwxr-xr-x 1 root root 153732 Mar 1 2019 cp + -rwxr-xr-x 1 root root 132820 Jan 18 2019 dash + -rwxr-xr-x 1 root root 120676 Mar 1 2019 date + -rwxr-xr-x 1 root root 92040 Mar 1 2019 dd + -rwxr-xr-x 1 root root 100620 Mar 1 2019 df + -rwxr-xr-x 1 root root 149736 Mar 1 2019 dir + -rwxr-xr-x 1 root root 79412 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 34532 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 34532 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 67700 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 30112 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 206392 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 100952 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 21916 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 79752 Mar 1 2019 ln + -rwxr-xr-x 1 root root 55400 Jul 27 2018 login + -rwxr-xr-x 1 root root 149736 Mar 1 2019 ls + -rwxr-xr-x 1 root root 112032 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 87972 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 79748 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 46916 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 42348 Jan 10 2019 more + -rwsr-xr-x 1 root root 50592 Jan 10 2019 mount + -rwxr-xr-x 1 root root 13724 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 157832 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38660 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 46852 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 75588 Mar 1 2019 rm + -rwxr-xr-x 1 root root 42756 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 22276 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jun 20 22:10 sh -> bash + lrwxrwxrwx 1 root root 4 May 21 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 34532 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 79652 Mar 1 2019 stty + -rwsr-xr-x 1 root root 71072 Jan 10 2019 su + -rwxr-xr-x 1 root root 34564 Mar 1 2019 sync + -rwxr-xr-x 1 root root 504024 Apr 24 2019 tar + -rwxr-xr-x 1 root root 13860 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 104292 Mar 1 2019 touch + -rwxr-xr-x 1 root root 34532 Mar 1 2019 true + -rwxr-xr-x 1 root root 17768 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 30108 Jan 10 2019 umount + -rwxr-xr-x 1 root root 34532 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 149736 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34208 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/2321/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -516,7 +550,7 @@ Get: 290 http://deb.debian.org/debian buster/main i386 libsdl-image1.2-dev i386 1.2.12-10+deb10u1 [43.7 kB] Get: 291 http://deb.debian.org/debian buster/main i386 libvorbisfile3 i386 1.3.6-2 [28.0 kB] Get: 292 http://deb.debian.org/debian buster/main i386 libvorbis-dev i386 1.3.6-2 [332 kB] -Fetched 119 MB in 3s (34.4 MB/s) +Fetched 119 MB in 16s (7391 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0: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 ... 19234 files and directories currently installed.) @@ -1718,7 +1752,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/berusky2-0.10/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/berusky2-0.10/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package berusky2 dpkg-buildpackage: info: source version 0.10-7+deb10u1 dpkg-buildpackage: info: source distribution buster @@ -2203,7 +2237,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/berusky2-0.10' dh_auto_build - make -j18 + make -j10 make[1]: Entering directory '/build/berusky2-0.10' make all-recursive make[2]: Entering directory '/build/berusky2-0.10' @@ -2223,32 +2257,12 @@ g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Comics.o `test -f 'kofola/Comics.cpp' || echo './'`kofola/Comics.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Command.o `test -f 'kofola/Command.cpp' || echo './'`kofola/Command.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Dda.o `test -f 'kofola/Dda.cpp' || echo './'`kofola/Dda.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Demo.o `test -f 'kofola/Demo.cpp' || echo './'`kofola/Demo.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Init.o `test -f 'kofola/Init.cpp' || echo './'`kofola/Init.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Menu.o `test -f 'kofola/Menu.cpp' || echo './'`kofola/Menu.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Menu2.o `test -f 'kofola/Menu2.cpp' || echo './'`kofola/Menu2.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Tools.o `test -f 'kofola/Tools.cpp' || echo './'`kofola/Tools.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animend_functions.o `test -f 'kofola/animend_functions.cpp' || echo './'`kofola/animend_functions.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o apakdir.o `test -f 'kofola/apakdir.cpp' || echo './'`kofola/apakdir.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o apakfind.o `test -f 'kofola/apakfind.cpp' || echo './'`kofola/apakfind.cpp -kofola/apakdir.cpp: In function 'char* agetcwd(APAK_HANDLE*, char*, int)': -kofola/apakdir.cpp:113:11: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(buffer, maxlen); - ~~~~~~^~~~~~~~~~~~~~~~ kofola/Apakio.cpp: In function 'int fillbuffer(APAK_FILE_HANDLE*)': kofola/Apakio.cpp:64:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(pTmp, size, 1, pFHandle->pArchive->pFILE); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o apakstream.o `test -f 'kofola/apakstream.cpp' || echo './'`kofola/apakstream.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o controls.o `test -f 'kofola/controls.cpp' || echo './'`kofola/controls.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o controls3d.o `test -f 'kofola/controls3d.cpp' || echo './'`kofola/controls3d.cpp -kofola/Tools.cpp:37:50: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - sprintf(pDemo, "[%s]_[%s]_[%s].dem", pLevel, __DATE__, __TIME__); - ^~~~~~~~ -kofola/Tools.cpp:37:60: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - sprintf(pDemo, "[%s]_[%s]_[%s].dem", pLevel, __DATE__, __TIME__); - ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o credits.o `test -f 'kofola/credits.cpp' || echo './'`kofola/credits.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Demo.o `test -f 'kofola/Demo.cpp' || echo './'`kofola/Demo.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Init.o `test -f 'kofola/Init.cpp' || echo './'`kofola/Init.cpp In file included from komat/mmalloc.h:34, from kofola/Apak.cpp:8: kofola/Apak.cpp: In function 'char* apak_dir_correction(char*)': @@ -2259,38 +2273,7 @@ /usr/include/string.h:384:15: note: in a call to function 'size_t strlen(const char*)' declared here extern size_t strlen (const char *__s) ^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o font.o `test -f 'kofola/font.cpp' || echo './'`kofola/font.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o font3d.o `test -f 'kofola/font3d.cpp' || echo './'`kofola/font3d.cpp -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Bind.cpp:4: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/3D_graphic.cpp:6: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Command.cpp:4: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Menu.o `test -f 'kofola/Menu.cpp' || echo './'`kofola/Menu.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/Comics.cpp:3: @@ -2303,27 +2286,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Demo.cpp:7: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/apakfind.cpp:4: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Init.cpp:7: + from kofola/Bind.cpp:4: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -2344,16 +2307,7 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/animend_functions.cpp:4: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Menu2.o `test -f 'kofola/Menu2.cpp' || echo './'`kofola/Menu2.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/Object.h:10, @@ -2367,37 +2321,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Tools.cpp:6: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Menu2.cpp:5: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Menu.cpp:7: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/controls3d.cpp:3: + from kofola/3D_graphic.cpp:6: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -2407,7 +2331,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/controls.cpp:4: + from kofola/Command.cpp:4: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -2417,11 +2341,17 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/animend_functions.cpp:4: + from kofola/Comics.cpp:3: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/Comics.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/Object.h:10, @@ -2439,7 +2369,11 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/animend_functions.cpp:4: + from kofola/Init.cpp:7: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -2458,24 +2392,30 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Command.cpp:4: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ + from kofola/Comics.cpp:3: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Command.cpp:4: + from kofola/Comics.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/animend_functions.cpp:4: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + from kofola/Comics.cpp:3: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/Comics.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/Object.h:10, @@ -2486,12 +2426,6 @@ ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/animend_functions.cpp:4: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, from kofola/Object.h:10, from kofola/Camera.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here @@ -2505,49 +2439,46 @@ komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/animend_functions.cpp:4: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/animend_functions.cpp:4: + from kofola/Object.h:10, + from kofola/Camera.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/Bind.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/Camera.cpp:6: + from kofola/Bind.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/apakfind.cpp:4: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ + from kofola/Bind.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/apakfind.cpp:4: + from kofola/Bind.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/3D_graphic.cpp:6: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/3D_graphic.cpp:6: + from kofola/Demo.cpp:7: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -2572,115 +2503,99 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Demo.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Demo.cpp:7: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Bind.cpp:4: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Bind.cpp:4: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Command.cpp:4: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/3D_menus.cpp:8: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Command.cpp:4: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/3D_menus.cpp:8: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Bind.cpp:4: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/3D_menus.cpp:8: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Bind.cpp:4: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/3D_menus.cpp:8: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/Command.cpp:4: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/Command.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +kofola/Comics.cpp: In function 'void cmcs_Start_Comics(char*, HWND, AUDIO_DATA*, char)': +kofola/Comics.cpp:100:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, MAX_FILENAME, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Comics.cpp:112:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, MAX_FILENAME, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Comics.cpp: In function 'void cmcs_Play_Intro(char*, HWND, AUDIO_DATA*)': +kofola/Comics.cpp:157:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/apakfind.cpp:4: + from kofola/Command.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/apakfind.cpp:4: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Init.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Init.cpp:7: + from kofola/Command.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/apakfind.cpp:4: + from kofola/Command.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/apakfind.cpp:4: + from kofola/Command.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/3D_graphic.cpp:6: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/3D_graphic.cpp:6: @@ -2689,33 +2604,14 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.cpp:8: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.cpp:8: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Demo.cpp:7: + from kofola/3D_graphic.cpp:6: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Demo.cpp:7: + from kofola/3D_graphic.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -2732,48 +2628,26 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.cpp:8: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.cpp:8: + from kofola/Menu.cpp:7: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Comics.cpp:3: + from kofola/Init.cpp:7: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Comics.cpp:3: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Demo.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Demo.cpp:7: + from kofola/Init.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -2792,19 +2666,6 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Tools.cpp:6: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Tools.cpp:6: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, from kofola/Init.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] @@ -2816,68 +2677,79 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +kofola/3D_graphic.cpp: In function 'void _3d_Get_Cursor_Name(char*)': +kofola/3D_graphic.cpp:168:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, 32, file); + ~~~~~^~~~~~~~~~~~~~~~ +kofola/3D_graphic.cpp:171:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, 32, file); + ~~~~~^~~~~~~~~~~~~~~~ +kofola/3D_graphic.cpp:174:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, 32, file); + ~~~~~^~~~~~~~~~~~~~~~ +kofola/3D_graphic.cpp:177:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, 32, file); + ~~~~~^~~~~~~~~~~~~~~~ +kofola/3D_graphic.cpp: In function 'int _3d_Load_List(char*)': +kofola/3D_graphic.cpp:192:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((_3dd.bm_dir)); + ~~~~~^~~~~~~~~~~~~~~ +kofola/Init.cpp: In function 'int lsi_Load_Items(LEVELINFO*)': +kofola/Init.cpp:27:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(odir, MAX_FILENAME); + ~~~~~~^~~~~~~~~~~~~~~~~~~~ +kofola/Init.cpp:29:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(dir); + ~~~~~^~~~~ +kofola/Init.cpp:85:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((odir)); + ~~~~~^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Comics.cpp:3: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Comics.cpp:3: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Comics.cpp:3: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ + from kofola/Demo.cpp:7: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Comics.cpp:3: + from kofola/Demo.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Tools.cpp:6: + from kofola/Demo.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Tools.cpp:6: + from kofola/Demo.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Tools.cpp:6: + from kofola/Demo.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Tools.cpp:6: + from kofola/Demo.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Menu2.cpp:5: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/Menu2.cpp:5: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -2896,32 +2768,6 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Menu2.cpp:5: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Menu2.cpp:5: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Menu2.cpp:5: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Menu2.cpp:5: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, from kofola/Menu.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] @@ -2946,42 +2792,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/credits.cpp:2: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/font.cpp:2: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font3d.h:10, - from kofola/font3d.cpp:3: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ kofola/Demo.cpp: In function 'void demo_Set_Scene_Level(char*, int*, int*)': kofola/Demo.cpp:25:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(odir, MAX_FILENAME); @@ -2998,16 +2808,6 @@ kofola/Demo.cpp:42:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir((odir)); ~~~~~^~~~~~~~ -kofola/Init.cpp: In function 'int lsi_Load_Items(LEVELINFO*)': -kofola/Init.cpp:27:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(odir, MAX_FILENAME); - ~~~~~~^~~~~~~~~~~~~~~~~~~~ -kofola/Init.cpp:29:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(dir); - ~~~~~^~~~~ -kofola/Init.cpp:85:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((odir)); - ~~~~~^~~~~~~~ kofola/Demo.cpp: In function 'int demo_SaveWC(DEMOSTRUCTURE*, WCHAR*, char, char*, char*)': kofola/Demo.cpp:261:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(SAVE_DIR); @@ -3022,52 +2822,7 @@ kofola/Demo.cpp:357:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(p_Frame, sizeof(DEMOKEYFRAME), 1, file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/3D_graphic.cpp: In function 'void _3d_Get_Cursor_Name(char*)': -kofola/3D_graphic.cpp:168:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, 32, file); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/3D_graphic.cpp:171:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, 32, file); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/3D_graphic.cpp:174:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, 32, file); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/3D_graphic.cpp:177:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, 32, file); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/3D_graphic.cpp: In function 'int _3d_Load_List(char*)': -kofola/3D_graphic.cpp:192:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((_3dd.bm_dir)); - ~~~~~^~~~~~~~~~~~~~~ -kofola/Comics.cpp: In function 'void cmcs_Start_Comics(char*, HWND, AUDIO_DATA*, char)': -kofola/Comics.cpp:100:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, MAX_FILENAME, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/Comics.cpp:112:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, MAX_FILENAME, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/Comics.cpp: In function 'void cmcs_Play_Intro(char*, HWND, AUDIO_DATA*)': -kofola/Comics.cpp:157:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ -kofola/Tools.cpp: In function 'void MyMessageBox(HWND, char*, char*, char*)': -kofola/Tools.cpp:88:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(odir, MAX_FILENAME); - ~~~~~~^~~~~~~~~~~~~~~~~~~~ -kofola/Tools.cpp:91:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(dir); - ~~~~~^~~~~ -kofola/Tools.cpp:95:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((odir)); - ~~~~~^~~~~~~~ -kofola/Tools.cpp:105:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((odir)); - ~~~~~^~~~~~~~ -kofola/Tools.cpp:123:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((odir)); - ~~~~~^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o game_init.o `test -f 'kofola/game_init.cpp' || echo './'`kofola/game_init.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o game_logic.o `test -f 'kofola/game_logic.cpp' || echo './'`kofola/game_logic.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Tools.o `test -f 'kofola/Tools.cpp' || echo './'`kofola/Tools.cpp kofola/Menu.cpp: In function 'void RunMenuCibron(char*)': kofola/Menu.cpp:5605:45: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(key, 0, POCET_KLAVES * sizeof(char)); @@ -3076,118 +2831,59 @@ kofola/Menu.cpp:5646:45: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(key, 0, POCET_KLAVES * sizeof(char)); ^ -kofola/Menu2.cpp: In function 'void RunMenuSettings2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': -kofola/Menu2.cpp:1142:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ -kofola/Menu2.cpp: In function 'int FillListLoad2(LIST_VIEW_CONTROL2*, char*, char, char)': -kofola/Menu2.cpp:1712:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(SAVE_DIR); - ~~~~~^~~~~~~~~~ -kofola/Menu2.cpp: In function 'int RunMenuLoadGameLoad2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*, char, WCHAR*)': -kofola/Menu2.cpp:1822:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/controls3d.cpp:3: + from kofola/Menu2.cpp:5: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/controls3d.cpp:3: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -kofola/Menu2.cpp: In function 'void RunMenuHelp2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': -kofola/Menu2.cpp:2673:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/controls3d.cpp:3: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/controls3d.cpp:3: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/controls3d.cpp:3: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/controls3d.cpp:3: + from kofola/Menu2.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/Menu2.cpp: In function 'void RunMenuLevelStats2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': -kofola/Menu2.cpp:3213:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ -kofola/Menu2.cpp: In function 'void RunMenuTutorial2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': -kofola/Menu2.cpp:3578:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] +kofola/Menu.cpp: In function 'void RunMenuSettings(char*, HWND, AUDIO_DATA*, int)': +kofola/Menu.cpp:1544:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); ~~~~~^~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/controls.cpp:4: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/controls.cpp:4: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o game_main.o `test -f 'kofola/game_main.cpp' || echo './'`kofola/game_main.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o grammar.o `test -f 'kofola/grammar.cpp' || echo './'`kofola/grammar.cpp -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/controls.cpp:4: + from kofola/Menu2.cpp:5: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/controls.cpp:4: + from kofola/Menu2.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/controls.cpp:4: + from kofola/Menu2.cpp:5: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/controls.cpp:4: + from kofola/Menu2.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/Menu.cpp: In function 'void RunMenuSettings(char*, HWND, AUDIO_DATA*, int)': -kofola/Menu.cpp:1544:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ kofola/Menu.cpp: In function 'void RunMenuNewGameScene(char*, HWND, AUDIO_DATA*, int, char, char*, char)': kofola/Menu.cpp:2436:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); ~~~~~^~~~~~~~~~ +kofola/Tools.cpp:37:50: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + sprintf(pDemo, "[%s]_[%s]_[%s].dem", pLevel, __DATE__, __TIME__); + ^~~~~~~~ +kofola/Tools.cpp:37:60: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + sprintf(pDemo, "[%s]_[%s]_[%s].dem", pLevel, __DATE__, __TIME__); + ^~~~~~~~ kofola/Menu.cpp: In function 'void RunMenuSceneMap(char*, HWND, AUDIO_DATA*, int, char*, char*, int, int, int, char*, int, int, char, char*, char, int, int)': kofola/Menu.cpp:3594:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); @@ -3196,7 +2892,6 @@ kofola/Menu.cpp:4005:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); ~~~~~^~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o load_level.o `test -f 'kofola/load_level.cpp' || echo './'`kofola/load_level.cpp kofola/Menu.cpp: In function 'int FillComboProfiles(COMBO_CONTROL*, int*)': kofola/Menu.cpp:4453:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(dir); @@ -3229,57 +2924,18 @@ kofola/Menu.cpp:4538:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir((dir)); ~~~~~^~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/credits.cpp:2: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ kofola/Menu.cpp: In function 'int FillListLoad(LIST_VIEW_CONTROL*, char*, char, int)': kofola/Menu.cpp:4563:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(SAVE_DIR); ~~~~~^~~~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/credits.cpp:2: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ kofola/Menu.cpp: In function 'void RunMenuLoadGameLoad(char*, HWND, AUDIO_DATA*, int, int)': kofola/Menu.cpp:4643:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); ~~~~~^~~~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/credits.cpp:2: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/credits.cpp:2: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ kofola/Menu.cpp: In function 'void RunMenuLoadGame(char*, HWND, AUDIO_DATA*, int)': kofola/Menu.cpp:5176:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); ~~~~~^~~~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/credits.cpp:2: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/credits.cpp:2: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ kofola/Menu.cpp: In function 'void RunMenu(char*, HWND, AUDIO_DATA*, int)': kofola/Menu.cpp:5736:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); @@ -3296,187 +2952,159 @@ kofola/Menu.cpp:7183:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); ~~~~~^~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o menu_script.o `test -f 'kofola/menu_script.cpp' || echo './'`kofola/menu_script.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animend_functions.o `test -f 'kofola/animend_functions.cpp' || echo './'`kofola/animend_functions.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/Tools.cpp:6: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +kofola/Menu2.cpp: In function 'void RunMenuSettings2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': +kofola/Menu2.cpp:1142:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ +kofola/Menu2.cpp: In function 'int FillListLoad2(LIST_VIEW_CONTROL2*, char*, char, char)': +kofola/Menu2.cpp:1712:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(SAVE_DIR); + ~~~~~^~~~~~~~~~ +kofola/Menu2.cpp: In function 'int RunMenuLoadGameLoad2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*, char, WCHAR*)': +kofola/Menu2.cpp:1822:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ +kofola/Menu2.cpp: In function 'void RunMenuHelp2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': +kofola/Menu2.cpp:2673:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ +kofola/Menu2.cpp: In function 'void RunMenuLevelStats2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': +kofola/Menu2.cpp:3213:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ +kofola/Menu2.cpp: In function 'void RunMenuTutorial2(char*, AUDIO_DATA*, LEVELINFO*, ANIMATION_MODULE*)': +kofola/Menu2.cpp:3578:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o apakdir.o `test -f 'kofola/apakdir.cpp' || echo './'`kofola/apakdir.cpp +kofola/apakdir.cpp: In function 'char* agetcwd(APAK_HANDLE*, char*, int)': +kofola/apakdir.cpp:113:11: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(buffer, maxlen); + ~~~~~~^~~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font3d.h:10, - from kofola/font3d.cpp:3: + from kofola/Tools.cpp:6: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font3d.h:10, - from kofola/font3d.cpp:3: + from kofola/Tools.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font3d.h:10, - from kofola/font3d.cpp:3: + from kofola/Tools.cpp:6: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font3d.h:10, - from kofola/font3d.cpp:3: + from kofola/Tools.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font3d.h:10, - from kofola/font3d.cpp:3: + from kofola/Tools.cpp:6: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font3d.h:10, - from kofola/font3d.cpp:3: + from kofola/Tools.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/controls3d.cpp: In function 'int co2_Handle_Edit(CONTROL_EDIT2*, int, int, int, int, int)': -kofola/controls3d.cpp:3007:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o apakfind.o `test -f 'kofola/apakfind.cpp' || echo './'`kofola/apakfind.cpp +kofola/Tools.cpp: In function 'void MyMessageBox(HWND, char*, char*, char*)': +kofola/Tools.cpp:88:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(odir, MAX_FILENAME); + ~~~~~~^~~~~~~~~~~~~~~~~~~~ +kofola/Tools.cpp:91:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(dir); + ~~~~~^~~~~ +kofola/Tools.cpp:95:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((odir)); + ~~~~~^~~~~~~~ +kofola/Tools.cpp:105:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((odir)); + ~~~~~^~~~~~~~ +kofola/Tools.cpp:123:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((odir)); + ~~~~~^~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/animend_functions.cpp:4: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o apakstream.o `test -f 'kofola/apakstream.cpp' || echo './'`kofola/apakstream.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o controls.o `test -f 'kofola/controls.cpp' || echo './'`kofola/controls.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o controls3d.o `test -f 'kofola/controls3d.cpp' || echo './'`kofola/controls3d.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o credits.o `test -f 'kofola/credits.cpp' || echo './'`kofola/credits.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/font.cpp:2: + from kofola/animend_functions.cpp:4: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/font.cpp:2: + from kofola/animend_functions.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/controls3d.cpp:3015:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ -kofola/controls3d.cpp:3021:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ -kofola/controls3d.cpp:3026:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ -kofola/controls3d.cpp:3082:49: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/font.cpp:2: + from kofola/animend_functions.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/font.cpp:2: + from kofola/animend_functions.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/font.cpp:2: + from kofola/animend_functions.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/font.cpp:2: + from kofola/animend_functions.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o profiles.o `test -f 'kofola/profiles.cpp' || echo './'`kofola/profiles.cpp -kofola/controls.cpp: In function 'int co_Handle_Edit(CONTROL_EDIT*, int, int, int, int, int)': -kofola/controls.cpp:3221:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ -kofola/controls.cpp:3229:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ -kofola/controls.cpp:3235:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ -kofola/controls.cpp:3240:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ -kofola/controls.cpp:3283:49: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] - memset(key, 0, POCET_KLAVES * sizeof(char)); - ^ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o setup.o `test -f 'kofola/setup.cpp' || echo './'`kofola/setup.cpp -kofola/credits.cpp: In function 'int cr_Credits(HWND, AUDIO_DATA*)': -kofola/credits.cpp:222:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(text); - ~~~~~^~~~~~ -kofola/credits.cpp: In function 'int cr_CreditsUNI(HWND, AUDIO_DATA*)': -kofola/credits.cpp:474:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(text); - ~~~~~^~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o square_cut.o `test -f 'kofola/square_cut.cpp' || echo './'`kofola/square_cut.cpp -kofola/font3d.cpp: In function 'int fn2_Open_Archive(char*, APAK_HANDLE**, char*, char*)': -kofola/font3d.cpp:638:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((text)); - ~~~~~^~~~~~~~ -kofola/font3d.cpp: In function 'void fn2_Convert_Rect(char*, int, int)': -kofola/font3d.cpp:1157:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(textt, 256, fi); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/font.cpp: In function 'int fn_Open_Archive(char*, APAK_HANDLE**, char*, char*)': -kofola/font.cpp:378:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((text)); - ~~~~~^~~~~~~~ -kofola/font.cpp: In function 'void fn_Convert_Rect(char*, int, int)': -kofola/font.cpp:887:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(text, 255); - ~~~~~~^~~~~~~~~~~ -kofola/font.cpp:898:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(textt, 256, fi); - ~~~~~^~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o trigers.o `test -f 'kofola/trigers.cpp' || echo './'`kofola/trigers.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o font.o `test -f 'kofola/font.cpp' || echo './'`kofola/font.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_logic.cpp:7: + from kofola/apakfind.cpp:4: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -3486,7 +3114,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_init.cpp:15: + from kofola/controls3d.cpp:3: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -3494,20 +3122,33 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +kofola/Menu.cpp: In function 'void RunStretchAnimation(char*, int, int, AUDIO_DATA*)': +kofola/Menu.cpp:2121:20: warning: 'scene' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] + sprintf(cFile, "%s%cscene%d.pak", cDir, DIR_SLASH, iActualScene); + ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/Menu.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 4117 bytes into a destination of size 4096 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/apakfind.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/grammar.cpp:3: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ + from kofola/apakfind.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_logic.h:4, - from kofola/game_main.cpp:7: + from kofola/controls.cpp:4: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -3515,29 +3156,35 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/apakfind.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/load_level.cpp:12: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ + from kofola/apakfind.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/apakfind.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/menu_script.cpp:7: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ + from kofola/apakfind.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/profiles.cpp:3: + from kofola/credits.cpp:2: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -3545,216 +3192,394 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o font3d.o `test -f 'kofola/font3d.cpp' || echo './'`kofola/font3d.cpp +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/controls3d.cpp:3: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/setup.cpp:1: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ + from kofola/controls3d.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o volume.o `test -f 'kofola/volume.cpp' || echo './'`kofola/volume.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_init.cpp:15: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ + from kofola/controls3d.cpp:3: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_init.cpp:15: + from kofola/controls3d.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_logic.cpp:7: + from kofola/controls3d.cpp:3: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/controls3d.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/font.cpp:2: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o game_init.o `test -f 'kofola/game_init.cpp' || echo './'`kofola/game_init.cpp +kofola/controls3d.cpp: In function 'int co2_Handle_Edit(CONTROL_EDIT2*, int, int, int, int, int)': +kofola/controls3d.cpp:3007:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/controls3d.cpp:3015:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/controls3d.cpp:3021:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/controls3d.cpp:3026:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/controls3d.cpp:3082:49: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/controls.cpp:4: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_logic.cpp:7: + from kofola/controls.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_init.cpp:15: + from kofola/controls.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/controls.cpp:4: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_logic.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + from kofola/controls.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/credits.cpp:2: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_init.cpp:15: + from kofola/controls.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_logic.cpp:7: + from kofola/credits.cpp:2: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_logic.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + from kofola/credits.cpp:2: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/credits.cpp:2: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_init.cpp:15: + from kofola/credits.cpp:2: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_logic.cpp:7: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/game_init.cpp:15: + from kofola/credits.cpp:2: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o water.o `test -f 'kofola/water.cpp' || echo './'`kofola/water.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o game_logic.o `test -f 'kofola/game_logic.cpp' || echo './'`kofola/game_logic.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/grammar.cpp:3: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/font.cpp:2: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/grammar.cpp:3: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/font.cpp:2: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/grammar.cpp:3: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/font.cpp:2: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/grammar.cpp:3: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/font.cpp:2: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/grammar.cpp:3: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/font.cpp:2: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/grammar.cpp:3: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font.h:10, + from kofola/font.cpp:2: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +kofola/credits.cpp: In function 'int cr_Credits(HWND, AUDIO_DATA*)': +kofola/credits.cpp:222:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(text); + ~~~~~^~~~~~ +kofola/credits.cpp: In function 'int cr_CreditsUNI(HWND, AUDIO_DATA*)': +kofola/credits.cpp:474:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(text); + ~~~~~^~~~~~ +kofola/controls.cpp: In function 'int co_Handle_Edit(CONTROL_EDIT*, int, int, int, int, int)': +kofola/controls.cpp:3221:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/controls.cpp:3229:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/controls.cpp:3235:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/controls.cpp:3240:51: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/controls.cpp:3283:49: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] + memset(key, 0, POCET_KLAVES * sizeof(char)); + ^ +kofola/font.cpp: In function 'int fn_Open_Archive(char*, APAK_HANDLE**, char*, char*)': +kofola/font.cpp:378:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((text)); + ~~~~~^~~~~~~~ +kofola/font.cpp: In function 'void fn_Convert_Rect(char*, int, int)': +kofola/font.cpp:887:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(text, 255); + ~~~~~~^~~~~~~~~~~ +kofola/font.cpp:898:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(textt, 256, fi); + ~~~~~^~~~~~~~~~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font3d.h:10, + from kofola/font3d.cpp:3: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +kofola/Menu.cpp: In function 'void LoadSceneMap(int*, char*, char*, int, int*)': +kofola/Menu.cpp:2913:20: warning: 'scene' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] + sprintf(cFile, "%s%cscene%d.pak", cDir, DIR_SLASH, iScene); + ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/Menu.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 4117 bytes into a destination of size 4096 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o game_main.o `test -f 'kofola/game_main.cpp' || echo './'`kofola/game_main.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/game_init.cpp:15: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_logic.h:4, - from kofola/game_main.cpp:7: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font3d.h:10, + from kofola/font3d.cpp:3: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_logic.h:4, - from kofola/game_main.cpp:7: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font3d.h:10, + from kofola/font3d.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_logic.h:4, - from kofola/game_main.cpp:7: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font3d.h:10, + from kofola/font3d.cpp:3: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_logic.h:4, - from kofola/game_main.cpp:7: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font3d.h:10, + from kofola/font3d.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/game_logic.h:4, - from kofola/game_main.cpp:7: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font3d.h:10, + from kofola/font3d.cpp:3: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/game_logic.h:4, - from kofola/game_main.cpp:7: + from kofola/Object.h:10, + from kofola/trigers.h:4, + from kofola/font3d.h:10, + from kofola/font3d.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o grammar.o `test -f 'kofola/grammar.cpp' || echo './'`kofola/grammar.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/game_logic.cpp:7: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +kofola/font3d.cpp: In function 'int fn2_Open_Archive(char*, APAK_HANDLE**, char*, char*)': +kofola/font3d.cpp:638:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((text)); + ~~~~~^~~~~~~~ +kofola/font3d.cpp: In function 'void fn2_Convert_Rect(char*, int, int)': +kofola/font3d.cpp:1157:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(textt, 256, fi); + ~~~~~^~~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/load_level.cpp:12: + from kofola/game_init.cpp:15: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/load_level.cpp:12: + from kofola/game_init.cpp:15: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/load_level.cpp:12: + from kofola/game_init.cpp:15: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/load_level.cpp:12: + from kofola/game_init.cpp:15: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/load_level.cpp:12: + from kofola/game_init.cpp:15: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/load_level.cpp:12: + from kofola/game_init.cpp:15: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -3768,7 +3593,8 @@ ~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/trigers.cpp:3: + from kofola/game_logic.h:4, + from kofola/game_main.cpp:7: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -3778,83 +3604,97 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/menu_script.cpp:7: + from kofola/game_logic.cpp:7: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/menu_script.cpp:7: + from kofola/game_logic.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/menu_script.cpp:7: + from kofola/game_logic.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/menu_script.cpp:7: + from kofola/game_logic.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/menu_script.cpp:7: + from kofola/game_logic.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/menu_script.cpp:7: + from kofola/game_logic.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/grammar.cpp: In function 'char gr_Load_Grammar(char*, GRAMMAR*)': -kofola/grammar.cpp:58:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o load_level.o `test -f 'kofola/load_level.cpp' || echo './'`kofola/load_level.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/grammar.cpp:3: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o menu_script.o `test -f 'kofola/menu_script.cpp' || echo './'`kofola/menu_script.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/profiles.cpp:3: + from kofola/game_logic.h:4, + from kofola/game_main.cpp:7: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/profiles.cpp:3: + from kofola/game_logic.h:4, + from kofola/game_main.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/profiles.cpp:3: + from kofola/game_logic.h:4, + from kofola/game_main.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/profiles.cpp:3: + from kofola/game_logic.h:4, + from kofola/game_main.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/profiles.cpp:3: + from kofola/game_logic.h:4, + from kofola/game_main.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/profiles.cpp:3: + from kofola/game_logic.h:4, + from kofola/game_main.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -3870,40 +3710,151 @@ ~~~~~^~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/setup.cpp:1: + from kofola/grammar.cpp:3: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/setup.cpp:1: + from kofola/grammar.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/setup.cpp:1: + from kofola/grammar.cpp:3: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/setup.cpp:1: + from kofola/grammar.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/setup.cpp:1: + from kofola/grammar.cpp:3: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/setup.cpp:1: + from kofola/grammar.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +kofola/game_logic.cpp: In function 'int gl_Run_Level(char*, char*, AUDIO_DATA*, int)': +kofola/game_logic.cpp:10435:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(GAME_LEVEL_DIR); + ~~~~~^~~~~~~~~~~~~~~~ +kofola/game_logic.cpp:10437:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(ctext); + ~~~~~^~~~~~~ +kofola/game_logic.cpp:10447:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(GAME_LEVEL_DIR); + ~~~~~^~~~~~~~~~~~~~~~ +kofola/game_logic.cpp:10449:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(ctext); + ~~~~~^~~~~~~ +kofola/grammar.cpp: In function 'char gr_Load_Grammar(char*, GRAMMAR*)': +kofola/grammar.cpp:58:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o profiles.o `test -f 'kofola/profiles.cpp' || echo './'`kofola/profiles.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/load_level.cpp:12: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o setup.o `test -f 'kofola/setup.cpp' || echo './'`kofola/setup.cpp +kofola/Menu.cpp: In function 'int RunMenuComix(char*, HWND, AUDIO_DATA*, int)': +kofola/Menu.cpp:7564:20: warning: 'scene' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] + sprintf(cFile, "%s%cscene%d.pak", cDir, DIR_SLASH, iScene); + ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/Menu.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 4117 bytes into a destination of size 4096 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Menu2.cpp: In function 'void RunMenuLoadScreen2()': +kofola/Menu2.cpp:3923:22: warning: 'scene' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] + sprintf(cFile, "%s%cscene%d.pak", cDir, DIR_SLASH, iActualScene); + ^~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/Menu2.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 4117 bytes into a destination of size 4096 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/menu_script.cpp:7: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o square_cut.o `test -f 'kofola/square_cut.cpp' || echo './'`kofola/square_cut.cpp +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/load_level.cpp:12: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/load_level.cpp:12: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/load_level.cpp:12: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/load_level.cpp:12: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/load_level.cpp:12: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/load_level.cpp:12: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/profiles.cpp:3: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -3932,10 +3883,32 @@ kofola/Object.h:205:1: note: 'struct SNOWSYSTEM' declared here { ^ -kofola/menu_script.cpp: In function 'void Parse_ScenarioLine(FILE*, int*, int, char*, char*)': -kofola/menu_script.cpp:423:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, 256, file); - ~~~~~^~~~~~~~~~~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/menu_script.cpp:7: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/menu_script.cpp:7: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/menu_script.cpp:7: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/menu_script.cpp:7: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ kofola/load_level.cpp: In function 'void lsi_Load_Level_Script(LEVELINFO*, char*)': kofola/load_level.cpp:601:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(DATA_DIR); @@ -3943,6 +3916,19 @@ kofola/load_level.cpp:605:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(GAME_DATA_DIR); ~~~~~^~~~~~~~~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/menu_script.cpp:7: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/menu_script.cpp:7: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ kofola/load_level.cpp: In function 'int lsi_Create_Level_Raw(char*, BUNKA_LEVELU_DISK**, int*)': kofola/load_level.cpp:806:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(text, MAX_FILENAME); @@ -4051,8 +4037,61 @@ kofola/load_level.cpp:1838:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&p_Level->Item[i].Square, sizeof(SQUAREDESC), 1, file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 3dinterface.o `test -f 'komat/3dinterface.cpp' || echo './'`komat/3dinterface.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d.o `test -f 'komat/Berusky3d.cpp' || echo './'`komat/Berusky3d.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o trigers.o `test -f 'kofola/trigers.cpp' || echo './'`kofola/trigers.cpp +kofola/menu_script.cpp: In function 'void Parse_ScenarioLine(FILE*, int*, int, char*, char*)': +kofola/menu_script.cpp:423:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, 256, file); + ~~~~~^~~~~~~~~~~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/profiles.cpp:3: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/profiles.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/profiles.cpp:3: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/profiles.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/profiles.cpp:3: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/profiles.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/setup.cpp:1: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o volume.o `test -f 'kofola/volume.cpp' || echo './'`kofola/volume.cpp kofola/profiles.cpp: In function 'int pr_CreateProfile(WCHAR*)': kofola/profiles.cpp:103:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(dir); @@ -4078,8 +4117,56 @@ kofola/profiles.cpp:301:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(dir, MAX_FILENAME); ~~~~~~^~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_castice.o `test -f 'komat/Berusky3d_castice.cpp' || echo './'`komat/Berusky3d_castice.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_ini.o `test -f 'komat/Berusky3d_ini.cpp' || echo './'`komat/Berusky3d_ini.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o water.o `test -f 'kofola/water.cpp' || echo './'`kofola/water.cpp +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/setup.cpp:1: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/setup.cpp:1: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/setup.cpp:1: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/setup.cpp:1: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/setup.cpp:1: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/setup.cpp:1: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/trigers.cpp:3: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/volume.cpp:1: @@ -4090,8 +4177,17 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_kamery.o `test -f 'komat/Berusky3d_kamery.cpp' || echo './'`komat/Berusky3d_kamery.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_kofola2d.o `test -f 'komat/Berusky3d_kofola2d.cpp' || echo './'`komat/Berusky3d_kofola2d.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/game_logic.h:4, + from kofola/water.cpp:1: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/trigers.cpp:3: @@ -4105,19 +4201,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/game_logic.cpp: In function 'int gl_Run_Level(char*, char*, AUDIO_DATA*, int)': -kofola/game_logic.cpp:10435:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(GAME_LEVEL_DIR); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/game_logic.cpp:10437:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(ctext); - ~~~~~^~~~~~~ -kofola/game_logic.cpp:10447:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(GAME_LEVEL_DIR); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/game_logic.cpp:10449:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(ctext); - ~~~~~^~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/trigers.cpp:3: @@ -4144,29 +4227,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/game_logic.h:4, - from kofola/water.cpp:1: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -kofola/Menu.cpp: In function 'void RunStretchAnimation(char*, int, int, AUDIO_DATA*)': -kofola/Menu.cpp:2121:20: warning: 'scene' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] - sprintf(cFile, "%s%cscene%d.pak", cDir, DIR_SLASH, iActualScene); - ^~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/Menu.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 4117 bytes into a destination of size 4096 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_kofola_interface.o `test -f 'komat/Berusky3d_kofola_interface.cpp' || echo './'`komat/Berusky3d_kofola_interface.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 3dinterface.o `test -f 'komat/3dinterface.cpp' || echo './'`komat/3dinterface.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d.o `test -f 'komat/Berusky3d.cpp' || echo './'`komat/Berusky3d.cpp kofola/trigers.cpp: In function 'char trig_Load_Trigers(char*, char*, TRIGER_STRUCTURE*, GRAMMAR*)': kofola/trigers.cpp:187:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(GAME_LEVEL_DIR); @@ -4183,7 +4245,6 @@ kofola/trigers.cpp:216:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(text, MAX_FILENAME, file); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_light.o `test -f 'komat/Berusky3d_light.cpp' || echo './'`komat/Berusky3d_light.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/volume.cpp:1: @@ -4223,27 +4284,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_load.o `test -f 'komat/Berusky3d_load.cpp' || echo './'`komat/Berusky3d_load.cpp -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/3dinterface.cpp:4: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Berusky3d.cpp:12: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/game_logic.h:4, @@ -4289,29 +4329,10 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_castice.o `test -f 'komat/Berusky3d_castice.cpp' || echo './'`komat/Berusky3d_castice.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_castice.cpp:7: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Berusky3d_ini.cpp:13: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Berusky3d_kamery.cpp:12: + from komat/3dinterface.cpp:4: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -4319,10 +4340,61 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_render.o `test -f 'komat/Berusky3d_render.cpp' || echo './'`komat/Berusky3d_render.cpp +kofola/load_level.cpp: In function 'void lsi_copy_save(char*, LEVELINFO*)': +kofola/load_level.cpp:1341:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] + sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".b2l"); + ^~~~~~~~~~~~~~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/load_level.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/load_level.cpp:1345:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] + sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".b2t"); + ^~~~~~~~~~~~~~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/load_level.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/load_level.cpp:1349:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] + sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".bpr"); + ^~~~~~~~~~~~~~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/load_level.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/load_level.cpp:1353:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] + sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".lv6"); + ^~~~~~~~~~~~~~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/load_level.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/load_level.cpp:1357:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] + sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".ply"); + ^~~~~~~~~~~~~~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/load_level.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_ini.o `test -f 'komat/Berusky3d_ini.cpp' || echo './'`komat/Berusky3d_ini.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kofola2d.cpp:12: + from komat/Berusky3d.cpp:12: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -4330,21 +4402,21 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Di.o `test -f 'komat/Di.cpp' || echo './'`komat/Di.cpp -kofola/Menu.cpp: In function 'void LoadSceneMap(int*, char*, char*, int, int*)': -kofola/Menu.cpp:2913:20: warning: 'scene' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] - sprintf(cFile, "%s%cscene%d.pak", cDir, DIR_SLASH, iScene); - ^~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_kamery.o `test -f 'komat/Berusky3d_kamery.cpp' || echo './'`komat/Berusky3d_kamery.cpp +kofola/load_level.cpp: In function 'void lsi_Save_Level(WCHAR*, LEVELINFO*)': +kofola/load_level.cpp:1599:18: warning: '.lvc' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] + sprintf(buffer, "%s.lvc", p_Level_Name); + ^~~~~~~~ In file included from /usr/include/stdio.h:873, - from kofola/Menu.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 4117 bytes into a destination of size 4096 + from kofola/load_level.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kofola_interface.cpp:9: + from komat/Berusky3d_castice.cpp:7: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -4380,19 +4452,6 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d.cpp:12: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Berusky3d.cpp:12: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, from komat/3dinterface.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] @@ -4404,35 +4463,22 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from komat/Berusky3d.cpp:12: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Berusky3d.cpp:12: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from komat/Berusky3d.cpp:12: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Berusky3d.cpp:12: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ +kofola/load_level.cpp: In function 'int lsi_Load_Saved_Level(char*, LEVELINFO*)': +kofola/load_level.cpp:1733:19: warning: '%s' directive writing up to 4095 bytes into a region of size 4078 [-Wformat-overflow=] + sprintf(text, "Level change file %s not present", ctext); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/load_level.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_kofola2d.o `test -f 'komat/Berusky3d_kofola2d.cpp' || echo './'`komat/Berusky3d_kofola2d.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_kofola_interface.o `test -f 'komat/Berusky3d_kofola_interface.cpp' || echo './'`komat/Berusky3d_kofola_interface.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_light.cpp:9: + from komat/Berusky3d_ini.cpp:13: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -4442,85 +4488,85 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_kamery.cpp:12: + from komat/Berusky3d_castice.cpp:7: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kamery.cpp:12: + from komat/Berusky3d_castice.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_ini.cpp:13: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ + from komat/Berusky3d_castice.cpp:7: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_ini.cpp:13: + from komat/Berusky3d_castice.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_kamery.cpp:12: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + from komat/Berusky3d_castice.cpp:7: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kamery.cpp:12: + from komat/Berusky3d_castice.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_kamery.cpp:12: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ + from komat/Berusky3d.cpp:12: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kamery.cpp:12: + from komat/Berusky3d.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_ini.cpp:13: + from komat/Berusky3d.cpp:12: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_ini.cpp:13: + from komat/Berusky3d.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_ini.cpp:13: + from komat/Berusky3d.cpp:12: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_ini.cpp:13: + from komat/Berusky3d.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_load.cpp:9: + from komat/Berusky3d_kamery.cpp:12: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -4530,90 +4576,100 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_castice.cpp:7: + from komat/Berusky3d_ini.cpp:13: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_castice.cpp:7: + from komat/Berusky3d_ini.cpp:13: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_light.o `test -f 'komat/Berusky3d_light.cpp' || echo './'`komat/Berusky3d_light.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_kofola2d.cpp:12: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ + from komat/Berusky3d_ini.cpp:13: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kofola2d.cpp:12: + from komat/Berusky3d_ini.cpp:13: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_castice.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + from komat/Berusky3d_ini.cpp:13: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_castice.cpp:7: + from komat/Berusky3d_ini.cpp:13: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +komat/Berusky3d_ini.cpp: In function 'void ini_file_init()': +komat/Berusky3d_ini.cpp:228:15: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(ini_file_dirs[i], MAX_FILENAME); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Berusky3d_kofola_interface.cpp:9: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_castice.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ + from komat/Berusky3d_kamery.cpp:12: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_castice.cpp:7: + from komat/Berusky3d_kamery.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_kofola2d.cpp:12: + from komat/Berusky3d_kamery.cpp:12: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kofola2d.cpp:12: + from komat/Berusky3d_kamery.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_kofola2d.cpp:12: + from komat/Berusky3d_kamery.cpp:12: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kofola2d.cpp:12: + from komat/Berusky3d_kamery.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Berusky3d_ini.cpp: In function 'void ini_file_init()': -komat/Berusky3d_ini.cpp:228:15: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(ini_file_dirs[i], MAX_FILENAME); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Load.o `test -f 'komat/Load.cpp' || echo './'`komat/Load.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_render.cpp:8: + from komat/Berusky3d_kofola2d.cpp:12: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -4662,7 +4718,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Di.cpp:5: + from komat/Berusky3d_light.cpp:9: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -4670,107 +4726,45 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/load_level.cpp: In function 'void lsi_copy_save(char*, LEVELINFO*)': -kofola/load_level.cpp:1341:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] - sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".b2l"); - ^~~~~~~~~~~~~~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/load_level.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/load_level.cpp:1345:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] - sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".b2t"); - ^~~~~~~~~~~~~~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/load_level.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/load_level.cpp:1349:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] - sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".bpr"); - ^~~~~~~~~~~~~~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/load_level.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/load_level.cpp:1353:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] - sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".lv6"); - ^~~~~~~~~~~~~~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/load_level.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/load_level.cpp:1357:17: warning: '%s' directive writing up to 4095 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] - sprintf(csrc, "%s%c%s%c%s%s", dir, DIR_SLASH, cLevelMask, DIR_SLASH, cLevelMask, ".ply"); - ^~~~~~~~~~~~~~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/load_level.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 12293 bytes into a destination of size 4097 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_light.cpp:9: + from komat/Berusky3d_kofola2d.cpp:12: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_light.cpp:9: + from komat/Berusky3d_kofola2d.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_light.cpp:9: + from komat/Berusky3d_kofola2d.cpp:12: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_light.cpp:9: + from komat/Berusky3d_kofola2d.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_light.cpp:9: + from komat/Berusky3d_kofola2d.cpp:12: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_light.cpp:9: + from komat/Berusky3d_kofola2d.cpp:12: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/load_level.cpp: In function 'void lsi_Save_Level(WCHAR*, LEVELINFO*)': -kofola/load_level.cpp:1599:18: warning: '.lvc' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] - sprintf(buffer, "%s.lvc", p_Level_Name); - ^~~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/load_level.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 4100 bytes into a destination of size 4096 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ komat/Berusky3d_kofola_interface.cpp: In function 'void kom_zrus_level(int)': komat/Berusky3d_kofola_interface.cpp:537:46: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ZDRCADLO_DESC' {aka 'struct _ZDRCADLO_DESC'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(&p_ber->zrc, 0, sizeof(p_ber->zrc)); @@ -4790,58 +4784,59 @@ komat/Mat3d.h:1512:16: note: 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'} declared here typedef struct _OBB_TREE_OLD ^~~~~~~~~~~~~ +komat/Berusky3d_kofola_interface.cpp: In function 'void kom_load_level(char*, int, int, BUNKA_LEVELU_DISK*, int)': +komat/Berusky3d_kofola_interface.cpp:697:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(dir, 200); + ~~~~~~^~~~~~~~~~ +komat/Berusky3d_kofola_interface.cpp:703:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_ber->dir.game_level_dir)); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +komat/Berusky3d_kofola_interface.cpp:708:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((dir)); + ~~~~~^~~~~~~ +komat/Berusky3d_kofola_interface.cpp:709:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(dir, 200); + ~~~~~~^~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_load.o `test -f 'komat/Berusky3d_load.cpp' || echo './'`komat/Berusky3d_load.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_load.cpp:9: + from komat/Berusky3d_light.cpp:9: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_load.cpp:9: + from komat/Berusky3d_light.cpp:9: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_load.cpp:9: + from komat/Berusky3d_light.cpp:9: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_load.cpp:9: + from komat/Berusky3d_light.cpp:9: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_load.cpp:9: + from komat/Berusky3d_light.cpp:9: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_load.cpp:9: + from komat/Berusky3d_light.cpp:9: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Berusky3d_kofola_interface.cpp: In function 'void kom_load_level(char*, int, int, BUNKA_LEVELU_DISK*, int)': -komat/Berusky3d_kofola_interface.cpp:697:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(dir, 200); - ~~~~~~^~~~~~~~~~ -komat/Berusky3d_kofola_interface.cpp:703:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_ber->dir.game_level_dir)); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -komat/Berusky3d_kofola_interface.cpp:708:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((dir)); - ~~~~~^~~~~~~ -komat/Berusky3d_kofola_interface.cpp:709:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(dir, 200); - ~~~~~~^~~~~~~~~~ komat/Berusky3d_light.cpp: In function 'int sdl_poly_pripocitej_svetla_face(G_KONFIG*, EDIT_MESH_POLY*, LIGHTMAP_FACE*, int)': komat/Berusky3d_light.cpp:1814:10: warning: variable 'p_data' set but not used [-Wunused-but-set-variable] dword *p_data; @@ -4882,57 +4877,67 @@ komat/Berusky3d_light.cpp:1835:8: warning: variable 'p_looksqrt' set but not used [-Wunused-but-set-variable] int *p_looksqrt; ^~~~~~~~~~ -kofola/load_level.cpp: In function 'int lsi_Load_Saved_Level(char*, LEVELINFO*)': -kofola/load_level.cpp:1733:19: warning: '%s' directive writing up to 4095 bytes into a region of size 4078 [-Wformat-overflow=] - sprintf(text, "Level change file %s not present", ctext); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/load_level.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 31 and 4126 bytes into a destination of size 4096 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ komat/Berusky3d_light.cpp: In function 'void sdl_save_lightmap(EDIT_MESH_POLY*, int)': komat/Berusky3d_light.cpp:2970:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir("/home/komat"); ~~~~~^~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_render.o `test -f 'komat/Berusky3d_render.cpp' || echo './'`komat/Berusky3d_render.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Berusky3d_load.cpp:9: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_render.cpp:8: + from komat/Berusky3d_load.cpp:9: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_render.cpp:8: + from komat/Berusky3d_load.cpp:9: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_render.cpp:8: + from komat/Berusky3d_load.cpp:9: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_render.cpp:8: + from komat/Berusky3d_load.cpp:9: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_render.cpp:8: + from komat/Berusky3d_load.cpp:9: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, + from komat/Berusky3d_load.cpp:9: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, from komat/Berusky3d_render.cpp:8: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -4958,47 +4963,47 @@ ~~~~~^~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Di.cpp:5: + from komat/Berusky3d_render.cpp:8: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Di.cpp:5: + from komat/Berusky3d_render.cpp:8: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Di.cpp:5: + from komat/Berusky3d_render.cpp:8: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Di.cpp:5: + from komat/Berusky3d_render.cpp:8: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Di.cpp:5: + from komat/Berusky3d_render.cpp:8: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Di.cpp:5: + from komat/Berusky3d_render.cpp:8: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Load_chunks.o `test -f 'komat/Load_chunks.cpp' || echo './'`komat/Load_chunks.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Di.o `test -f 'komat/Di.cpp' || echo './'`komat/Di.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Load.cpp:9: + from komat/Di.cpp:5: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5006,95 +5011,143 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Load_out.o `test -f 'komat/Load_out.cpp' || echo './'`komat/Load_out.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o compat.o `test -f 'tmp/compat.cpp' || echo './'`tmp/compat.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 2D_graphic.o `test -f 'kofola/2D_graphic.cpp' || echo './'`kofola/2D_graphic.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o age.o `test -f 'age/graph/age.cpp' || echo './'`age/graph/age.cpp -kofola/Menu2.cpp: In function 'void RunMenuLoadScreen2()': -kofola/Menu2.cpp:3923:22: warning: 'scene' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] - sprintf(cFile, "%s%cscene%d.pak", cDir, DIR_SLASH, iActualScene); - ^~~~~~~~~~~~~~~~~ +komat/Berusky3d_load.cpp: In function 'void ber_materialy_rozkopiruj(G_KONFIG*, GAME_MESH_OLD*, int)': +komat/Berusky3d_load.cpp:342:40: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 49 [-Wformat-overflow=] + sprintf(p_imat[mnew]->jmeno, "%s_%d", p_mat->jmeno, i); + ^~~~~~~ +komat/Berusky3d_load.cpp:342:40: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:873, - from kofola/Menu2.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 4117 bytes into a destination of size 4096 + from komat/Berusky3d_load.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 61 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o alpha.o `test -f 'age/graph/alpha.cpp' || echo './'`age/graph/alpha.cpp +komat/Berusky3d_load.cpp:330:24: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 49 [-Wformat-overflow=] + sprintf(pom, "%s_%d", p_mat->jmeno, i); + ^~~~~~~ +komat/Berusky3d_load.cpp:330:24: note: directive argument in the range [0, 2147483647] +In file included from /usr/include/stdio.h:873, + from komat/Berusky3d_load.cpp:4: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 61 bytes into a destination of size 50 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Load.o `test -f 'komat/Load.cpp' || echo './'`komat/Load.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Load.cpp:9: + from komat/Di.cpp:5: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Load.cpp:9: + from komat/Di.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Load.cpp:9: + from komat/Di.cpp:5: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Load.cpp:9: + from komat/Di.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Load.cpp:9: + from komat/Di.cpp:5: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Load.cpp:9: + from komat/Di.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/Menu.cpp: In function 'int RunMenuComix(char*, HWND, AUDIO_DATA*, int)': -kofola/Menu.cpp:7564:20: warning: 'scene' directive writing 5 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] - sprintf(cFile, "%s%cscene%d.pak", cDir, DIR_SLASH, iScene); - ^~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/Menu.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 12 and 4117 bytes into a destination of size 4096 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -komat/Berusky3d_load.cpp: In function 'void ber_materialy_rozkopiruj(G_KONFIG*, GAME_MESH_OLD*, int)': -komat/Berusky3d_load.cpp:342:40: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 49 [-Wformat-overflow=] - sprintf(p_imat[mnew]->jmeno, "%s_%d", p_mat->jmeno, i); - ^~~~~~~ -komat/Berusky3d_load.cpp:342:40: note: directive argument in the range [0, 2147483647] +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Load_chunks.o `test -f 'komat/Load_chunks.cpp' || echo './'`komat/Load_chunks.cpp +komat/Berusky3d_load.cpp: In function 'void ber_nahraj_lightmap(G_KONFIG*, char*, char*)': +komat/Berusky3d_load.cpp:792:45: warning: '%s' directive writing up to 199 bytes into a region of size 50 [-Wformat-overflow=] + sprintf(p_ber->p_lightmap[i].jmeno, "%s_lp%.3d.bmp", pom, i); + ^~~~~~~~~~~~~~~ ~~~ +komat/Berusky3d_load.cpp:792:45: note: directive argument in the range [0, 999] In file included from /usr/include/stdio.h:873, from komat/Berusky3d_load.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 61 bytes into a destination of size 50 +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 11 and 210 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -komat/Berusky3d_load.cpp:330:24: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 0 and 49 [-Wformat-overflow=] - sprintf(pom, "%s_%d", p_mat->jmeno, i); - ^~~~~~~ -komat/Berusky3d_load.cpp:330:24: note: directive argument in the range [0, 2147483647] +komat/Berusky3d_load.cpp:803:43: warning: '%s' directive writing up to 199 bytes into a region of size 49 [-Wformat-overflow=] + sprintf(p_ber->p_lightmap[i].jmeno, "%s\\%s_lp%.3d.bmp", p_dir, pom, i); + ^~~~~~~~~~~~~~~~~~~ ~~~ In file included from /usr/include/stdio.h:873, from komat/Berusky3d_load.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 3 and 61 bytes into a destination of size 50 +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 211) into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Load_out.o `test -f 'komat/Load_out.cpp' || echo './'`komat/Load_out.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Load.cpp:9: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o compat.o `test -f 'tmp/compat.cpp' || echo './'`tmp/compat.cpp +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from komat/Load.cpp:9: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Load.cpp:9: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from komat/Load.cpp:9: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Load.cpp:9: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from komat/Load.cpp:9: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Load.cpp:9: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ komat/Load.cpp: In function 'EDIT_KONTEJNER* vyrob_kontejner()': komat/Load.cpp:477:38: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'EDIT_KONTEJNER' {aka 'struct _EDIT_KONTEJNER'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(p_kont, 0, sizeof(p_kont[0])); @@ -5105,16 +5158,6 @@ komat/Mat3d.h:1023:16: note: 'EDIT_KONTEJNER' {aka 'struct _EDIT_KONTEJNER'} declared here typedef struct _EDIT_KONTEJNER ^~~~~~~~~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Load_chunks.cpp:7: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ komat/Load.cpp: In function 'EDIT_MATERIAL* vyrob_material()': komat/Load.cpp:996:41: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'EDIT_MATERIAL' {aka 'struct _EDIT_MATERIAL'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(p_mat, 0, sizeof(EDIT_MATERIAL)); @@ -5145,6 +5188,7 @@ komat/Mat3d.h:1137:16: note: 'GAME_MESH_OLD' {aka 'struct _GAME_MESH_OLD'} declared here typedef struct _GAME_MESH_OLD ^~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 2D_graphic.o `test -f 'kofola/2D_graphic.cpp' || echo './'`kofola/2D_graphic.cpp komat/Load.cpp: In function 'EDIT_MESH_POLY* edit_to_poly_indir(EDIT_KONTEJNER*, EDIT_MESH_POLY*, int)': komat/Load.cpp:2919:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'EDIT_MESH_POLY' {aka 'struct _EDIT_MESH_POLY'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(p_poly, 0, sizeof(*p_poly)); @@ -5155,16 +5199,7 @@ komat/Mat3d.h:1242:16: note: 'EDIT_MESH_POLY' {aka 'struct _EDIT_MESH_POLY'} declared here typedef struct _EDIT_MESH_POLY ^~~~~~~~~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Load_out.cpp:6: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o age.o `test -f 'age/graph/age.cpp' || echo './'`age/graph/age.cpp komat/Load.cpp: In function 'void lo_vymaz_svetla_ze_sceny(EDIT_KONTEJNER*)': komat/Load.cpp:4277:44: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'STATIC_LIGHT' {aka 'struct _STATIC_LIGHT'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(p_slight, 0, sizeof(p_slight[0])); @@ -5247,7 +5282,7 @@ ^~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from tmp/compat.cpp:31: + from komat/Load_chunks.cpp:7: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5255,7 +5290,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation.o `test -f 'age/graph/animation.cpp' || echo './'`age/graph/animation.cpp komat/Load.cpp: In function 'void lo_vyrob_animaci_list(EDIT_MATERIAL*, char*, EDIT_TEXT*, int, char, char*)': komat/Load.cpp:2647:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir((p_dir)); @@ -5295,25 +5329,7 @@ ~~~~~^~~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/2D_graphic.cpp:8: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from age/graph/age.cpp:28: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, - from age/graph/alpha.cpp:32: + from komat/Load_out.cpp:6: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5321,30 +5337,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation_time.o `test -f 'age/graph/animation_time.cpp' || echo './'`age/graph/animation_time.cpp -komat/Berusky3d_load.cpp: In function 'void ber_nahraj_lightmap(G_KONFIG*, char*, char*)': -komat/Berusky3d_load.cpp:792:45: warning: '%s' directive writing up to 199 bytes into a region of size 50 [-Wformat-overflow=] - sprintf(p_ber->p_lightmap[i].jmeno, "%s_lp%.3d.bmp", pom, i); - ^~~~~~~~~~~~~~~ ~~~ -komat/Berusky3d_load.cpp:792:45: note: directive argument in the range [0, 999] -In file included from /usr/include/stdio.h:873, - from komat/Berusky3d_load.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 11 and 210 bytes into a destination of size 50 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -komat/Berusky3d_load.cpp:803:43: warning: '%s' directive writing up to 199 bytes into a region of size 49 [-Wformat-overflow=] - sprintf(p_ber->p_lightmap[i].jmeno, "%s\\%s_lp%.3d.bmp", p_dir, pom, i); - ^~~~~~~~~~~~~~~~~~~ ~~~ -In file included from /usr/include/stdio.h:873, - from komat/Berusky3d_load.cpp:4: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 211) into a destination of size 50 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation_track.o `test -f 'age/graph/animation_track.cpp' || echo './'`age/graph/animation_track.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Load_chunks.cpp:7: @@ -5423,43 +5415,22 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation_track_bezier.o `test -f 'age/graph/animation_track_bezier.cpp' || echo './'`age/graph/animation_track_bezier.cpp -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from tmp/compat.cpp:31: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, from tmp/compat.cpp:31: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from tmp/compat.cpp:31: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from tmp/compat.cpp:31: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from tmp/compat.cpp:31: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from tmp/compat.cpp:31: + from age/graph/age.cpp:28: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -5503,38 +5474,78 @@ komat/Mat3d.h:830:16: note: 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'} declared here typedef struct _SIMPLE_TRACK_INFO ^~~~~~~~~~~~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/2D_graphic.cpp:8: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/2D_graphic.cpp:8: + from tmp/compat.cpp:31: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/2D_graphic.cpp:8: + from tmp/compat.cpp:31: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/2D_graphic.cpp:8: + from tmp/compat.cpp:31: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, + from tmp/compat.cpp:31: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from tmp/compat.cpp:31: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from tmp/compat.cpp:31: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/2D_graphic.cpp:8: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, from kofola/2D_graphic.cpp:8: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/2D_graphic.cpp:8: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, - from age/graph/animation.cpp:31: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ + from komat/3d_all.h:17, + from kofola/2D_graphic.cpp:8: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -5555,16 +5566,28 @@ tmp/compat.cpp:472:22: warning: comparison of integer expressions of different signedness: 'long int' and 'dword' {aka 'unsigned int'} [-Wsign-compare] if (bLastGameState != karmin_aktivni) { ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation_track_linear.o `test -f 'age/graph/animation_track_linear.cpp' || echo './'`age/graph/animation_track_linear.cpp tmp/compat.cpp: In function 'void working_dir_init()': tmp/compat.cpp:679:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(current_working_dir, MAX_FILENAME); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o bitmap.o `test -f 'age/graph/bitmap.cpp' || echo './'`age/graph/bitmap.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o box.o `test -f 'age/graph/box.cpp' || echo './'`age/graph/box.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o camera.o `test -f 'age/graph/camera.cpp' || echo './'`age/graph/camera.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o alpha.o `test -f 'age/graph/alpha.cpp' || echo './'`age/graph/alpha.cpp +komat/Load.cpp: In function 'EDIT_OBJEKT* slep_objekty(EDIT_OBJEKT*, EDIT_OBJEKT*)': +komat/Load.cpp:429:27: warning: '%s' directive writing up to 49 bytes into a region of size between 0 and 49 [-Wformat-overflow=] + sprintf(p_obj->jmeno, "%s_%s", p_obj1->jmeno, p_obj2->jmeno); + ^~~~~~~ +In file included from /usr/include/stdio.h:873, + from kofola/apak_types.h:5, + from kofola/Apak.h:4, + from komat/Load.cpp:6: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 100 bytes into a destination of size 50 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation.o `test -f 'age/graph/animation.cpp' || echo './'`age/graph/animation.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation_time.o `test -f 'age/graph/animation_time.cpp' || echo './'`age/graph/animation_time.cpp In file included from age/graph/age.h:71, - from age/graph/animation_track.cpp:28: + from age/graph/alpha.cpp:32: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5572,9 +5595,9 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o camera_interface.o `test -f 'age/graph/camera_interface.cpp' || echo './'`age/graph/camera_interface.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation_track.o `test -f 'age/graph/animation_track.cpp' || echo './'`age/graph/animation_track.cpp In file included from age/graph/age.h:71, - from age/graph/animation_time.cpp:28: + from age/graph/animation.cpp:31: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5582,9 +5605,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o color.o `test -f 'age/graph/color.cpp' || echo './'`age/graph/color.cpp In file included from age/graph/age.h:71, - from age/graph/animation_track_bezier.cpp:28: + from age/graph/animation_time.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5592,10 +5614,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o color_hsv.o `test -f 'age/graph/color_hsv.cpp' || echo './'`age/graph/color_hsv.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o draw.o `test -f 'age/graph/draw.cpp' || echo './'`age/graph/draw.cpp In file included from age/graph/age.h:71, - from age/graph/animation_track_linear.cpp:28: + from age/graph/animation_track.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5603,9 +5623,15 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ferguson.o `test -f 'age/graph/ferguson.cpp' || echo './'`age/graph/ferguson.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation_track_bezier.o `test -f 'age/graph/animation_track_bezier.cpp' || echo './'`age/graph/animation_track_bezier.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animation_track_linear.o `test -f 'age/graph/animation_track_linear.cpp' || echo './'`age/graph/animation_track_linear.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o bitmap.o `test -f 'age/graph/bitmap.cpp' || echo './'`age/graph/bitmap.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o box.o `test -f 'age/graph/box.cpp' || echo './'`age/graph/box.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o camera.o `test -f 'age/graph/camera.cpp' || echo './'`age/graph/camera.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o camera_interface.o `test -f 'age/graph/camera_interface.cpp' || echo './'`age/graph/camera_interface.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o color.o `test -f 'age/graph/color.cpp' || echo './'`age/graph/color.cpp In file included from age/graph/age.h:71, - from age/graph/box.cpp:28: + from age/graph/animation_track_bezier.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5613,23 +5639,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o gext.o `test -f 'age/graph/gext.cpp' || echo './'`age/graph/gext.cpp -komat/Load.cpp: In function 'EDIT_OBJEKT* slep_objekty(EDIT_OBJEKT*, EDIT_OBJEKT*)': -komat/Load.cpp:429:27: warning: '%s' directive writing up to 49 bytes into a region of size between 0 and 49 [-Wformat-overflow=] - sprintf(p_obj->jmeno, "%s_%s", p_obj1->jmeno, p_obj2->jmeno); - ^~~~~~~ -In file included from /usr/include/stdio.h:873, - from kofola/apak_types.h:5, - from kofola/Apak.h:4, - from komat/Load.cpp:6: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 100 bytes into a destination of size 50 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o glwrapper.o `test -f 'age/graph/glwrapper.cpp' || echo './'`age/graph/glwrapper.cpp In file included from age/graph/age.h:71, - from age/graph/camera.cpp:28: + from age/graph/box.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5638,7 +5649,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/camera_interface.cpp:28: + from age/graph/animation_track_linear.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5647,7 +5658,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/color.cpp:32: + from age/graph/camera_interface.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5656,7 +5667,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/color_hsv.cpp:28: + from age/graph/camera.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5672,7 +5683,7 @@ break; ^~~~~ In file included from age/graph/age.h:71, - from age/graph/draw.cpp:28: + from age/graph/color.cpp:32: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5680,7 +5691,36 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from age/graph/gext.cpp:44: +komat/Load.cpp: In function 'EDIT_MESH_POLY* lo_nahraj_poly_list(char*, int*, EDIT_TEXT*, EDIT_MATERIAL**, int)': +komat/Load.cpp:3189:33: warning: '_ak' directive writing 3 bytes into a region of size between 1 and 50 [-Wformat-overflow=] + sprintf(p_mat[mn]->jmeno, "%s_ak%d", p_mat[mat]->jmeno, mn); + ^~~~~~~~~ +komat/Load.cpp:3189:33: note: directive argument in the range [0, 1073741823] +In file included from /usr/include/stdio.h:873, + from kofola/apak_types.h:5, + from kofola/Apak.h:4, + from komat/Load.cpp:6: +/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 63 bytes into a destination of size 50 + return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o color_hsv.o `test -f 'age/graph/color_hsv.cpp' || echo './'`age/graph/color_hsv.cpp +In file included from age/graph/age.h:71, + from age/graph/color_hsv.cpp:28: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o draw.o `test -f 'age/graph/draw.cpp' || echo './'`age/graph/draw.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ferguson.o `test -f 'age/graph/ferguson.cpp' || echo './'`age/graph/ferguson.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o gext.o `test -f 'age/graph/gext.cpp' || echo './'`age/graph/gext.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o glwrapper.o `test -f 'age/graph/glwrapper.cpp' || echo './'`age/graph/glwrapper.cpp +In file included from age/graph/age.h:71, + from age/graph/draw.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5697,6 +5737,14 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +In file included from age/graph/gext.cpp:44: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ In file included from age/graph/age.h:71, from age/graph/glwrapper.cpp:33: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5721,8 +5769,10 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o matrix.o `test -f 'age/graph/matrix.cpp' || echo './'`age/graph/matrix.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o matrix_animated.o `test -f 'age/graph/matrix_animated.cpp' || echo './'`age/graph/matrix_animated.cpp In file included from age/graph/age.h:71, - from age/graph/graph3d.cpp:36: + from age/graph/intersect.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5730,9 +5780,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o matrix.o `test -f 'age/graph/matrix.cpp' || echo './'`age/graph/matrix.cpp In file included from age/graph/age.h:71, - from age/graph/intersect.cpp:28: + from age/graph/graph3d.cpp:36: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5740,7 +5789,7 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o matrix_animated.o `test -f 'age/graph/matrix_animated.cpp' || echo './'`age/graph/matrix_animated.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o matrix_notified.o `test -f 'age/graph/matrix_notified.cpp' || echo './'`age/graph/matrix_notified.cpp In file included from age/graph/age.h:71, from age/graph/lighting.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5750,9 +5799,9 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o matrix_notified.o `test -f 'age/graph/matrix_notified.cpp' || echo './'`age/graph/matrix_notified.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o mesh.o `test -f 'age/graph/mesh.cpp' || echo './'`age/graph/mesh.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o normals.o `test -f 'age/graph/normals.cpp' || echo './'`age/graph/normals.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o obb.o `test -f 'age/graph/obb.cpp' || echo './'`age/graph/obb.cpp In file included from age/graph/age.h:71, from age/graph/material.cpp:32: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5762,7 +5811,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o obb.o `test -f 'age/graph/obb.cpp' || echo './'`age/graph/obb.cpp In file included from age/graph/age.h:71, from age/graph/material_texture.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5772,7 +5820,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_base.o `test -f 'age/graph/object_base.cpp' || echo './'`age/graph/object_base.cpp In file included from age/graph/age.h:71, from age/graph/matrix.cpp:33: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5782,23 +5829,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_box.o `test -f 'age/graph/object_box.cpp' || echo './'`age/graph/object_box.cpp -komat/Load.cpp: In function 'EDIT_MESH_POLY* lo_nahraj_poly_list(char*, int*, EDIT_TEXT*, EDIT_MATERIAL**, int)': -komat/Load.cpp:3189:33: warning: '_ak' directive writing 3 bytes into a region of size between 1 and 50 [-Wformat-overflow=] - sprintf(p_mat[mn]->jmeno, "%s_ak%d", p_mat[mat]->jmeno, mn); - ^~~~~~~~~ -komat/Load.cpp:3189:33: note: directive argument in the range [0, 1073741823] -In file included from /usr/include/stdio.h:873, - from kofola/apak_types.h:5, - from kofola/Apak.h:4, - from komat/Load.cpp:6: -/usr/include/i386-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 63 bytes into a destination of size 50 - return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/mesh.cpp:31: + from age/graph/normals.cpp:32: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5806,8 +5838,10 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_base.o `test -f 'age/graph/object_base.cpp' || echo './'`age/graph/object_base.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_box.o `test -f 'age/graph/object_box.cpp' || echo './'`age/graph/object_box.cpp In file included from age/graph/age.h:71, - from age/graph/normals.cpp:32: + from age/graph/obb.cpp:33: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5816,7 +5850,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/obb.cpp:33: + from age/graph/mesh.cpp:31: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5824,8 +5858,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_geometry.o `test -f 'age/graph/object_geometry.cpp' || echo './'`age/graph/object_geometry.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_hierarchy.o `test -f 'age/graph/object_hierarchy.cpp' || echo './'`age/graph/object_hierarchy.cpp In file included from age/graph/age.h:71, from age/graph/object_base.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5835,13 +5867,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_list.o `test -f 'age/graph/object_list.cpp' || echo './'`age/graph/object_list.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_render_list.o `test -f 'age/graph/object_render_list.cpp' || echo './'`age/graph/object_render_list.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_scene.o `test -f 'age/graph/object_scene.cpp' || echo './'`age/graph/object_scene.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_transformation.o `test -f 'age/graph/object_transformation.cpp' || echo './'`age/graph/object_transformation.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_world.o `test -f 'age/graph/object_world.cpp' || echo './'`age/graph/object_world.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o polar.o `test -f 'age/graph/polar.cpp' || echo './'`age/graph/polar.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o print.o `test -f 'age/graph/print.cpp' || echo './'`age/graph/print.cpp In file included from age/graph/age.h:71, from age/graph/object_box.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5851,6 +5876,15 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_geometry.o `test -f 'age/graph/object_geometry.cpp' || echo './'`age/graph/object_geometry.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_hierarchy.o `test -f 'age/graph/object_hierarchy.cpp' || echo './'`age/graph/object_hierarchy.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_list.o `test -f 'age/graph/object_list.cpp' || echo './'`age/graph/object_list.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_render_list.o `test -f 'age/graph/object_render_list.cpp' || echo './'`age/graph/object_render_list.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_scene.o `test -f 'age/graph/object_scene.cpp' || echo './'`age/graph/object_scene.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_transformation.o `test -f 'age/graph/object_transformation.cpp' || echo './'`age/graph/object_transformation.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o object_world.o `test -f 'age/graph/object_world.cpp' || echo './'`age/graph/object_world.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o polar.o `test -f 'age/graph/polar.cpp' || echo './'`age/graph/polar.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o print.o `test -f 'age/graph/print.cpp' || echo './'`age/graph/print.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o scene.o `test -f 'age/graph/scene.cpp' || echo './'`age/graph/scene.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o scene_import_3ds.o `test -f 'age/graph/scene_import_3ds.cpp' || echo './'`age/graph/scene_import_3ds.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o scene_import_b2m.o `test -f 'age/graph/scene_import_b2m.cpp' || echo './'`age/graph/scene_import_b2m.cpp @@ -5863,7 +5897,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o scene_import_txt.o `test -f 'age/graph/scene_import_txt.cpp' || echo './'`age/graph/scene_import_txt.cpp In file included from age/graph/age.h:71, from age/graph/object_hierarchy.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5892,15 +5925,6 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/print.cpp:28: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from age/graph/age.h:71, from age/graph/scene.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] @@ -5909,21 +5933,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o scene_load.o `test -f 'age/graph/scene_load.cpp' || echo './'`age/graph/scene_load.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o selection.o `test -f 'age/graph/selection.cpp' || echo './'`age/graph/selection.cpp -In file included from age/graph/age.h:71, - from age/graph/scene_import_b2m.cpp:28: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface.o `test -f 'age/graph/surface.cpp' || echo './'`age/graph/surface.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface_height.o `test -f 'age/graph/surface_height.cpp' || echo './'`age/graph/surface_height.cpp In file included from age/graph/age.h:71, - from age/graph/scene_import_txt.cpp:28: + from age/graph/print.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5940,11 +5951,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface_mask.o `test -f 'age/graph/surface_mask.cpp' || echo './'`age/graph/surface_mask.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface_sdl.o `test -f 'age/graph/surface_sdl.cpp' || echo './'`age/graph/surface_sdl.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface_sw.o `test -f 'age/graph/surface_sw.cpp' || echo './'`age/graph/surface_sw.cpp In file included from age/graph/age.h:71, - from age/graph/scene_load.cpp:28: + from age/graph/scene_import_b2m.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5952,6 +5960,12 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o scene_import_txt.o `test -f 'age/graph/scene_import_txt.cpp' || echo './'`age/graph/scene_import_txt.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o scene_load.o `test -f 'age/graph/scene_load.cpp' || echo './'`age/graph/scene_load.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o selection.o `test -f 'age/graph/selection.cpp' || echo './'`age/graph/selection.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface.o `test -f 'age/graph/surface.cpp' || echo './'`age/graph/surface.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface_height.o `test -f 'age/graph/surface_height.cpp' || echo './'`age/graph/surface_height.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface_mask.o `test -f 'age/graph/surface_mask.cpp' || echo './'`age/graph/surface_mask.cpp In file included from age/graph/age.h:71, from age/graph/selection.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5961,10 +5975,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o texture_func.o `test -f 'age/graph/texture_func.cpp' || echo './'`age/graph/texture_func.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o texture_unit.o `test -f 'age/graph/texture_unit.cpp' || echo './'`age/graph/texture_unit.cpp In file included from age/graph/age.h:71, - from age/graph/surface.cpp:29: + from age/graph/scene_import_txt.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5972,7 +5984,7 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o triangle.o `test -f 'age/graph/triangle.cpp' || echo './'`age/graph/triangle.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface_sdl.o `test -f 'age/graph/surface_sdl.cpp' || echo './'`age/graph/surface_sdl.cpp In file included from age/graph/age.h:71, from age/graph/surface_height.cpp:32: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5982,12 +5994,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o vector.o `test -f 'age/graph/vector.cpp' || echo './'`age/graph/vector.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o vertex_arrays.o `test -f 'age/graph/vertex_arrays.cpp' || echo './'`age/graph/vertex_arrays.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o world_interface.o `test -f 'age/graph/world_interface.cpp' || echo './'`age/graph/world_interface.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o age_main.o `test -f 'age/support/age_main.cpp' || echo './'`age/support/age_main.cpp In file included from age/graph/age.h:71, - from age/graph/surface_mask.cpp:29: + from age/graph/scene_load.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -5995,9 +6003,9 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o events.o `test -f 'age/support/events.cpp' || echo './'`age/support/events.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o surface_sw.o `test -f 'age/graph/surface_sw.cpp' || echo './'`age/graph/surface_sw.cpp In file included from age/graph/age.h:71, - from age/graph/surface_sdl.cpp:32: + from age/graph/surface.cpp:29: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6006,7 +6014,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/surface_sw.cpp:29: + from age/graph/surface_mask.cpp:29: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6014,10 +6022,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o input.o `test -f 'age/support/input.cpp' || echo './'`age/support/input.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o timer.o `test -f 'age/support/timer.cpp' || echo './'`age/support/timer.cpp In file included from age/graph/age.h:71, - from age/graph/vector.cpp:28: + from age/graph/surface_sdl.cpp:32: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6025,10 +6031,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o change.o `test -f 'age/utils/change.cpp' || echo './'`age/utils/change.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o data_file.o `test -f 'age/utils/data_file.cpp' || echo './'`age/utils/data_file.cpp In file included from age/graph/age.h:71, - from age/graph/vertex_arrays.cpp:34: + from age/graph/surface_sw.cpp:29: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6036,6 +6040,10 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o texture_func.o `test -f 'age/graph/texture_func.cpp' || echo './'`age/graph/texture_func.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o texture_unit.o `test -f 'age/graph/texture_unit.cpp' || echo './'`age/graph/texture_unit.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o triangle.o `test -f 'age/graph/triangle.cpp' || echo './'`age/graph/triangle.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o vector.o `test -f 'age/graph/vector.cpp' || echo './'`age/graph/vector.cpp age/graph/surface_sdl.cpp: In member function 'void surface_sdl::fill(tpos, tpos, tpos, tpos, tcolor)': age/graph/surface_sdl.cpp:340:35: warning: narrowing conversion of 'x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] SDL_Rect rec = { x, y, dx, dy }; @@ -6067,8 +6075,10 @@ age/graph/surface_sdl.cpp:359:36: warning: narrowing conversion of 'ty' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} inside { } [-Wnarrowing] age/graph/surface_sdl.cpp:359:36: warning: narrowing conversion of 'dx' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] age/graph/surface_sdl.cpp:359:36: warning: narrowing conversion of 'dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} inside { } [-Wnarrowing] +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o vertex_arrays.o `test -f 'age/graph/vertex_arrays.cpp' || echo './'`age/graph/vertex_arrays.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o world_interface.o `test -f 'age/graph/world_interface.cpp' || echo './'`age/graph/world_interface.cpp In file included from age/graph/age.h:71, - from age/support/age_main.cpp:32: + from age/graph/vector.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6076,10 +6086,34 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o age_main.o `test -f 'age/support/age_main.cpp' || echo './'`age/support/age_main.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o events.o `test -f 'age/support/events.cpp' || echo './'`age/support/events.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o input.o `test -f 'age/support/input.cpp' || echo './'`age/support/input.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o timer.o `test -f 'age/support/timer.cpp' || echo './'`age/support/timer.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o change.o `test -f 'age/utils/change.cpp' || echo './'`age/utils/change.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o data_file.o `test -f 'age/utils/data_file.cpp' || echo './'`age/utils/data_file.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ini.o `test -f 'age/utils/ini.cpp' || echo './'`age/utils/ini.cpp +In file included from age/graph/age.h:71, + from age/graph/vertex_arrays.cpp:34: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o log.o `test -f 'age/utils/log.cpp' || echo './'`age/utils/log.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o mem_alloc.o `test -f 'age/utils/mem_alloc.cpp' || echo './'`age/utils/mem_alloc.cpp In file included from age/graph/age.h:71, + from age/support/age_main.cpp:32: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from age/graph/age.h:71, from age/support/input.cpp:31: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] @@ -6091,11 +6125,8 @@ g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o mtree.o `test -f 'age/utils/mtree.cpp' || echo './'`age/utils/mtree.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o utils.o `test -f 'age/utils/utils.cpp' || echo './'`age/utils/utils.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o animationk.o `test -f 'kofola/animationk.cpp' || echo './'`kofola/animationk.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o generator_random.o `test -f 'generator/generator_random.cpp' || echo './'`generator/generator_random.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Ddx.o `test -f 'komat/Ddx.cpp' || echo './'`komat/Ddx.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o kfile.o `test -f 'komat/kfile.cpp' || echo './'`komat/kfile.cpp In file included from age/graph/age.h:71, - from age/utils/data_file.cpp:37: + from age/utils/change.cpp:32: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6103,10 +6134,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_animace.o `test -f 'komat/Berusky3d_animace.cpp' || echo './'`komat/Berusky3d_animace.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 3dmath.o `test -f 'komat/3dmath.cpp' || echo './'`komat/3dmath.cpp In file included from age/graph/age.h:71, - from age/utils/change.cpp:32: + from age/utils/data_file.cpp:37: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6114,8 +6143,9 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 3dproject.o `test -f 'komat/3dproject.cpp' || echo './'`komat/3dproject.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Mat3d.o `test -f 'komat/Mat3d.cpp' || echo './'`komat/Mat3d.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o generator_random.o `test -f 'generator/generator_random.cpp' || echo './'`generator/generator_random.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Ddx.o `test -f 'komat/Ddx.cpp' || echo './'`komat/Ddx.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o kfile.o `test -f 'komat/kfile.cpp' || echo './'`komat/kfile.cpp age/utils/utils.cpp: In member function 'void dir_list::update_path(char*)': age/utils/utils.cpp:47:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(cwd); @@ -6133,16 +6163,14 @@ age/utils/utils.cpp:73:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(cwd); ~~~~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Berusky3d_animace.o `test -f 'komat/Berusky3d_animace.cpp' || echo './'`komat/Berusky3d_animace.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 3dmath.o `test -f 'komat/3dmath.cpp' || echo './'`komat/3dmath.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 3dproject.o `test -f 'komat/3dproject.cpp' || echo './'`komat/3dproject.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Mat3d.o `test -f 'komat/Mat3d.cpp' || echo './'`komat/Mat3d.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Keyframe.o `test -f 'komat/Keyframe.cpp' || echo './'`komat/Keyframe.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Texture.o `test -f 'komat/Texture.cpp' || echo './'`komat/Texture.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Texture_import.o `test -f 'komat/Texture_import.cpp' || echo './'`komat/Texture_import.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o obbo.o `test -f 'komat/obbo.cpp' || echo './'`komat/obbo.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Kdtree.o `test -f 'komat/Kdtree.cpp' || echo './'`komat/Kdtree.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o json_export.o `test -f 'komat/json_export.cpp' || echo './'`komat/json_export.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ambient_sounds.o `test -f 'kofola/ambient_sounds.cpp' || echo './'`kofola/ambient_sounds.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Ddx.cpp:5: + from kofola/animationk.cpp:6: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6152,7 +6180,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_animace.cpp:12: + from komat/Ddx.cpp:5: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6162,7 +6190,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/3dmath.cpp:4: + from komat/Berusky3d_animace.cpp:12: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6172,7 +6200,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/animationk.cpp:6: + from komat/3dmath.cpp:4: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6180,23 +6208,42 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/animationk.cpp:6: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/3dproject.cpp:5: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ + from kofola/animationk.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/animationk.cpp:6: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Mat3d.cpp:4: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ + from kofola/animationk.cpp:6: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/animationk.cpp:6: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/animationk.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -6212,7 +6259,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture.cpp:4: + from komat/Mat3d.cpp:4: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6220,10 +6267,9 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o audio_plug-in.o `test -f 'kofola/audio_plug-in.cpp' || echo './'`kofola/audio_plug-in.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture_import.cpp:3: + from komat/3dproject.cpp:5: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6244,16 +6290,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/obbo.cpp:4: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Ddx.cpp:5: @@ -6280,16 +6316,51 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Kdtree.cpp:2: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ +kofola/animationk.cpp: In function 'void am_Init_Zhave_Castice(LEVELINFO*)': +kofola/animationk.cpp:811:58: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct FAIRY_EFFECT'; use assignment or value-initialization instead [-Wclass-memaccess] + memset(&p_Level->StarFall[i], 0, sizeof(FAIRY_EFFECT)); + ^ +In file included from komat/Berusky3d_kofola_interface.h:22, + from kofola/animationk.cpp:7: +kofola/Object.h:365:1: note: 'struct FAIRY_EFFECT' declared here + { + ^ +kofola/animationk.cpp:815:63: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CANDLE_EFFECT'; use assignment or value-initialization instead [-Wclass-memaccess] + memset(&p_Level->CandleEffect[i], 0, sizeof(CANDLE_EFFECT)); + ^ +In file included from komat/Berusky3d_kofola_interface.h:22, + from kofola/animationk.cpp:7: +kofola/Object.h:389:1: note: 'struct CANDLE_EFFECT' declared here + { + ^ +kofola/animationk.cpp:817:62: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CANDLE_EFFECT'; use assignment or value-initialization instead [-Wclass-memaccess] + memset(&p_Level->CandleSmoke[i], 0, sizeof(CANDLE_EFFECT)); + ^ +In file included from komat/Berusky3d_kofola_interface.h:22, + from kofola/animationk.cpp:7: +kofola/Object.h:389:1: note: 'struct CANDLE_EFFECT' declared here + { + ^ +kofola/animationk.cpp:822:61: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct FAIRY_EFFECT'; use assignment or value-initialization instead [-Wclass-memaccess] + memset(&p_Level->FairyEffect[i], 0, sizeof(FAIRY_EFFECT)); + ^ +In file included from komat/Berusky3d_kofola_interface.h:22, + from kofola/animationk.cpp:7: +kofola/Object.h:365:1: note: 'struct FAIRY_EFFECT' declared here + { + ^ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Texture.o `test -f 'komat/Texture.cpp' || echo './'`komat/Texture.cpp +kofola/animationk.cpp: In function 'void am_Do_Water_KolaB(LEVELINFO*)': +kofola/animationk.cpp:1271:47: warning: comparison of integer expressions of different signedness: 'size_ptr' {aka 'unsigned int'} and 'int' [-Wsign-compare] + p_Level->VodniKolaB[i].hHnizdo[2] != -1) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +kofola/animationk.cpp:1275:45: warning: comparison of integer expressions of different signedness: 'size_ptr' {aka 'unsigned int'} and 'int' [-Wsign-compare] + if (p_Level->VodniKolaB[i].hHnizdo[2] != -1) { + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +kofola/animationk.cpp: In function 'int am_Find_Corresponding_VodniKolaB(int, LEVELINFO*)': +kofola/animationk.cpp:1782:43: warning: comparison of integer expressions of different signedness: 'size_ptr' {aka 'unsigned int'} and 'int' [-Wsign-compare] + p_Level->VodniKolaB[i].hHnizdo[2] == mesh) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Berusky3d_animace.cpp:12: @@ -6305,19 +6376,6 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/3dmath.cpp:4: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/3dmath.cpp:4: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, from komat/Berusky3d_animace.cpp:12: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] @@ -6344,69 +6402,136 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/3dmath.cpp:4: + from komat/Keyframe.cpp:15: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Keyframe.cpp:15: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from komat/Keyframe.cpp:15: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/3dmath.cpp:4: + from komat/Keyframe.cpp:15: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/3dmath.cpp:4: + from komat/Keyframe.cpp:15: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/3dmath.cpp:4: + from komat/Keyframe.cpp:15: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/3dproject.cpp:5: + from komat/3dmath.cpp:4: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/3dproject.cpp:5: + from komat/3dmath.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +kofola/animationk.cpp: In function 'int am_Init(ANIMATION_MODULE*, LEVELINFO*)': +kofola/animationk.cpp:80:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/3dproject.cpp:5: + from komat/3dmath.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/3dproject.cpp:5: + from komat/3dmath.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/3dproject.cpp:5: + from komat/3dmath.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/3dproject.cpp:5: + from komat/3dmath.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +komat/Keyframe.cpp: In function 'HIERARCHY_TRACK_INFO* key_tri_vyrob_indir(HIERARCHY_TRACK_INFO*, int, int, int)': +komat/Keyframe.cpp:1490:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'HIERARCHY_TRACK_INFO' {aka 'struct _HIERARCHY_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_hir, 0, sizeof(p_hir[0])); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Keyframe.cpp:15: +komat/Mat3d.h:754:16: note: 'HIERARCHY_TRACK_INFO' {aka 'struct _HIERARCHY_TRACK_INFO'} declared here + typedef struct _HIERARCHY_TRACK_INFO + ^~~~~~~~~~~~~~~~~~~~~ +komat/Keyframe.cpp: In function 'SIMPLE_TRACK_INFO* key_tri_to_sim_indir(HIERARCHY_TRACK_INFO*, SIMPLE_TRACK_INFO*, int, int)': +komat/Keyframe.cpp:2097:45: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_sim, 0, sizeof(SIMPLE_TRACK_INFO)); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Keyframe.cpp:15: +komat/Mat3d.h:830:16: note: 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'} declared here + typedef struct _SIMPLE_TRACK_INFO + ^~~~~~~~~~~~~~~~~~ +komat/Keyframe.cpp: In function 'SIMPLE_TRACK_INFO* key_tri_to_sim_indir_lin(HIERARCHY_TRACK_INFO*, SIMPLE_TRACK_INFO*, int)': +komat/Keyframe.cpp:2156:45: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_sim, 0, sizeof(SIMPLE_TRACK_INFO)); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Keyframe.cpp:15: +komat/Mat3d.h:830:16: note: 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'} declared here + typedef struct _SIMPLE_TRACK_INFO + ^~~~~~~~~~~~~~~~~~ +komat/Keyframe.cpp: In function 'int key_sim_nahraj_extended(EDIT_KONTEJNER*, int, char*, char*)': +komat/Keyframe.cpp:2507:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'HIERARCHY_TRACK_INFO' {aka 'struct _HIERARCHY_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_track, 0, sizeof(p_track[0])); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Keyframe.cpp:15: +komat/Mat3d.h:754:16: note: 'HIERARCHY_TRACK_INFO' {aka 'struct _HIERARCHY_TRACK_INFO'} declared here + typedef struct _HIERARCHY_TRACK_INFO + ^~~~~~~~~~~~~~~~~~~~~ +komat/Keyframe.cpp: In function 'void key_sim_root_to_sim_indir(HIERARCHY_SIM*, SIMPLE_TRACK_INFO*)': +komat/Keyframe.cpp:2877:45: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_sim, 0, sizeof(SIMPLE_TRACK_INFO)); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Keyframe.cpp:15: +komat/Mat3d.h:830:16: note: 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'} declared here + typedef struct _SIMPLE_TRACK_INFO + ^~~~~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Mat3d.cpp:4: @@ -6422,73 +6547,151 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/animationk.cpp:6: + from komat/Mat3d.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Mat3d.cpp:4: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +komat/Keyframe.cpp: In function 'void key_sim_uloz(SIMPLE_TRACK_INFO*, char*, char*)': +komat/Keyframe.cpp:2254:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from komat/3dproject.cpp:5: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/animationk.cpp:6: + from komat/3dproject.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Mat3d.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': +komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(inv, 0, sizeof(*inv)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Mat3d.cpp:4: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +komat/Keyframe.cpp: In function 'int key_sim_nahraj(APAK_HANDLE*, SIMPLE_TRACK_INFO*, char*, char*, int)': +komat/Keyframe.cpp:2297:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +komat/Keyframe.cpp: In function 'int key_sim_nahraj_extended(EDIT_KONTEJNER*, int, char*, char*)': +komat/Keyframe.cpp:2464:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from komat/3dproject.cpp:5: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Mat3d.cpp:4: + from komat/3dproject.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +komat/Keyframe.cpp: In function 'int key_kamera_uloz(KAMERA_TRACK_INFO*, char*, char*, char*, char*)': +komat/Keyframe.cpp:3061:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Mat3d.cpp:4: + from komat/3dproject.cpp:5: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Mat3d.cpp:4: + from komat/3dproject.cpp:5: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +komat/Keyframe.cpp: In function 'int key_kamera_nahraj(KAMERA_TRACK_INFO*, char*, char*, APAK_HANDLE*, char*, char*)': +komat/Keyframe.cpp:3136:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +komat/Keyframe.cpp: In function 'ANIM_TEXT* key_text_nahraj(char*, char*)': +komat/Keyframe.cpp:3452:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +komat/Keyframe.cpp: In function 'int key_text_uloz(ANIM_TEXT*, char*, char*)': +komat/Keyframe.cpp:3563:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Texture_import.o `test -f 'komat/Texture_import.cpp' || echo './'`komat/Texture_import.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o obbo.o `test -f 'komat/obbo.cpp' || echo './'`komat/obbo.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Texture.cpp:4: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/animationk.cpp:6: + from komat/Texture.cpp:4: +komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': +komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m, 0, sizeof(*m)); + ^ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Texture.cpp:4: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from komat/Texture.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/animationk.cpp:6: + from komat/Texture.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/animationk.cpp:6: + from komat/Texture.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/animationk.cpp:6: + from komat/Texture.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 3d_math_k.o `test -f 'adas/3d_math_k.c' || echo './'`adas/3d_math_k.c In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/ambient_sounds.cpp:11: + from komat/obbo.cpp:4: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6498,7 +6701,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/json_export.cpp:27: + from komat/Texture_import.cpp:3: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m,0,sizeof(*m)); @@ -6508,309 +6711,320 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Keyframe.cpp:15: + from komat/obbo.cpp:4: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Keyframe.cpp:15: + from komat/obbo.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Keyframe.cpp:15: + from komat/obbo.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Keyframe.cpp:15: + from komat/obbo.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Keyframe.cpp:15: + from komat/obbo.cpp:4: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Keyframe.cpp:15: + from komat/obbo.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/animationk.cpp: In function 'void am_Init_Zhave_Castice(LEVELINFO*)': -kofola/animationk.cpp:811:58: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct FAIRY_EFFECT'; use assignment or value-initialization instead [-Wclass-memaccess] - memset(&p_Level->StarFall[i], 0, sizeof(FAIRY_EFFECT)); - ^ -In file included from komat/Berusky3d_kofola_interface.h:22, - from kofola/animationk.cpp:7: -kofola/Object.h:365:1: note: 'struct FAIRY_EFFECT' declared here - { - ^ -kofola/animationk.cpp:815:63: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CANDLE_EFFECT'; use assignment or value-initialization instead [-Wclass-memaccess] - memset(&p_Level->CandleEffect[i], 0, sizeof(CANDLE_EFFECT)); - ^ -In file included from komat/Berusky3d_kofola_interface.h:22, - from kofola/animationk.cpp:7: -kofola/Object.h:389:1: note: 'struct CANDLE_EFFECT' declared here - { - ^ -kofola/animationk.cpp:817:62: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct CANDLE_EFFECT'; use assignment or value-initialization instead [-Wclass-memaccess] - memset(&p_Level->CandleSmoke[i], 0, sizeof(CANDLE_EFFECT)); - ^ -In file included from komat/Berusky3d_kofola_interface.h:22, - from kofola/animationk.cpp:7: -kofola/Object.h:389:1: note: 'struct CANDLE_EFFECT' declared here - { - ^ -kofola/animationk.cpp:822:61: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct FAIRY_EFFECT'; use assignment or value-initialization instead [-Wclass-memaccess] - memset(&p_Level->FairyEffect[i], 0, sizeof(FAIRY_EFFECT)); - ^ -In file included from komat/Berusky3d_kofola_interface.h:22, - from kofola/animationk.cpp:7: -kofola/Object.h:365:1: note: 'struct FAIRY_EFFECT' declared here - { - ^ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o Kdtree.o `test -f 'komat/Kdtree.cpp' || echo './'`komat/Kdtree.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Texture.cpp:4: + from komat/Texture_import.cpp:3: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture.cpp:4: + from komat/Texture_import.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +komat/obbo.cpp: In function 'void obb_prvek(OBB_OLD*)': +komat/obbo.cpp:418:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'OBB_OLD' {aka 'struct _OBB_OLD'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_obb, 0, sizeof(p_obb[0])); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/obbo.cpp:4: +komat/Mat3d.h:148:16: note: 'OBB_OLD' {aka 'struct _OBB_OLD'} declared here + typedef struct _OBB_OLD + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Texture.cpp:4: + from komat/Texture_import.cpp:3: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture.cpp:4: + from komat/Texture_import.cpp:3: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/animationk.cpp: In function 'void am_Do_Water_KolaB(LEVELINFO*)': -kofola/animationk.cpp:1271:47: warning: comparison of integer expressions of different signedness: 'size_ptr' {aka 'unsigned int'} and 'int' [-Wsign-compare] - p_Level->VodniKolaB[i].hHnizdo[2] != -1) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -kofola/animationk.cpp:1275:45: warning: comparison of integer expressions of different signedness: 'size_ptr' {aka 'unsigned int'} and 'int' [-Wsign-compare] - if (p_Level->VodniKolaB[i].hHnizdo[2] != -1) { - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Texture.cpp:4: + from komat/Texture_import.cpp:3: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture.cpp:4: + from komat/Texture_import.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +komat/obbo.cpp: In function 'void obbtree_vyrob(OBB_TREE_OLD*, EDIT_MESH_POLY*, int, GAME_MESH_OLD**, int, int*, EDIT_MATERIAL**)': +komat/obbo.cpp:897:40: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_prvni, 0, sizeof(p_prvni[0])); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/obbo.cpp:4: +komat/Mat3d.h:1512:16: note: 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'} declared here + typedef struct _OBB_TREE_OLD + ^~~~~~~~~~~~~ +komat/obbo.cpp: In function 'void obbtree_vyrob_rec(OBB_TREE_OLD*, float)': +komat/obbo.cpp:994:52: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_obalky, 0, sizeof(p_obalky[0]) * itemnum); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/obbo.cpp:4: +komat/Mat3d.h:1512:16: note: 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'} declared here + typedef struct _OBB_TREE_OLD + ^~~~~~~~~~~~~ +kofola/animationk.cpp: In function 'void am_Init_Zhave_Castice(LEVELINFO*)': +kofola/animationk.cpp:790:40: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] + p_Level->VodniKola[i].hHnizdo[j] = 0; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ +kofola/animationk.cpp:785:17: note: within this loop + for (i = 0; i < 100; i++) { + ~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o json_export.o `test -f 'komat/json_export.cpp' || echo './'`komat/json_export.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ambient_sounds.o `test -f 'kofola/ambient_sounds.cpp' || echo './'`kofola/ambient_sounds.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o audio_plug-in.o `test -f 'kofola/audio_plug-in.cpp' || echo './'`kofola/audio_plug-in.cpp +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/Kdtree.cpp:2: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/animationk.cpp: In function 'int am_Find_Corresponding_VodniKolaB(int, LEVELINFO*)': -kofola/animationk.cpp:1782:43: warning: comparison of integer expressions of different signedness: 'size_ptr' {aka 'unsigned int'} and 'int' [-Wsign-compare] - p_Level->VodniKolaB[i].hHnizdo[2] == mesh) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o adas.o `test -f 'adas/adas.c' || echo './'`adas/adas.c In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Texture_import.cpp:3: + from komat/Kdtree.cpp:2: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture_import.cpp:3: + from komat/Kdtree.cpp:2: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Texture_import.cpp:3: + from komat/Kdtree.cpp:2: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture_import.cpp:3: + from komat/Kdtree.cpp:2: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Texture_import.cpp:3: + from komat/Kdtree.cpp:2: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture_import.cpp:3: + from komat/Kdtree.cpp:2: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +komat/Kdtree.cpp: In function 'void kd_strom_vyrob(EDIT_MESH_POLY*, int, EDIT_KONTEJNER**, int, KD_BUNKA*)': +komat/Kdtree.cpp:495:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'KD_BUNKA' {aka 'struct _KD_BUNKA'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_prvni, 0, sizeof(p_prvni[0])); + ^ +In file included from tmp/compat.h:73, + from komat/3d_all.h:28, + from komat/Kdtree.cpp:2: +komat/Kdtree.h:26:16: note: 'KD_BUNKA' {aka 'struct _KD_BUNKA'} declared here + typedef struct _KD_BUNKA + ^~~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/ambient_sounds.cpp:11: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/audio_plug-in.cpp:7: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o 3d_math_k.o `test -f 'adas/3d_math_k.c' || echo './'`adas/3d_math_k.c +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from komat/json_export.cpp:27: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/obbo.cpp:4: + from kofola/ambient_sounds.cpp:11: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/obbo.cpp:4: + from kofola/ambient_sounds.cpp:11: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/obbo.cpp:4: + from kofola/ambient_sounds.cpp:11: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/obbo.cpp:4: + from kofola/ambient_sounds.cpp:11: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Keyframe.cpp: In function 'HIERARCHY_TRACK_INFO* key_tri_vyrob_indir(HIERARCHY_TRACK_INFO*, int, int, int)': -komat/Keyframe.cpp:1490:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'HIERARCHY_TRACK_INFO' {aka 'struct _HIERARCHY_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_hir, 0, sizeof(p_hir[0])); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Keyframe.cpp:15: -komat/Mat3d.h:754:16: note: 'HIERARCHY_TRACK_INFO' {aka 'struct _HIERARCHY_TRACK_INFO'} declared here - typedef struct _HIERARCHY_TRACK_INFO - ^~~~~~~~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/obbo.cpp:4: + from kofola/ambient_sounds.cpp:11: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/obbo.cpp:4: + from kofola/ambient_sounds.cpp:11: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Kdtree.cpp:2: + from kofola/audio_plug-in.cpp:7: komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(m, 0, sizeof(*m)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Kdtree.cpp:2: + from kofola/audio_plug-in.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Keyframe.cpp: In function 'SIMPLE_TRACK_INFO* key_tri_to_sim_indir(HIERARCHY_TRACK_INFO*, SIMPLE_TRACK_INFO*, int, int)': -komat/Keyframe.cpp:2097:45: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_sim, 0, sizeof(SIMPLE_TRACK_INFO)); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Keyframe.cpp:15: -komat/Mat3d.h:830:16: note: 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'} declared here - typedef struct _SIMPLE_TRACK_INFO - ^~~~~~~~~~~~~~~~~~ -komat/Keyframe.cpp: In function 'SIMPLE_TRACK_INFO* key_tri_to_sim_indir_lin(HIERARCHY_TRACK_INFO*, SIMPLE_TRACK_INFO*, int)': -komat/Keyframe.cpp:2156:45: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_sim, 0, sizeof(SIMPLE_TRACK_INFO)); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Keyframe.cpp:15: -komat/Mat3d.h:830:16: note: 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'} declared here - typedef struct _SIMPLE_TRACK_INFO - ^~~~~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Kdtree.cpp:2: + from kofola/audio_plug-in.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Kdtree.cpp:2: + from kofola/audio_plug-in.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Kdtree.cpp:2: + from kofola/audio_plug-in.cpp:7: komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Kdtree.cpp:2: + from kofola/audio_plug-in.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Keyframe.cpp: In function 'int key_sim_nahraj_extended(EDIT_KONTEJNER*, int, char*, char*)': -komat/Keyframe.cpp:2507:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'HIERARCHY_TRACK_INFO' {aka 'struct _HIERARCHY_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_track, 0, sizeof(p_track[0])); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Keyframe.cpp:15: -komat/Mat3d.h:754:16: note: 'HIERARCHY_TRACK_INFO' {aka 'struct _HIERARCHY_TRACK_INFO'} declared here - typedef struct _HIERARCHY_TRACK_INFO - ^~~~~~~~~~~~~~~~~~~~~ -komat/Keyframe.cpp: In function 'void key_sim_root_to_sim_indir(HIERARCHY_SIM*, SIMPLE_TRACK_INFO*)': -komat/Keyframe.cpp:2877:45: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_sim, 0, sizeof(SIMPLE_TRACK_INFO)); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, +gcc -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o adas.o `test -f 'adas/adas.c' || echo './'`adas/adas.c +kofola/audio_plug-in.cpp: In function 'int ap_Load_Sound_List(AUDIO_DATA*, char*, int)': +kofola/audio_plug-in.cpp:91:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(p_ad->Sound_Dir); + ~~~~~^~~~~~~~~~~~~~~~~ +kofola/audio_plug-in.cpp: In function 'int ap_Load_Play_List(char*, AUDIO_DATA*)': +kofola/audio_plug-in.cpp:137:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(p_ad->Music_Dir); + ~~~~~^~~~~~~~~~~~~~~~~ +kofola/audio_plug-in.cpp:147:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, 30, file); + ~~~~~^~~~~~~~~~~~~~~~ +kofola/audio_plug-in.cpp:160:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(p_name, 30, file); + ~~~~~^~~~~~~~~~~~~~~~~~ +In file included from age/graph/vector.h:36, + from age/graph/age.h:68, + from komat/3d_all.h:17, from komat/Keyframe.cpp:15: -komat/Mat3d.h:830:16: note: 'SIMPLE_TRACK_INFO' {aka 'struct _SIMPLE_TRACK_INFO'} declared here - typedef struct _SIMPLE_TRACK_INFO - ^~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ogg_io.o `test -f 'adas/ogg_io.c' || echo './'`adas/ogg_io.c -kofola/animationk.cpp: In function 'int am_Init(ANIMATION_MODULE*, LEVELINFO*)': -kofola/animationk.cpp:80:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ -komat/obbo.cpp: In function 'void obb_prvek(OBB_OLD*)': -komat/obbo.cpp:418:36: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'OBB_OLD' {aka 'struct _OBB_OLD'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_obb, 0, sizeof(p_obb[0])); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/obbo.cpp:4: -komat/Mat3d.h:148:16: note: 'OBB_OLD' {aka 'struct _OBB_OLD'} declared here - typedef struct _OBB_OLD - ^~~~~~~~ +age/graph/vector_operators.h: In function 'void key_tri_calc_absolutne(TRACK_INFO*, QUAT*)': +age/graph/vector_operators.h:90:5: warning: '.vect3df::x' is used uninitialized in this function [-Wuninitialized] + x *= src; \ + ^~ +age/graph/vector_operators.h:91:5: warning: '.vect3df::y' is used uninitialized in this function [-Wuninitialized] + y *= src; \ + ^~ +age/graph/vector_operators.h:92:5: warning: '.vect3df::z' is used uninitialized in this function [-Wuninitialized] + z *= src; \ + ^~ adas/adas.c: In function 'adas_Init': adas/adas.c:214:28: warning: pointer targets in passing argument 1 of 'alcOpenDevice' differ in signedness [-Wpointer-sign] p_Device = alcOpenDevice((ALCubyte *) p_adas_data->Implementation); @@ -6941,10 +7155,6 @@ /usr/include/AL/alut.h:113:55: note: declared here ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutLoadWAVFile (ALbyte *fileName, ALenum *format, void **data, ALsizei *size, ALsizei *frequency, ALboolean *loop); ^~~~~~~~~~~~~~~ -komat/obbo.cpp: In function 'void obbtree_vyrob(OBB_TREE_OLD*, EDIT_MESH_POLY*, int, GAME_MESH_OLD**, int, int*, EDIT_MATERIAL**)': -komat/obbo.cpp:897:40: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_prvni, 0, sizeof(p_prvni[0])); - ^ adas/adas.c:915:19: warning: pointer targets in passing argument 1 of 'alutLoadWAVFile' differ in signedness [-Wpointer-sign] alutLoadWAVFile(text, &Format, &Data, &Size, &Frequece, &loop); ^~~~ @@ -6953,12 +7163,6 @@ /usr/include/AL/alut.h:113:55: note: expected 'ALbyte *' {aka 'signed char *'} but argument is of type 'char *' ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutLoadWAVFile (ALbyte *fileName, ALenum *format, void **data, ALsizei *size, ALsizei *frequency, ALboolean *loop); ^~~~~~~~~~~~~~~ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/obbo.cpp:4: -komat/Mat3d.h:1512:16: note: 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'} declared here - typedef struct _OBB_TREE_OLD - ^~~~~~~~~~~~~ adas/adas.c:915:48: warning: pointer targets in passing argument 5 of 'alutLoadWAVFile' differ in signedness [-Wpointer-sign] alutLoadWAVFile(text, &Format, &Data, &Size, &Frequece, &loop); ^~~~~~~~~ @@ -6978,44 +7182,6 @@ /usr/include/AL/alut.h:116:55: note: declared here ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutUnloadWAV (ALenum format, ALvoid *data, ALsizei size, ALsizei frequency); ^~~~~~~~~~~~~ -komat/obbo.cpp: In function 'void obbtree_vyrob_rec(OBB_TREE_OLD*, float)': -komat/obbo.cpp:994:52: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_obalky, 0, sizeof(p_obalky[0]) * itemnum); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/obbo.cpp:4: -komat/Mat3d.h:1512:16: note: 'OBB_TREE_OLD' {aka 'struct _OBB_TREE_OLD'} declared here - typedef struct _OBB_TREE_OLD - ^~~~~~~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/audio_plug-in.cpp:7: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -komat/Kdtree.cpp: In function 'void kd_strom_vyrob(EDIT_MESH_POLY*, int, EDIT_KONTEJNER**, int, KD_BUNKA*)': -komat/Kdtree.cpp:495:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'KD_BUNKA' {aka 'struct _KD_BUNKA'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_prvni, 0, sizeof(p_prvni[0])); - ^ -In file included from tmp/compat.h:73, - from komat/3d_all.h:28, - from komat/Kdtree.cpp:2: -komat/Kdtree.h:26:16: note: 'KD_BUNKA' {aka 'struct _KD_BUNKA'} declared here - typedef struct _KD_BUNKA - ^~~~~~~~~ -komat/Keyframe.cpp: In function 'void key_sim_uloz(SIMPLE_TRACK_INFO*, char*, char*)': -komat/Keyframe.cpp:2254:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ -komat/Keyframe.cpp: In function 'int key_sim_nahraj(APAK_HANDLE*, SIMPLE_TRACK_INFO*, char*, char*, int)': -komat/Keyframe.cpp:2297:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ adas/adas.c: In function 'adas_Load_First': adas/adas.c:370:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(data, 100, file); @@ -7026,13 +7192,6 @@ adas/adas.c:384:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(data, 100, file); ^~~~~~~~~~~~~~~~~~~~~~ -adas/ogg_io.c: In function 'ogg_playback': -adas/ogg_io.c:113:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - if(!ogg_stream(buffers[2])) - ^~ -adas/ogg_io.c:116:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - alSourceQueueBuffers(source, 3, buffers); - ^~~~~~~~~~~~~~~~~~~~ adas/adas.c: In function 'adas_Load_FirstMemory': adas/adas.c:458:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(data, 100, file); @@ -7043,75 +7202,10 @@ adas/adas.c:474:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(data, 100, file); ^~~~~~~~~~~~~~~~~~~~~~ -komat/Keyframe.cpp: In function 'int key_sim_nahraj_extended(EDIT_KONTEJNER*, int, char*, char*)': -komat/Keyframe.cpp:2464:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ adas/adas.c: In function 'adas_Load_Next': adas/adas.c:526:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(ADAS_data.Sound_Dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~ -adas/adas.c: In function 'adas_Load_Wave': -adas/adas.c:914:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] - chdir(ADAS_data.Sound_Dir); - ^~~~~~~~~~~~~~~~~~~~~~~~~~ -komat/Keyframe.cpp: In function 'int key_kamera_uloz(KAMERA_TRACK_INFO*, char*, char*, char*, char*)': -komat/Keyframe.cpp:3061:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ -komat/Keyframe.cpp: In function 'int key_kamera_nahraj(KAMERA_TRACK_INFO*, char*, char*, APAK_HANDLE*, char*, char*)': -komat/Keyframe.cpp:3136:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ -komat/Keyframe.cpp: In function 'ANIM_TEXT* key_text_nahraj(char*, char*)': -komat/Keyframe.cpp:3452:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ -komat/Keyframe.cpp: In function 'int key_text_uloz(ANIM_TEXT*, char*, char*)': -komat/Keyframe.cpp:3563:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/ambient_sounds.cpp:11: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/ambient_sounds.cpp:11: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ogg_stream.o `test -f 'adas/ogg_stream.c' || echo './'`adas/ogg_stream.c -g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o compat_mini.o `test -f 'tmp/compat_mini.cpp' || echo './'`tmp/compat_mini.cpp -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/ambient_sounds.cpp:11: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/ambient_sounds.cpp:11: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/ambient_sounds.cpp:11: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/ambient_sounds.cpp:11: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/json_export.cpp:27: @@ -7125,6 +7219,10 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +adas/adas.c: In function 'adas_Load_Wave': +adas/adas.c:914:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] + chdir(ADAS_data.Sound_Dir); + ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/json_export.cpp:27: @@ -7151,6 +7249,30 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +age/graph/vector_operators.h: In function 'void key_sim_calc_absolutne(SIMPLE_TRACK_INFO*)': +age/graph/vector_operators.h:90:5: warning: '.vect3df::x' is used uninitialized in this function [-Wuninitialized] + x *= src; \ + ^~ +age/graph/vector_operators.h:91:5: warning: '.vect3df::y' is used uninitialized in this function [-Wuninitialized] + y *= src; \ + ^~ +age/graph/vector_operators.h:92:5: warning: '.vect3df::z' is used uninitialized in this function [-Wuninitialized] + z *= src; \ + ^~ +komat/json_export.cpp: In function 'void json_export_start(char*)': +komat/json_export.cpp:679:11: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(export_level_dir,MAX_FILENAME); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ogg_io.o `test -f 'adas/ogg_io.c' || echo './'`adas/ogg_io.c +adas/ogg_io.c: In function 'ogg_playback': +adas/ogg_io.c:113:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + if(!ogg_stream(buffers[2])) + ^~ +adas/ogg_io.c:116:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + alSourceQueueBuffers(source, 3, buffers); + ^~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o ogg_stream.o `test -f 'adas/ogg_stream.c' || echo './'`adas/ogg_stream.c +g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o compat_mini.o `test -f 'tmp/compat_mini.cpp' || echo './'`tmp/compat_mini.cpp g++ -DHAVE_CONFIG_H -I. -I.. -Ikomat -Ikofola -Itmp -Iage/graph -Iage/include -Iage/support -Iage/utils -Igenerator -Iadas -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -c -o alut_test.o `test -f 'tmp/alut_test.cpp' || echo './'`tmp/alut_test.cpp adas/ogg_stream.c: In function 'adas_OGG_Read_StreamB': adas/ogg_stream.c:297:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] @@ -7266,79 +7388,6 @@ /usr/include/AL/alut.h:116:55: note: declared here ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutUnloadWAV (ALenum format, ALvoid *data, ALsizei size, ALsizei frequency); ^~~~~~~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/audio_plug-in.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* zero_matrix(GLMATRIX*)': -komat/Matrix.h:10:26: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m, 0, sizeof(*m)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/audio_plug-in.cpp:7: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/audio_plug-in.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:355:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/audio_plug-in.cpp:7: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/audio_plug-in.cpp:7: -komat/Matrix.h: In function 'GLMATRIX* invert_matrix_copy(GLMATRIX*, GLMATRIX*)': -komat/Matrix.h:404:32: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(inv, 0, sizeof(*inv)); - ^ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/audio_plug-in.cpp:7: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -kofola/audio_plug-in.cpp: In function 'int ap_Load_Sound_List(AUDIO_DATA*, char*, int)': -kofola/audio_plug-in.cpp:91:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(p_ad->Sound_Dir); - ~~~~~^~~~~~~~~~~~~~~~~ -kofola/audio_plug-in.cpp: In function 'int ap_Load_Play_List(char*, AUDIO_DATA*)': -kofola/audio_plug-in.cpp:137:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(p_ad->Music_Dir); - ~~~~~^~~~~~~~~~~~~~~~~ -kofola/audio_plug-in.cpp:147:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, 30, file); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/audio_plug-in.cpp:160:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(p_name, 30, file); - ~~~~~^~~~~~~~~~~~~~~~~~ -komat/json_export.cpp: In function 'void json_export_start(char*)': -komat/json_export.cpp:679:11: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(export_level_dir,MAX_FILENAME); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from age/graph/age.h:71, - from age/graph/aabb.cpp:28: -age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': -age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(m,0,sizeof(*m)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -kofola/animationk.cpp: In function 'void am_Init_Zhave_Castice(LEVELINFO*)': -kofola/animationk.cpp:790:40: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] - p_Level->VodniKola[i].hHnizdo[j] = 0; - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ -kofola/animationk.cpp:785:17: note: within this loop - for (i = 0; i < 100; i++) { - ~~^~~~~ komat/json_export.cpp: In function 'void json_export_lightmap(int, bitmapa*)': komat/json_export.cpp:597:16: warning: '%s' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(file,"%s/%s_%d.bmp",export_level_dir,"lightmap",num); @@ -7351,31 +7400,16 @@ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from age/graph/vector.h:36, - from age/graph/age.h:68, - from komat/3d_all.h:17, - from komat/Keyframe.cpp:15: -age/graph/vector_operators.h: In function 'void key_tri_calc_absolutne(TRACK_INFO*, QUAT*)': -age/graph/vector_operators.h:90:5: warning: '.vect3df::x' is used uninitialized in this function [-Wuninitialized] - x *= src; \ - ^~ -age/graph/vector_operators.h:91:5: warning: '.vect3df::y' is used uninitialized in this function [-Wuninitialized] - y *= src; \ - ^~ -age/graph/vector_operators.h:92:5: warning: '.vect3df::z' is used uninitialized in this function [-Wuninitialized] - z *= src; \ - ^~ -age/graph/vector_operators.h: In function 'void key_sim_calc_absolutne(SIMPLE_TRACK_INFO*)': -age/graph/vector_operators.h:90:5: warning: '.vect3df::x' is used uninitialized in this function [-Wuninitialized] - x *= src; \ - ^~ -age/graph/vector_operators.h:91:5: warning: '.vect3df::y' is used uninitialized in this function [-Wuninitialized] - y *= src; \ - ^~ -age/graph/vector_operators.h:92:5: warning: '.vect3df::z' is used uninitialized in this function [-Wuninitialized] - z *= src; \ - ^~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -Wl,-z,relro -Wl,--as-needed -lSDL_image -lSDL -lGLU -lGL -lX11 -lalut -lopenal -lvorbisfile -lz -lpthread -o berusky2 3D_graphic.o 3D_menus.o 3d_math.o Apak.o Apakio.o Bind.o Camera.o Comics.o Command.o Dda.o Demo.o Init.o Menu.o Menu2.o Tools.o animend_functions.o apakdir.o apakfind.o apakstream.o controls.o controls3d.o credits.o font.o font3d.o game_init.o game_logic.o game_main.o grammar.o load_level.o menu_script.o profiles.o setup.o square_cut.o trigers.o volume.o water.o 3dinterface.o Berusky3d.o Berusky3d_castice.o Berusky3d_ini.o Berusky3d_kamery.o Berusky3d_kofola2d.o Berusky3d_kofola_interface.o Berusky3d_light.o Berusky3d_load.o Berusky3d_render.o Di.o Load.o Load_chunks.o Load_out.o compat.o 2D_graphic.o age.o alpha.o animation.o animation_time.o animation_track.o animation_track_bezier.o animation_track_linear.o bitmap.o box.o camera.o camera_interface.o color.o color_hsv.o draw.o ferguson.o gext.o glwrapper.o gpipe.o graph3d.o intersect.o lighting.o material.o material_texture.o matrix.o matrix_animated.o matrix_notified.o mesh.o normals.o obb.o object_base.o object_box.o object_geometry.o object_hierarchy.o object_list.o object_render_list.o object_scene.o object_transformation.o object_world.o polar.o print.o scene.o scene_import_3ds.o scene_import_b2m.o scene_import_txt.o scene_load.o selection.o surface.o surface_height.o surface_mask.o surface_sdl.o surface_sw.o texture_func.o texture_unit.o triangle.o vector.o vertex_arrays.o world_interface.o age_main.o events.o input.o timer.o change.o data_file.o ini.o log.o mem_alloc.o mtree.o utils.o animationk.o generator_random.o Ddx.o kfile.o Berusky3d_animace.o 3dmath.o 3dproject.o Mat3d.o Keyframe.o Texture.o Texture_import.o obbo.o Kdtree.o json_export.o ambient_sounds.o audio_plug-in.o 3d_math_k.o adas.o ogg_io.o ogg_stream.o compat_mini.o alut_test.o aabb.o +In file included from age/graph/age.h:71, + from age/graph/aabb.cpp:28: +age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': +age/graph/matrix.h:860:24: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GLMATRIX' {aka 'class glmatrix'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(m,0,sizeof(*m)); + ^ +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +/bin/sh ../libtool --tag=CXX --mode=link g++ -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -Wl,-z,relro -Wl,--as-needed -lSDL_image -lSDL -lGLU -lGL -lX11 -lalut -lopenal -lvorbisfile -lz -lpthread -o berusky2 3D_graphic.o 3D_menus.o 3d_math.o Apak.o Apakio.o Bind.o Camera.o Comics.o Command.o Dda.o Demo.o Init.o Menu.o Menu2.o Tools.o animend_functions.o apakdir.o apakfind.o apakstream.o controls.o controls3d.o credits.o font.o font3d.o game_init.o game_logic.o game_main.o grammar.o load_level.o menu_script.o profiles.o setup.o square_cut.o trigers.o volume.o water.o 3dinterface.o Berusky3d.o Berusky3d_castice.o Berusky3d_ini.o Berusky3d_kamery.o Berusky3d_kofola2d.o Berusky3d_kofola_interface.o Berusky3d_light.o Berusky3d_load.o Berusky3d_render.o Di.o Load.o Load_chunks.o Load_out.o compat.o 2D_graphic.o age.o alpha.o animation.o animation_time.o animation_track.o animation_track_bezier.o animation_track_linear.o bitmap.o box.o camera.o camera_interface.o color.o color_hsv.o draw.o ferguson.o gext.o glwrapper.o gpipe.o graph3d.o intersect.o lighting.o material.o material_texture.o matrix.o matrix_animated.o matrix_notified.o mesh.o normals.o obb.o object_base.o object_box.o object_geometry.o object_hierarchy.o object_list.o object_render_list.o object_scene.o object_transformation.o object_world.o polar.o print.o scene.o scene_import_3ds.o scene_import_b2m.o scene_import_txt.o scene_load.o selection.o surface.o surface_height.o surface_mask.o surface_sdl.o surface_sw.o texture_func.o texture_unit.o triangle.o vector.o vertex_arrays.o world_interface.o age_main.o events.o input.o timer.o change.o data_file.o ini.o log.o mem_alloc.o mtree.o utils.o animationk.o generator_random.o Ddx.o kfile.o Berusky3d_animace.o 3dmath.o 3dproject.o Mat3d.o Keyframe.o Texture.o Texture_import.o obbo.o Kdtree.o json_export.o ambient_sounds.o audio_plug-in.o 3d_math_k.o adas.o ogg_io.o ogg_stream.o compat_mini.o alut_test.o aabb.o libtool: link: g++ -D_FORTIFY_SOURCE=2 -D_DEBUG -Wall -Wno-write-strings -g -g -O2 -ffile-prefix-map=/build/berusky2-0.10=. -fstack-protector-strong -Wformat -Werror=format-security -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/libdrm -I/usr/include/AL -Wl,-z -Wl,relro -Wl,--as-needed -o berusky2 3D_graphic.o 3D_menus.o 3d_math.o Apak.o Apakio.o Bind.o Camera.o Comics.o Command.o Dda.o Demo.o Init.o Menu.o Menu2.o Tools.o animend_functions.o apakdir.o apakfind.o apakstream.o controls.o controls3d.o credits.o font.o font3d.o game_init.o game_logic.o game_main.o grammar.o load_level.o menu_script.o profiles.o setup.o square_cut.o trigers.o volume.o water.o 3dinterface.o Berusky3d.o Berusky3d_castice.o Berusky3d_ini.o Berusky3d_kamery.o Berusky3d_kofola2d.o Berusky3d_kofola_interface.o Berusky3d_light.o Berusky3d_load.o Berusky3d_render.o Di.o Load.o Load_chunks.o Load_out.o compat.o 2D_graphic.o age.o alpha.o animation.o animation_time.o animation_track.o animation_track_bezier.o animation_track_linear.o bitmap.o box.o camera.o camera_interface.o color.o color_hsv.o draw.o ferguson.o gext.o glwrapper.o gpipe.o graph3d.o intersect.o lighting.o material.o material_texture.o matrix.o matrix_animated.o matrix_notified.o mesh.o normals.o obb.o object_base.o object_box.o object_geometry.o object_hierarchy.o object_list.o object_render_list.o object_scene.o object_transformation.o object_world.o polar.o print.o scene.o scene_import_3ds.o scene_import_b2m.o scene_import_txt.o scene_load.o selection.o surface.o surface_height.o surface_mask.o surface_sdl.o surface_sw.o texture_func.o texture_unit.o triangle.o vector.o vertex_arrays.o world_interface.o age_main.o events.o input.o timer.o change.o data_file.o ini.o log.o mem_alloc.o mtree.o utils.o animationk.o generator_random.o Ddx.o kfile.o Berusky3d_animace.o 3dmath.o 3dproject.o Mat3d.o Keyframe.o Texture.o Texture_import.o obbo.o Kdtree.o json_export.o ambient_sounds.o audio_plug-in.o 3d_math_k.o adas.o ogg_io.o ogg_stream.o compat_mini.o alut_test.o aabb.o -lSDL_image -lSDL -lGLU -lGL -lX11 -lalut -lopenal /usr/lib/i386-linux-gnu/libvorbisfile.so -lz -lpthread make[3]: Leaving directory '/build/berusky2-0.10/src' Making all in data @@ -7387,7 +7421,7 @@ make[2]: Leaving directory '/build/berusky2-0.10' make[1]: Leaving directory '/build/berusky2-0.10' dh_auto_test - make -j18 check VERBOSE=1 + make -j10 check VERBOSE=1 make[1]: Entering directory '/build/berusky2-0.10' Making check in po make[2]: Entering directory '/build/berusky2-0.10/po' @@ -7417,14 +7451,14 @@ if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs /build/berusky2-0.10/debian/berusky2/usr/share; \ else \ - /bin/bash ../mkinstalldirs /build/berusky2-0.10/debian/berusky2/usr/share; \ + /bin/sh ../mkinstalldirs /build/berusky2-0.10/debian/berusky2/usr/share; \ fi mkdir -p -- /build/berusky2-0.10/debian/berusky2/usr/share if test "berusky2" = "glib"; then \ if test -r ".././mkinstalldirs"; then \ .././mkinstalldirs /build/berusky2-0.10/debian/berusky2/usr/share/glib-2.0/gettext/po; \ else \ - /bin/bash ../mkinstalldirs /build/berusky2-0.10/debian/berusky2/usr/share/glib-2.0/gettext/po; \ + /bin/sh ../mkinstalldirs /build/berusky2-0.10/debian/berusky2/usr/share/glib-2.0/gettext/po; \ fi; \ /usr/bin/install -c -m 644 ./Makefile.in.in \ /build/berusky2-0.10/debian/berusky2/usr/share/glib-2.0/gettext/po/Makefile.in.in; \ @@ -7436,7 +7470,7 @@ make[2]: Entering directory '/build/berusky2-0.10/src' make[3]: Entering directory '/build/berusky2-0.10/src' /bin/mkdir -p '/build/berusky2-0.10/debian/berusky2/usr/games' - /bin/bash ../libtool --mode=install /usr/bin/install -c berusky2 '/build/berusky2-0.10/debian/berusky2/usr/games' + /bin/sh ../libtool --mode=install /usr/bin/install -c berusky2 '/build/berusky2-0.10/debian/berusky2/usr/games' libtool: install: /usr/bin/install -c berusky2 /build/berusky2-0.10/debian/berusky2/usr/games/berusky2 make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/berusky2-0.10/src' @@ -7486,12 +7520,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/2321/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2321/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/35239 and its subdirectories -I: Current time: Sat Jul 23 02:31:27 -12 2022 -I: pbuilder-time-stamp: 1658586687 +I: removing directory /srv/workspace/pbuilder/2321 and its subdirectories +I: Current time: Sun Jun 20 22:14:30 +14 2021 +I: pbuilder-time-stamp: 1624176870