Diff of the two buildlogs: -- --- b1/build.log 2021-08-09 09:52:54.241560418 +0000 +++ b2/build.log 2021-08-09 09:54:50.025268295 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Aug 8 21:45:04 -12 2021 -I: pbuilder-time-stamp: 1628502304 +I: Current time: Mon Sep 12 06:15:57 +14 2022 +I: pbuilder-time-stamp: 1662912957 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,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 @@ -34,136 +34,170 @@ 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/20850/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/39721/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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/39721/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/39721/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='8360f68eb5bf4575affb34fb6f493212' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='20850' - PS1='# ' - PS2='> ' + INVOCATION_ID=b0585d785c854b7693dcc385c8abaae1 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=39721 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.jccteOnDan/pbuilderrc_IcN5 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jccteOnDan/b1 --logfile b1/build.log berusky2_0.10-7+deb10u1.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.jccteOnDan/pbuilderrc_hFsF --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.jccteOnDan/b2 --logfile b2/build.log berusky2_0.10-7+deb10u1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-2~bpo10+1 (2021-07-22) x86_64 GNU/Linux I: ls -l /bin total 5116 - -rwxr-xr-x 1 root root 1168776 Apr 17 2019 bash - -rwxr-xr-x 3 root root 38984 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14328 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 43744 Feb 28 2019 cat - -rwxr-xr-x 1 root root 64320 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 64288 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 72512 Feb 28 2019 chown - -rwxr-xr-x 1 root root 146880 Feb 28 2019 cp - -rwxr-xr-x 1 root root 121464 Jan 17 2019 dash - -rwxr-xr-x 1 root root 109408 Feb 28 2019 date - -rwxr-xr-x 1 root root 76712 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93744 Feb 28 2019 df - -rwxr-xr-x 1 root root 138856 Feb 28 2019 dir - -rwxr-xr-x 1 root root 84288 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 39520 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 35424 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68880 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34896 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 198976 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 98048 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 26696 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 68552 Feb 28 2019 ln - -rwxr-xr-x 1 root root 56760 Jul 26 2018 login - -rwxr-xr-x 1 root root 138856 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108624 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 89088 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 68544 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 43808 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 43008 Jan 9 2019 more - -rwsr-xr-x 1 root root 51280 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14408 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138728 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 39616 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 47776 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68416 Feb 28 2019 rm - -rwxr-xr-x 1 root root 47776 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 23312 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 6 20:24 sh -> dash - -rwxr-xr-x 1 root root 39552 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 80672 Feb 28 2019 stty - -rwsr-xr-x 1 root root 63568 Jan 9 2019 su - -rwxr-xr-x 1 root root 35488 Feb 28 2019 sync - -rwxr-xr-x 1 root root 445560 Apr 23 2019 tar - -rwxr-xr-x 1 root root 14440 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 97152 Feb 28 2019 touch - -rwxr-xr-x 1 root root 35424 Feb 28 2019 true - -rwxr-xr-x 1 root root 14328 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 34888 Jan 9 2019 umount - -rwxr-xr-x 1 root root 39584 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138856 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34896 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/20850/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1168776 Apr 18 2019 bash + -rwxr-xr-x 3 root root 38984 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14328 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 43744 Mar 1 2019 cat + -rwxr-xr-x 1 root root 64320 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 64288 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 72512 Mar 1 2019 chown + -rwxr-xr-x 1 root root 146880 Mar 1 2019 cp + -rwxr-xr-x 1 root root 121464 Jan 18 2019 dash + -rwxr-xr-x 1 root root 109408 Mar 1 2019 date + -rwxr-xr-x 1 root root 76712 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93744 Mar 1 2019 df + -rwxr-xr-x 1 root root 138856 Mar 1 2019 dir + -rwxr-xr-x 1 root root 84288 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 39520 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 35424 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68880 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34896 Apr 23 2020 fusermount + -rwxr-xr-x 1 root root 198976 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 98048 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 26696 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 68552 Mar 1 2019 ln + -rwxr-xr-x 1 root root 56760 Jul 27 2018 login + -rwxr-xr-x 1 root root 138856 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108624 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 89088 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 68544 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 43808 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 43008 Jan 10 2019 more + -rwsr-xr-x 1 root root 51280 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14408 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138728 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 39616 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 47776 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68416 Mar 1 2019 rm + -rwxr-xr-x 1 root root 47776 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 23312 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 12 06:16 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 10 04:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 39552 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 80672 Mar 1 2019 stty + -rwsr-xr-x 1 root root 63568 Jan 10 2019 su + -rwxr-xr-x 1 root root 35488 Mar 1 2019 sync + -rwxr-xr-x 1 root root 445560 Apr 24 2019 tar + -rwxr-xr-x 1 root root 14440 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 97152 Mar 1 2019 touch + -rwxr-xr-x 1 root root 35424 Mar 1 2019 true + -rwxr-xr-x 1 root root 14328 Apr 23 2020 ulockmgr_server + -rwsr-xr-x 1 root root 34888 Jan 10 2019 umount + -rwxr-xr-x 1 root root 39584 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138856 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34896 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/39721/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -513,7 +547,7 @@ Get: 290 http://deb.debian.org/debian buster/main amd64 libsdl-image1.2-dev amd64 1.2.12-10+deb10u1 [41.1 kB] Get: 291 http://deb.debian.org/debian buster/main amd64 libvorbisfile3 amd64 1.3.6-2 [25.5 kB] Get: 292 http://deb.debian.org/debian buster/main amd64 libvorbis-dev amd64 1.3.6-2 [328 kB] -Fetched 117 MB in 6s (18.6 MB/s) +Fetched 117 MB in 2s (63.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19195 files and directories currently installed.) @@ -1715,7 +1749,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 @@ -2200,7 +2234,7 @@ config.status: executing libtool commands make[1]: Leaving directory '/build/berusky2-0.10' dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/berusky2-0.10' make all-recursive make[2]: Entering directory '/build/berusky2-0.10' @@ -2225,19 +2259,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 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 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 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 -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 apakfind.o `test -f 'kofola/apakfind.cpp' || echo './'`kofola/apakfind.cpp In file included from komat/mmalloc.h:34, from kofola/Apak.cpp:8: kofola/Apak.cpp: In function 'char* apak_dir_correction(char*)': @@ -2248,11 +2275,6 @@ /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) ^~~~~~ -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); - ~~~~~~^~~~~~~~~~~~~~~~ -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 In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/Comics.cpp:3: @@ -2265,30 +2287,7 @@ ^~~~~~~~ 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/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.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 komat/3d_all.h:17, - from kofola/Bind.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)); @@ -2296,6 +2295,18 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +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); + ~~~~~~^~~~~~~~~~~~~~~~ +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: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 apakstream.o `test -f 'kofola/apakstream.cpp' || echo './'`kofola/apakstream.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/Init.cpp:7: @@ -2308,17 +2319,6 @@ ^~~~~~~~ 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: 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] @@ -2327,20 +2327,10 @@ 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/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 { - ^~~~~~~~ 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 In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Menu2.cpp:5: + 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)); @@ -2348,19 +2338,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 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/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)); - ^ + 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 age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Command.cpp:4: + 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)); @@ -2368,282 +2361,389 @@ 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 controls3d.o `test -f 'kofola/controls3d.cpp' || echo './'`kofola/controls3d.cpp +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/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)); - ^ + 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, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.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)); - ^ + 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/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.cpp:8: + from kofola/Comics.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 controls3d.o `test -f 'kofola/controls3d.cpp' || echo './'`kofola/controls3d.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Menu.cpp:7: + 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/Menu.cpp:7: + from kofola/Init.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/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.cpp:8: + from kofola/Init.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/Init.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/Object.h:10, from kofola/trigers.h:4, from kofola/font.h:10, from kofola/3D_menus.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/Object.h:10, - from kofola/trigers.h:4, - from kofola/font.h:10, - from kofola/3D_menus.cpp:8: + 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] 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/Init.cpp: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 credits.o `test -f 'kofola/credits.cpp' || echo './'`kofola/credits.cpp +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/Menu.cpp:7: + 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)); + ^ +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 { + ^~~~~~~~ +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(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.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/Menu.cpp:7: + 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/Menu.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/Demo.cpp:7: + 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/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 { ^~~~~~~~ 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 { + ^~~~~~~~ +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 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_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/3D_graphic.cpp: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/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/Object.h:10, + from kofola/Camera.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/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 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 { + ^~~~~~~~ +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)); + ~~~~~^~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Comics.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/Comics.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/Comics.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/Comics.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/Comics.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/Comics.cpp:3: + from kofola/Tools.cpp: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 font.o `test -f 'kofola/font.cpp' || echo './'`kofola/font.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/3D_graphic.cpp:6: + 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/3D_graphic.cpp:6: + 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/3D_graphic.cpp:6: + 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/3D_graphic.cpp:6: + 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/3D_graphic.cpp:6: + 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/3D_graphic.cpp:6: + 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 font3d.o `test -f 'kofola/font3d.cpp' || echo './'`kofola/font3d.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 tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Bind.cpp:4: + 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/Bind.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/Bind.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/Bind.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/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/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/Bind.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/Bind.cpp:4: + from kofola/Menu2.cpp:5: 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 In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/Object.h:10, @@ -2654,16 +2754,6 @@ ^ 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/Object.h:10, from kofola/Camera.cpp:6: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here @@ -2671,393 +2761,251 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/Init.cpp:7: + from kofola/Object.h:10, + from kofola/Camera.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/Init.cpp:7: + 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/Init.cpp:7: + from kofola/Object.h:10, + from kofola/Camera.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/Init.cpp:7: + 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/Object.h:10, - from kofola/Camera.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)); - ^ +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 +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); + ~~~~~^~~~~~~~~~ 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/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 tmp/compat.h:59, - from komat/3d_all.h:28, - from kofola/Object.h:10, - from kofola/Camera.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)); - ^ +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); + ~~~~~^~~~~~~~~~ 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/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)); + ^ 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: + 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 { ^~~~~~~~ +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 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* 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/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: + 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* 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: + 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 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 { ^~~~~~~~ -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); - ~~~~~~^~~~~~~~~~~~~~~~~~~~ -kofola/Demo.cpp:27:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(SAVE_DIR); - ~~~~~^~~~~~~~~~ -kofola/Demo.cpp:32:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((odir)); - ~~~~~^~~~~~~~ -kofola/Demo.cpp:36:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(&FileHeader, sizeof(DEMOFILEHEADER), 1, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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); - ~~~~~^~~~~~~~~~ -kofola/Demo.cpp: In function 'int demo_Load(DEMOSTRUCTURE*, char*, char*, char*, char*)': -kofola/Demo.cpp:326:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(&FileHeader, sizeof(DEMOFILEHEADER), 1, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/Demo.cpp:345:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(p_Demo, sizeof(DEMOSTRUCTURE), 1, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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/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)); - ^ -kofola/Menu.cpp: In function 'void RunMenuCinemax()': -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)); - ^ 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* 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: + 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: + 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/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)); - ^ + 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/animend_functions.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 age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/Command.cpp:4: + 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)); + ^ 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)); - ^ + from kofola/Bind.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/Command.cpp:4: + from kofola/Bind.cpp:4: 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)); - ~~~~~^~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/animend_functions.cpp:4: + 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/animend_functions.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/animend_functions.cpp:4: + 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/animend_functions.cpp:4: + from kofola/Bind.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -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/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: 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)); - ~~~~~^~~~~~~~ -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); - ~~~~~^~~~~~~~~~ -kofola/Menu.cpp: In function 'int RunMenuNewGame(char*, HWND, AUDIO_DATA*, int)': -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); - ~~~~~^~~~~~~~~~ -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); - ~~~~~^~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - 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)); - ^ -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -kofola/Menu.cpp: In function 'int check_Save_Owner(char*, WCHAR*)': -kofola/Menu.cpp:4507:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] - getcwd(dir, MAX_FILENAME); - ~~~~~~^~~~~~~~~~~~~~~~~~~ -kofola/Menu.cpp:4509:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((cDir)); - ~~~~~^~~~~~~~ -kofola/Menu.cpp:4518:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((dir)); - ~~~~~^~~~~~~ -kofola/Menu.cpp:4522:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(&pProfile, sizeof(PLAYER_PROFILE), 1, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/Menu.cpp:4523:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(wFileName, 32 * sizeof(WCHAR), 1, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/Menu.cpp:4525:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(&ver, sizeof(int), 1, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/Menu.cpp:4532:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(wdir, (MAX_FILENAME + 1) * sizeof(WCHAR), 1, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/Menu.cpp:4534:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fread(&l_h, sizeof(LEVEL_HEADER), 1, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -kofola/Menu.cpp:4538:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((dir)); - ~~~~~^~~~~~~ -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); - ~~~~~^~~~~~~~~~ -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); - ~~~~~^~~~~~~~~~ -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); - ~~~~~^~~~~~~~~~ -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); - ~~~~~^~~~~~~~~~ -kofola/Menu.cpp: In function 'void RunMenuChildGame(char*, HWND, AUDIO_DATA*, int)': -kofola/Menu.cpp:6218: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 RunMenuStartGame(char*, HWND, AUDIO_DATA*, int)': -kofola/Menu.cpp:6664: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 age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/controls3d.cpp:3: + 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)); @@ -3065,120 +3013,136 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -kofola/Menu.cpp: In function 'int RunMenuComixB(char*, HWND, AUDIO_DATA*, int)': -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 credits.o `test -f 'kofola/credits.cpp' || echo './'`kofola/credits.cpp -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); - ~~~~~^~~~~~~~~~ -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 -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); - ~~~~~^~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/apakfind.cpp:4: + 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/apakfind.cpp:4: + 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 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/apakfind.cpp:4: + 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/apakfind.cpp:4: + 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/apakfind.cpp:4: + 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/apakfind.cpp:4: + 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 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 game_main.o `test -f 'kofola/game_main.cpp' || echo './'`kofola/game_main.cpp +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); + ~~~~~~^~~~~~~~~~~~~~~~~~~~ +kofola/Demo.cpp:27:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(SAVE_DIR); + ~~~~~^~~~~~~~~~ +kofola/Demo.cpp:32:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((odir)); + ~~~~~^~~~~~~~ +kofola/Demo.cpp:36:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(&FileHeader, sizeof(DEMOFILEHEADER), 1, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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); + ~~~~~^~~~~~~~~~ +kofola/Demo.cpp: In function 'int demo_Load(DEMOSTRUCTURE*, char*, char*, char*, char*)': +kofola/Demo.cpp:326:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(&FileHeader, sizeof(DEMOFILEHEADER), 1, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Demo.cpp:345:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(p_Demo, sizeof(DEMOSTRUCTURE), 1, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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 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/Menu.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/controls.cpp:4: + from kofola/Menu.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/controls.cpp:4: + 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] 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/Menu.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/controls.cpp:4: + from kofola/Menu.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/controls.cpp:4: + from kofola/Menu.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/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/game_init.cpp: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 load_level.o `test -f 'kofola/load_level.cpp' || echo './'`kofola/load_level.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/controls3d.cpp:3: @@ -3194,176 +3158,92 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/controls3d.cpp:3: + 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/controls3d.cpp:3: + 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/controls3d.cpp:3: + 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/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 menu_script.o `test -f 'kofola/menu_script.cpp' || echo './'`kofola/menu_script.cpp -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 { - ^~~~~~~~ -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/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 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 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 { - ^~~~~~~~ -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: -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/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_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)); - ^ + 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/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/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/credits.cpp:2: + 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/credits.cpp:2: + 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/credits.cpp:2: + 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/credits.cpp:2: + 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/credits.cpp:2: + 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/credits.cpp:2: + from kofola/apakfind.cpp:4: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -3424,10 +3304,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 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: + 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)); @@ -3435,18 +3317,18 @@ 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/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/game_init.cpp: In function 'int gi_Open_Archive(char*, APAK_HANDLE**, char*, char*)': +kofola/game_init.cpp:47:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((text)); + ~~~~~^~~~~~~~ +kofola/game_init.cpp: In function 'void gi_Init_Sound_Engine(AUDIO_DATA*)': +kofola/game_init.cpp:201:9: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(init_data.Sound_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/menu_script.cpp:7: + 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)); @@ -3454,56 +3336,188 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -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 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* 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 { ^~~~~~~~ +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 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/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/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 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_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_init.cpp:15: + from kofola/controls.cpp:4: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +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)); + ^ +kofola/Menu.cpp: In function 'void RunMenuCinemax()': +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/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)); + ^ +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 +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 '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 age/graph/age.h:71, + from komat/3d_all.h:17, + 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)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +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/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); + ~~~~~^~~~~~~~~~ +kofola/Menu.cpp: In function 'int RunMenuNewGame(char*, HWND, AUDIO_DATA*, int)': +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); + ~~~~~^~~~~~~~~~ +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); + ~~~~~^~~~~ +kofola/Menu.cpp: In function 'int check_Save_Owner(char*, WCHAR*)': +kofola/Menu.cpp:4507:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] + getcwd(dir, MAX_FILENAME); + ~~~~~~^~~~~~~~~~~~~~~~~~~ +kofola/Menu.cpp:4509:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((cDir)); + ~~~~~^~~~~~~~ +kofola/Menu.cpp:4518:10: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((dir)); + ~~~~~^~~~~~~ +kofola/Menu.cpp:4522:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(&pProfile, sizeof(PLAYER_PROFILE), 1, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Menu.cpp:4523:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(wFileName, 32 * sizeof(WCHAR), 1, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Menu.cpp:4525:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(&ver, sizeof(int), 1, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Menu.cpp:4532:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(wdir, (MAX_FILENAME + 1) * sizeof(WCHAR), 1, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Menu.cpp:4534:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fread(&l_h, sizeof(LEVEL_HEADER), 1, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +kofola/Menu.cpp:4538:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((dir)); + ~~~~~^~~~~~~ +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); + ~~~~~^~~~~~~~~~ +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); + ~~~~~^~~~~~~~~~ +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); + ~~~~~^~~~~~~~~~ +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); + ~~~~~^~~~~~~~~~ +kofola/Menu.cpp: In function 'void RunMenuChildGame(char*, HWND, AUDIO_DATA*, int)': +kofola/Menu.cpp:6218: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 RunMenuStartGame(char*, HWND, AUDIO_DATA*, int)': +kofola/Menu.cpp:6664: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 'int RunMenuComixB(char*, HWND, AUDIO_DATA*, int)': +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 square_cut.o `test -f 'kofola/square_cut.cpp' || echo './'`kofola/square_cut.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/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)); + ^ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/Object.h:10, @@ -3561,6 +3575,16 @@ 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_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 { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/game_logic.h:4, @@ -3586,21 +3610,18 @@ ^ 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/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 { ^~~~~~~~ -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* 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/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 { ^~~~~~~~ @@ -3619,16 +3640,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 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/grammar.cpp:3: + 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/grammar.cpp:3: + from kofola/game_logic.cpp:7: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -3658,69 +3680,44 @@ 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: -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: -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: -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: +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/game_init.cpp: In function 'int gi_Open_Archive(char*, APAK_HANDLE**, char*, char*)': -kofola/game_init.cpp:47:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] +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/game_init.cpp: In function 'void gi_Init_Sound_Engine(AUDIO_DATA*)': -kofola/game_init.cpp:201:9: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(init_data.Sound_Dir); - ~~~~~^~~~~~~~~~~~~~~~~~~~~ -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/x86_64-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/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/game_main.cpp: In function 'int winmain_Game_Run(char*)': kofola/game_main.cpp:59:9: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result] getcwd(CurrentWorkingDirectory, MAX_FILENAME); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/game_main.cpp:169:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(ad.Music_Dir); ~~~~~^~~~~~~~~~~~~~ kofola/game_main.cpp:171:7: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(ad.Sound_Dir); ~~~~~^~~~~~~~~~~~~~ -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 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 { + ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/load_level.cpp:12: @@ -3760,10 +3757,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 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/menu_script.cpp:7: @@ -3777,6 +3771,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 3dinterface.o `test -f 'komat/3dinterface.cpp' || echo './'`komat/3dinterface.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/menu_script.cpp:7: @@ -3790,19 +3785,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/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 { - ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/profiles.cpp:3: @@ -3813,19 +3795,19 @@ 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 -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 +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/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/menu_script.cpp: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 volume.o `test -f 'kofola/volume.cpp' || echo './'`kofola/volume.cpp kofola/load_level.cpp: In function 'void lsi_Release_Level(LEVELINFO*)': kofola/load_level.cpp:1282:50: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct RAINSYSTEM'; use assignment or value-initialization instead [-Wclass-memaccess] memset(&p_Level->Rain, 0, sizeof(p_Level->Rain)); @@ -3851,11 +3833,45 @@ 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); - ~~~~~^~~~~~~~~~~~~~~~~ -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 { + ^~~~~~~~ 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); @@ -3971,107 +3987,132 @@ 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 -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/x86_64-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/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); - ~~~~~^~~~~~~ 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 +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + from kofola/volume.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/profiles.cpp:3: + 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/profiles.cpp:3: + 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/profiles.cpp:3: + 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/profiles.cpp:3: + 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/profiles.cpp:3: + 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/profiles.cpp:3: + from kofola/grammar.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +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 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 tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/setup.cpp:1: + 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/setup.cpp:1: + 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/setup.cpp:1: + 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/setup.cpp:1: + 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/setup.cpp:1: + 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/setup.cpp:1: + from kofola/profiles.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); + ~~~~~^~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from kofola/volume.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/volume.cpp:1: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -4100,42 +4141,6 @@ 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 -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 { - ^~~~~~~~ -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 Berusky3d_kamery.o `test -f 'komat/Berusky3d_kamery.cpp' || echo './'`komat/Berusky3d_kamery.cpp -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/volume.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/volume.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/volume.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/volume.cpp:1: @@ -4143,6 +4148,10 @@ 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)); ^ +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); + ~~~~~^~~~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, from kofola/volume.cpp:1: @@ -4164,18 +4173,7 @@ ^~~~~~~~ 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 age/graph/age.h:71, - from komat/3d_all.h:17, - from komat/Berusky3d.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)); @@ -4183,9 +4181,11 @@ 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/3dinterface.cpp:4: + 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)); @@ -4193,145 +4193,98 @@ 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_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 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 tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/trigers.cpp:3: + from komat/3dinterface.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/trigers.cpp:3: + from komat/3dinterface.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/trigers.cpp:3: + from komat/3dinterface.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/trigers.cpp:3: + from komat/3dinterface.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/trigers.cpp:3: + 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] memset(inv, 0, sizeof(*inv)); ^ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/trigers.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 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 -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 -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); - ~~~~~^~~~~~~~~~~~~~~~ -kofola/trigers.cpp:191:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(text); - ~~~~~^~~~~~ -kofola/trigers.cpp:200:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir(DATA_DIR); - ~~~~~^~~~~~~~~~ -kofola/trigers.cpp:201:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] - fgets(text, MAX_FILENAME, file); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -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 { - ^~~~~~~~ -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/x86_64-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_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/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)); - ^ + from komat/3dinterface.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/3dinterface.cpp:4: + from kofola/trigers.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/3dinterface.cpp:4: + from kofola/trigers.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 komat/3dinterface.cpp:4: + from kofola/trigers.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/3dinterface.cpp:4: + from kofola/trigers.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 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 komat/3dinterface.cpp:4: + from kofola/trigers.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/3dinterface.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 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)); - ^ + from kofola/trigers.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 Berusky3d_kofola_interface.o `test -f 'komat/Berusky3d_kofola_interface.cpp' || echo './'`komat/Berusky3d_kofola_interface.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, from kofola/game_logic.h:4, @@ -4377,19 +4330,10 @@ 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: -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 '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); +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 +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: @@ -4400,7 +4344,7 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Berusky3d_kofola2d.cpp:12: + 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)); @@ -4410,7 +4354,7 @@ ^~~~~~~~ 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)); @@ -4418,6 +4362,22 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +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); + ~~~~~^~~~~~~~~~~~~~~~ +kofola/trigers.cpp:191:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(text); + ~~~~~^~~~~~ +kofola/trigers.cpp:200:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir(DATA_DIR); + ~~~~~^~~~~~~~~~ +kofola/trigers.cpp:201:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] + fgets(text, MAX_FILENAME, file); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +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); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Berusky3d.cpp:12: @@ -4425,6 +4385,17 @@ 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 '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/x86_64-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 komat/Berusky3d.cpp:12: @@ -4457,57 +4428,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 Berusky3d_render.o `test -f 'komat/Berusky3d_render.cpp' || echo './'`komat/Berusky3d_render.cpp -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - 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_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_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_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_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_light.cpp: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 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/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 { - ^~~~~~~~ +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 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"); @@ -4559,42 +4480,62 @@ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + 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)); + ^ +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_kofola_interface.cpp:9: + 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_kofola_interface.cpp:9: + 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_kofola_interface.cpp:9: + 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_kofola_interface.cpp:9: + 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_kofola_interface.cpp:9: + 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_kofola_interface.cpp:9: + 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 age/graph/age.h:71, + from komat/3d_all.h:17, + 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)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -4609,134 +4550,92 @@ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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)); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Berusky3d_kofola_interface.cpp:9: -komat/Mat3d.h:139:16: note: 'ZDRCADLO_DESC' {aka 'struct _ZDRCADLO_DESC'} declared here - typedef struct _ZDRCADLO_DESC - ^~~~~~~~~~~~~~ -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/x86_64-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_kofola_interface.cpp:545: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_ber->obbtree, 0, sizeof(p_ber->obbtree)); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Berusky3d_kofola_interface.cpp:9: -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); - ~~~~~~^~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_ini.cpp:13: + 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_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_ini.cpp:13: + 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_ini.cpp:13: + 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_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 { ^~~~~~~~ -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 +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/x86_64-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/x86_64-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 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 { + ^~~~~~~~ +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 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_chunks.o `test -f 'komat/Load_chunks.cpp' || echo './'`komat/Load_chunks.cpp -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; - ^~~~~~ -komat/Berusky3d_light.cpp:1815:7: warning: variable 'ddx' set but not used [-Wunused-but-set-variable] - int ddx; - ^~~ -komat/Berusky3d_light.cpp:1821:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] - dword r, g, b; - ^ -komat/Berusky3d_light.cpp:1821:12: warning: variable 'g' set but not used [-Wunused-but-set-variable] - dword r, g, b; - ^ -komat/Berusky3d_light.cpp:1821:15: warning: variable 'b' set but not used [-Wunused-but-set-variable] - dword r, g, b; - ^ -komat/Berusky3d_light.cpp:1822:9: warning: variable 'sr' set but not used [-Wunused-but-set-variable] - dword sr, sg, sb; - ^~ -komat/Berusky3d_light.cpp:1822:13: warning: variable 'sg' set but not used [-Wunused-but-set-variable] - dword sr, sg, sb; - ^~ -komat/Berusky3d_light.cpp:1822:17: warning: variable 'sb' set but not used [-Wunused-but-set-variable] - dword sr, sg, sb; - ^~ -komat/Berusky3d_light.cpp:1828:12: warning: variable 'skul' set but not used [-Wunused-but-set-variable] - int kul, skul; // fixed start prave/leve strany - ^~~~ -komat/Berusky3d_light.cpp:1830:12: warning: variable 'skvl' set but not used [-Wunused-but-set-variable] - int kvl, skvl; // fixed start prave/leve strany - ^~~~ -komat/Berusky3d_light.cpp:1831:7: warning: variable 'fvzdal' set but not used [-Wunused-but-set-variable] - int fvzdal; // fixed-point 8:24 korekcni hodnota v look-up tabulce - ^~~~~~ -komat/Berusky3d_light.cpp:1834:7: warning: unused variable 'zal' [-Wunused-variable] - int zal, nusu, nvsv; - ^~~ -komat/Berusky3d_light.cpp:1835:8: warning: variable 'p_looksqrt' set but not used [-Wunused-but-set-variable] - int *p_looksqrt; - ^~~~~~~~~~ +In file included from age/graph/age.h:71, + from komat/3d_all.h:17, + 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)); + ^ +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: @@ -4750,6 +4649,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 Di.o `test -f 'komat/Di.cpp' || echo './'`komat/Di.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Berusky3d_kamery.cpp:12: @@ -4776,20 +4676,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -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"); - ~~~~~^~~~~~~~~~~~~~~ -In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - 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)); - ^ -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: @@ -4829,161 +4715,225 @@ 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: +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_load.cpp:9: + from komat/Berusky3d_kofola_interface.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_kofola_interface.cpp: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 Load_out.o `test -f 'komat/Load_out.cpp' || echo './'`komat/Load_out.cpp In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_load.cpp:9: + from komat/Berusky3d_kofola_interface.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_kofola_interface.cpp: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 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/Berusky3d_load.cpp:9: + from komat/Berusky3d_kofola_interface.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/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 { - ^~~~~~~~ -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)); - ^ + from komat/Berusky3d_kofola_interface.cpp: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 Load_chunks.o `test -f 'komat/Load_chunks.cpp' || echo './'`komat/Load_chunks.cpp +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)); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Berusky3d_kofola_interface.cpp:9: +komat/Mat3d.h:139:16: note: 'ZDRCADLO_DESC' {aka 'struct _ZDRCADLO_DESC'} declared here + typedef struct _ZDRCADLO_DESC + ^~~~~~~~~~~~~~ +komat/Berusky3d_kofola_interface.cpp:545: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_ber->obbtree, 0, sizeof(p_ber->obbtree)); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Berusky3d_kofola_interface.cpp:9: +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 tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Berusky3d_castice.cpp:7: + 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_castice.cpp:7: + 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_castice.cpp:7: + 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_castice.cpp:7: + 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_castice.cpp:7: + 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_castice.cpp:7: + 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); + ~~~~~~^~~~~~~~~~ +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/x86_64-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 komat/Di.cpp:5: + 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/Di.cpp:5: + from komat/Berusky3d_load.cpp:9: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Berusky3d_load.cpp: In function 'int ber_nahraj_materialy(G_KONFIG*, char*, char*)': -komat/Berusky3d_load.cpp:302:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ -komat/Berusky3d_load.cpp: In function 'bool ber_nahraj_mesh(G_KONFIG*, char*, GAME_MESH_OLD**, int)': -komat/Berusky3d_load.cpp:353:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_ber->dir.out_dir)); - ~~~~~^~~~~~~~~~~~~~~~~~~~~~ -komat/Berusky3d_load.cpp: In function 'int ber_nahraj_scenu(G_KONFIG*, char*, char*, int, BUNKA_LEVELU_DISK*, int)': -komat/Berusky3d_load.cpp:591:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ -komat/Berusky3d_load.cpp: In function 'void ber_nahraj_poly(G_KONFIG*, char*, char*)': -komat/Berusky3d_load.cpp:725:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] - chdir((p_dir)); - ~~~~~^~~~~~~~~ +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; + ^~~~~~ +komat/Berusky3d_light.cpp:1815:7: warning: variable 'ddx' set but not used [-Wunused-but-set-variable] + int ddx; + ^~~ +komat/Berusky3d_light.cpp:1821:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] + dword r, g, b; + ^ +komat/Berusky3d_light.cpp:1821:12: warning: variable 'g' set but not used [-Wunused-but-set-variable] + dword r, g, b; + ^ +komat/Berusky3d_light.cpp:1821:15: warning: variable 'b' set but not used [-Wunused-but-set-variable] + dword r, g, b; + ^ +komat/Berusky3d_light.cpp:1822:9: warning: variable 'sr' set but not used [-Wunused-but-set-variable] + dword sr, sg, sb; + ^~ +komat/Berusky3d_light.cpp:1822:13: warning: variable 'sg' set but not used [-Wunused-but-set-variable] + dword sr, sg, sb; + ^~ +komat/Berusky3d_light.cpp:1822:17: warning: variable 'sb' set but not used [-Wunused-but-set-variable] + dword sr, sg, sb; + ^~ +komat/Berusky3d_light.cpp:1828:12: warning: variable 'skul' set but not used [-Wunused-but-set-variable] + int kul, skul; // fixed start prave/leve strany + ^~~~ +komat/Berusky3d_light.cpp:1830:12: warning: variable 'skvl' set but not used [-Wunused-but-set-variable] + int kvl, skvl; // fixed start prave/leve strany + ^~~~ +komat/Berusky3d_light.cpp:1831:7: warning: variable 'fvzdal' set but not used [-Wunused-but-set-variable] + int fvzdal; // fixed-point 8:24 korekcni hodnota v look-up tabulce + ^~~~~~ +komat/Berusky3d_light.cpp:1834:7: warning: unused variable 'zal' [-Wunused-variable] + int zal, nusu, nvsv; + ^~~ +komat/Berusky3d_light.cpp:1835:8: warning: variable 'p_looksqrt' set but not used [-Wunused-but-set-variable] + int *p_looksqrt; + ^~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Di.cpp:5: + 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/Di.cpp:5: + from komat/Berusky3d_load.cpp:9: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Berusky3d_load.cpp: In function 'void ber_nahraj_lightmap(G_KONFIG*, char*, char*)': -komat/Berusky3d_load.cpp:777: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/Di.cpp:5: + 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/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)); + ^ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -4997,47 +4947,102 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +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 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 +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 { + ^~~~~~~~ +komat/Berusky3d_load.cpp: In function 'int ber_nahraj_materialy(G_KONFIG*, char*, char*)': +komat/Berusky3d_load.cpp:302:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +komat/Berusky3d_load.cpp: In function 'bool ber_nahraj_mesh(G_KONFIG*, char*, GAME_MESH_OLD**, int)': +komat/Berusky3d_load.cpp:353:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_ber->dir.out_dir)); + ~~~~~^~~~~~~~~~~~~~~~~~~~~~ +komat/Berusky3d_load.cpp: In function 'int ber_nahraj_scenu(G_KONFIG*, char*, char*, int, BUNKA_LEVELU_DISK*, int)': +komat/Berusky3d_load.cpp:591:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +komat/Berusky3d_load.cpp: In function 'void ber_nahraj_poly(G_KONFIG*, char*, char*)': +komat/Berusky3d_load.cpp:725:8: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] + chdir((p_dir)); + ~~~~~^~~~~~~~~ +komat/Berusky3d_load.cpp: In function 'void ber_nahraj_lightmap(G_KONFIG*, char*, char*)': +komat/Berusky3d_load.cpp:777: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 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 komat/Load_chunks.cpp:7: + 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_chunks.cpp:7: + 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_chunks.cpp:7: + 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_chunks.cpp:7: + 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_chunks.cpp:7: + 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/Di.cpp:5: +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/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 { ^~~~~~~~ -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 In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Load.cpp:9: @@ -5051,26 +5056,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Load_chunks.cpp: In function 'int lo_chunk_load_flare(gzFile, OUT_CHUNK*)': -komat/Load_chunks.cpp:2998:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'LENS_FLARE' {aka 'struct _LENS_FLARE'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_flare, 0, sizeof(p_flare[0])); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Load_chunks.cpp:7: -komat/Mat3d.h:1440:16: note: 'LENS_FLARE' {aka 'struct _LENS_FLARE'} declared here - typedef struct _LENS_FLARE - ^~~~~~~~~~~ -komat/Load_chunks.cpp: In function 'int lo_chunk_load_flare_ext(gzFile, OUT_CHUNK*)': -komat/Load_chunks.cpp:3044:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'LENS_FLARE' {aka 'struct _LENS_FLARE'}; use assignment or value-initialization instead [-Wclass-memaccess] - memset(p_flare, 0, sizeof(p_flare[0])); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Load_chunks.cpp:7: -komat/Mat3d.h:1440:16: note: 'LENS_FLARE' {aka 'struct _LENS_FLARE'} declared here - typedef struct _LENS_FLARE - ^~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Load.cpp:9: @@ -5084,16 +5069,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Load_chunks.cpp: In function 'int lo_chunk_load_static_light(gzFile, OUT_CHUNK*)': -komat/Load_chunks.cpp:3413:36: 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(&light, 0, sizeof(light)); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Load_chunks.cpp:7: -komat/Mat3d.h:229:16: note: 'STATIC_LIGHT' {aka 'struct _STATIC_LIGHT'} declared here - typedef struct _STATIC_LIGHT - ^~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Load.cpp:9: @@ -5107,16 +5082,6 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -komat/Load_chunks.cpp: In function 'int lo_chunk_load_sim_node(gzFile, SIMPLE_TRACK_INFO*)': -komat/Load_chunks.cpp:4795:38: 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(p_sim[0])); - ^ -In file included from tmp/compat.h:60, - from komat/3d_all.h:28, - from komat/Load_chunks.cpp:7: -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/Berusky3d_render.cpp:8: @@ -5156,6 +5121,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 age.o `test -f 'age/graph/age.cpp' || echo './'`age/graph/age.cpp 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])); @@ -5176,6 +5142,7 @@ komat/Mat3d.h:606:16: note: 'EDIT_MATERIAL' {aka 'struct _EDIT_MATERIAL'} declared here typedef struct _EDIT_MATERIAL ^~~~~~~~~~~~~~ +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 'GAME_MESH_DATA* kopiruj_mesh_data(GAME_MESH_DATA*, GAME_MESH_OLD*, GAME_MESH_DATA*)': komat/Load.cpp:1262:52: warning: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'struct _DYN_LIGHT' from an array of 'struct _STATIC_LIGHT' [-Wclass-memaccess] memcpy(p_ldd->p_next, p_lss, sizeof(p_lds[0])); @@ -5186,6 +5153,46 @@ komat/Mat3d.h:280:16: note: 'struct _DYN_LIGHT' declared here typedef struct _DYN_LIGHT ^~~~~~~~~~ +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 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_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/2D_graphic.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 animation.o `test -f 'age/graph/animation.cpp' || echo './'`age/graph/animation.cpp komat/Load.cpp: In function 'GAME_MESH_OLD* vyrob_mesh(int, GAME_MESH_DATA*)': komat/Load.cpp:1936:38: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'GAME_MESH_OLD' {aka 'struct _GAME_MESH_OLD'}; use assignment or value-initialization instead [-Wclass-memaccess] memset(p_mesh, 0, sizeof(p_mesh[0])); @@ -5198,7 +5205,7 @@ ^~~~~~~~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Load_out.cpp:6: + 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)); @@ -5206,6 +5213,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 animation_time.o `test -f 'age/graph/animation_time.cpp' || echo './'`age/graph/animation_time.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)); @@ -5216,6 +5224,7 @@ komat/Mat3d.h:1242:16: note: 'EDIT_MESH_POLY' {aka 'struct _EDIT_MESH_POLY'} declared here typedef struct _EDIT_MESH_POLY ^~~~~~~~~~~~~~~ +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 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])); @@ -5263,29 +5272,6 @@ komat/Mat3d.h:349:16: note: 'EXTRA_DYN_LIGHT' {aka 'struct _EXTRA_DYN_LIGHT'} declared here typedef struct _EXTRA_DYN_LIGHT ^~~~~~~~~~~~~~~~ -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 komat/Berusky3d_load.cpp:4: -/usr/include/x86_64-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/x86_64-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 ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ komat/Load.cpp: In instantiation of 'void vyrob_pole_abs(T**, int) [with T = vect3df]': komat/Load.cpp:1708:51: required from here komat/Load.cpp:26:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct vect3df'; use assignment or value-initialization instead [-Wclass-memaccess] @@ -5319,6 +5305,16 @@ age/graph/color.h:59:15: note: 'class rgbf' declared here typedef class rgbf { ^~~~ +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 { + ^~~~~~~~ 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)); @@ -5356,91 +5352,96 @@ komat/Load.cpp:3473: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 age.o `test -f 'age/graph/age.cpp' || echo './'`age/graph/age.cpp -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 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 { - ^~~~~~~~ -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: 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] +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 komat/Berusky3d_load.cpp:4: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 11 and 210 bytes into a destination of size 50 +/usr/include/x86_64-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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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); - ^~~~~~~~~~~~~~~~~~~ ~~~ +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/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 12 or more bytes (assuming 211) into a destination of size 50 +/usr/include/x86_64-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 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 komat/Load_out.cpp:6: + from komat/Load_chunks.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/Load_out.cpp:6: + from komat/Load_chunks.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/Load_out.cpp:6: + from komat/Load_chunks.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/Load_out.cpp:6: + from komat/Load_chunks.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/Load_out.cpp:6: + from komat/Load_chunks.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/Load_out.cpp:6: + from komat/Load_chunks.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 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)); + ^ +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/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)); + ^ +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 { ^~~~~~~~ -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 tmp/compat.h:59, from komat/3d_all.h:28, from tmp/compat.cpp:31: @@ -5480,47 +5481,123 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ +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/x86_64-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/x86_64-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 ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +komat/Load_chunks.cpp: In function 'int lo_chunk_load_flare(gzFile, OUT_CHUNK*)': +komat/Load_chunks.cpp:2998:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'LENS_FLARE' {aka 'struct _LENS_FLARE'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_flare, 0, sizeof(p_flare[0])); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Load_chunks.cpp:7: +komat/Mat3d.h:1440:16: note: 'LENS_FLARE' {aka 'struct _LENS_FLARE'} declared here + typedef struct _LENS_FLARE + ^~~~~~~~~~~ +komat/Load_chunks.cpp: In function 'int lo_chunk_load_flare_ext(gzFile, OUT_CHUNK*)': +komat/Load_chunks.cpp:3044:42: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'LENS_FLARE' {aka 'struct _LENS_FLARE'}; use assignment or value-initialization instead [-Wclass-memaccess] + memset(p_flare, 0, sizeof(p_flare[0])); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Load_chunks.cpp:7: +komat/Mat3d.h:1440:16: note: 'LENS_FLARE' {aka 'struct _LENS_FLARE'} declared here + typedef struct _LENS_FLARE + ^~~~~~~~~~~ +komat/Load_chunks.cpp: In function 'int lo_chunk_load_static_light(gzFile, OUT_CHUNK*)': +komat/Load_chunks.cpp:3413:36: 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(&light, 0, sizeof(light)); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Load_chunks.cpp:7: +komat/Mat3d.h:229:16: note: 'STATIC_LIGHT' {aka 'struct _STATIC_LIGHT'} declared here + typedef struct _STATIC_LIGHT + ^~~~~~~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/2D_graphic.cpp:8: + from komat/Load_out.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/2D_graphic.cpp:8: + from komat/Load_out.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/2D_graphic.cpp:8: + from komat/Load_out.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/2D_graphic.cpp:8: + from komat/Load_out.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/2D_graphic.cpp:8: + from komat/Load_out.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/2D_graphic.cpp:8: + from komat/Load_out.cpp:6: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ +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); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +komat/Load_chunks.cpp: In function 'int lo_chunk_load_sim_node(gzFile, SIMPLE_TRACK_INFO*)': +komat/Load_chunks.cpp:4795:38: 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(p_sim[0])); + ^ +In file included from tmp/compat.h:60, + from komat/3d_all.h:28, + from komat/Load_chunks.cpp:7: +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 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)); + ^ 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_linear.o `test -f 'age/graph/animation_track_linear.cpp' || echo './'`age/graph/animation_track_linear.cpp In file included from age/graph/age.h:71, - from age/graph/age.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)); @@ -5528,12 +5605,8 @@ age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ -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); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/alpha.cpp:32: + 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)); @@ -5541,7 +5614,11 @@ 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.o `test -f 'age/graph/animation_track.cpp' || echo './'`age/graph/animation_track.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 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); @@ -5555,10 +5632,9 @@ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __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_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 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/animation.cpp:31: + 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)); @@ -5566,8 +5642,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 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 In file included from age/graph/age.h:71, - from age/graph/animation_time.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)); @@ -5575,10 +5653,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 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 In file included from age/graph/age.h:71, - from age/graph/animation_track_bezier.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)); @@ -5586,9 +5662,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 camera.o `test -f 'age/graph/camera.cpp' || echo './'`age/graph/camera.cpp In file included from age/graph/age.h:71, - from age/graph/animation_track.cpp:28: + 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)); @@ -5596,10 +5671,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 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/animation_track_linear.cpp:28: + 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)); @@ -5607,9 +5680,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 In file included from age/graph/age.h:71, - from age/graph/box.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)); @@ -5617,7 +5689,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 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/camera_interface.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5627,9 +5698,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 ferguson.o `test -f 'age/graph/ferguson.cpp' || echo './'`age/graph/ferguson.cpp In file included from age/graph/age.h:71, - from age/graph/camera.cpp:28: + from age/graph/ferguson.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)); @@ -5637,6 +5707,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 gext.o `test -f 'age/graph/gext.cpp' || echo './'`age/graph/gext.cpp age/graph/box.cpp: In function 'BOX* box_create(BOX_TYPE, BOX*, int)': age/graph/box.cpp:65:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(p_list[i].box_type_get() != type) @@ -5644,54 +5715,9 @@ age/graph/box.cpp:67:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' break; ^~~~~ -In file included from age/graph/age.h:71, - 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)); - ^ -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/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 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)); - ^ -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 gpipe.o `test -f 'age/graph/gpipe.cpp' || echo './'`age/graph/gpipe.cpp -In file included from age/graph/age.h:71, - from age/graph/ferguson.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 graph3d.o `test -f 'age/graph/graph3d.cpp' || echo './'`age/graph/graph3d.cpp -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 { - ^~~~~~~~ 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); @@ -5707,6 +5733,7 @@ __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 intersect.o `test -f 'age/graph/intersect.cpp' || echo './'`age/graph/intersect.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 lighting.o `test -f 'age/graph/lighting.cpp' || echo './'`age/graph/lighting.cpp 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*)': @@ -5716,8 +5743,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 age/graph/gpipe.cpp:29: +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 material.o `test -f 'age/graph/material.cpp' || echo './'`age/graph/material.cpp +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)); @@ -5725,9 +5752,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 lighting.o `test -f 'age/graph/lighting.cpp' || echo './'`age/graph/lighting.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 material_texture.o `test -f 'age/graph/material_texture.cpp' || echo './'`age/graph/material_texture.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)); @@ -5735,13 +5762,20 @@ 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 material.o `test -f 'age/graph/material.cpp' || echo './'`age/graph/material.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 material_texture.o `test -f 'age/graph/material_texture.cpp' || echo './'`age/graph/material_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 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: +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 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/intersect.cpp:28: + from age/graph/material.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)); @@ -5750,10 +5784,8 @@ 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 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/lighting.cpp:28: + from age/graph/gpipe.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)); @@ -5761,6 +5793,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 normals.o `test -f 'age/graph/normals.cpp' || echo './'`age/graph/normals.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*)': @@ -5770,10 +5803,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 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 +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/matrix.cpp:33: + from age/graph/lighting.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)); @@ -5781,9 +5813,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_geometry.o `test -f 'age/graph/object_geometry.cpp' || echo './'`age/graph/object_geometry.cpp In file included from age/graph/age.h:71, - from age/graph/material.cpp:32: + from age/graph/matrix.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)); @@ -5791,6 +5822,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 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/mesh.cpp:31: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5800,6 +5832,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 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: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5809,8 +5842,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_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/obb.cpp:33: + from age/graph/object_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)); @@ -5818,8 +5853,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_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 In file included from age/graph/age.h:71, - from age/graph/object_box.cpp:28: + 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)); @@ -5827,7 +5864,11 @@ 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_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_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_base.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5837,6 +5878,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 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 +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_geometry.cpp:28: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -5846,17 +5891,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 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_load.o `test -f 'age/graph/scene_load.cpp' || echo './'`age/graph/scene_load.cpp In file included from age/graph/age.h:71, - from age/graph/object_hierarchy.cpp:28: + from age/graph/object_list.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)); @@ -5864,11 +5901,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_import_b2m.o `test -f 'age/graph/scene_import_b2m.cpp' || echo './'`age/graph/scene_import_b2m.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_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 In file included from age/graph/age.h:71, - from age/graph/object_list.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)); @@ -5878,7 +5912,7 @@ ^~~~~~~~ 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/object_world.cpp:28: + from age/graph/object_hierarchy.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)); @@ -5886,7 +5920,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 surface.o `test -f 'age/graph/surface.cpp' || echo './'`age/graph/surface.cpp 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*)': @@ -5896,10 +5929,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_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/print.cpp:28: + from age/graph/object_world.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)); @@ -5908,7 +5939,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/scene_import_3ds.cpp:154: + 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)); @@ -5917,7 +5948,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/scene_load.cpp:28: + from age/graph/scene_import_3ds.cpp:154: 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)); @@ -5926,7 +5957,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/scene_import_b2m.cpp:28: + 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)); @@ -5935,7 +5966,7 @@ typedef class glmatrix { ^~~~~~~~ In file included from age/graph/age.h:71, - from age/graph/scene_import_txt.cpp:28: + from age/graph/selection.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)); @@ -5943,9 +5974,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 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 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/selection.cpp:28: + 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)); @@ -5953,9 +5988,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 surface_sw.o `test -f 'age/graph/surface_sw.cpp' || echo './'`age/graph/surface_sw.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_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 +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 In file included from age/graph/age.h:71, - from age/graph/surface_height.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)); @@ -5963,8 +6002,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 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/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)); @@ -5972,8 +6013,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 In file included from age/graph/age.h:71, - from age/graph/surface.cpp:29: + from age/graph/surface_height.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)); @@ -5981,9 +6023,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 In file included from age/graph/age.h:71, - from age/graph/surface_sdl.cpp:32: + 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)); @@ -5991,13 +6032,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 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 -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 -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 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 }; @@ -6038,8 +6072,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 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: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -6049,8 +6081,11 @@ 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 +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 In file included from age/graph/age.h:71, - from age/graph/vertex_arrays.cpp:34: + 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)); @@ -6058,10 +6093,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 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/support/age_main.cpp:32: + 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)); @@ -6074,7 +6108,7 @@ 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 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 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)); @@ -6083,6 +6117,10 @@ 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 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/support/input.cpp:31: age/graph/matrix.h: In function 'GLMATRIX* matrix_zero(GLMATRIX*)': @@ -6092,11 +6130,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 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 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 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); @@ -6114,25 +6151,11 @@ 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 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 -In file included from age/graph/age.h:71, - 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)); - ^ -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 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 In file included from age/graph/age.h:71, - from komat/3d_all.h:17, - from kofola/animationk.cpp:6: + 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)); @@ -6140,6 +6163,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 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/Ddx.cpp:5: @@ -6162,16 +6186,6 @@ ^~~~~~~~ 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)); - ^ -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/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] @@ -6180,10 +6194,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 Kdtree.o `test -f 'komat/Kdtree.cpp' || echo './'`komat/Kdtree.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Keyframe.cpp:15: + 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)); @@ -6193,7 +6206,7 @@ ^~~~~~~~ In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Mat3d.cpp:4: + 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)); @@ -6201,57 +6214,30 @@ 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 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 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 kofola/animationk.cpp:6: + from komat/Berusky3d_animace.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/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 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: + from komat/Berusky3d_animace.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_animace.cpp:12: + from komat/Ddx.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/Berusky3d_animace.cpp:12: + from komat/Ddx.cpp:5: age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here typedef class glmatrix { ^~~~~~~~ @@ -6284,19 +6270,6 @@ In file included from tmp/compat.h:59, from komat/3d_all.h:28, from komat/Ddx.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/Ddx.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/Ddx.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)); @@ -6320,9 +6293,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 json_export.o `test -f 'komat/json_export.cpp' || echo './'`komat/json_export.cpp In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture.cpp:4: + 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)); @@ -6330,48 +6304,33 @@ 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* 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/Mat3d.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/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: 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 ambient_sounds.o `test -f 'kofola/ambient_sounds.cpp' || echo './'`kofola/ambient_sounds.cpp 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)); - ^ + 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/Mat3d.cpp:4: + 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 age/graph/age.h:71, from komat/3d_all.h:17, - from komat/Texture_import.cpp:3: + from komat/Keyframe.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)); @@ -6381,97 +6340,30 @@ ^~~~~~~~ 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 komat/3dproject.cpp:5: -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 - { - ^ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from komat/3dproject.cpp:5: + 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 komat/3dproject.cpp:5: -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)); - ^ + 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/3dproject.cpp:5: + 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 komat/3dproject.cpp:5: + from komat/Texture.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_Do_Water_KolaB(LEVELINFO*)': -kofola/animationk.cpp:1271:47: warning: comparison of integer expressions of different signedness: 'size_ptr' {aka 'long 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 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] - p_Level->VodniKolaB[i].hHnizdo[2] == mesh) - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 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 tmp/compat.h:59, from komat/3d_all.h:28, @@ -6488,187 +6380,73 @@ ^~~~~~~~ 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* 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: -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: -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: -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/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 komat/Keyframe.cpp:15: + 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/Keyframe.cpp:15: + 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/Keyframe.cpp:15: + 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/Keyframe.cpp:15: + 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/Keyframe.cpp:15: + from komat/3dproject.cpp:5: 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); - ~~~~~^~~~~~~~~~ -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, +In file included from tmp/compat.h:59, 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 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 { - ^~~~~~~~ -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)); - ~~~~~^~~~~~~~~ -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)); - ~~~~~^~~~~~~~~ -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)); - ~~~~~^~~~~~~~~ + 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/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)); - ^ + 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/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)); - ^ + 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/Texture.cpp:4: + from komat/3dmath.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/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)); @@ -6678,190 +6456,186 @@ ^~~~~~~~ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from komat/Texture_import.cpp:3: + 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/Texture_import.cpp:3: + 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 komat/Texture.cpp:4: + 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/Texture.cpp:4: + 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 komat/Texture.cpp:4: + 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 komat/Texture.cpp:4: + 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 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_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)); + ^ 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: -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/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 { ^~~~~~~~ +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/obbo.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/obbo.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/obbo.cpp:4: + 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/obbo.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/obbo.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/obbo.cpp:4: -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 - ^~~~~~~~ -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 - ^~~~~~~~~~~~~ -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/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)); - ^ + 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 kofola/ambient_sounds.cpp:11: + from komat/Mat3d.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/ambient_sounds.cpp:11: + from komat/Mat3d.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 adas.o `test -f 'adas/adas.c' || echo './'`adas/adas.c +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 + { + ^ In file included from tmp/compat.h:59, from komat/3d_all.h:28, - from kofola/ambient_sounds.cpp:11: + 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 kofola/ambient_sounds.cpp:11: + from komat/Mat3d.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/ambient_sounds.cpp:11: + 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 kofola/ambient_sounds.cpp:11: + from komat/Mat3d.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 ogg_io.o `test -f 'adas/ogg_io.c' || echo './'`adas/ogg_io.c +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 + { + ^ +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 'long 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 'long 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 'long 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/Kdtree.cpp:2: @@ -6901,52 +6675,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/json_export.cpp:27: -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/json_export.cpp:27: -age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here - typedef class glmatrix { - ^~~~~~~~ -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); - ^~~~~~~~~~~~~~~~~~~~ -In file included from tmp/compat.h:59, - from komat/3d_all.h:28, - from komat/json_export.cpp:27: -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/json_export.cpp:27: -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: -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/json_export.cpp:27: -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_io.o `test -f 'adas/ogg_io.c' || echo './'`adas/ogg_io.c 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); @@ -7104,6 +6833,16 @@ /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/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/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])); @@ -7142,72 +6881,128 @@ adas/adas.c:914:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(ADAS_data.Sound_Dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -In file included from tmp/compat.h:59, +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 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/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 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)); - ^ + 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 + ^~~~~~~~~~~~~~~~~~ +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); + ^~~~~~~~~~~~~~~~~~~~ +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); + ~~~~~^~~~~~~~~~ +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 In file included from age/graph/age.h:71, from komat/3d_all.h:17, - from kofola/audio_plug-in.cpp:7: + 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 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)); - ^ +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)); + ~~~~~^~~~~~~~~ +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)); + ~~~~~^~~~~~~~~ +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)); + ~~~~~^~~~~~~~~ +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 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 { ^~~~~~~~ -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 -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); - ~~~~~^~~~~~~~~~~~~~~~~~ -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=] fprintf(p_size_file,"%d\n",lReturn); ~^ ~~~~~~~ %ld +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_Proc': adas/ogg_stream.c:548:13: warning: implicit declaration of function 'atoi'; did you mean 'ftoi'? [-Wimplicit-function-declaration] cycles = atoi(text); ^~~~ ftoi +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 { + ^~~~~~~~ adas/ogg_stream.c:574:58: warning: array subscript has type 'char' [-Wchar-subscripts] alSourceUnqueueBuffers(p_ogg->Source,1,&p_ogg->Buffer[buffer]); ^ @@ -7217,6 +7012,20 @@ adas/ogg_stream.c:594:56: warning: array subscript has type 'char' [-Wchar-subscripts] alSourceQueueBuffers(p_ogg->Source,1,&p_ogg->Buffer[buffer]); ^ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + 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/obbo.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 aabb.o `test -f 'age/graph/aabb.cpp' || echo './'`age/graph/aabb.cpp adas/ogg_stream.c:547:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(text,256, file); ^~~~~~~~~~~~~~~~~~~~~ @@ -7226,6 +7035,71 @@ adas/ogg_stream.c:576:5: warning: ignoring return value of 'fgets', 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 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/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/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/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/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_import.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 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_import.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 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_import.cpp:3: +age/graph/matrix.h:44:15: note: 'GLMATRIX' {aka 'class glmatrix'} declared here + typedef class glmatrix { + ^~~~~~~~ tmp/alut_test.cpp: In function 'void init(int)': tmp/alut_test.cpp:74:109: warning: 'void alutLoadWAVFile(ALbyte*, ALenum*, void**, ALsizei*, ALsizei*, ALboolean*)' is deprecated [-Wdeprecated-declarations] alutLoadWAVFile(reinterpret_cast(const_cast(HOME_DIR"1.wav")),&format,&data,&size,&freq,0); @@ -7311,18 +7185,36 @@ /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); ^~~~~~~~~~~~~ -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 aabb.o `test -f 'age/graph/aabb.cpp' || echo './'`age/graph/aabb.cpp -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); - ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/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 + ^~~~~~~~ +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 + ^~~~~~~~~~~~~ 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*)': @@ -7332,6 +7224,148 @@ 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* 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 { + ^~~~~~~~ +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 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 { + ^~~~~~~~ +In file included from tmp/compat.h:59, + from komat/3d_all.h:28, + from komat/json_export.cpp:27: +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/json_export.cpp:27: +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: +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/json_export.cpp:27: +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: +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/json_export.cpp:27: +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); + ~~~~~^~~~~~~~~~~~~~~~~~ +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_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); + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); @@ -7368,7 +7402,7 @@ 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 +/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/x86_64-linux-gnu/libvorbisfile.so -lz -lpthread make[3]: Leaving directory '/build/berusky2-0.10/src' Making all in data @@ -7380,7 +7414,7 @@ make[2]: Leaving directory '/build/berusky2-0.10' make[1]: Leaving directory '/build/berusky2-0.10' dh_auto_test - make -j15 check VERBOSE=1 + make -j16 check VERBOSE=1 make[1]: Entering directory '/build/berusky2-0.10' Making check in po make[2]: Entering directory '/build/berusky2-0.10/po' @@ -7410,14 +7444,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; \ @@ -7429,7 +7463,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' @@ -7479,12 +7513,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/39721/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/39721/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/20850 and its subdirectories -I: Current time: Sun Aug 8 21:52:53 -12 2021 -I: pbuilder-time-stamp: 1628502773 +I: removing directory /srv/workspace/pbuilder/39721 and its subdirectories +I: Current time: Mon Sep 12 06:17:49 +14 2022 +I: pbuilder-time-stamp: 1662913069