Diff of the two buildlogs: -- --- b1/build.log 2021-05-23 12:32:08.308183149 +0000 +++ b2/build.log 2021-05-23 12:40:17.009043347 +0000 @@ -1,6 +1,9 @@ -I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 25 06:53:49 -12 2022 -I: pbuilder-time-stamp: 1656183229 +W: cgroups are not available on the host, not using them. +unshare: unshare failed: Cannot allocate memory +W: pbuilder: unshare CLONE_NEWNET not available +I: pbuilder: network access is available during build! +I: Current time: Mon May 24 02:33:02 +14 2021 +I: pbuilder-time-stamp: 1621773182 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +20,8 @@ I: copying [./travis_200504+hf2-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.t7WCnfL5/trustedkeys.kbx': General error -gpgv: Signature made Tue Oct 6 08:03:54 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.X3mg8VcI/trustedkeys.kbx': General error +gpgv: Signature made Wed Oct 7 10:03:54 2020 +14 gpgv: using RSA key BEED4DED5544A4C03E283DC74BCD0567C296D05D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./travis_200504+hf2-1.dsc @@ -29,137 +32,170 @@ dpkg-source: info: applying 0001-Fix-typos.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/38771/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4581/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/4581/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4581/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=18' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=10' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='126a8dcc8232442c85660e5467b7b433' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='38771' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4581 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.iFEjC142EJ/pbuilderrc_Tc82 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.iFEjC142EJ/b1 --logfile b1/build.log travis_200504+hf2-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.iFEjC142EJ/pbuilderrc_ViaG --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.iFEjC142EJ/b2 --logfile b2/build.log --extrapackages usrmerge travis_200504+hf2-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux I: ls -l /bin - total 5776 - -rwxr-xr-x 1 root root 1367848 Feb 24 2021 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 2021 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 2021 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 2021 more - -rwsr-xr-x 1 root root 50720 Feb 7 2021 mount - -rwxr-xr-x 1 root root 13856 Feb 7 2021 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 2021 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 24 03:46 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 2021 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 2021 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 2021 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/38771/tmp/hooks/D02_print_environment finished + total 5832 + -rwxr-xr-x 1 root root 1367848 Feb 25 10:57 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 03:23 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 04:38 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 04:38 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 04:38 more + -rwsr-xr-x 1 root root 50720 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 13856 Feb 8 04:38 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 10:57 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 May 24 02:35 sh -> bash + lrwxrwxrwx 1 root root 4 May 22 04:22 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 04:38 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 23:55 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/4581/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -226,7 +262,7 @@ Get: 29 http://deb.debian.org/debian bullseye/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] -Fetched 18.6 MB in 0s (76.5 MB/s) +Fetched 18.6 MB in 18s (1040 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19674 files and directories currently installed.) @@ -365,8 +401,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (827 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 21549 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/travis-200504+hf2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/travis-200504+hf2/ && 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 travis dpkg-buildpackage: info: source version 200504+hf2-1 dpkg-buildpackage: info: source distribution unstable @@ -378,7 +450,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/travis-200504+hf2' dh_auto_clean -- distclean - make -j18 distclean distclean + make -j10 distclean distclean make[2]: Entering directory '/build/travis-200504+hf2' rm -f src/2df.o src/acf.o src/aggrtopo.o src/analysisgroup.o src/asciiart.o src/atomgroup.o src/backtrace.o src/base64.o src/bicgstab.o src/bintools.o src/bintree.o src/bqb_alphabet.o src/bqb_bitset.o src/bqb_crc.o src/bqb_cubeframe.o src/bqb_driver.o src/bqb_engine.o src/bqb_extrapolator.o src/bqb_format.o src/bqb_hilbert.o src/bqb_hufftree.o src/bqb_integerengine.o src/bqb_interface.o src/bqb_largeinteger.o src/bqb_linalg.o src/bqb_math.o src/bqb_parmset.o src/bqb_tools.o src/bqbtool.o src/chiral.o src/contactmatrix.o src/cubetool.o src/dacf.o src/database.o src/df.o src/diagonal.o src/domain.o src/elementdata.o src/fdf.o src/fft.o src/fixplproj.o src/gather.o src/geodens.o src/globalvar.o src/grace.o src/hbond.o src/interface.o src/internalcoord.o src/ionpair.o src/ir.o src/kiss_fft.o src/largeinteger.o src/linalg.o src/lmmin.o src/lmwrapper.o src/lu_decomp.o src/luzar.o src/maintools.o src/matrixplot.o src/moltools.o src/nbexchange.o src/nbsearch.o src/normalcoordinate.o src/normalmode.o src/order.o src/order_chain.o src/order_vector.o src/pdf.o src/plproj.o src/posdomain.o src/qr_fact.o src/raman.o src/random.o src/reactive.o src/reflux.o src/region.o src/reordyn.o src/revsdf.o src/roa.o src/sankey.o src/sdfmap.o src/spectrum.o src/statistics.o src/structurefactor.o src/svgwriter.o src/tddf.o src/tensor.o src/tetrapak.o src/timestep.o src/tools.o src/travis.o src/v_base.o src/v_base_wl.o src/v_cell.o src/v_common.o src/v_compute.o src/v_container.o src/v_container_prd.o src/v_pre_container.o src/v_unitcell.o src/v_wall.o src/void.o src/vorowrapper.o src/xbytearray.o src/xdf.o src/xdmatrix3.o src/xdmatrixmn.o src/xdoublearray.o src/xdvec3array.o src/xdvector3.o src/xdvectorn.o src/xintarray.o src/xlongarray.o src/xmemfile.o src/xobarray.o src/xptrarray.o src/xstring.o src/xwordarray.o src/ziggurat.o rm -rf exe @@ -394,7 +466,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/travis-200504+hf2' dh_auto_build -- CFLAGS="-g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro -Wl,-z,now" - make -j18 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now" + make -j10 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now" make[2]: Entering directory '/build/travis-200504+hf2' g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/2df.cpp -o src/2df.o g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/acf.cpp -o src/acf.o @@ -406,14 +478,6 @@ g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/base64.cpp -o src/base64.o g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bicgstab.cpp -o src/bicgstab.o g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bintools.cpp -o src/bintools.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bintree.cpp -o src/bintree.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_alphabet.cpp -o src/bqb_alphabet.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_bitset.cpp -o src/bqb_bitset.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_crc.cpp -o src/bqb_crc.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_cubeframe.cpp -o src/bqb_cubeframe.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_driver.cpp -o src/bqb_driver.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_engine.cpp -o src/bqb_engine.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_extrapolator.cpp -o src/bqb_extrapolator.o In file included from src/base64.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -427,19 +491,6 @@ src/base64.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/bintree.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bintree.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bintree.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/analysisgroup.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -466,117 +517,69 @@ src/asciiart.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_format.cpp -o src/bqb_format.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_hilbert.cpp -o src/bqb_hilbert.o -In file included from src/bqb_config.h:85, - from src/bqb_crc.cpp:38: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_crc.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_crc.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_bitset.cpp:38: +In file included from src/bicgstab.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_bitset.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_bitset.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); +src/bicgstab.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_extrapolator.cpp:38: +In file included from src/bintools.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_extrapolator.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_extrapolator.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); +src/bintools.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_cubeframe.cpp:38: +In file included from src/atomgroup.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_cubeframe.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); +src/atomgroup.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_cubeframe.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_alphabet.cpp:38: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_alphabet.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' - 51 | GET_REVISION_INFO( buf, len ); +src/bicgstab.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_alphabet.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' - 51 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_engine.cpp:38: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_engine.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); +src/atomgroup.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_engine.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); +src/bintools.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_driver.cpp:38: +In file included from src/2df.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_driver.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); +src/2df.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_driver.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); +src/2df.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/atomgroup.cpp:35: +In file included from src/acf.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/atomgroup.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' +src/acf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/atomgroup.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' +src/acf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/aggrtopo.cpp:35: @@ -592,32 +595,6 @@ src/aggrtopo.cpp:48:2: note: in expansion of macro 'GET_REVISION_INFO' 48 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/2df.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/2df.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/2df.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/bintools.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bintools.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bintools.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/backtrace.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -631,162 +608,50 @@ src/backtrace.cpp:48:2: note: in expansion of macro 'GET_REVISION_INFO' 48 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/bicgstab.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bicgstab.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bicgstab.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/acf.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/acf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/acf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_format.cpp:38: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_format.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' - 53 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_format.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' - 53 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_hilbert.cpp:38: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bintree.cpp -o src/bintree.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_alphabet.cpp -o src/bqb_alphabet.o +In file included from src/bintree.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_hilbert.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); +src/bintree.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_hilbert.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); +src/bintree.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_hufftree.cpp -o src/bqb_hufftree.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_integerengine.cpp -o src/bqb_integerengine.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_bitset.cpp -o src/bqb_bitset.o In file included from src/bqb_config.h:85, - from src/bqb_hufftree.cpp:38: + from src/bqb_alphabet.cpp:38: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_hufftree.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); +src/bqb_alphabet.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' + 51 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_hufftree.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); +src/bqb_alphabet.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' + 51 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_config.h:85, - from src/bqb_integerengine.cpp:38: + from src/bqb_bitset.cpp:38: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_integerengine.cpp:52:2: note: in expansion of macro 'GET_REVISION_INFO' - 52 | GET_REVISION_INFO( buf, len ); +src/bqb_bitset.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/bqb_integerengine.cpp:52:2: note: in expansion of macro 'GET_REVISION_INFO' - 52 | GET_REVISION_INFO( buf, len ); +src/bqb_bitset.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -src/bqb_bitset.cpp: In member function 'bool CBQBBitSet::ImportKey(std::string)': -src/bqb_bitset.cpp:121:99: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wformat=] - 121 | m_IF.eprintf("CBQBBitSet::ImportKey(): Error: Key requires at least four characters (has only %lu).\n",s.length()); - | ~~^ ~~~~~~~~~~ - | | | - | | std::__cxx11::basic_string::size_type {aka unsigned int} - | long unsigned int - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_interface.cpp -o src/bqb_interface.o -src/bqb_extrapolator.cpp: In member function 'void CBQBExtrapolator::Initialize(int, int, int, int, int, int, int, int, int, int, int, int, bool, bool, bool, bool, bool, double, double, bool)': -src/bqb_extrapolator.cpp:311:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 311 | m_IF.printf("\n*** Pattern %lu: Preparing Matrix for t=%d x=%d y=%d z=%d ...\n", - | ~~^ - | | - | long unsigned int - | %u - 312 | m_oaPatterns.size(),it,ix,iy,iz); - | ~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_extrapolator.cpp:440:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::set::size_type' {aka 'unsigned int'} [-Wformat=] - 440 | m_IF.printf(" %lu different X values:",setx.size()); - | ~~^ ~~~~~~~~~~~ - | | | - | long unsigned int std::set::size_type {aka unsigned int} - | %u -src/bqb_extrapolator.cpp:445:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::set::size_type' {aka 'unsigned int'} [-Wformat=] - 445 | m_IF.printf(" %lu different Y values:",sety.size()); - | ~~^ ~~~~~~~~~~~ - | | | - | long unsigned int std::set::size_type {aka unsigned int} - | %u -src/bqb_extrapolator.cpp:450:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::set::size_type' {aka 'unsigned int'} [-Wformat=] - 450 | m_IF.printf(" %lu different Z values:",setz.size()); - | ~~^ ~~~~~~~~~~~ - | | | - | long unsigned int std::set::size_type {aka unsigned int} - | %u -src/bqb_extrapolator.cpp:455:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::set::size_type' {aka 'unsigned int'} [-Wformat=] - 455 | m_IF.printf(" %lu different T values:",sett.size()); - | ~~^ ~~~~~~~~~~~ - | | | - | long unsigned int std::set::size_type {aka unsigned int} - | %u -src/bqb_extrapolator.cpp:635:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 635 | m_IF.printf("%d data points, %d coefficients, %lu patterns.\n\n",maxdp,maxcoeff,m_oaPatterns.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_extrapolator.cpp:637:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 637 | m_IF.printf(" %d data points, %d coefficients, %lu patterns.\n",maxdp,maxcoeff,m_oaPatterns.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -In file included from src/bqb_driver.h:44, - from src/bqb_driver.cpp:40: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -799,48 +664,11 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_alphabet.cpp: In member function 'void CBQBAlphabet::BuildAlphabet(const std::vector&, bool)': -src/bqb_alphabet.cpp:88:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 88 | m_IF.printf("Building alphabet (%lu symbols)...\n",inp.size()); - | ~~^ ~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_alphabet.cpp:134:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 134 | m_IF.printf("Found %lu symbol types.\n",m_oaAlphabet.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -In file included from src/bqb_engine.cpp:44: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_alphabet.cpp: In member function 'void CBQBAlphabet::Export(CBQBBitSet*, bool, bool) const': -src/bqb_alphabet.cpp:371:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 371 | m_IF.printf("Exporting Normal Huffman data (count %lu)...\n",ia.size()); - | ~~^ ~~~~~~~~~ - | | | - | | std::vector::size_type {aka unsigned int} - | long unsigned int - | %u In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, - from src/moltools.h:59, - from src/travis.h:45, - from src/2df.cpp:38: + from src/bicgstab.h:41, + from src/bicgstab.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -855,32 +683,12 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_alphabet.cpp: In member function 'void CBQBAlphabet::Import(CBQBBitSet*, bool)': -src/bqb_alphabet.cpp:515:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 515 | m_IF.printf("Tree root element has %lu children.\n",ht->m_pTree->m_oaChildren.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.cpp: In member function 'void CBQBEngine::BuildHilbertIdx(int, int, int)': -src/bqb_engine.cpp:340:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 340 | m_IF.printf("Finished. %lu entries.\n",m_iaHilbertIdx.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, - from src/bicgstab.h:41, - from src/bicgstab.cpp:37: + from src/moltools.h:59, + from src/travis.h:45, + from src/bintools.cpp:38: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -908,13 +716,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_engine.cpp: In member function 'bool CBQBEngine::CubeToIntegerArray(std::vector&, int, CBQBParameterSet_Volumetric*, int&, bool, double*)': -src/bqb_engine.cpp:803:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 803 | m_IF.printf(" Produced %lu symbols.\n",outp.size()); - | ~~^ ~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -922,58 +723,19 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_engine.cpp: In member function 'void CBQBEngine::AtomsToIntegerArray(std::vector&, int, CBQBParameterSet_Position*, int&, bool, double*)': -src/bqb_engine.cpp:1300:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1300 | m_IF.printf("Processing %lu atoms...\n",cfr->m_oaAtoms.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_engine.cpp:1456:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1456 | m_IF.printf("First 20 symbols (from %lu):\n",outp.size()); - | ~~^ ~~~~~~~~~~~ - | | | - | | std::vector::size_type {aka unsigned int} - | long unsigned int - | %u -src/bqb_engine.cpp:1464:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1464 | m_IF.printf("*** AtomsToIntegerArray finished, %lu symbols written ***\n\n",outp.size()-i); - | ~~^ ~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_engine.cpp: In member function 'void CBQBEngine::CompressString(const char*, CBQBBitSet*, CBQBStatistics*)': -src/bqb_engine.cpp:1681:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 1681 | m_IF.printf("CompressString: Trying conventional storage, length %lu (%lu), range %d - %d, %d bits.\n", - | ~~^ - | | - | long unsigned int - | %u - 1682 | strlen(s),ia.size(),mi,ma,bits); - | ~~~~~~~~~ - | | - | size_t {aka unsigned int} -src/bqb_engine.cpp:1681:75: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1681 | m_IF.printf("CompressString: Trying conventional storage, length %lu (%lu), range %d - %d, %d bits.\n", - | ~~^ - | | - | long unsigned int - | %u - 1682 | strlen(s),ia.size(),mi,ma,bits); - | ~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_engine.cpp:1703:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1703 | m_IF.printf("CompressString: Source %lu Bytes, IntegerEngine %d Bytes, Conventional %d Bytes.\n", - | ~~^ - | | - | long unsigned int - | %u - 1704 | ia.size(),bs2.GetByteLength(),co); - | ~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -In file included from src/bqb_format.cpp:43: +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/travis.h:45, + from src/backtrace.cpp:38: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -986,7 +748,7 @@ from src/3df.h:46, from src/moltools.h:59, from src/travis.h:45, - from src/backtrace.cpp:38: + from src/2df.cpp:38: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -994,43 +756,12 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.cpp: In member function 'void CBQBEngine::ExportAtomLabels(const CBQBAtomSet*, CBQBBitSet*, CBQBStatistics*)': -src/bqb_engine.cpp:2195:113: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wformat=] - 2195 | m_IF.eprintf("CBQBEngine::ExportAtomLabels(): Error: Labels longer than 127 characters are not supported (%ld).\n", - | ~~^ - | | - | long int - | %d - 2196 | as->m_oaAtoms[z*5000+z2]->m_sLabel.length()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::__cxx11::basic_string::size_type {aka unsigned int} -src/bqb_format.cpp: In member function 'bool CBQBIndex::ImportFromArray(bool, const std::vector&, int)': -src/bqb_format.cpp:178:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 178 | m_IF.printf(" Decompressed %lu frame types.\n",m_iaFrameTypes.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp:190:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 190 | m_IF.printf(" Decompressed %lu frame lengths.\n",m_iaFrameLengths.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/travis.h:45, - from src/bintools.cpp:38: + from src/timestep.h:54, + from src/aggrtopo.cpp:39: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -1038,55 +769,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_format.cpp:207:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 207 | m_IF.printf(" Decompressed %lu frame IDs.\n",m_iaFrameIDs.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp:218:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 218 | m_IF.eprintf("CBQBIndex::ImportFromArray(): Warning: Index frame is on the index (%d/%lu).\n",z+1,m_iaFrameTypes.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_engine.cpp: In member function 'void CBQBEngine::ImportAtomLabels(CBQBAtomSet*, CBQBBitSet*)': -src/bqb_engine.cpp:2245:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 2245 | m_IF.eprintf("CBQBEngine::ImportAtomLabels(): Error: Expected %lu atom labels, but found %d (%d).\n", - | ~~^ - | | - | long unsigned int - | %u - 2246 | as->m_oaAtoms.size(),i,zt); - | ~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_format.cpp: In member function 'bool CBQBIndex::ExportToArray(bool, std::vector&, CBQBStatistics*)': -src/bqb_format.cpp:269:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 269 | m_IF.printf(" Compressed %lu frame types to %d bytes.\n",m_iaFrameTypes.size(),i); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp:286:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 286 | m_IF.printf(" Compressed %lu frame lengths to %d bytes.\n",m_iaFrameLengths.size(),bs.GetByteLength()-i); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp:310:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 310 | m_IF.printf(" Compressed %lu frame IDs to %d bytes.\n",m_iaFrameIDs.size(),bs.GetByteLength()-i); - | ~~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_engine.cpp: In member function 'bool CBQBEngine::CompressAtomFrame(CBQBBitSet*, int, CBQBParameterSet_Position*, int&, bool, bool, CBQBStatistics*, bool, double*, std::vector >*)': -src/bqb_engine.cpp:2471:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 2471 | m_IF.printf("CBQBEngine::CompressAtomFrame(): Will compress %lu symbols.\n",m_iaTempCompressXYZ.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -1094,13 +776,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_engine.cpp: In member function 'bool CBQBEngine::DecompressAtomFrame(CBQBBitSet*, int, CBQBParameterSet_Position*, int*, bool, bool)': -src/bqb_engine.cpp:2631:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] - 2631 | m_IF.printf("Decompressed string to %lu characters.\n",strlen(tch)); - | ~~^ ~~~~~~~~~~~ - | | | - | long unsigned int size_t {aka unsigned int} - | %u src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -1108,131 +783,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_engine.cpp:2853:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 2853 | m_IF.printf("CBQBEngine::DecompressAtomFrame(): Decompressed %lu symbols.\n",m_iaTempCompressXYZ.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp: In member function 'bool CBQBFile::FinalizeFrame(CBQBStatistics*)': -src/bqb_format.cpp:1198:23: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1198 | m_IF.printf(" %lu bytes of payload written, CRC32 is %08lX.\n",m_pShortFrame->m_iaPayload.size(),m_pShortFrame->m_iCRC32); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp: In member function 'bool CBQBFile::CheckIntegrity(std::string, bool)': -src/bqb_format.cpp:1323:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1323 | m_IF.printf("File contains an index with %lu/%lu entries.\n",m_pIndex->m_iaFrameTypes.size(),m_pIndex->m_iaFrameLengths.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp:1323:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1323 | m_IF.printf("File contains an index with %lu/%lu entries.\n",m_pIndex->m_iaFrameTypes.size(),m_pIndex->m_iaFrameLengths.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp:1328:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1328 | m_IF.printf(" Frame %6d, type %2d v%d (%s), ID %6d, payload size %8lu bytes.\n", - | ~~~^ - | | - | long unsigned int - | %8u -...... - 1334 | m_pShortFrame->m_iaPayload.size() - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_format.cpp:1349:150: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1349 | m_IF.eprintf("CBQBFile::CheckIntegrity(): Error in frame %d: Mismatch between frame header and index: Type %d<-->%d, Version %d<-->%d, Length %lu<-->%d.\n",i+1,m_pShortFrame->m_iFrameType,m_pIndex->m_iaFrameTypes[i]>>3,m_pShortFrame->m_iFrameTypeVersion,m_pIndex->m_iaFrameTypes[i]&7,m_pShortFrame->m_iaPayload.size()+15,m_pIndex->m_iaFrameLengths[i]); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_format.cpp:1366:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1366 | m_IF.printf(" Frame %6d, type %2d v%d (%s), ID %6d, payload size %8lu bytes.\n", - | ~~~^ - | | - | long unsigned int - | %8u -...... - 1372 | m_pShortFrame->m_iaPayload.size() - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_format.cpp: In member function 'bool CBQBFile::OpenListFile(FILE*)': -src/bqb_format.cpp:1535:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1535 | m_IF.eprintf("CBQBFile::OpenListFile(): Error while reading line %lu from BQB list file.\n", - | ~~^ - | | - | long unsigned int - | %u - 1536 | m_oaBQBList.size()+1); - | ~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_format.cpp:1558:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1558 | m_IF.eprintf("CBQBFile::OpenListFile(): Missing \"]\" in line %lu: \"%s\".\n", - | ~~^ - | | - | long unsigned int - | %u - 1559 | m_oaBQBList.size()+1,buf); - | ~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_format.cpp:1566:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1566 | m_IF.eprintf("CBQBFile::OpenListFile(): Missing \"-\" in line %lu: \"%s\".\n", - | ~~^ - | | - | long unsigned int - | %u - 1567 | m_oaBQBList.size()+1,buf); - | ~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -In file included from src/bqb_config.h:85, - from src/bqb_interface.cpp:38: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_interface.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_interface.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/bqb_bitset.cpp: In member function 'bool CBQBBitSet::ImportFromFile(FILE*, int)': -src/bqb_bitset.cpp:307:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 307 | (void)fread(&m_iaData[z*4096],4096,1,a); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/bqb_bitset.cpp:314:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 314 | (void)fread(&m_iaData[z*4096],bytes%4096,1,a); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/timestep.h:54, - from src/aggrtopo.cpp:39: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_format.cpp:1678:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 1678 | m_IF.printf("LIST: Added %lu entries to list.\n",m_oaBQBList.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -1240,61 +790,7 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/bqb_format.cpp: In member function 'bool CBQBFile::SeekFrame(int)': -src/bqb_format.cpp:2157:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 2157 | m_IF.printf(" Entry has %lu frames, so end of entry is frame %d, which is < %d.\n", - | ~~^ - | | - | long unsigned int - | %u - 2158 | le->m_pIndex->m_iaFrameLengths.size(),k,i); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_format.cpp:2162:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 2162 | m_IF.printf(" Entry has %lu frames, so end of entry is frame %d, which is >= %d --> Found.\n", - | ~~^ - | | - | long unsigned int - | %u - 2163 | le->m_pIndex->m_iaFrameLengths.size(),(int)le->m_pIndex->m_iaFrameLengths.size()+k,i); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/bqb_format.cpp:2203:87: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 2203 | m_IF.eprintf("CBQBFile::SeekFrame(): Error: Tried to seek frame beyond index (%d/%lu).\n", - | ~~^ - | | - | long unsigned int - | %u - 2204 | i,m_pIndex->m_iaFrameLengths.size()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -In file included from src/bqb_engine.cpp:44: -src/bqb_engine.h: In instantiation of 'const FT* CBQBReadCache::GetFrameHistory(int) const [with FT = CBQBCubeFrame]': -src/bqb_engine.cpp:468:43: required from here -src/bqb_engine.h:494:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 494 | m_IF.printf("GetFrameHistory(%d): readpos=%d, t=%d, size=%lu\n",i,m_iReadPos,t,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In instantiation of 'const FT* CBQBReadCache::GetFrameHistory(int) const [with FT = CBQBAtomSet]': -src/bqb_engine.cpp:1297:43: required from here -src/bqb_engine.h:494:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 494 | m_IF.printf("GetFrameHistory(%d): readpos=%d, t=%d, size=%lu\n",i,m_iReadPos,t,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_driver.cpp: In member function 'bool CBQBDriver::DecompressXYZ(const char*, const char*, const char*, int, int, CBQBParameterSet_Position*)': -src/bqb_driver.cpp:3753:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 3753 | m_IF.printf("Atom block %lu bytes.\n",bf.GetFramePayload()->size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_crc.cpp -o src/bqb_crc.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/travis.h:59, @@ -1327,13 +823,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/bqb_driver.cpp: In member function 'bool CBQBDriver::CompressFile(const char*, const char*, const CBQBParameterSet_Compressor*)': -src/bqb_driver.cpp:3875:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 3875 | m_IF.printf("%lu Bytes read from input file.\n",ia.size()); - | ~~^ ~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); @@ -1341,51 +830,27 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/bqb_driver.cpp:3900:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 3900 | m_IF.printf("Compressed %lu to %d bytes (%.3f:1, %7.3f%%, %.3f bits/byte).\n\n", - | ~~^ - | | - | long unsigned int - | %u - 3901 | ia.size(), - | ~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); | ~~^ ~~~~~~~~~~~~~~~~ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/bqb_cubeframe.cpp: In member function 'bool CBQBCubeFrame::ReadFrame(FILE*, int, int, int, bool)': -src/bqb_cubeframe.cpp:85:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 85 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:92:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 92 | (void)fgets(buf2,256,a); - | ~~~~~^~~~~~~~~~~~ -src/bqb_cubeframe.cpp:107:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 107 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:166:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 166 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:231:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 231 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:296:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 296 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:387:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 387 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:530:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 530 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, from src/travis.h:59, - from src/2df.cpp:38: + from src/bintools.cpp:38: +src/tensor.h: In member function 'double& CDTensor1::operator[](int)': +src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +In file included from src/roa.h:44, + from src/globalvar.h:48, + from src/travis.h:59, + from src/acf.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -1400,6 +865,20 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +src/tensor.h: In member function 'double CDTensor1::operator[](int) const': +src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double& CDTensor1::operator()(int)': +src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u src/tensor.h: In member function 'double& CDTensor1::operator()(int)': src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); @@ -1414,6 +893,13 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +src/tensor.h: In member function 'double CDTensor1::operator()(int) const': +src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); @@ -1427,79 +913,22 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/bqb_driver.cpp: In member function 'bool CBQBDriver::DecompressFile(const char*, const char*, const char*)': -src/bqb_driver.cpp:3992:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 3992 | m_IF.printf("%lu bytes of payload read from input file.\n",bs.m_iaData.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/bqb_driver.cpp:4006:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 4006 | m_IF.printf("Decompressed to %lu Bytes.\n",ia.size()); - | ~~^ ~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} +src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': +src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/bqb_cubeframe.cpp: In member function 'bool CBQBCubeFrame::SkipFrame(FILE*, bool) const': -src/bqb_cubeframe.cpp:662:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 662 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:667:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 667 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:675:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 675 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:692:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 692 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:717:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 717 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:742:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 742 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:769:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 769 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:782:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 782 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp: In member function 'bool CBQBAtomSet::ReadXYZ(FILE*, int, FILE*)': -src/bqb_cubeframe.cpp:932:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 932 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:939:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 939 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:959:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 959 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp: In member function 'bool CBQBAtomSet::SkipXYZ(FILE*)': -src/bqb_cubeframe.cpp:1113:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1113 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:1117:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1117 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_cubeframe.cpp:1126:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1126 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/bqb_driver.cpp: In member function 'bool CBQBDriver::MergeBQB(const char*, const std::vector&)': -src/bqb_driver.cpp:4133:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 4133 | m_IF.printf(" Merged %d frames from %lu input files into output file.\n\n", - | ~~^ - | | - | long unsigned int - | %u - 4134 | zo,infile.size()); - | ~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} +src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u In file included from src/roa.h:44, from src/globalvar.h:48, - from src/travis.h:59, - from src/acf.cpp:38: + from src/aggrtopo.cpp:40: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -1543,7 +972,8 @@ | %u In file included from src/roa.h:44, from src/globalvar.h:48, - from src/bicgstab.cpp:39: + from src/travis.h:59, + from src/2df.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -1588,7 +1018,7 @@ In file included from src/roa.h:44, from src/globalvar.h:48, from src/travis.h:59, - from src/bintools.cpp:38: + from src/backtrace.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -1632,7 +1062,7 @@ | %u In file included from src/roa.h:44, from src/globalvar.h:48, - from src/aggrtopo.cpp:40: + from src/bicgstab.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -1687,51 +1117,728 @@ | | | | long int int | %d -In file included from src/roa.h:44, - from src/globalvar.h:48, - from src/travis.h:59, - from src/backtrace.cpp:38: -src/tensor.h: In member function 'double& CDTensor1::operator[](int)': -src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator[](int) const': -src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double& CDTensor1::operator()(int)': -src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator()(int) const': -src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} +src/aggrtopo.cpp: In member function 'bool CAggrTopoGroup::Parse()': +src/aggrtopo.cpp:129:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 129 | mprintf("\n This yields %lu atoms.\n\n",m_iaAtoms.size()); + | ~~^ ~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/aggrtopo.cpp: In member function 'bool CAggrTopoEngine::Parse()': +src/aggrtopo.cpp:179:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 179 | mprintf("\n Have %lu donor groups and %lu acceptor groups:\n\n", m_oaDonorGroups.size(), m_oaAcceptorGroups.size() ); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/aggrtopo.cpp:179:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 179 | mprintf("\n Have %lu donor groups and %lu acceptor groups:\n\n", m_oaDonorGroups.size(), m_oaAcceptorGroups.size() ); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/aggrtopo.cpp:183:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 183 | " Group %2d %s %5lu atoms: %s.\n", + | ~~~^ + | | + | long unsigned int + | %5u +...... + 186 | m_oaGroups[z]->m_iaAtoms.size(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/aggrtopo.cpp:191:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 191 | mprintf(" This yields %lu combinations for interactions.\n", m_oaDonorGroups.size() * m_oaAcceptorGroups.size() ); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/aggrtopo.cpp: In member function 'void CAggrTopoEngine::Finish()': +src/aggrtopo.cpp:512:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 512 | " Group %2d %s %5lu atoms: %s.\n", + | ~~~^ + | | + | long unsigned int + | %5u +...... + 515 | m_oaGroups[z]->m_iaAtoms.size(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/aggrtopo.cpp:539:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 539 | mfprintf(a," %lu\n",m_oaGroups.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +In file included from src/bqb_config.h:85, + from src/bqb_crc.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_crc.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_crc.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/bqb_alphabet.cpp: In member function 'void CBQBAlphabet::BuildAlphabet(const std::vector&, bool)': +src/bqb_alphabet.cpp:88:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 88 | m_IF.printf("Building alphabet (%lu symbols)...\n",inp.size()); + | ~~^ ~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_alphabet.cpp:134:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 134 | m_IF.printf("Found %lu symbol types.\n",m_oaAlphabet.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_alphabet.cpp: In member function 'void CBQBAlphabet::Export(CBQBBitSet*, bool, bool) const': +src/bqb_alphabet.cpp:371:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 371 | m_IF.printf("Exporting Normal Huffman data (count %lu)...\n",ia.size()); + | ~~^ ~~~~~~~~~ + | | | + | | std::vector::size_type {aka unsigned int} + | long unsigned int | %u -src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': -src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} +src/bqb_alphabet.cpp: In member function 'void CBQBAlphabet::Import(CBQBBitSet*, bool)': +src/bqb_alphabet.cpp:515:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 515 | m_IF.printf("Tree root element has %lu children.\n",ht->m_pTree->m_oaChildren.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/backtrace.cpp: In function 'void DumpLinuxBacktrace()': +src/backtrace.cpp:132:17: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 132 | (void)system(buf); + | ~~~~~~^~~~~ +src/backtrace.cpp:143:17: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 143 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/backtrace.cpp:166:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 166 | (void)system("rm tmp.txt"); + | ~~~~~~^~~~~~~~~~~~~~ +src/bqb_bitset.cpp: In member function 'bool CBQBBitSet::ImportKey(std::string)': +src/bqb_bitset.cpp:121:99: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wformat=] + 121 | m_IF.eprintf("CBQBBitSet::ImportKey(): Error: Key requires at least four characters (has only %lu).\n",s.length()); + | ~~^ ~~~~~~~~~~ + | | | + | | std::__cxx11::basic_string::size_type {aka unsigned int} + | long unsigned int + | %u +src/bqb_bitset.cpp: In member function 'bool CBQBBitSet::ImportFromFile(FILE*, int)': +src/bqb_bitset.cpp:307:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 307 | (void)fread(&m_iaData[z*4096],4096,1,a); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/bqb_bitset.cpp:314:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 314 | (void)fread(&m_iaData[z*4096],bytes%4096,1,a); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_cubeframe.cpp -o src/bqb_cubeframe.o +In file included from src/bqb_config.h:85, + from src/bqb_cubeframe.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_cubeframe.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_cubeframe.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_driver.cpp -o src/bqb_driver.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_engine.cpp -o src/bqb_engine.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_extrapolator.cpp -o src/bqb_extrapolator.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_format.cpp -o src/bqb_format.o +In file included from src/bqb_config.h:85, + from src/bqb_driver.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_driver.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_driver.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_hilbert.cpp -o src/bqb_hilbert.o +In file included from src/bqb_config.h:85, + from src/bqb_extrapolator.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_extrapolator.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_extrapolator.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_config.h:85, + from src/bqb_engine.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_engine.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_engine.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_config.h:85, + from src/bqb_format.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_format.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' + 53 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_format.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' + 53 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_config.h:85, + from src/bqb_hilbert.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_hilbert.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_hilbert.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/bqb_cubeframe.cpp: In member function 'bool CBQBCubeFrame::ReadFrame(FILE*, int, int, int, bool)': +src/bqb_cubeframe.cpp:85:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 85 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:92:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 92 | (void)fgets(buf2,256,a); + | ~~~~~^~~~~~~~~~~~ +src/bqb_cubeframe.cpp:107:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 107 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:166:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 166 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:231:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 231 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:296:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 296 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:387:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 387 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:530:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 530 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp: In member function 'bool CBQBCubeFrame::SkipFrame(FILE*, bool) const': +src/bqb_cubeframe.cpp:662:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 662 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:667:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 667 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:675:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 675 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:692:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 692 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:717:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 717 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:742:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 742 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:769:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 769 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:782:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 782 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp: In member function 'bool CBQBAtomSet::ReadXYZ(FILE*, int, FILE*)': +src/bqb_cubeframe.cpp:932:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 932 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:939:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 939 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:959:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 959 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp: In member function 'bool CBQBAtomSet::SkipXYZ(FILE*)': +src/bqb_cubeframe.cpp:1113:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1113 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:1117:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1117 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/bqb_cubeframe.cpp:1126:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1126 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +In file included from src/bqb_driver.h:44, + from src/bqb_driver.cpp:40: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_extrapolator.cpp: In member function 'void CBQBExtrapolator::Initialize(int, int, int, int, int, int, int, int, int, int, int, int, bool, bool, bool, bool, bool, double, double, bool)': +src/bqb_extrapolator.cpp:311:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 311 | m_IF.printf("\n*** Pattern %lu: Preparing Matrix for t=%d x=%d y=%d z=%d ...\n", + | ~~^ + | | + | long unsigned int + | %u + 312 | m_oaPatterns.size(),it,ix,iy,iz); + | ~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_extrapolator.cpp:440:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::set::size_type' {aka 'unsigned int'} [-Wformat=] + 440 | m_IF.printf(" %lu different X values:",setx.size()); + | ~~^ ~~~~~~~~~~~ + | | | + | long unsigned int std::set::size_type {aka unsigned int} + | %u +src/bqb_extrapolator.cpp:445:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::set::size_type' {aka 'unsigned int'} [-Wformat=] + 445 | m_IF.printf(" %lu different Y values:",sety.size()); + | ~~^ ~~~~~~~~~~~ + | | | + | long unsigned int std::set::size_type {aka unsigned int} + | %u +src/bqb_extrapolator.cpp:450:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::set::size_type' {aka 'unsigned int'} [-Wformat=] + 450 | m_IF.printf(" %lu different Z values:",setz.size()); + | ~~^ ~~~~~~~~~~~ + | | | + | long unsigned int std::set::size_type {aka unsigned int} + | %u +src/bqb_extrapolator.cpp:455:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::set::size_type' {aka 'unsigned int'} [-Wformat=] + 455 | m_IF.printf(" %lu different T values:",sett.size()); + | ~~^ ~~~~~~~~~~~ + | | | + | long unsigned int std::set::size_type {aka unsigned int} + | %u +src/bqb_extrapolator.cpp:635:51: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 635 | m_IF.printf("%d data points, %d coefficients, %lu patterns.\n\n",maxdp,maxcoeff,m_oaPatterns.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_extrapolator.cpp:637:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 637 | m_IF.printf(" %d data points, %d coefficients, %lu patterns.\n",maxdp,maxcoeff,m_oaPatterns.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_driver.cpp: In member function 'bool CBQBDriver::DecompressXYZ(const char*, const char*, const char*, int, int, CBQBParameterSet_Position*)': +src/bqb_driver.cpp:3753:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 3753 | m_IF.printf("Atom block %lu bytes.\n",bf.GetFramePayload()->size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_driver.cpp: In member function 'bool CBQBDriver::CompressFile(const char*, const char*, const CBQBParameterSet_Compressor*)': +src/bqb_driver.cpp:3875:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 3875 | m_IF.printf("%lu Bytes read from input file.\n",ia.size()); + | ~~^ ~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_driver.cpp:3900:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 3900 | m_IF.printf("Compressed %lu to %d bytes (%.3f:1, %7.3f%%, %.3f bits/byte).\n\n", + | ~~^ + | | + | long unsigned int + | %u + 3901 | ia.size(), + | ~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_driver.cpp: In member function 'bool CBQBDriver::DecompressFile(const char*, const char*, const char*)': +src/bqb_driver.cpp:3992:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 3992 | m_IF.printf("%lu bytes of payload read from input file.\n",bs.m_iaData.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_driver.cpp:4006:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 4006 | m_IF.printf("Decompressed to %lu Bytes.\n",ia.size()); + | ~~^ ~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u +src/bqb_driver.cpp: In member function 'bool CBQBDriver::MergeBQB(const char*, const std::vector&)': +src/bqb_driver.cpp:4133:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 4133 | m_IF.printf(" Merged %d frames from %lu input files into output file.\n\n", + | ~~^ + | | + | long unsigned int + | %u + 4134 | zo,infile.size()); + | ~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_hufftree.cpp -o src/bqb_hufftree.o +In file included from src/bqb_format.cpp:43: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_format.cpp: In member function 'bool CBQBIndex::ImportFromArray(bool, const std::vector&, int)': +src/bqb_format.cpp:178:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 178 | m_IF.printf(" Decompressed %lu frame types.\n",m_iaFrameTypes.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:190:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 190 | m_IF.printf(" Decompressed %lu frame lengths.\n",m_iaFrameLengths.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:207:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 207 | m_IF.printf(" Decompressed %lu frame IDs.\n",m_iaFrameIDs.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:218:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 218 | m_IF.eprintf("CBQBIndex::ImportFromArray(): Warning: Index frame is on the index (%d/%lu).\n",z+1,m_iaFrameTypes.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp: In member function 'bool CBQBIndex::ExportToArray(bool, std::vector&, CBQBStatistics*)': +src/bqb_format.cpp:269:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 269 | m_IF.printf(" Compressed %lu frame types to %d bytes.\n",m_iaFrameTypes.size(),i); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:286:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 286 | m_IF.printf(" Compressed %lu frame lengths to %d bytes.\n",m_iaFrameLengths.size(),bs.GetByteLength()-i); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:310:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 310 | m_IF.printf(" Compressed %lu frame IDs to %d bytes.\n",m_iaFrameIDs.size(),bs.GetByteLength()-i); + | ~~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp: In member function 'bool CBQBFile::FinalizeFrame(CBQBStatistics*)': +src/bqb_format.cpp:1198:23: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1198 | m_IF.printf(" %lu bytes of payload written, CRC32 is %08lX.\n",m_pShortFrame->m_iaPayload.size(),m_pShortFrame->m_iCRC32); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp: In member function 'bool CBQBFile::CheckIntegrity(std::string, bool)': +src/bqb_format.cpp:1323:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1323 | m_IF.printf("File contains an index with %lu/%lu entries.\n",m_pIndex->m_iaFrameTypes.size(),m_pIndex->m_iaFrameLengths.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:1323:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1323 | m_IF.printf("File contains an index with %lu/%lu entries.\n",m_pIndex->m_iaFrameTypes.size(),m_pIndex->m_iaFrameLengths.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:1328:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1328 | m_IF.printf(" Frame %6d, type %2d v%d (%s), ID %6d, payload size %8lu bytes.\n", + | ~~~^ + | | + | long unsigned int + | %8u +...... + 1334 | m_pShortFrame->m_iaPayload.size() + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_format.cpp:1349:150: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1349 | m_IF.eprintf("CBQBFile::CheckIntegrity(): Error in frame %d: Mismatch between frame header and index: Type %d<-->%d, Version %d<-->%d, Length %lu<-->%d.\n",i+1,m_pShortFrame->m_iFrameType,m_pIndex->m_iaFrameTypes[i]>>3,m_pShortFrame->m_iFrameTypeVersion,m_pIndex->m_iaFrameTypes[i]&7,m_pShortFrame->m_iaPayload.size()+15,m_pIndex->m_iaFrameLengths[i]); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:1366:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1366 | m_IF.printf(" Frame %6d, type %2d v%d (%s), ID %6d, payload size %8lu bytes.\n", + | ~~~^ + | | + | long unsigned int + | %8u +...... + 1372 | m_pShortFrame->m_iaPayload.size() + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_format.cpp: In member function 'bool CBQBFile::OpenListFile(FILE*)': +src/bqb_format.cpp:1535:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1535 | m_IF.eprintf("CBQBFile::OpenListFile(): Error while reading line %lu from BQB list file.\n", + | ~~^ + | | + | long unsigned int + | %u + 1536 | m_oaBQBList.size()+1); + | ~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_format.cpp:1558:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1558 | m_IF.eprintf("CBQBFile::OpenListFile(): Missing \"]\" in line %lu: \"%s\".\n", + | ~~^ + | | + | long unsigned int + | %u + 1559 | m_oaBQBList.size()+1,buf); + | ~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_format.cpp:1566:69: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1566 | m_IF.eprintf("CBQBFile::OpenListFile(): Missing \"-\" in line %lu: \"%s\".\n", + | ~~^ + | | + | long unsigned int + | %u + 1567 | m_oaBQBList.size()+1,buf); + | ~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_format.cpp:1678:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1678 | m_IF.printf("LIST: Added %lu entries to list.\n",m_oaBQBList.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_format.cpp: In member function 'bool CBQBFile::SeekFrame(int)': +src/bqb_format.cpp:2157:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 2157 | m_IF.printf(" Entry has %lu frames, so end of entry is frame %d, which is < %d.\n", + | ~~^ + | | + | long unsigned int + | %u + 2158 | le->m_pIndex->m_iaFrameLengths.size(),k,i); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_format.cpp:2162:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 2162 | m_IF.printf(" Entry has %lu frames, so end of entry is frame %d, which is >= %d --> Found.\n", + | ~~^ + | | + | long unsigned int + | %u + 2163 | le->m_pIndex->m_iaFrameLengths.size(),(int)le->m_pIndex->m_iaFrameLengths.size()+k,i); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +In file included from src/bqb_engine.cpp:44: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_format.cpp:2203:87: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 2203 | m_IF.eprintf("CBQBFile::SeekFrame(): Error: Tried to seek frame beyond index (%d/%lu).\n", + | ~~^ + | | + | long unsigned int + | %u + 2204 | i,m_pIndex->m_iaFrameLengths.size()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.cpp: In member function 'void CBQBEngine::BuildHilbertIdx(int, int, int)': +src/bqb_engine.cpp:340:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 340 | m_IF.printf("Finished. %lu entries.\n",m_iaHilbertIdx.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_engine.cpp: In member function 'bool CBQBEngine::CubeToIntegerArray(std::vector&, int, CBQBParameterSet_Volumetric*, int&, bool, double*)': +src/bqb_engine.cpp:803:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 803 | m_IF.printf(" Produced %lu symbols.\n",outp.size()); + | ~~^ ~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_engine.cpp: In member function 'void CBQBEngine::AtomsToIntegerArray(std::vector&, int, CBQBParameterSet_Position*, int&, bool, double*)': +src/bqb_engine.cpp:1300:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1300 | m_IF.printf("Processing %lu atoms...\n",cfr->m_oaAtoms.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_engine.cpp:1456:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1456 | m_IF.printf("First 20 symbols (from %lu):\n",outp.size()); + | ~~^ ~~~~~~~~~~~ + | | | + | | std::vector::size_type {aka unsigned int} + | long unsigned int + | %u +src/bqb_engine.cpp:1464:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1464 | m_IF.printf("*** AtomsToIntegerArray finished, %lu symbols written ***\n\n",outp.size()-i); + | ~~^ ~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_engine.cpp: In member function 'void CBQBEngine::CompressString(const char*, CBQBBitSet*, CBQBStatistics*)': +src/bqb_engine.cpp:1681:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 1681 | m_IF.printf("CompressString: Trying conventional storage, length %lu (%lu), range %d - %d, %d bits.\n", + | ~~^ + | | + | long unsigned int + | %u + 1682 | strlen(s),ia.size(),mi,ma,bits); + | ~~~~~~~~~ + | | + | size_t {aka unsigned int} +src/bqb_engine.cpp:1681:75: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1681 | m_IF.printf("CompressString: Trying conventional storage, length %lu (%lu), range %d - %d, %d bits.\n", + | ~~^ + | | + | long unsigned int + | %u + 1682 | strlen(s),ia.size(),mi,ma,bits); + | ~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_engine.cpp:1703:41: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 1703 | m_IF.printf("CompressString: Source %lu Bytes, IntegerEngine %d Bytes, Conventional %d Bytes.\n", + | ~~^ + | | + | long unsigned int + | %u + 1704 | ia.size(),bs2.GetByteLength(),co); + | ~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_engine.cpp: In member function 'void CBQBEngine::ExportAtomLabels(const CBQBAtomSet*, CBQBBitSet*, CBQBStatistics*)': +src/bqb_engine.cpp:2195:113: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wformat=] + 2195 | m_IF.eprintf("CBQBEngine::ExportAtomLabels(): Error: Labels longer than 127 characters are not supported (%ld).\n", + | ~~^ + | | + | long int + | %d + 2196 | as->m_oaAtoms[z*5000+z2]->m_sLabel.length()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | std::__cxx11::basic_string::size_type {aka unsigned int} +src/bqb_engine.cpp: In member function 'void CBQBEngine::ImportAtomLabels(CBQBAtomSet*, CBQBBitSet*)': +src/bqb_engine.cpp:2245:67: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 2245 | m_IF.eprintf("CBQBEngine::ImportAtomLabels(): Error: Expected %lu atom labels, but found %d (%d).\n", + | ~~^ + | | + | long unsigned int + | %u + 2246 | as->m_oaAtoms.size(),i,zt); + | ~~~~~~~~~~~~~~~~~~~~ + | | + | std::vector::size_type {aka unsigned int} +src/bqb_engine.cpp: In member function 'bool CBQBEngine::CompressAtomFrame(CBQBBitSet*, int, CBQBParameterSet_Position*, int&, bool, bool, CBQBStatistics*, bool, double*, std::vector >*)': +src/bqb_engine.cpp:2471:65: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 2471 | m_IF.printf("CBQBEngine::CompressAtomFrame(): Will compress %lu symbols.\n",m_iaTempCompressXYZ.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/bqb_engine.cpp: In member function 'bool CBQBEngine::DecompressAtomFrame(CBQBBitSet*, int, CBQBParameterSet_Position*, int*, bool, bool)': +src/bqb_engine.cpp:2631:44: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] + 2631 | m_IF.printf("Decompressed string to %lu characters.\n",strlen(tch)); + | ~~^ ~~~~~~~~~~~ + | | | + | long unsigned int size_t {aka unsigned int} + | %u +src/bqb_engine.cpp:2853:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 2853 | m_IF.printf("CBQBEngine::DecompressAtomFrame(): Decompressed %lu symbols.\n",m_iaTempCompressXYZ.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +In file included from src/bqb_config.h:85, + from src/bqb_hufftree.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_hufftree.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_hufftree.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_engine.cpp:44: +src/bqb_engine.h: In instantiation of 'const FT* CBQBReadCache::GetFrameHistory(int) const [with FT = CBQBCubeFrame]': +src/bqb_engine.cpp:468:43: required from here +src/bqb_engine.h:494:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 494 | m_IF.printf("GetFrameHistory(%d): readpos=%d, t=%d, size=%lu\n",i,m_iReadPos,t,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In instantiation of 'const FT* CBQBReadCache::GetFrameHistory(int) const [with FT = CBQBAtomSet]': +src/bqb_engine.cpp:1297:43: required from here +src/bqb_engine.h:494:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 494 | m_IF.printf("GetFrameHistory(%d): readpos=%d, t=%d, size=%lu\n",i,m_iReadPos,t,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u src/bqb_format.cpp: In member function 'bool CBQBFile::OpenRead(std::string)': src/bqb_format.cpp:404:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 404 | (void)fread(uc,5,1,m_pFile); @@ -1752,6 +1859,25 @@ src/bqb_format.cpp:666:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 666 | (void)fread(&crc,4,1,m_pFile); | ~~~~~^~~~~~~~~~~~~~~~~~ +src/bqb_format.cpp: In member function 'bool CBQBFile::OpenListFile(FILE*)': +src/bqb_format.cpp:1520:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1520 | (void)fgets(buf,1024,a); + | ~~~~~^~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_integerengine.cpp -o src/bqb_integerengine.o +In file included from src/bqb_config.h:85, + from src/bqb_integerengine.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_integerengine.cpp:52:2: note: in expansion of macro 'GET_REVISION_INFO' + 52 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_integerengine.cpp:52:2: note: in expansion of macro 'GET_REVISION_INFO' + 52 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ src/bqb_hufftree.cpp: In member function 'void CBQBHuffmanTree::BuildTree(bool, bool)': src/bqb_hufftree.cpp:394:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 394 | m_IF.printf(" %lu symbol types, %d symbols, %.4f bits per entry, %.4f MiB per frame.\n",m_oaSymbols.size(),c,((double)ti)/m_pTree->m_iFrequency,ti/8.0/1024.0/1024.0); @@ -1766,10 +1892,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/bqb_format.cpp: In member function 'bool CBQBFile::OpenListFile(FILE*)': -src/bqb_format.cpp:1520:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1520 | (void)fgets(buf,1024,a); - | ~~~~~^~~~~~~~~~~~ src/bqb_hufftree.cpp:778:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 778 | m_IF.printf("Transmission symbol type count is %lu, using %d bits.\n",ia2.size(),b2s); | ~~^ ~~~~~~~~~~ @@ -1794,67 +1916,29 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/aggrtopo.cpp: In member function 'bool CAggrTopoGroup::Parse()': -src/aggrtopo.cpp:129:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 129 | mprintf("\n This yields %lu atoms.\n\n",m_iaAtoms.size()); - | ~~^ ~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u src/bqb_hufftree.cpp:880:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 880 | m_IF.printf("Transmission symbol type count is %lu, using 9 bits (char).\n",ia2.size()); | ~~^ ~~~~~~~~~~ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/aggrtopo.cpp: In member function 'bool CAggrTopoEngine::Parse()': -src/aggrtopo.cpp:179:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 179 | mprintf("\n Have %lu donor groups and %lu acceptor groups:\n\n", m_oaDonorGroups.size(), m_oaAcceptorGroups.size() ); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/aggrtopo.cpp:179:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 179 | mprintf("\n Have %lu donor groups and %lu acceptor groups:\n\n", m_oaDonorGroups.size(), m_oaAcceptorGroups.size() ); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/aggrtopo.cpp:183:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 183 | " Group %2d %s %5lu atoms: %s.\n", - | ~~~^ - | | - | long unsigned int - | %5u -...... - 186 | m_oaGroups[z]->m_iaAtoms.size(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/aggrtopo.cpp:191:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 191 | mprintf(" This yields %lu combinations for interactions.\n", m_oaDonorGroups.size() * m_oaAcceptorGroups.size() ); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/aggrtopo.cpp: In member function 'void CAggrTopoEngine::Finish()': -src/aggrtopo.cpp:512:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 512 | " Group %2d %s %5lu atoms: %s.\n", - | ~~~^ - | | - | long unsigned int - | %5u -...... - 515 | m_oaGroups[z]->m_iaAtoms.size(), - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | std::vector::size_type {aka unsigned int} -src/aggrtopo.cpp:539:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 539 | mfprintf(a," %lu\n",m_oaGroups.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_interface.cpp -o src/bqb_interface.o +In file included from src/bqb_config.h:85, + from src/bqb_interface.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_interface.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_interface.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_largeinteger.cpp -o src/bqb_largeinteger.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_linalg.cpp -o src/bqb_linalg.o src/bqb_integerengine.cpp: In member function 'bool CBQBIntegerEngine::Compress(std::vector&, CBQBBitSet*, const CBQBParameterSet_Compressor*, bool, CBQBStatistics*)': src/bqb_integerengine.cpp:134:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 134 | m_IF.printf("Data size %lu, chunk size %d.\n",inp.size(),maxchunk); @@ -1960,8 +2044,34 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_largeinteger.cpp -o src/bqb_largeinteger.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_linalg.cpp -o src/bqb_linalg.o +In file included from src/bqb_config.h:85, + from src/bqb_largeinteger.cpp:87: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_largeinteger.cpp:101:2: note: in expansion of macro 'GET_REVISION_INFO' + 101 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_largeinteger.cpp:101:2: note: in expansion of macro 'GET_REVISION_INFO' + 101 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_config.h:85, + from src/bqb_linalg.cpp:38: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_linalg.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/bqb_linalg.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb_interface.cpp:41: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': @@ -1971,16 +2081,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/backtrace.cpp: In function 'void DumpLinuxBacktrace()': -src/backtrace.cpp:132:17: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 132 | (void)system(buf); - | ~~~~~~^~~~~ -src/backtrace.cpp:143:17: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 143 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/backtrace.cpp:166:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 166 | (void)system("rm tmp.txt"); - | ~~~~~~^~~~~~~~~~~~~~ src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -2093,37 +2193,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::vector::size_type {aka unsigned int} -In file included from src/bqb_config.h:85, - from src/bqb_largeinteger.cpp:87: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_largeinteger.cpp:101:2: note: in expansion of macro 'GET_REVISION_INFO' - 101 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_largeinteger.cpp:101:2: note: in expansion of macro 'GET_REVISION_INFO' - 101 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_config.h:85, - from src/bqb_linalg.cpp:38: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_linalg.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/bqb_linalg.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_math.cpp -o src/bqb_math.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_parmset.cpp -o src/bqb_parmset.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_tools.cpp -o src/bqb_tools.o In file included from src/bqb_config.h:85, from src/bqb_math.cpp:38: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] @@ -2138,6 +2208,7 @@ src/bqb_math.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_parmset.cpp -o src/bqb_parmset.o In file included from src/bqb_config.h:85, from src/bqb_parmset.cpp:38: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] @@ -2152,6 +2223,7 @@ src/bqb_parmset.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' 49 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqb_tools.cpp -o src/bqb_tools.o In file included from src/bqb_config.h:85, from src/bqb_tools.cpp:38: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] @@ -2167,6 +2239,13 @@ 48 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/bqbtool.cpp -o src/bqbtool.o +src/bqb_tools.cpp: In member function 'void CBQBStatistics::PopDiffStatistics()': +src/bqb_tools.cpp:536:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 536 | m_IF.eprintf("CBQBStatistics::PopDiffStatistics(): Error: Statistics stack has size of %lu < 2.\n",m_oaStatStack.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u In file included from src/bqb_config.h:85, from src/bqbtool.cpp:38: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] @@ -2187,42 +2266,6 @@ src/bqbtool.cpp:3275:47: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 3275 | gc_pBQBInterface->printf("%s, %s\n",__DATE__,__TIME__); | ^~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/chiral.cpp -o src/chiral.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/contactmatrix.cpp -o src/contactmatrix.o -src/bqb_tools.cpp: In member function 'void CBQBStatistics::PopDiffStatistics()': -src/bqb_tools.cpp:536:92: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 536 | m_IF.eprintf("CBQBStatistics::PopDiffStatistics(): Error: Statistics stack has size of %lu < 2.\n",m_oaStatStack.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -In file included from src/chiral.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/chiral.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/chiral.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/contactmatrix.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/contactmatrix.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/contactmatrix.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/cubetool.cpp -o src/cubetool.o src/bqb_tools.cpp: In member function 'long int CBQBTools::FindIndexPosition(FILE*)': src/bqb_tools.cpp:396:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 396 | (void)fread(buf,3,1,a); @@ -2239,6 +2282,20 @@ src/bqb_tools.cpp:416:13: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | (void)fread(&uc,1,1,a); | ~~~~~^~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/chiral.cpp -o src/chiral.o +In file included from src/chiral.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/chiral.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/chiral.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/bqbtool.cpp:44: @@ -2256,7 +2313,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/dacf.cpp -o src/dacf.o src/bqbtool.cpp: In function 'int bqbtool_main(int, const char**)': src/bqbtool.cpp:4166:39: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 4166 | gc_pBQBInterface->printf("Merging %lu BQB files into \"%s\".\n\n",gc_sInFileList.size(),gc_sOutFile); @@ -2264,74 +2320,7 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/cubetool.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/cubetool.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/cubetool.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/database.cpp -o src/database.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/df.cpp -o src/df.o -In file included from src/dacf.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/dacf.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/dacf.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/diagonal.cpp -o src/diagonal.o -In file included from src/database.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/database.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/database.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/diagonal.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/diagonal.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/diagonal.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/df.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/df.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/df.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/contactmatrix.cpp -o src/contactmatrix.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -2352,32 +2341,19 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/database.cpp: In member function 'void CDatabase::ParseInputFile(const char*)': -src/database.cpp:2297:16: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2297 | (void)fgets(buf2,256,a); - | ~~~~~^~~~~~~~~~~~ -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/timestep.h:54, - from src/globalvar.h:43, - from src/contactmatrix.cpp:39: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/domain.cpp -o src/domain.o +In file included from src/contactmatrix.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/contactmatrix.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/contactmatrix.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, from src/chiral.cpp:38: @@ -2422,62 +2398,19 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/roa.h:44, - from src/globalvar.h:48, - from src/contactmatrix.cpp:39: -src/tensor.h: In member function 'double& CDTensor1::operator[](int)': -src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator[](int) const': -src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double& CDTensor1::operator()(int)': -src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator()(int) const': -src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': -src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -In file included from src/domain.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/cubetool.cpp -o src/cubetool.o +In file included from src/cubetool.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/domain.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/cubetool.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/domain.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/cubetool.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, @@ -2485,27 +2418,7 @@ from src/moltools.h:59, from src/timestep.h:54, from src/globalvar.h:43, - from src/cubetool.cpp:49: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/dacf.h:45, - from src/dacf.cpp:37: + from src/contactmatrix.cpp:39: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -2522,7 +2435,7 @@ | %u In file included from src/roa.h:44, from src/globalvar.h:48, - from src/cubetool.cpp:49: + from src/contactmatrix.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -2568,8 +2481,9 @@ from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/travis.h:45, - from src/df.cpp:38: + from src/timestep.h:54, + from src/globalvar.h:43, + from src/cubetool.cpp:49: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -2584,9 +2498,10 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/dacf.cpp -o src/dacf.o In file included from src/roa.h:44, from src/globalvar.h:48, - from src/dacf.cpp:38: + from src/cubetool.cpp:49: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -2628,7 +2543,19 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/elementdata.cpp -o src/elementdata.o +In file included from src/dacf.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/dacf.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/dacf.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ src/cubetool.cpp: In member function 'bool CCube::WriteCube(const char*)': src/cubetool.cpp:601:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 601 | "%10lu %10.6f %10.6f %10.6f\n", @@ -2644,10 +2571,54 @@ src/contactmatrix.cpp:575:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 575 | (void)system((const char*)buf); | ~~~~~~^~~~~~~~~~~~~~~~~~ +src/cubetool.cpp: In member function 'bool CCube::ReadCube(const char*)': +src/cubetool.cpp:274:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 274 | fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/cubetool.cpp:281:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 281 | fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/cubetool.cpp:290:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 290 | fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/cubetool.cpp:325:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 325 | fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/cubetool.cpp:360:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 360 | fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/cubetool.cpp:395:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 395 | fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/cubetool.cpp:453:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 453 | fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/cubetool.cpp:518:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 518 | fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/dacf.h:45, + from src/dacf.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u In file included from src/roa.h:44, from src/globalvar.h:48, - from src/travis.h:59, - from src/df.cpp:38: + from src/dacf.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -2689,27 +2660,59 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/elementdata.cpp:58: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/database.cpp -o src/database.o +In file included from src/database.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/elementdata.cpp:65:2: note: in expansion of macro 'GET_REVISION_INFO' - 65 | GET_REVISION_INFO( buf, len ); +src/database.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/elementdata.cpp:65:2: note: in expansion of macro 'GET_REVISION_INFO' - 65 | GET_REVISION_INFO( buf, len ); +src/database.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/fdf.cpp -o src/fdf.o +src/database.cpp: In member function 'void CDatabase::ParseInputFile(const char*)': +src/database.cpp:2297:16: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2297 | (void)fgets(buf2,256,a); + | ~~~~~^~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/df.cpp -o src/df.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/diagonal.cpp -o src/diagonal.o +In file included from src/df.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/df.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/df.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/diagonal.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/diagonal.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/diagonal.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/domain.cpp -o src/domain.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/timestep.h:54, - from src/domain.h:44, - from src/domain.cpp:37: + from src/travis.h:45, + from src/df.cpp:38: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -2724,48 +2727,24 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -src/cubetool.cpp: In member function 'bool CCube::ReadCube(const char*)': -src/cubetool.cpp:274:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 274 | fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/cubetool.cpp:281:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 281 | fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/cubetool.cpp:290:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 290 | fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/cubetool.cpp:325:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 325 | fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/cubetool.cpp:360:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 360 | fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/cubetool.cpp:395:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 395 | fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/cubetool.cpp:453:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 453 | fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/cubetool.cpp:518:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 518 | fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/fft.cpp -o src/fft.o -In file included from src/fdf.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/elementdata.cpp -o src/elementdata.o +In file included from src/domain.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/fdf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); +src/domain.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/fdf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); +src/domain.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/domain.cpp:41: + from src/travis.h:59, + from src/df.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -2807,18 +2786,18 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/fft.cpp:35: +In file included from src/elementdata.cpp:58: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/fft.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/elementdata.cpp:65:2: note: in expansion of macro 'GET_REVISION_INFO' + 65 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/fft.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/elementdata.cpp:65:2: note: in expansion of macro 'GET_REVISION_INFO' + 65 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/df.cpp: In member function 'void CDF::ReadCSV(const char*)': src/df.cpp:2151:7: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] @@ -2827,7 +2806,7 @@ src/df.cpp:2155:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 2155 | fgets(buf,256,a); | ~~~~~^~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/fixplproj.cpp -o src/fixplproj.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/fdf.cpp -o src/fdf.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -2848,18 +2827,40 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/fixplproj.cpp:35: +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/timestep.h:54, + from src/domain.h:44, + from src/domain.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/fft.cpp -o src/fft.o +In file included from src/fdf.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/fixplproj.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/fdf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/fixplproj.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/fdf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, @@ -2872,6 +2873,7 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/fixplproj.cpp -o src/fixplproj.o src/tensor.h: In member function 'double CDTensor1::operator[](int) const': src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -2906,30 +2908,22 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/gather.cpp -o src/gather.o -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/fdf.h:41, - from src/fdf.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u +In file included from src/fft.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/fft.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/fft.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/fdf.cpp:39: + from src/domain.cpp:41: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -2971,21 +2965,21 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/gather.cpp:35: +In file included from src/fixplproj.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/gather.cpp:54:2: note: in expansion of macro 'GET_REVISION_INFO' - 54 | GET_REVISION_INFO( buf, len ); +src/fixplproj.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/gather.cpp:54:2: note: in expansion of macro 'GET_REVISION_INFO' - 54 | GET_REVISION_INFO( buf, len ); +src/fixplproj.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/gather.cpp -o src/gather.o g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/geodens.cpp -o src/geodens.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/globalvar.cpp -o src/globalvar.o In file included from src/geodens.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -2999,6 +2993,39 @@ src/geodens.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +In file included from src/gather.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/gather.cpp:54:2: note: in expansion of macro 'GET_REVISION_INFO' + 54 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/gather.cpp:54:2: note: in expansion of macro 'GET_REVISION_INFO' + 54 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/fdf.h:41, + from src/fdf.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -3020,22 +3047,9 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/globalvar.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/globalvar.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/globalvar.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/fixplproj.cpp:38: + from src/fdf.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -3077,58 +3091,9 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/grace.cpp -o src/grace.o -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/travis.h:45, - from src/gather.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/fixplproj.cpp: In member function 'bool CFixedPlProjObservation::Parse(int)': -src/fixplproj.cpp:135:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 135 | mprintf(" Observing %lu molecules of %s.\n\n",tia.size(),m->m_sName); - | ~~^ ~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/fixplproj.cpp: In member function 'bool CFixedPlProj::Parse()': -src/fixplproj.cpp:274:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 274 | mprintf("\n Added %lu observations.\n",m_oaObservations.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -In file included from src/grace.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/grace.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/grace.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/travis.h:59, - from src/gather.cpp:37: + from src/fixplproj.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -3170,7 +3135,22 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/hbond.cpp -o src/hbond.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/globalvar.cpp -o src/globalvar.o +src/fixplproj.cpp: In member function 'bool CFixedPlProjObservation::Parse(int)': +src/fixplproj.cpp:135:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 135 | mprintf(" Observing %lu molecules of %s.\n\n",tia.size(),m->m_sName); + | ~~^ ~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/fixplproj.cpp: In member function 'bool CFixedPlProj::Parse()': +src/fixplproj.cpp:274:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 274 | mprintf("\n Added %lu observations.\n",m_oaObservations.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/grace.cpp -o src/grace.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -3192,24 +3172,12 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/interface.cpp -o src/interface.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/internalcoord.cpp -o src/internalcoord.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/ionpair.cpp -o src/ionpair.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/ir.cpp -o src/ir.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/kiss_fft.cpp -o src/kiss_fft.o -src/gather.cpp: In function 'bool GatherInfos()': -src/gather.cpp:2041:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 2041 | mprintf("\n Will split off %lu molecules from molecule type %d.\n",tia.size(),ti+1); - | ~~^ ~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, from src/travis.h:45, - from src/globalvar.cpp:37: + from src/gather.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -3224,32 +3192,31 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/largeinteger.cpp -o src/largeinteger.o -In file included from src/internalcoord.cpp:35: +In file included from src/globalvar.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/internalcoord.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/globalvar.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/internalcoord.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/globalvar.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/hbond.cpp:35: +In file included from src/grace.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/hbond.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); +src/grace.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/hbond.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); +src/grace.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, @@ -3295,59 +3262,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/kiss_fft.cpp:47: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/kiss_fft.cpp:57:2: note: in expansion of macro 'GET_REVISION_INFO' - 57 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/kiss_fft.cpp:57:2: note: in expansion of macro 'GET_REVISION_INFO' - 57 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/interface.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/interface.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/interface.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/ionpair.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/ionpair.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/ionpair.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/ir.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/ir.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/ir.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/linalg.cpp -o src/linalg.o src/geodens.cpp: In member function 'bool CGeoDensObservation::Parse()': src/geodens.cpp:193:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 193 | mprintf("\n Observing %lu atoms.\n\n",m_iaObserved.size()); @@ -3355,38 +3269,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/roa.h:44, - from src/globalvar.h:48, - from src/travis.h:59, - from src/globalvar.cpp:37: -src/tensor.h: In member function 'double& CDTensor1::operator[](int)': -src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator[](int) const': -src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double& CDTensor1::operator()(int)': -src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator()(int) const': -src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u src/geodens.cpp: In member function 'bool CGeoDensObservation::ParseCylinder()': src/geodens.cpp:311:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 311 | mprintf("\n Set %c contains %lu atoms.\n\n",'A'+z0,set[z0].size()); @@ -3419,6 +3301,38 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +In file included from src/roa.h:44, + from src/globalvar.h:48, + from src/travis.h:59, + from src/gather.cpp:37: +src/tensor.h: In member function 'double& CDTensor1::operator[](int)': +src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double CDTensor1::operator[](int) const': +src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double& CDTensor1::operator()(int)': +src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double CDTensor1::operator()(int) const': +src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); @@ -3432,33 +3346,48 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/largeinteger.cpp:81: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/largeinteger.cpp:95:2: note: in expansion of macro 'GET_REVISION_INFO' - 95 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/largeinteger.cpp:95:2: note: in expansion of macro 'GET_REVISION_INFO' - 95 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/linalg.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/hbond.cpp -o src/hbond.o +src/gather.cpp: In function 'bool GatherInfos()': +src/gather.cpp:2041:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 2041 | mprintf("\n Will split off %lu molecules from molecule type %d.\n",tia.size(),ti+1); + | ~~^ ~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +In file included from src/hbond.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/linalg.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); +src/hbond.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/linalg.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); +src/hbond.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/lmmin.cpp -o src/lmmin.o +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/travis.h:45, + from src/globalvar.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/interface.cpp -o src/interface.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -3480,20 +3409,63 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/lmwrapper.cpp -o src/lmwrapper.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/lu_decomp.cpp -o src/lu_decomp.o -In file included from src/lmmin.cpp:58: +In file included from src/roa.h:44, + from src/globalvar.h:48, + from src/travis.h:59, + from src/globalvar.cpp:37: +src/tensor.h: In member function 'double& CDTensor1::operator[](int)': +src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double CDTensor1::operator[](int) const': +src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double& CDTensor1::operator()(int)': +src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double CDTensor1::operator()(int) const': +src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': +src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +In file included from src/interface.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/lmmin.cpp:71:2: note: in expansion of macro 'GET_REVISION_INFO' - 71 | GET_REVISION_INFO( buf, len ); +src/interface.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/lmmin.cpp:71:2: note: in expansion of macro 'GET_REVISION_INFO' - 71 | GET_REVISION_INFO( buf, len ); +src/interface.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, @@ -3541,19 +3513,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/lu_decomp.cpp:34: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/lu_decomp.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/lu_decomp.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -3567,39 +3526,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/lmwrapper.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/lmwrapper.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/lmwrapper.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/interface.h:46, - from src/interface.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -3607,47 +3533,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/ionpair.h:41, - from src/ionpair.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/ir.h:41, - from src/ir.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/luzar.cpp -o src/luzar.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/hbond.cpp:41: @@ -3692,6 +3577,39 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/interface.h:46, + from src/interface.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/hbond.cpp: In member function 'bool CHBondObservation::checkAtomChoice(CMolecule*, const char*, CxIntArray*)': +src/hbond.cpp:697:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] + 697 | eprintf("Internal Error (%ld >= 32).\n",q-p); + | ~~^ ~~~ + | | | + | long int int + | %d +src/hbond.cpp:727:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] + 727 | eprintf("Internal Error (%ld >= 32).\n",q-p); + | ~~^ ~~~ + | | | + | long int int + | %d In file included from src/roa.h:44, from src/globalvar.h:48, from src/interface.h:60, @@ -3737,6 +3655,131 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/internalcoord.cpp -o src/internalcoord.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/ionpair.cpp -o src/ionpair.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/ir.cpp -o src/ir.o +In file included from src/internalcoord.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/internalcoord.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/internalcoord.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/kiss_fft.cpp -o src/kiss_fft.o +In file included from src/ionpair.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/ionpair.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/ionpair.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/ir.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/ir.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/ir.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/kiss_fft.cpp:47: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/kiss_fft.cpp:57:2: note: in expansion of macro 'GET_REVISION_INFO' + 57 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/kiss_fft.cpp:57:2: note: in expansion of macro 'GET_REVISION_INFO' + 57 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/largeinteger.cpp -o src/largeinteger.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/linalg.cpp -o src/linalg.o +In file included from src/largeinteger.cpp:81: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/largeinteger.cpp:95:2: note: in expansion of macro 'GET_REVISION_INFO' + 95 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/largeinteger.cpp:95:2: note: in expansion of macro 'GET_REVISION_INFO' + 95 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/linalg.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/linalg.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/linalg.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/ionpair.h:41, + from src/ionpair.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/ir.h:41, + from src/ir.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/lmmin.cpp -o src/lmmin.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/ionpair.cpp:41: @@ -3781,7 +3824,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/maintools.cpp -o src/maintools.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/ir.cpp:39: @@ -3826,33 +3868,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/hbond.cpp: In member function 'bool CHBondObservation::checkAtomChoice(CMolecule*, const char*, CxIntArray*)': -src/hbond.cpp:697:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] - 697 | eprintf("Internal Error (%ld >= 32).\n",q-p); - | ~~^ ~~~ - | | | - | long int int - | %d -src/hbond.cpp:727:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] - 727 | eprintf("Internal Error (%ld >= 32).\n",q-p); - | ~~^ ~~~ - | | | - | long int int - | %d -In file included from src/luzar.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/luzar.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/luzar.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/matrixplot.cpp -o src/matrixplot.o src/ionpair.cpp: In member function 'bool CIonPairObservation::checkAtomChoice(CMolecule*, const char*, CxObArray*)': src/ionpair.cpp:792:31: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] 792 | eprintf("Internal Error (%ld >= 32).\n",q-p); @@ -3866,68 +3881,55 @@ | | | | long int int | %d -In file included from src/maintools.cpp:35: +In file included from src/lmmin.cpp:58: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/maintools.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); +src/lmmin.cpp:71:2: note: in expansion of macro 'GET_REVISION_INFO' + 71 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/maintools.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); +src/lmmin.cpp:71:2: note: in expansion of macro 'GET_REVISION_INFO' + 71 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -src/maintools.cpp:1956:19: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 1956 | mprintf("%s, %s",__DATE__,__TIME__); - | ^~~~~~~~ -src/maintools.cpp:1956:28: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 1956 | mprintf("%s, %s",__DATE__,__TIME__); - | ^~~~~~~~ -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/timestep.h:54, - from src/globalvar.h:43, - from src/lmmin.cpp:66: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -In file included from src/matrixplot.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/lmwrapper.cpp -o src/lmwrapper.o +In file included from src/lmwrapper.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/matrixplot.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); +src/lmwrapper.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/matrixplot.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); +src/lmwrapper.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/moltools.cpp -o src/moltools.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/nbexchange.cpp -o src/nbexchange.o +src/ir.cpp: In constructor 'CDipoleRestartObservation::CDipoleRestartObservation()': +src/ir.cpp:1432:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1432 | (void)system("mkdir dipoles"); + | ~~~~~~^~~~~~~~~~~~~~~~~ +src/ir.cpp:1518:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1518 | (void)system("rm -r dipoles"); + | ~~~~~~^~~~~~~~~~~~~~~~~ +src/ir.cpp: In constructor 'CMagneticRestartObservation::CMagneticRestartObservation()': +src/ir.cpp:2186:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2186 | (void)system("mkdir magnetics"); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +src/ir.cpp:2272:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2272 | (void)system("rm -r magnetics"); + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/lu_decomp.cpp -o src/lu_decomp.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, from src/timestep.h:54, from src/globalvar.h:43, - from src/lmwrapper.cpp:40: + from src/lmmin.cpp:66: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -3942,18 +3944,18 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/moltools.cpp:35: +In file included from src/lu_decomp.cpp:34: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/moltools.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/lu_decomp.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/moltools.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/lu_decomp.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, @@ -3999,20 +4001,28 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/ir.cpp: In constructor 'CDipoleRestartObservation::CDipoleRestartObservation()': -src/ir.cpp:1432:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1432 | (void)system("mkdir dipoles"); - | ~~~~~~^~~~~~~~~~~~~~~~~ -src/ir.cpp:1518:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1518 | (void)system("rm -r dipoles"); - | ~~~~~~^~~~~~~~~~~~~~~~~ -src/ir.cpp: In constructor 'CMagneticRestartObservation::CMagneticRestartObservation()': -src/ir.cpp:2186:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2186 | (void)system("mkdir magnetics"); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ -src/ir.cpp:2272:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2272 | (void)system("rm -r magnetics"); - | ~~~~~~^~~~~~~~~~~~~~~~~~~ +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/timestep.h:54, + from src/globalvar.h:43, + from src/lmwrapper.cpp:40: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/luzar.cpp -o src/luzar.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/lmwrapper.cpp:40: @@ -4057,21 +4067,67 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/nbexchange.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/maintools.cpp -o src/maintools.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/matrixplot.cpp -o src/matrixplot.o +In file included from src/luzar.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/nbexchange.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' +src/luzar.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/luzar.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/moltools.cpp -o src/moltools.o +In file included from src/matrixplot.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/matrixplot.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/nbexchange.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' +src/matrixplot.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/nbsearch.cpp -o src/nbsearch.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/normalcoordinate.cpp -o src/normalcoordinate.o +In file included from src/maintools.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/maintools.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/maintools.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/maintools.cpp:1956:19: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 1956 | mprintf("%s, %s",__DATE__,__TIME__); + | ^~~~~~~~ +src/maintools.cpp:1956:28: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 1956 | mprintf("%s, %s",__DATE__,__TIME__); + | ^~~~~~~~ +In file included from src/moltools.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/moltools.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/moltools.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -4092,19 +4148,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/nbsearch.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/nbsearch.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/nbsearch.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -4119,19 +4162,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/normalcoordinate.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/normalcoordinate.cpp:54:2: note: in expansion of macro 'GET_REVISION_INFO' - 54 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/normalcoordinate.cpp:54:2: note: in expansion of macro 'GET_REVISION_INFO' - 54 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -4163,7 +4193,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/normalmode.cpp -o src/normalmode.o src/tensor.h: In member function 'double CDTensor1::operator()(int) const': src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); @@ -4184,6 +4213,25 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/moltools.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u In file included from src/roa.h:44, from src/globalvar.h:48, from src/travis.h:59, @@ -4230,38 +4278,8 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/moltools.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -In file included from src/normalmode.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/normalmode.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/normalmode.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/nbexchange.cpp -o src/nbexchange.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/nbsearch.cpp -o src/nbsearch.o src/maintools.cpp: In function 'bool ParseAtom(const char*, int, int&, int&, int&)': src/maintools.cpp:400:48: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] 400 | eprintf("Internal Error in ParseAtom(): A, %ld >= 64.\n",r-t); @@ -4269,26 +4287,6 @@ | | | | long int int | %d -src/maintools.cpp: In function 'void WriteHeader()': -src/maintools.cpp:2084:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] - 2084 | mprintf("Machine: int=%lub, long=%lub, addr=%lub, 0xA0B0C0D0=%02X,%02X,%02X,%02X.\n",sizeof(int),sizeof(long),sizeof(void*),*ca,*cb,*cc,*cd); - | ~~^ ~~~~~~~~~~~ - | | | - | long unsigned int unsigned int - | %u -src/maintools.cpp:2084:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] - 2084 | mprintf("Machine: int=%lub, long=%lub, addr=%lub, 0xA0B0C0D0=%02X,%02X,%02X,%02X.\n",sizeof(int),sizeof(long),sizeof(void*),*ca,*cb,*cc,*cd); - | ~~^ ~~~~~~~~~~~~ - | | | - | long unsigned int unsigned int - | %u -src/maintools.cpp:2084:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] - 2084 | mprintf("Machine: int=%lub, long=%lub, addr=%lub, 0xA0B0C0D0=%02X,%02X,%02X,%02X.\n",sizeof(int),sizeof(long),sizeof(void*),*ca,*cb,*cc,*cd); - | ~~^ ~~~~~~~~~~~~~ - | | | - | long unsigned int unsigned int - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/order.cpp -o src/order.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/travis.h:59, @@ -4334,6 +4332,84 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +src/maintools.cpp: In function 'void WriteHeader()': +src/maintools.cpp:2084:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] + 2084 | mprintf("Machine: int=%lub, long=%lub, addr=%lub, 0xA0B0C0D0=%02X,%02X,%02X,%02X.\n",sizeof(int),sizeof(long),sizeof(void*),*ca,*cb,*cc,*cd); + | ~~^ ~~~~~~~~~~~ + | | | + | long unsigned int unsigned int + | %u +src/maintools.cpp:2084:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] + 2084 | mprintf("Machine: int=%lub, long=%lub, addr=%lub, 0xA0B0C0D0=%02X,%02X,%02X,%02X.\n",sizeof(int),sizeof(long),sizeof(void*),*ca,*cb,*cc,*cd); + | ~~^ ~~~~~~~~~~~~ + | | | + | long unsigned int unsigned int + | %u +src/maintools.cpp:2084:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] + 2084 | mprintf("Machine: int=%lub, long=%lub, addr=%lub, 0xA0B0C0D0=%02X,%02X,%02X,%02X.\n",sizeof(int),sizeof(long),sizeof(void*),*ca,*cb,*cc,*cd); + | ~~^ ~~~~~~~~~~~~~ + | | | + | long unsigned int unsigned int + | %u +In file included from src/nbexchange.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/nbexchange.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/nbexchange.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/normalcoordinate.cpp -o src/normalcoordinate.o +In file included from src/nbsearch.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/nbsearch.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/nbsearch.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/normalcoordinate.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/normalcoordinate.cpp:54:2: note: in expansion of macro 'GET_REVISION_INFO' + 54 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/normalcoordinate.cpp:54:2: note: in expansion of macro 'GET_REVISION_INFO' + 54 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/maintools.cpp: In function 'void RenderFormula(const char*, int)': +src/maintools.cpp:3942:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3942 | (void)system(buf); + | ~~~~~~^~~~~ +src/maintools.cpp:3954:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3954 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/maintools.cpp: In function 'void setupDipoleRestartFile()': +src/maintools.cpp:4216:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 4216 | (void)fread(&numMolecules, sizeof(int), 1, g_fDipoleRestartFile); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/maintools.cpp: In function 'void setupMagneticDipoleRestartFile()': +src/maintools.cpp:4241:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 4241 | (void)fread(&numMolecules, sizeof(int), 1, g_fMagneticDipoleRestartFile); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/maintools.cpp: In function 'void DipolGrimme(const char*)': +src/maintools.cpp:6187:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 6187 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -4353,6 +4429,7 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/normalmode.cpp -o src/normalmode.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -4373,18 +4450,18 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/order.cpp:35: +In file included from src/normalmode.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/order.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/normalmode.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/order.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/normalmode.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, @@ -4495,27 +4572,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/order_chain.cpp -o src/order_chain.o -src/maintools.cpp: In function 'void RenderFormula(const char*, int)': -src/maintools.cpp:3942:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3942 | (void)system(buf); - | ~~~~~~^~~~~ -src/maintools.cpp:3954:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3954 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/maintools.cpp: In function 'void setupDipoleRestartFile()': -src/maintools.cpp:4216:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 4216 | (void)fread(&numMolecules, sizeof(int), 1, g_fDipoleRestartFile); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/maintools.cpp: In function 'void setupMagneticDipoleRestartFile()': -src/maintools.cpp:4241:15: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 4241 | (void)fread(&numMolecules, sizeof(int), 1, g_fMagneticDipoleRestartFile); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/maintools.cpp: In function 'void DipolGrimme(const char*)': -src/maintools.cpp:6187:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 6187 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/order_vector.cpp -o src/order_vector.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/normalcoordinate.cpp:39: @@ -4560,33 +4616,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/pdf.cpp -o src/pdf.o -In file included from src/order_chain.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/order_chain.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/order_chain.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/order_vector.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/order_vector.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/order_vector.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -4608,40 +4637,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/pdf.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/pdf.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/pdf.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/timestep.h:54, - from src/order.h:41, - from src/order.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u In file included from src/roa.h:44, from src/globalvar.h:48, from src/normalmode.cpp:40: @@ -4686,120 +4681,41 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/plproj.cpp -o src/plproj.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/posdomain.cpp -o src/posdomain.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/qr_fact.cpp -o src/qr_fact.o -In file included from src/roa.h:44, - from src/globalvar.h:48, - from src/order.cpp:40: -src/tensor.h: In member function 'double& CDTensor1::operator[](int)': -src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator[](int) const': -src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double& CDTensor1::operator()(int)': -src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator()(int) const': -src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': -src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -In file included from src/posdomain.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/posdomain.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/posdomain.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/plproj.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/order.cpp -o src/order.o +In file included from src/order.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/plproj.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/order.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/plproj.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/order.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/qr_fact.cpp:47: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/order_chain.cpp -o src/order_chain.o +In file included from src/order_chain.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/qr_fact.cpp:58:2: note: in expansion of macro 'GET_REVISION_INFO' - 58 | GET_REVISION_INFO( buf, len ); +src/order_chain.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/qr_fact.cpp:58:2: note: in expansion of macro 'GET_REVISION_INFO' - 58 | GET_REVISION_INFO( buf, len ); +src/order_chain.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -src/order.cpp: In member function 'void COrderEngine::DetectChains()': -src/order.cpp:371:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 371 | mprintf(" (%lu)\n",oc->m_iaAtoms.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/order.cpp: In member function 'bool COrderEngine::Parse(CTimeStep*)': -src/order.cpp:392:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 392 | mprintf(WHITE," *** Analysis %lu ***\n\n",m_oaAnalyses.size()+1); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/order.cpp:428:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 428 | mprintf("\n Added %lu analyses.\n",m_oaAnalyses.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/raman.cpp -o src/raman.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, from src/timestep.h:54, from src/order.h:41, - from src/order_chain.cpp:37: + from src/order.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -4820,27 +4736,7 @@ from src/moltools.h:59, from src/timestep.h:54, from src/order.h:41, - from src/order_vector.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/pdf.h:41, - from src/pdf.cpp:37: + from src/order_chain.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -4855,66 +4751,9 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/raman.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/raman.cpp:61:2: note: in expansion of macro 'GET_REVISION_INFO' - 61 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/raman.cpp:61:2: note: in expansion of macro 'GET_REVISION_INFO' - 61 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/roa.h:44, - from src/globalvar.h:48, - from src/order_chain.cpp:39: -src/tensor.h: In member function 'double& CDTensor1::operator[](int)': -src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator[](int) const': -src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double& CDTensor1::operator()(int)': -src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'double CDTensor1::operator()(int) const': -src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': -src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); - | ~~^ ~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u In file included from src/roa.h:44, from src/globalvar.h:48, - from src/order_vector.cpp:39: + from src/order.cpp:40: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -4956,9 +4795,29 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +src/order.cpp: In member function 'void COrderEngine::DetectChains()': +src/order.cpp:371:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 371 | mprintf(" (%lu)\n",oc->m_iaAtoms.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/order.cpp: In member function 'bool COrderEngine::Parse(CTimeStep*)': +src/order.cpp:392:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 392 | mprintf(WHITE," *** Analysis %lu ***\n\n",m_oaAnalyses.size()+1); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/order.cpp:428:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 428 | mprintf("\n Added %lu analyses.\n",m_oaAnalyses.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u In file included from src/roa.h:44, from src/globalvar.h:48, - from src/pdf.cpp:41: + from src/order_chain.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5000,6 +4859,7 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/order_vector.cpp -o src/order_vector.o src/order_chain.cpp: In member function 'virtual bool COrderAnalysis_Chain::Parse(CTimeStep*)': src/order_chain.cpp:89:71: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 89 | eprintf("\n Chain number %d outside of allowed range (%d .. %lu).\n\n",m_iaChains[z],1,m_pParent->m_oaChains[m_iMolecule].size()); @@ -5037,64 +4897,40 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/order_vector.cpp: In member function 'virtual bool COrderAnalysis_Vector::Parse(CTimeStep*)': -src/order_vector.cpp:131:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 131 | eprintf("\n Chain number %d outside of allowed range (%d .. %lu).\n\n",tia[z],1,m_pParent->m_oaChains[ti].size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/order_vector.cpp:137:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 137 | eprintf("\n Chains have different lengths (%d: %lu vs. %d: %lu).\n\n",tia[0]+1,m_pParent->m_oaChains[ti][tia[0]]->m_iaAtoms.size(),tia[z]+1,m_pParent->m_oaChains[ti][tia[z]]->m_iaAtoms.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/order_vector.cpp:137:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 137 | eprintf("\n Chains have different lengths (%d: %lu vs. %d: %lu).\n\n",tia[0]+1,m_pParent->m_oaChains[ti][tia[0]]->m_iaAtoms.size(),tia[z]+1,m_pParent->m_oaChains[ti][tia[z]]->m_iaAtoms.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/order_vector.cpp:143:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 143 | mprintf(" Using %lu chains of length %lu:\n\n",tia.size(),m_pParent->m_oaChains[ti][tia[0]]->m_iaAtoms.size()); - | ~~^ ~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/order_vector.cpp:143:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 143 | mprintf(" Using %lu chains of length %lu:\n\n",tia.size(),m_pParent->m_oaChains[ti][tia[0]]->m_iaAtoms.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -src/order_vector.cpp:192:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 192 | mprintf(WHITE," *** Observation %lu ***\n\n",m_oaObservations.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/random.cpp -o src/random.o -In file included from src/random.cpp:35: +In file included from src/order_vector.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/random.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/order_vector.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/random.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/order_vector.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/pdf.cpp -o src/pdf.o +In file included from src/pdf.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/pdf.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/pdf.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/reactive.cpp -o src/reactive.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/plproj.h:44, - from src/plproj.cpp:37: + from src/timestep.h:54, + from src/order.h:41, + from src/order_vector.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -5109,23 +4945,9 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/reactive.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/reactive.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/reactive.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/reflux.cpp -o src/reflux.o In file included from src/roa.h:44, from src/globalvar.h:48, - from src/plproj.cpp:38: + from src/order_vector.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5167,12 +4989,49 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +src/order_vector.cpp: In member function 'virtual bool COrderAnalysis_Vector::Parse(CTimeStep*)': +src/order_vector.cpp:131:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 131 | eprintf("\n Chain number %d outside of allowed range (%d .. %lu).\n\n",tia[z],1,m_pParent->m_oaChains[ti].size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/order_vector.cpp:137:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 137 | eprintf("\n Chains have different lengths (%d: %lu vs. %d: %lu).\n\n",tia[0]+1,m_pParent->m_oaChains[ti][tia[0]]->m_iaAtoms.size(),tia[z]+1,m_pParent->m_oaChains[ti][tia[z]]->m_iaAtoms.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/order_vector.cpp:137:72: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 137 | eprintf("\n Chains have different lengths (%d: %lu vs. %d: %lu).\n\n",tia[0]+1,m_pParent->m_oaChains[ti][tia[0]]->m_iaAtoms.size(),tia[z]+1,m_pParent->m_oaChains[ti][tia[z]]->m_iaAtoms.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/order_vector.cpp:143:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 143 | mprintf(" Using %lu chains of length %lu:\n\n",tia.size(),m_pParent->m_oaChains[ti][tia[0]]->m_iaAtoms.size()); + | ~~^ ~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/order_vector.cpp:143:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 143 | mprintf(" Using %lu chains of length %lu:\n\n",tia.size(),m_pParent->m_oaChains[ti][tia[0]]->m_iaAtoms.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/order_vector.cpp:192:42: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 192 | mprintf(WHITE," *** Observation %lu ***\n\n",m_oaObservations.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/raman.h:41, - from src/raman.cpp:37: + from src/pdf.h:41, + from src/pdf.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -5187,23 +5046,10 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/reflux.cpp:34: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/reflux.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/reflux.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/region.cpp -o src/region.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/plproj.cpp -o src/plproj.o In file included from src/roa.h:44, from src/globalvar.h:48, - from src/raman.cpp:41: + from src/pdf.cpp:41: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5245,27 +5091,53 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/region.cpp:35: +In file included from src/plproj.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/region.cpp:48:2: note: in expansion of macro 'GET_REVISION_INFO' - 48 | GET_REVISION_INFO( buf, len ); +src/plproj.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/region.cpp:48:2: note: in expansion of macro 'GET_REVISION_INFO' - 48 | GET_REVISION_INFO( buf, len ); +src/plproj.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/posdomain.cpp -o src/posdomain.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/qr_fact.cpp -o src/qr_fact.o +In file included from src/posdomain.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/posdomain.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/posdomain.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/qr_fact.cpp:47: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/qr_fact.cpp:58:2: note: in expansion of macro 'GET_REVISION_INFO' + 58 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/qr_fact.cpp:58:2: note: in expansion of macro 'GET_REVISION_INFO' + 58 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/reordyn.cpp -o src/reordyn.o In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/timestep.h:54, - from src/globalvar.h:43, - from src/reactive.cpp:39: + from src/plproj.h:44, + from src/plproj.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -5280,30 +5152,9 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/reordyn.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/reordyn.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/reordyn.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/revsdf.cpp -o src/revsdf.o -src/raman.cpp: In function 'void parsePolarizability()': -src/raman.cpp:2978:17: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2978 | (void)fread(&numAtoms, sizeof(int), 1, g_fPolarizabilityFile[2 * i]); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/raman.cpp:2986:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 2986 | (void)fread(&numAtoms, sizeof(int), 1, g_fPolarizabilityFile[2 * i + 1]); - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/reactive.cpp:39: + from src/plproj.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5345,12 +5196,82 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/raman.cpp -o src/raman.o +In file included from src/raman.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/raman.cpp:61:2: note: in expansion of macro 'GET_REVISION_INFO' + 61 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/raman.cpp:61:2: note: in expansion of macro 'GET_REVISION_INFO' + 61 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/random.cpp -o src/random.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/reactive.cpp -o src/reactive.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/reflux.cpp -o src/reflux.o +In file included from src/random.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/random.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/random.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/region.cpp -o src/region.o +In file included from src/reactive.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/reactive.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/reactive.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/reflux.cpp:34: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/reflux.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/reflux.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/region.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/region.cpp:48:2: note: in expansion of macro 'GET_REVISION_INFO' + 48 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/region.cpp:48:2: note: in expansion of macro 'GET_REVISION_INFO' + 48 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/reflux.h:41, - from src/reflux.cpp:36: + from src/raman.h:41, + from src/raman.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -5365,24 +5286,9 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/roa.cpp -o src/roa.o -In file included from src/revsdf.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/revsdf.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/revsdf.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/sankey.cpp -o src/sankey.o In file included from src/roa.h:44, from src/globalvar.h:48, - from src/reflux.cpp:40: + from src/raman.cpp:41: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5430,6 +5336,47 @@ from src/moltools.h:59, from src/timestep.h:54, from src/globalvar.h:43, + from src/reactive.cpp:39: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/reflux.h:41, + from src/reflux.cpp:36: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/timestep.h:54, + from src/globalvar.h:43, from src/region.cpp:39: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] @@ -5438,19 +5385,6 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/sankey.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/sankey.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/sankey.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' - 45 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -5458,35 +5392,9 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/roa.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/roa.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/roa.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/reflux.cpp: In member function 'bool CReFluxObservation::checkAtomChoice(const char*, int, int)': -src/reflux.cpp:710:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] - 710 | eprintf("Internal Error (%ld >= 32).\n",q-p); - | ~~^ ~~~ - | | | - | long int int - | %d -src/reflux.cpp:741:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] - 741 | eprintf("Internal Error (%ld >= 32).\n",q-p); - | ~~^ ~~~ - | | | - | long int int - | %d In file included from src/roa.h:44, from src/globalvar.h:48, - from src/region.cpp:39: + from src/reactive.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5528,84 +5436,9 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/sdfmap.cpp -o src/sdfmap.o -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/travis.h:45, - from src/reordyn.cpp:38: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/spectrum.cpp -o src/spectrum.o -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/revsdf.h:45, - from src/revsdf.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/sankey.cpp: In member function 'void CSankeyDiagramEngine::BuildSankeyDiagram(const char*)': -src/sankey.cpp:129:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 129 | fgets(cbuf,256,a); - | ~~~~~^~~~~~~~~~~~ -src/sankey.cpp:151:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 151 | fgets(cbuf,256,a); - | ~~~~~^~~~~~~~~~~~ -src/sankey.cpp:178:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 178 | fgets(cbuf,256,a); - | ~~~~~^~~~~~~~~~~~ -src/sankey.cpp:392:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 392 | fgets(cbuf,256,a); - | ~~~~~^~~~~~~~~~~~ -src/sankey.cpp:414:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 414 | fgets(cbuf,256,a); - | ~~~~~^~~~~~~~~~~~ -src/sankey.cpp:441:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 441 | fgets(cbuf,256,a); - | ~~~~~^~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/statistics.cpp -o src/statistics.o -In file included from src/spectrum.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/spectrum.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/spectrum.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/travis.h:59, - from src/reordyn.cpp:38: + from src/reflux.cpp:40: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5634,19 +5467,10 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/sdfmap.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/sdfmap.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/sdfmap.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ +src/raman.cpp: In function 'void parsePolarizability()': +src/raman.cpp:2978:17: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2978 | (void)fread(&numAtoms, sizeof(int), 1, g_fPolarizabilityFile[2 * i]); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); @@ -5660,30 +5484,12 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/timestep.h:54, - from src/roa.h:43, - from src/roa.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u +src/raman.cpp:2986:18: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 2986 | (void)fread(&numAtoms, sizeof(int), 1, g_fPolarizabilityFile[2 * i + 1]); + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/revsdf.cpp:40: + from src/region.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5725,21 +5531,57 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/statistics.cpp:35: +src/reflux.cpp: In member function 'bool CReFluxObservation::checkAtomChoice(const char*, int, int)': +src/reflux.cpp:710:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] + 710 | eprintf("Internal Error (%ld >= 32).\n",q-p); + | ~~^ ~~~ + | | | + | long int int + | %d +src/reflux.cpp:741:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] + 741 | eprintf("Internal Error (%ld >= 32).\n",q-p); + | ~~^ ~~~ + | | | + | long int int + | %d +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/reordyn.cpp -o src/reordyn.o +In file included from src/reordyn.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/statistics.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/reordyn.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/statistics.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/reordyn.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/travis.h:45, + from src/reordyn.cpp:38: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u In file included from src/roa.h:44, - from src/roa.cpp:37: + from src/globalvar.h:48, + from src/travis.h:59, + from src/reordyn.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5781,48 +5623,67 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/structurefactor.cpp -o src/structurefactor.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/svgwriter.cpp -o src/svgwriter.o -src/roa.cpp: In member function 'void CROAEngine::ParseObservations()': -src/roa.cpp:568:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 568 | mprintf("\n Added %lu observations.\n\n",m_oaObservations.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/tddf.cpp -o src/tddf.o -In file included from src/svgwriter.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/revsdf.cpp -o src/revsdf.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/roa.cpp -o src/roa.o +In file included from src/revsdf.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/svgwriter.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/revsdf.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/svgwriter.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/revsdf.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/structurefactor.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/sankey.cpp -o src/sankey.o +In file included from src/roa.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/structurefactor.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' - 51 | GET_REVISION_INFO( buf, len ); +src/roa.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/structurefactor.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' - 51 | GET_REVISION_INFO( buf, len ); +src/roa.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/sankey.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/sankey.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/sankey.cpp:45:2: note: in expansion of macro 'GET_REVISION_INFO' + 45 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/sdfmap.cpp -o src/sdfmap.o +In file included from src/sdfmap.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/sdfmap.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/sdfmap.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, - from src/moltools.h:59, - from src/travis.h:45, - from src/spectrum.cpp:39: + from src/revsdf.h:45, + from src/revsdf.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -5837,11 +5698,32 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u +src/sankey.cpp: In member function 'void CSankeyDiagramEngine::BuildSankeyDiagram(const char*)': +src/sankey.cpp:129:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 129 | fgets(cbuf,256,a); + | ~~~~~^~~~~~~~~~~~ +src/sankey.cpp:151:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 151 | fgets(cbuf,256,a); + | ~~~~~^~~~~~~~~~~~ +src/sankey.cpp:178:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 178 | fgets(cbuf,256,a); + | ~~~~~^~~~~~~~~~~~ +src/sankey.cpp:392:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 392 | fgets(cbuf,256,a); + | ~~~~~^~~~~~~~~~~~ +src/sankey.cpp:414:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 414 | fgets(cbuf,256,a); + | ~~~~~^~~~~~~~~~~~ +src/sankey.cpp:441:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 441 | fgets(cbuf,256,a); + | ~~~~~^~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, - from src/sdfmap.h:43, - from src/sdfmap.cpp:37: + from src/moltools.h:59, + from src/timestep.h:54, + from src/roa.h:43, + from src/roa.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -5856,23 +5738,9 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/tddf.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/tddf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/tddf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/travis.h:59, - from src/spectrum.cpp:39: + from src/revsdf.cpp:40: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5915,8 +5783,7 @@ | long unsigned int std::vector::size_type {aka unsigned int} | %u In file included from src/roa.h:44, - from src/globalvar.h:48, - from src/sdfmap.cpp:38: + from src/roa.cpp:37: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -5958,28 +5825,11 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/tensor.cpp -o src/tensor.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/tetrapak.cpp -o src/tetrapak.o -In file included from src/tensor.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/tensor.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/tensor.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, - from src/moltools.h:59, - from src/timestep.h:54, - from src/globalvar.h:43, - from src/structurefactor.cpp:39: + from src/sdfmap.h:43, + from src/sdfmap.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -5994,26 +5844,77 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/tetrapak.cpp:35: +src/roa.cpp: In member function 'void CROAEngine::ParseObservations()': +src/roa.cpp:568:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 568 | mprintf("\n Added %lu observations.\n\n",m_oaObservations.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/spectrum.cpp -o src/spectrum.o +In file included from src/roa.h:44, + from src/globalvar.h:48, + from src/sdfmap.cpp:38: +src/tensor.h: In member function 'double& CDTensor1::operator[](int)': +src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double CDTensor1::operator[](int) const': +src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double& CDTensor1::operator()(int)': +src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double CDTensor1::operator()(int) const': +src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': +src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +In file included from src/spectrum.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/tetrapak.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); +src/spectrum.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/tetrapak.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' - 47 | GET_REVISION_INFO( buf, len ); +src/spectrum.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/timestep.h:54, - from src/tddf.h:42, - from src/tddf.cpp:37: + from src/travis.h:45, + from src/spectrum.cpp:39: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -6028,8 +5929,10 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/timestep.cpp -o src/timestep.o -In file included from src/tensor.cpp:37: +In file included from src/roa.h:44, + from src/globalvar.h:48, + from src/travis.h:59, + from src/spectrum.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -6071,6 +5974,70 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/statistics.cpp -o src/statistics.o +In file included from src/statistics.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/statistics.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/statistics.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/structurefactor.cpp -o src/structurefactor.o +In file included from src/structurefactor.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/structurefactor.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' + 51 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/structurefactor.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' + 51 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/svgwriter.cpp -o src/svgwriter.o +In file included from src/svgwriter.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/svgwriter.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/svgwriter.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/timestep.h:54, + from src/globalvar.h:43, + from src/structurefactor.cpp:39: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/tddf.cpp -o src/tddf.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/structurefactor.cpp:39: @@ -6115,9 +6082,62 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/roa.h:44, - from src/globalvar.h:48, - from src/tddf.cpp:38: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/tensor.cpp -o src/tensor.o +In file included from src/tddf.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/tddf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/tddf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/tetrapak.cpp -o src/tetrapak.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/timestep.cpp -o src/timestep.o +In file included from src/tensor.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/tensor.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/tensor.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/tetrapak.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/tetrapak.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/tetrapak.cpp:47:2: note: in expansion of macro 'GET_REVISION_INFO' + 47 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/timestep.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/timestep.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/timestep.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/tensor.cpp:37: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -6125,7 +6145,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/tools.cpp -o src/tools.o src/tensor.h: In member function 'double CDTensor1::operator[](int) const': src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -6147,19 +6166,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/timestep.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/timestep.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/timestep.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); @@ -6173,7 +6179,7 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/travis.cpp -o src/travis.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/tools.cpp -o src/tools.o In file included from src/tools.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -6187,32 +6193,13 @@ src/tools.cpp:58:2: note: in expansion of macro 'GET_REVISION_INFO' 58 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/travis.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/travis.cpp:74:2: note: in expansion of macro 'GET_REVISION_INFO' - 74 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/travis.cpp:74:2: note: in expansion of macro 'GET_REVISION_INFO' - 74 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/travis.cpp:381:66: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 381 | inpprintf("! Created with TRAVIS version compiled at %s %s\n",__DATE__,__TIME__); - | ^~~~~~~~ -src/travis.cpp:381:75: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 381 | inpprintf("! Created with TRAVIS version compiled at %s %s\n",__DATE__,__TIME__); - | ^~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, from src/timestep.h:54, - from src/tetrapak.h:44, - from src/tetrapak.cpp:37: + from src/tddf.h:42, + from src/tddf.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -6229,9 +6216,7 @@ | %u In file included from src/roa.h:44, from src/globalvar.h:48, - from src/travis.h:59, - from src/maintools.h:41, - from src/tetrapak.cpp:39: + from src/tddf.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -6260,6 +6245,20 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/timestep.h:54, + from src/tetrapak.h:44, + from src/tetrapak.cpp:37: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); @@ -6273,6 +6272,13 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, @@ -6296,7 +6302,8 @@ In file included from src/roa.h:44, from src/globalvar.h:48, from src/travis.h:59, - from src/timestep.cpp:38: + from src/maintools.h:41, + from src/tetrapak.cpp:39: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -6338,93 +6345,11 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/travis.h:45, - from src/tools.cpp:40: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/timestep.cpp: In member function 'bool CTimeStep::ScanMolecules()': -src/timestep.cpp:1154:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 1154 | mprintf(" Grouping together equivalent molecules (%lu type splits)...\n",g_iaaMoleculeTypeSplit.size()); - | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -In file included from src/moltools.h:59, - from src/timestep.h:54, - from src/tetrapak.h:44, - from src/tetrapak.cpp:37: -src/3df.h: In member function 'void C3DF::ReadCube(FILE*, bool, bool) [with T = double]': -src/3df.h:1158:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1158 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/3df.h:1159:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1159 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/3df.h:1161:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1161 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/3df.h:1171:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1171 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/3df.h:1180:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1180 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/3df.h:1189:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1189 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/3df.h:1199:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1199 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -src/3df.h:1247:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1247 | (void)fgets(buf,256,a); - | ~~~~~^~~~~~~~~~~ -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/travis.h:45, - from src/travis.cpp:37: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/timestep.cpp: In member function 'long int CTimeStep::ExtractNumber(int)': -src/timestep.cpp:3807:49: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] - 3807 | eprintf("Internal Error in ExtractNumber(): %ld >= 256.\n",q-p); - | ~~^ ~~~ - | | | - | long int int - | %d +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/travis.cpp -o src/travis.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/travis.h:59, - from src/tools.cpp:40: + from src/timestep.cpp:38: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -6466,10 +6391,63 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/travis.h:45, + from src/tools.cpp:40: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/timestep.cpp: In member function 'bool CTimeStep::ScanMolecules()': +src/timestep.cpp:1154:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 1154 | mprintf(" Grouping together equivalent molecules (%lu type splits)...\n",g_iaaMoleculeTypeSplit.size()); + | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +In file included from src/travis.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/travis.cpp:74:2: note: in expansion of macro 'GET_REVISION_INFO' + 74 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/travis.cpp:74:2: note: in expansion of macro 'GET_REVISION_INFO' + 74 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/travis.cpp:381:66: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 381 | inpprintf("! Created with TRAVIS version compiled at %s %s\n",__DATE__,__TIME__); + | ^~~~~~~~ +src/travis.cpp:381:75: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 381 | inpprintf("! Created with TRAVIS version compiled at %s %s\n",__DATE__,__TIME__); + | ^~~~~~~~ +src/timestep.cpp: In member function 'long int CTimeStep::ExtractNumber(int)': +src/timestep.cpp:3807:49: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] + 3807 | eprintf("Internal Error in ExtractNumber(): %ld >= 256.\n",q-p); + | ~~^ ~~~ + | | | + | long int int + | %d In file included from src/roa.h:44, from src/globalvar.h:48, from src/travis.h:59, - from src/travis.cpp:37: + from src/tools.cpp:40: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -6511,7 +6489,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_base.cpp -o src/v_base.o src/tools.cpp: In function 'bool ParseIntList(const char*, CxIntArray*)': src/tools.cpp:2147:46: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] 2147 | eprintf("ParseIntList: Entry too long (%ld >= 31).\n",q-p); @@ -6533,34 +6510,40 @@ | | | | long int int | %d -In file included from src/v_base.cpp:42: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_base.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_base.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_base_wl.cpp -o src/v_base_wl.o -In file included from src/v_base_wl.cpp:46: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_base_wl.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' - 53 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_base_wl.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' - 53 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_cell.cpp -o src/v_cell.o +In file included from src/moltools.h:59, + from src/timestep.h:54, + from src/tetrapak.h:44, + from src/tetrapak.cpp:37: +src/3df.h: In member function 'void C3DF::ReadCube(FILE*, bool, bool) [with T = double]': +src/3df.h:1158:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1158 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/3df.h:1159:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1159 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/3df.h:1161:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1161 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/3df.h:1171:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1171 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/3df.h:1180:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1180 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/3df.h:1189:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1189 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/3df.h:1199:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1199 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +src/3df.h:1247:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1247 | (void)fgets(buf,256,a); + | ~~~~~^~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_base.cpp -o src/v_base.o +src/tools.cpp: In function 'void myget(CxString*)': +src/tools.cpp:1866:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1866 | (void)fgets(buf,4095,t); + | ~~~~~^~~~~~~~~~~~ src/timestep.cpp: In member function 'bool CTimeStep::ReadTimestepVel(FILE*)': src/timestep.cpp:3461:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 3461 | (void)fgets(buf,256,a); @@ -6571,7 +6554,6 @@ src/timestep.cpp:3483:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 3483 | (void)fgets(buf,256,a); | ~~~~~^~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_common.cpp -o src/v_common.o src/timestep.cpp: In member function 'bool CTimeStep::ReadTimestepForce(FILE*)': src/timestep.cpp:3559:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 3559 | (void)fgets(buf,256,a); @@ -6586,6 +6568,19 @@ src/timestep.cpp:3683:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 3683 | (void)fgets(buf,256,a); | ~~~~~^~~~~~~~~~~ +In file included from src/v_base.cpp:42: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_base.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_base.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ src/timestep.cpp: In member function 'bool CTimeStep::ReadCube(FILE*, bool)': src/timestep.cpp:5498:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 5498 | (void)fgets(buf,256,a); @@ -6615,7 +6610,6 @@ src/3df.h:1329:15: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1329 | (void)fgets(buf,256,a); | ~~~~~^~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_compute.cpp -o src/v_compute.o src/timestep.cpp: In member function 'bool CTimeStep::SkipCube(FILE*)': src/timestep.cpp:7572:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7572 | (void)fgets(buf,256,a); @@ -6641,125 +6635,16 @@ src/timestep.cpp:7628:14: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7628 | (void)fgets(buf,256,a); | ~~~~~^~~~~~~~~~~ -In file included from src/v_common.cpp:42: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_common.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_common.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ src/timestep.cpp: In member function 'void CTimeStep::ReadCellVector(FILE*)': src/timestep.cpp:9326:13: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 9326 | (void)fgets(buf,256,a); | ~~~~~^~~~~~~~~~~ -src/tools.cpp: In function 'void myget(CxString*)': -src/tools.cpp:1866:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1866 | (void)fgets(buf,4095,t); - | ~~~~~^~~~~~~~~~~~ -In file included from src/v_cell.cpp:42: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_cell.cpp:56:2: note: in expansion of macro 'GET_REVISION_INFO' - 56 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_cell.cpp:56:2: note: in expansion of macro 'GET_REVISION_INFO' - 56 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_container.cpp -o src/v_container.o -In file included from src/v_container.cpp:42: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_container.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_container.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' - 50 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_container_prd.cpp -o src/v_container_prd.o -In file included from src/v_compute.cpp:42: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_compute.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' - 53 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_compute.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' - 53 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_pre_container.cpp -o src/v_pre_container.o -In file included from src/v_pre_container.cpp:43: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_pre_container.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_pre_container.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' - 55 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -In file included from src/v_container_prd.cpp:43: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_container_prd.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' - 51 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_container_prd.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' - 51 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_unitcell.cpp -o src/v_unitcell.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_wall.cpp -o src/v_wall.o -src/travis.cpp: In function 'int main(int, const char**)': -src/travis.cpp:3339:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 3339 | (void)system(buf2); - | ~~~~~~^~~~~~ -src/travis.cpp:7959:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 7959 | (void)system(buf); - | ~~~~~~^~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/void.cpp -o src/void.o -In file included from src/v_unitcell.cpp:42: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_unitcell.cpp:52:2: note: in expansion of macro 'GET_REVISION_INFO' - 52 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_unitcell.cpp:52:2: note: in expansion of macro 'GET_REVISION_INFO' - 52 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, - from src/timestep.h:54, - from src/globalvar.h:43, - from src/v_cell.cpp:51: + from src/travis.h:45, + from src/travis.cpp:37: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -6774,37 +6659,25 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/vorowrapper.cpp -o src/vorowrapper.o -In file included from src/v_wall.cpp:42: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_wall.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/v_wall.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' - 49 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xbytearray.cpp -o src/xbytearray.o -In file included from src/void.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_base_wl.cpp -o src/v_base_wl.o +In file included from src/v_base_wl.cpp:46: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/void.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/v_base_wl.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' + 53 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/void.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/v_base_wl.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' + 53 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_cell.cpp -o src/v_cell.o In file included from src/roa.h:44, from src/globalvar.h:48, - from src/v_cell.cpp:51: + from src/travis.h:59, + from src/travis.cpp:37: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -6846,13 +6719,26 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +In file included from src/v_cell.cpp:42: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_cell.cpp:56:2: note: in expansion of macro 'GET_REVISION_INFO' + 56 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_cell.cpp:56:2: note: in expansion of macro 'GET_REVISION_INFO' + 56 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, from src/timestep.h:54, from src/globalvar.h:43, - from src/v_compute.cpp:48: + from src/v_cell.cpp:51: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -6867,31 +6753,98 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u -In file included from src/vorowrapper.cpp:35: +src/travis.cpp: In function 'int main(int, const char**)': +src/travis.cpp:3339:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 3339 | (void)system(buf2); + | ~~~~~~^~~~~~ +src/travis.cpp:7959:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 7959 | (void)system(buf); + | ~~~~~~^~~~~ +In file included from src/roa.h:44, + from src/globalvar.h:48, + from src/v_cell.cpp:51: +src/tensor.h: In member function 'double& CDTensor1::operator[](int)': +src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double CDTensor1::operator[](int) const': +src/tensor.h:88:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 88 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double& CDTensor1::operator()(int)': +src/tensor.h:98:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 98 | eprintf("CDTensor1 &operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'double CDTensor1::operator()(int) const': +src/tensor.h:108:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 108 | eprintf("CDTensor1 operator () boundary error (%d/%lu).\n",i,m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h: In member function 'bool CDTensor1::DimensionsMatch(const CDTensor1&) const': +src/tensor.h:157:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +src/tensor.h:157:43: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 157 | eprintf("Dimension mismatch %lu <--> %lu.\n",m_pData.size(),t.m_pData.size()); + | ~~^ ~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_common.cpp -o src/v_common.o +In file included from src/v_common.cpp:42: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/vorowrapper.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/v_common.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/vorowrapper.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/v_common.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/xbytearray.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_compute.cpp -o src/v_compute.o +In file included from src/v_compute.cpp:42: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xbytearray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/v_compute.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' + 53 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xbytearray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/v_compute.cpp:53:2: note: in expansion of macro 'GET_REVISION_INFO' + 53 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_container.cpp -o src/v_container.o +In file included from src/v_container.cpp:42: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_container.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_container.cpp:50:2: note: in expansion of macro 'GET_REVISION_INFO' + 50 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, @@ -6899,7 +6852,7 @@ from src/moltools.h:59, from src/timestep.h:54, from src/globalvar.h:43, - from src/v_container_prd.cpp:46: + from src/v_compute.cpp:48: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -6914,6 +6867,20 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_container_prd.cpp -o src/v_container_prd.o +In file included from src/v_container_prd.cpp:43: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_container_prd.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' + 51 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_container_prd.cpp:51:2: note: in expansion of macro 'GET_REVISION_INFO' + 51 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, from src/v_compute.cpp:48: @@ -6958,7 +6925,41 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdf.cpp -o src/xdf.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_pre_container.cpp -o src/v_pre_container.o +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/timestep.h:54, + from src/globalvar.h:43, + from src/v_container_prd.cpp:46: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +In file included from src/v_pre_container.cpp:43: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_pre_container.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/v_pre_container.cpp:55:2: note: in expansion of macro 'GET_REVISION_INFO' + 55 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u In file included from src/roa.h:44, from src/globalvar.h:48, from src/v_container_prd.cpp:46: @@ -7003,40 +7004,84 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdmatrix3.cpp -o src/xdmatrix3.o -In file included from src/xdf.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_unitcell.cpp -o src/v_unitcell.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/v_wall.cpp -o src/v_wall.o +In file included from src/v_wall.cpp:42: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xdf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); +src/v_wall.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xdf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' - 44 | GET_REVISION_INFO( buf, len ); +src/v_wall.cpp:49:2: note: in expansion of macro 'GET_REVISION_INFO' + 49 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/xdmatrix3.cpp:35: +In file included from src/v_unitcell.cpp:42: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xdmatrix3.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/v_unitcell.cpp:52:2: note: in expansion of macro 'GET_REVISION_INFO' + 52 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xdmatrix3.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/v_unitcell.cpp:52:2: note: in expansion of macro 'GET_REVISION_INFO' + 52 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/void.cpp -o src/void.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/vorowrapper.cpp -o src/vorowrapper.o +In file included from src/void.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/void.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/void.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/vorowrapper.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/vorowrapper.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/vorowrapper.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xbytearray.cpp -o src/xbytearray.o +In file included from src/xbytearray.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/xbytearray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/xbytearray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, from src/timestep.h:54, - from src/globalvar.h:43, - from src/vorowrapper.cpp:40: + from src/domain.h:44, + from src/void.h:41, + from src/void.cpp:38: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -7044,6 +7089,7 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdf.cpp -o src/xdf.o src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -7051,14 +7097,27 @@ | | | | long unsigned int std::vector >::size_type {aka unsigned int} | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdmatrix3.cpp -o src/xdmatrix3.o +In file included from src/xdf.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/xdf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/xdf.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' + 44 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, from src/3df.h:46, from src/moltools.h:59, from src/timestep.h:54, - from src/domain.h:44, - from src/void.h:41, - from src/void.cpp:38: + from src/globalvar.h:43, + from src/vorowrapper.cpp:40: src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); @@ -7076,7 +7135,7 @@ g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdmatrixmn.cpp -o src/xdmatrixmn.o In file included from src/roa.h:44, from src/globalvar.h:48, - from src/vorowrapper.cpp:40: + from src/void.cpp:40: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -7118,9 +7177,35 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u +In file included from src/xdmatrix3.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/xdmatrix3.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/xdmatrix3.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +In file included from src/xdmatrixmn.cpp:35: +src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/xdmatrixmn.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ +src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] + 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } + | ^~~~~~~~ +src/xdmatrixmn.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); + | ^~~~~~~~~~~~~~~~~ In file included from src/roa.h:44, from src/globalvar.h:48, - from src/void.cpp:40: + from src/vorowrapper.cpp:40: src/tensor.h: In member function 'double& CDTensor1::operator[](int)': src/tensor.h:78:58: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 78 | eprintf("CDTensor1 &operator [] boundary error (%d/%lu).\n",i,m_pData.size()); @@ -7162,27 +7247,6 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/xdmatrixmn.cpp:35: -src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/xdmatrixmn.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] - 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } - | ^~~~~~~~ -src/xdmatrixmn.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); - | ^~~~~~~~~~~~~~~~~ -src/vorowrapper.cpp: In member function 'void CVoroWrapper::Parse()': -src/vorowrapper.cpp:638:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] - 638 | mprintf("\n Observing %lu atoms.\n\n",m_iaVoroTS.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector::size_type {aka unsigned int} - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdoublearray.cpp -o src/xdoublearray.o src/void.cpp: In member function 'void CVoidObservation::process(CTimeStep*)': src/void.cpp:637:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] 637 | fprintf(outpic,"%lu\n\n",allatoms.size()); @@ -7190,28 +7254,14 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -In file included from src/bqb_driver.h:44, - from src/bqb.h:45, - from src/3df.h:46, - from src/moltools.h:59, - from src/timestep.h:54, - from src/globalvar.h:43, - from src/xdf.cpp:38: -src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': -src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': -src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] - 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); - | ~~^ ~~~~~~~~~~~~~~~~~ - | | | - | long unsigned int std::vector >::size_type {aka unsigned int} - | %u -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdvec3array.cpp -o src/xdvec3array.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdoublearray.cpp -o src/xdoublearray.o +src/vorowrapper.cpp: In member function 'void CVoroWrapper::Parse()': +src/vorowrapper.cpp:638:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] + 638 | mprintf("\n Observing %lu atoms.\n\n",m_iaVoroTS.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector::size_type {aka unsigned int} + | %u In file included from src/xdoublearray.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -7225,8 +7275,7 @@ src/xdoublearray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdvector3.cpp -o src/xdvector3.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdvectorn.cpp -o src/xdvectorn.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdvec3array.cpp -o src/xdvec3array.o In file included from src/xdvec3array.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -7240,6 +7289,56 @@ src/xdvec3array.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +In file included from src/bqb_driver.h:44, + from src/bqb.h:45, + from src/3df.h:46, + from src/moltools.h:59, + from src/timestep.h:54, + from src/globalvar.h:43, + from src/xdf.cpp:38: +src/bqb_engine.h: In member function 'virtual bool CBQBReadXYZCache::CacheOneStep()': +src/bqb_engine.h:680:90: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 680 | m_IF.eprintf("CBQBReadXYZCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +src/bqb_engine.h: In member function 'virtual bool CBQBReadCubeCache::CacheOneStep()': +src/bqb_engine.h:735:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'std::vector >::size_type' {aka 'unsigned int'} [-Wformat=] + 735 | m_IF.eprintf("CBQBReadCubeCache::CacheOneStep(): Error: m_iCachePos out of range (%d/%lu).\n",m_iCachePos,m_oaFrames.size()); + | ~~^ ~~~~~~~~~~~~~~~~~ + | | | + | long unsigned int std::vector >::size_type {aka unsigned int} + | %u +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdvector3.cpp -o src/xdvector3.o +src/vorowrapper.cpp:555:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 555 | (void)system("mkdir voronoi"); + | ~~~~~~^~~~~~~~~~~~~~~~~ +src/vorowrapper.cpp: In member function 'void CVoroWrapper::Finish()': +src/vorowrapper.cpp:954:17: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 954 | (void)system(buf); + | ~~~~~~^~~~~ +src/vorowrapper.cpp:962:18: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 962 | (void)system(buf); + | ~~~~~~^~~~~ +src/vorowrapper.cpp:968:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 968 | (void)system(buf); + | ~~~~~~^~~~~ +src/vorowrapper.cpp:974:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 974 | (void)system(buf); + | ~~~~~~^~~~~ +src/vorowrapper.cpp:988:17: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 988 | (void)system(buf); + | ~~~~~~^~~~~ +src/vorowrapper.cpp:996:18: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 996 | (void)system(buf); + | ~~~~~~^~~~~ +src/vorowrapper.cpp:1002:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1002 | (void)system(buf); + | ~~~~~~^~~~~ +src/vorowrapper.cpp:1008:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 1008 | (void)system(buf); + | ~~~~~~^~~~~ In file included from src/xdvector3.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -7253,6 +7352,8 @@ src/xdvector3.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xdvectorn.cpp -o src/xdvectorn.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xintarray.cpp -o src/xintarray.o In file included from src/roa.h:44, from src/globalvar.h:48, from src/xdf.cpp:38: @@ -7297,63 +7398,33 @@ | | | | long unsigned int std::vector::size_type {aka unsigned int} | %u -src/vorowrapper.cpp:555:15: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 555 | (void)system("mkdir voronoi"); - | ~~~~~~^~~~~~~~~~~~~~~~~ -src/vorowrapper.cpp: In member function 'void CVoroWrapper::Finish()': -src/vorowrapper.cpp:954:17: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 954 | (void)system(buf); - | ~~~~~~^~~~~ -src/vorowrapper.cpp:962:18: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 962 | (void)system(buf); - | ~~~~~~^~~~~ -src/vorowrapper.cpp:968:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 968 | (void)system(buf); - | ~~~~~~^~~~~ -src/vorowrapper.cpp:974:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 974 | (void)system(buf); - | ~~~~~~^~~~~ -src/vorowrapper.cpp:988:17: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 988 | (void)system(buf); - | ~~~~~~^~~~~ -src/vorowrapper.cpp:996:18: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 996 | (void)system(buf); - | ~~~~~~^~~~~ -src/vorowrapper.cpp:1002:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1002 | (void)system(buf); - | ~~~~~~^~~~~ -src/vorowrapper.cpp:1008:16: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 1008 | (void)system(buf); - | ~~~~~~^~~~~ -In file included from src/xdvectorn.cpp:35: +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xlongarray.cpp -o src/xlongarray.o +In file included from src/xintarray.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xdvectorn.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/xintarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xdvectorn.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' - 43 | GET_REVISION_INFO( buf, len ); +src/xintarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xintarray.cpp -o src/xintarray.o -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xlongarray.cpp -o src/xlongarray.o -In file included from src/xintarray.cpp:35: +In file included from src/xdvectorn.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xintarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/xdvectorn.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xintarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/xdvectorn.cpp:43:2: note: in expansion of macro 'GET_REVISION_INFO' + 43 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xmemfile.cpp -o src/xmemfile.o In file included from src/xlongarray.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -7367,8 +7438,10 @@ src/xlongarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xmemfile.cpp -o src/xmemfile.o g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xobarray.cpp -o src/xobarray.o g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xptrarray.cpp -o src/xptrarray.o +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xstring.cpp -o src/xstring.o In file included from src/xmemfile.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -7395,7 +7468,6 @@ src/xobarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xstring.cpp -o src/xstring.o In file included from src/xptrarray.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -7409,7 +7481,6 @@ src/xptrarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xwordarray.cpp -o src/xwordarray.o In file included from src/xstring.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } @@ -7423,32 +7494,33 @@ src/xstring.cpp:44:2: note: in expansion of macro 'GET_REVISION_INFO' 44 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ +g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/xwordarray.cpp -o src/xwordarray.o g++ -g -O2 -fdebug-prefix-map=/build/travis-200504+hf2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c src/ziggurat.cpp -o src/ziggurat.o -In file included from src/xwordarray.cpp:35: +In file included from src/ziggurat.cpp:33: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xwordarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/ziggurat.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/xwordarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' - 42 | GET_REVISION_INFO( buf, len ); +src/ziggurat.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' + 46 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ -In file included from src/ziggurat.cpp:33: +In file included from src/xwordarray.cpp:35: src/config.h:138:169: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/ziggurat.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/xwordarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ src/config.h:138:184: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 138 | #define GET_REVISION_INFO(X,LEN) { if (LEN == 0) sprintf( X, "%s", "\"" __FILE__ "\"" ); else sprintf( X, "File %-*s compiled at %s %s, source version %s.", LEN, "\"" __FILE__ "\"", __DATE__, __TIME__, SOURCE_VERSION ); } | ^~~~~~~~ -src/ziggurat.cpp:46:2: note: in expansion of macro 'GET_REVISION_INFO' - 46 | GET_REVISION_INFO( buf, len ); +src/xwordarray.cpp:42:2: note: in expansion of macro 'GET_REVISION_INFO' + 42 | GET_REVISION_INFO( buf, len ); | ^~~~~~~~~~~~~~~~~ In file included from src/bqb_driver.h:44, from src/bqb.h:45, @@ -7544,20 +7616,21 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'travis' in '../travis_200504+hf2-1_i386.deb'. dpkg-deb: building package 'travis-dbgsym' in '../travis-dbgsym_200504+hf2-1_i386.deb'. +dpkg-deb: building package 'travis' in '../travis_200504+hf2-1_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../travis_200504+hf2-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -I: copying local configuration +I: user script /srv/workspace/pbuilder/4581/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4581/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/38771 and its subdirectories -I: Current time: Sat Jun 25 06:55:07 -12 2022 -I: pbuilder-time-stamp: 1656183307 +I: removing directory /srv/workspace/pbuilder/4581 and its subdirectories +I: Current time: Mon May 24 02:39:51 +14 2021 +I: pbuilder-time-stamp: 1621773591