Diff of the two buildlogs: -- --- b1/build.log 2021-06-11 11:53:02.505809297 +0000 +++ b2/build.log 2021-06-11 11:55:01.333356686 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 10 23:45:25 -12 2021 -I: pbuilder-time-stamp: 1623411925 +I: Current time: Fri Jul 15 08:16:02 +14 2022 +I: pbuilder-time-stamp: 1657822562 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./plink_1.07+dfsg-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.CnAVbkoD/trustedkeys.kbx': General error -gpgv: Signature made Sat Jan 4 20:03:31 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.KHuwcesp/trustedkeys.kbx': General error +gpgv: Signature made Sun Jan 5 22:03:31 2020 +14 gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 gpgv: issuer "tille@debian.org" gpgv: Can't check signature: No public key @@ -32,137 +32,171 @@ dpkg-source: info: applying Fix_spelling_error.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/9616/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18000/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-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/18000/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18000/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=10' - 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=18' + 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='eccac51a4d824d8da83c1ea55eda5802' - 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='9616' - PS1='# ' - PS2='> ' + INVOCATION_ID=dc43921897fc4666bec09195c320e30e + 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=18000 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.YAWcEMMHEl/pbuilderrc_upwe --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.YAWcEMMHEl/b1 --logfile b1/build.log plink_1.07+dfsg-3.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://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.YAWcEMMHEl/pbuilderrc_pJOW --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.YAWcEMMHEl/b2 --logfile b2/build.log --extrapackages usrmerge plink_1.07+dfsg-3.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://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-16-686-pae #1 SMP Debian 4.19.181-1 (2021-03-19) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux I: ls -l /bin total 5776 - -rwxr-xr-x 1 root root 1367848 Feb 24 08:57 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 02:38 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 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 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 02:38 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 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 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 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Feb 24 08:57 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 9 21:27 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 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 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 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/9616/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1367848 Feb 25 2021 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 2020 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 2021 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 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 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 2021 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 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 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 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Feb 25 2021 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 Jul 15 08:16 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 14 05:46 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 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 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 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/18000/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -232,7 +266,7 @@ 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] Get: 32 http://deb.debian.org/debian bullseye/main i386 zlib1g-dev i386 1:1.2.11.dfsg-2 [194 kB] -Fetched 18.8 MB in 4s (5120 kB/s) +Fetched 18.8 MB in 0s (71.5 MB/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 ... 19675 files and directories currently installed.) @@ -379,9 +413,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +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 (5055 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 ... 21579 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/plink-1.07+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/plink-1.07+dfsg/ && 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 plink dpkg-buildpackage: info: source version 1.07+dfsg-3 dpkg-buildpackage: info: source distribution unstable @@ -393,7 +459,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/plink-1.07+dfsg' dh_auto_clean - make -j10 clean + make -j18 clean make[2]: Entering directory '/build/plink-1.07+dfsg' rm -f *.o *~ make[2]: Leaving directory '/build/plink-1.07+dfsg' @@ -408,7 +474,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/plink-1.07+dfsg' dh_auto_build -- CXXFLAGS='-Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3' FORCE_DYNAMIC=1 - make -j10 "INSTALL=install --strip-program=true" "CXXFLAGS=-Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3" FORCE_DYNAMIC=1 + make -j18 "INSTALL=install --strip-program=true" "CXXFLAGS=-Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3" FORCE_DYNAMIC=1 make[2]: Entering directory '/build/plink-1.07+dfsg' g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c plink.cpp g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c options.cpp @@ -420,13 +486,31 @@ g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c stats.cpp g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c filters.cpp g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c locus.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c multi.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c crandom.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c cluster.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c mds.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c output.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c informative.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c assoc.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c epi.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c prephap.cpp In file included from options.cpp:16: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from helper.h:24, - from stats.cpp:30: +In file included from locus.cpp:16: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +In file included from informative.cpp:18: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +In file included from multi.cpp:16: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) @@ -436,31 +520,71 @@ options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +In file included from input.cpp:24: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ In file included from binput.cpp:23: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from plink.cpp:28: +In file included from output.cpp:23: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +In file included from genome.cpp:24: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +informative.cpp: In member function 'int Plink::readInformative()': +informative.cpp:80:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 80 | for ( int i = 4; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 102 | if ( col_length != tokens.size() ) + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ +informative.cpp:105:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 105 | for (int i=0;i Plink::calcMultiPoint(std::vector&, Z, std::ofstream&)': +multi.cpp:295:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 295 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 304 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 357 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +multi.cpp:372:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 372 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +In file included from helper.h:24, + from helper.cpp:24: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -stats.cpp: In function 'void tqli(std::vector&, std::vector&, std::vector >&)': -stats.cpp:458:18: warning: unused variable 'k' [-Wunused-variable] - 458 | int m,l,iter,i,k; - | ^ -stats.cpp: In function 'bool svd(matrix_t&, vector_t&, matrix_t&)': -stats.cpp:813:16: warning: unused variable 'eps' [-Wunused-variable] - 813 | const double eps = 1e-12; - | ^~~ -stats.cpp:818:7: warning: unused variable 'r' [-Wunused-variable] - 818 | int r = u.size(); - | ^ -stats.cpp: In function 'std::vector > msqrt(std::vector >&)': -stats.cpp:906:16: warning: unused variable 'eps' [-Wunused-variable] - 906 | const double eps = 1e-12; - | ^~~ tinput.cpp: In member function 'void Plink::readTransposedData()': tinput.cpp:161:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 161 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 309 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1477 | for (int c = 0 ; c < keep.size(); c++) - | ~~^~~~~~~~~~~~~ -stats.cpp:1483:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1483 | for (int c = 0 ; c < keep.size(); c++) - | ~~^~~~~~~~~~~~~ -stats.cpp:1515:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1515 | for (int c = 0 ; c < keep.size(); c++) - | ~~^~~~~~~~~~~~~ -stats.cpp:1521:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1521 | for (int c = 0 ; c < keep.size(); c++) - | ~~^~~~~~~~~~~~~ -stats.cpp: In function 'matrix_t vec2diag(vector_t&)': -stats.cpp:1531:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1531 | for (int i = 0; i < v.size(); i++) - | ~~^~~~~~~~~~ -tinput.cpp:591:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 591 | if ( c > sample.size()) - | ~~^~~~~~~~~~~~~~~ -tinput.cpp:603:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 603 | if ( gn != 2 * sample.size() ) - | ~~~^~~~~~~~~~~~~~~~~~~~ -In file included from locus.cpp:16: +In file included from helper.h:24, + from cluster.cpp:23: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +input.cpp: In member function 'void Plink::readData()': +input.cpp:516:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 516 | if ( i == include.size() ) + | ~~^~~~~~~~~~~~~~~~~ +input.cpp:521:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 521 | if ( i > include.size()) + | ~~^~~~~~~~~~~~~~~~ +input.cpp:545:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 545 | if ( gn != 2 * include.size() ) + | ~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from helper.h:24, + from stats.cpp:30: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) @@ -515,6 +633,9 @@ binput.cpp:126:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 126 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 579 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 157 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] 186 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] + 595 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 261 | while (s::size_type' {aka 'unsigned int'} [-Wsign-compare] + 611 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 591 | if ( c > sample.size()) + | ~~^~~~~~~~~~~~~~~ +input.cpp:631:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 631 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 603 | if ( gn != 2 * sample.size() ) + | ~~~^~~~~~~~~~~~~~~~~~~~ binput.cpp:339:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 339 | while (s::size_type' {aka 'unsigned int'} [-Wsign-compare] 398 | for(int l=0; l < locus.size(); l++) | ~~^~~~~~~~~~~~~~ -In file included from plink.cpp:35: -phase.h: In member function 'void HaploPhase::reset()': -phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -In file included from plink.cpp:40: -idhelp.h: In member function 'void IDGroup::display()': -idhelp.h:196:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 196 | for (int k=0; k >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -In file included from helper.h:24, - from helper.cpp:24: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -In file included from filters.cpp:24: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ genome.cpp: In member function 'void Plink::calcStratifiedAlleleFreqs()': genome.cpp:99:8: warning: unused variable 'geno_nm' [-Wunused-variable] 99 | int geno_nm = 0; @@ -574,65 +679,17 @@ genome.cpp:81:14: warning: unused variable 'tothet' [-Wunused-variable] 81 | double tothet = 0; | ^~~~~~ -plink.cpp: In function 'int main(int, char**)': -plink.cpp:763:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] - 763 | par::make_founders && - | ~~~~~~~~~~~~~~~~~~~^~ - 764 | !par::built_families) - | ~~~~~~~~~~~~~~~~~~~~ -input.cpp: In member function 'void Plink::readData()': -input.cpp:516:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 516 | if ( i == include.size() ) - | ~~^~~~~~~~~~~~~~~~~ -input.cpp:521:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 521 | if ( i > include.size()) - | ~~^~~~~~~~~~~~~~~~ -input.cpp:545:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 545 | if ( gn != 2 * include.size() ) - | ~~~^~~~~~~~~~~~~~~~~~~~~ -input.cpp:579:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 579 | for (int i=0; ifreq * ( 1 - locus[l]->freq ); - | ^~ -input.cpp:595:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 595 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 611 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 631 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2106 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2359 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2362 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2366 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] + 190 | for (int i1=0; i1::size_type' {aka 'unsigned int'} [-Wsign-compare] + 191 | for (int i2=0; i2 >::size_type' {aka 'unsigned int'} [-Wsign-compare] 695 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 95 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 198 | for (int i=0;i >&)': -helper.cpp:58:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 58 | for (int i=0; i >&)': -helper.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 66 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 76 | for (int i=0; i< m.size(); i++) - | ~^~~~~~~~~~ -helper.cpp:79:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 79 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] - 90 | for (int i=0; i< m.size(); i++) - | ~^~~~~~~~~~ -helper.cpp: In function 'void display(std::vector&)': -helper.cpp:100:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 100 | for (int i=0; i< m.size(); i++) - | ~^~~~~~~~~~ -genome.cpp: In member function 'void Plink::pruneLD()': -genome.cpp:1227:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1227 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 787 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +genome.cpp: In member function 'void Plink::calcFst()': +genome.cpp:391:14: warning: unused variable 'ht' [-Wunused-variable] + 391 | double ht = 2 * locus[l]->freq * ( 1 - locus[l]->freq ); + | ^~ +output.cpp: In member function 'void Plink::displayGenomePV()': +output.cpp:84:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 84 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 86 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] + 89 | for (int k=0; k >::size_type' {aka 'unsigned int'} [-Wsign-compare] 273 | for (int i=0; i::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 279 | if ( elist.size() != par::cluster_mds_dim ) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +input.cpp: In member function 'bool Plink::readClusterFile(bool)': +input.cpp:787:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 787 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 591 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 611 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +genome.cpp: In member function 'Z Plink::calcGenomeIBD(Individual*, Individual*, Z)': +genome.cpp:843:10: warning: unused variable 'e10' [-Wunused-variable] + 843 | double e10 = E10*S; + | ^~~ +genome.cpp:844:10: warning: unused variable 'e20' [-Wunused-variable] + 844 | double e20 = E20*S; + | ^~~ +genome.cpp:848:10: warning: unused variable 'e21' [-Wunused-variable] + 848 | double e21 = E21*S; + | ^~~ +genome.cpp: In member function 'void Plink::displayGenomeWideInfo()': +genome.cpp:1067:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] + 1067 | if ( (!par::silent ) && c==c2 || c==np) + | ~~~~~~~~~~~~~~~~^~~~~~~~ input.cpp:817:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 817 | if (tokens.size() < 2+par::mult_clst) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ input.cpp:821:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 821 | for (int i0=0; i0::size_type' {aka 'unsigned int'} [-Wsign-compare] + 739 | for ( int l = 0 ; l < locus.size() ; l++ ) + | ~~^~~~~~~~~~~~~~ +filters.cpp:762:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 762 | for ( int i = 0 ; i < sample.size() ; i++ ) + | ~~^~~~~~~~~~~~~~~ +helper.cpp: In function 'std::string display(std::vector >&)': +helper.cpp:58:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 58 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 897 | for (int i=0; i >&)': +helper.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 66 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 76 | for (int i=0; i< m.size(); i++) + | ~^~~~~~~~~~ +helper.cpp:79:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 79 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] + 90 | for (int i=0; i< m.size(); i++) + | ~^~~~~~~~~~ input.cpp:927:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 927 | for ( int i=2; i&)': +helper.cpp:100:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 100 | for (int i=0; i< m.size(); i++) + | ~^~~~~~~~~~ input.cpp:961:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 961 | else if ( ccount != tokens.size() ) | ~~~~~~~^~~~~~~~~~~~~~~~ input.cpp:965:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 965 | if (tokens.size() < 2+par::mult_pheno) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +genome.cpp: In member function 'void Plink::pruneLD()': +genome.cpp:1227:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1227 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] 1037 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 1064 | for (int i=0; i&, std::vector&, std::vector >&)': +stats.cpp:458:18: warning: unused variable 'k' [-Wunused-variable] + 458 | int m,l,iter,i,k; + | ^ input.cpp: In member function 'void Plink::makePhenotype()': input.cpp:1208:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1208 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1261 | for (int i0=0; i0::size_type' {aka 'unsigned int'} [-Wsign-compare] + 272 | for (int z=1; z<=qt.size(); z++) + | ~^~~~~~~~~~~ +stats.cpp: In function 'std::vector > msqrt(std::vector >&)': +stats.cpp:906:16: warning: unused variable 'eps' [-Wunused-variable] + 906 | const double eps = 1e-12; + | ^~~ +output.cpp: In member function 'void Plink::display_twolocus()': +output.cpp:402:28: warning: variable 'loc1' set but not used [-Wunused-but-set-variable] + 402 | vector::iterator loc1 = locus.begin()+m1; + | ^~~~ +output.cpp:403:28: warning: variable 'loc2' set but not used [-Wunused-but-set-variable] + 403 | vector::iterator loc2 = locus.begin()+m2; + | ^~~~ input.cpp: In member function 'bool Plink::readCovListFile()': input.cpp:1335:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1335 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 739 | for ( int l = 0 ; l < locus.size() ; l++ ) - | ~~^~~~~~~~~~~~~~ -filters.cpp:762:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 762 | for ( int i = 0 ; i < sample.size() ; i++ ) - | ~~^~~~~~~~~~~~~~~ +filters.cpp:1078:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1078 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1091 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1143 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 520 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] + 526 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1165 | for ( int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 553 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1477 | for (int c = 0 ; c < keep.size(); c++) + | ~~^~~~~~~~~~~~~ +stats.cpp:1483:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1483 | for (int c = 0 ; c < keep.size(); c++) + | ~~^~~~~~~~~~~~~ +stats.cpp:1515:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1515 | for (int c = 0 ; c < keep.size(); c++) + | ~~^~~~~~~~~~~~~ +stats.cpp:1521:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1521 | for (int c = 0 ; c < keep.size(); c++) + | ~~^~~~~~~~~~~~~ +stats.cpp: In function 'matrix_t vec2diag(vector_t&)': +stats.cpp:1531:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1531 | for (int i = 0; i < v.size(); i++) + | ~~^~~~~~~~~~ +filters.cpp:1257:7: warning: unused variable 'tmp' [-Wunused-variable] + 1257 | int tmp = deleteSNPs(del); + | ^~~ input.cpp:1374:30: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1374 | else if (tokens.size() != par::clist_number + 2 ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ @@ -771,6 +937,9 @@ helper.cpp:277:16: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 277 | if (r.size() != c) error("Not enough arguments given for option: "+s+" "); | ~~~~~~~~~^~~~ +cluster.cpp:452:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 452 | for (int i=0;i > parse2str(std::string)': helper.cpp:306:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] 306 | for (int i=0 ; i < s.length() ; i++) @@ -785,18 +954,49 @@ helper.cpp:323:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 323 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 511 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 626 | for ( int i = 4; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 648 | if ( col_length != tokens.size() ) + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ +cluster.cpp:651:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 651 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +cluster.cpp:784:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 784 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 786 | for (int j=0;j >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 461 | for (int i=1; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 919 | for (int k=0;k::size_type' {aka 'unsigned int'} [-Wsign-compare] 1519 | for (int c=0; c::size_type' {aka 'unsigned int'} [-Wsign-compare] 1538 | for (int c=0; c::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1078 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1091 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] 1572 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1602 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1143 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 954 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 955 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 975 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 976 | for (int j=i+1; j::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 990 | (( cl[i].size()+cl[j].size()) <= par::max_cluster_size) ) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +cluster.cpp:1038:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1038 | for(int j=0;j >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 1041 | if (cl.size()==1 || cl.size()==par::max_cluster_N) done=true; + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +cluster.cpp:1049:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1049 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1050 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1060 | for (int j1=0; j1 >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1061 | for (int j2=0; j2 >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1107 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 1745 | for (int c=0; c::size_type' {aka 'unsigned int'} [-Wsign-compare] 1764 | for (int c=0; c::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1110 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] 1792 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1165 | for ( int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 461 | for (int i=1; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1133 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1163 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1169 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 595 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 611 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 659 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 664 | for (int i=0;i >&, std::vector&, std::vector&)': +cluster.cpp:1203:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1203 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1204 | for (int j=0; j >&, std::vector&, std::vector&)': +cluster.cpp:1228:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1228 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1229 | for (int j=0; j&, std::vector&)': +cluster.cpp:1254:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1254 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1255 | for (int j=0; j&, std::vector&)': +cluster.cpp:1272:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1272 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1276 | for (int j=0; j >&, std::vector&, std::vector&)': +cluster.cpp:1290:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1290 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1291 | for (int j=0; j > listPossibleHaplotypes(Plink&, std::vector)': +helper.cpp:709:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 709 | while(h >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 729 | for (int h=0; h::size_type' {aka 'unsigned int'} [-Wsign-compare] + 775 | for (int i=0; i&, matrix_t&, boolmatrix_t&, bool)': +helper.cpp:795:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 795 | for (int s = 0 ; s < snps.size() ; s++) + | ~~^~~~~~~~~~~~~ input.cpp: In member function 'void Plink::readMapFile(std::string, std::vector&, std::vector&, int&)': input.cpp:2116:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2116 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 2225 | for(int l=0; l < locus.size(); l++) | ~~^~~~~~~~~~~~~~ +cluster.cpp: In member function 'void Plink::groupGenome()': +cluster.cpp:1643:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1643 | for ( int i = 4; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1661 | if ( col_length != tokens.size() ) + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ +cluster.cpp:1664:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1664 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] 2389 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 2419 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2453 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2471 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 595 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 611 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 659 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 664 | for (int i=0;i > listPossibleHaplotypes(Plink&, std::vector)': -helper.cpp:709:10: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 709 | while(h >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 729 | for (int h=0; h::size_type' {aka 'unsigned int'} [-Wsign-compare] - 775 | for (int i=0; i&, matrix_t&, boolmatrix_t&, bool)': -helper.cpp:795:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 795 | for (int s = 0 ; s < snps.size() ; s++) - | ~~^~~~~~~~~~~~~ helper.cpp: In function 'std::string chromosomeName(int)': helper.cpp:952:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 952 | if ( c < 0 || c >= par::chr_code.size() ) @@ -915,6 +1184,9 @@ helper.cpp:966:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 966 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2453 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 973 | for (int l=0;l::size_type' {aka 'unsigned int'} [-Wsign-compare] 989 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2471 | for (int i=0; i getChromosomeRange(Plink&)': helper.cpp:1040:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1040 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 146 | for (int e=0;e::size_type' {aka 'unsigned int'} [-Wsign-compare] + 154 | for (int e=0;e::size_type' {aka 'unsigned int'} [-Wsign-compare] + 161 | for (int e=0;e >)': helper.cpp:1172:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1172 | for (int k=0; k::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1273 | if (locus[l]->name.length() > par::pp_maxsnp) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +In file included from assoc.cpp:29: +phase.h: In member function 'void HaploPhase::reset()': +phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i vif_prune(std::vector >, double, std::vector&)': helper.cpp:1389:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1389 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 1391 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 395 | for (int i=0; iprofileSNPs.size(); i++) + | ~^~~~~~~~~~~~~~~~~~~~~~~ +epi.cpp:701:11: warning: unused variable 'c' [-Wunused-variable] + 701 | int c=0; + | ^ +assoc.cpp:741:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 741 | for (int j=0; jselectedSNPs[l].size(); j++) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +assoc.cpp:744:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 744 | if ( j < pS->selectedSNPs[l].size() - 1 ) + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from prephap.cpp:24: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +assoc.cpp:785:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 785 | for (int i=0;ipv_set.size();i++) + | ~^~~~~~~~~~~~~~~~~~ +assoc.cpp:788:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 788 | for (int j=0;jpv_set[i].size();j++) + | ~^~~~~~~~~~~~~~~~~~~~~ +In file included from plink.cpp:40: +idhelp.h: In member function 'void IDGroup::display()': +idhelp.h:196:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 196 | for (int k=0; k&)': helper.cpp:2204:12: warning: unused variable 'i' [-Wunused-variable] 2204 | int i = 0; @@ -990,6 +1322,42 @@ helper.cpp:2638:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2638 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2200 | for (int i=0; i Plink::fullModelAssoc(bool, Perm&)': +assoc.cpp:1536:11: warning: unused variable 'best' [-Wunused-variable] + 1536 | int best = 0 ; + | ^~~~ +output.cpp:2322:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2322 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2367 | for (int i=0; i < setname.size();i++) + | ~~^~~~~~~~~~~~~~~~ +output.cpp:2380:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2380 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2409 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2412 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2671 | for (int j=1; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2722 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 226 | if (len != tokens.size() - offset ) + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +prephap.cpp:283:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 283 | for ( int i = allele ; i < tokens.size() ; i++ ) + | ~~^~~~~~~~~~~~~~~ helper.cpp:2756:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2756 | for (int j=1; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 412 | while ( index < tokens.size() ) + | ~~~~~~^~~~~~~~~~~~~~~ +prephap.cpp:416:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 416 | if ( tokens[index].size() != len ) + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ +prephap.cpp:420:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 420 | if ( index == tokens.size() - 1 ) + | ~~~~~~^~~~~~~~~~~~~~~~~~~~ helper.cpp: In function 'void makePersonMap(Plink&, std::map, Individual*>&)': helper.cpp:2935:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2935 | for (int i=0; i::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2959 | if ( input.size() != P.nl_all ) | ~~~~~~~~~~~~~^~~~~~~~~~~ +plink.cpp:2106:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2106 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 470 | for (int s=0;s::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2359 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2362 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] + 2366 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 533 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 560 | for (int i=0; i, std::set > readRange(std::string)': helper.cpp:3097:20: warning: unused variable 's' [-Wunused-variable] 3097 | set * s; @@ -1022,33 +1429,14 @@ helper.cpp:3329:9: warning: unused variable 'nextChromosome' [-Wunused-variable] 3329 | int nextChromosome; | ^~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c multi.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c crandom.cpp -In file included from multi.cpp:16: +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c phase.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c trio.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c tdt.cpp +In file included from phase.cpp:24: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -multi.cpp: In member function 'std::vector Plink::calcMultiPoint(std::vector&, Z, std::ofstream&)': -multi.cpp:295:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 295 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 304 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 357 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 372 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -cluster.cpp: In member function 'void Plink::buildCluster()': -cluster.cpp:272:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 272 | for (int z=1; z<=qt.size(); z++) - | ~^~~~~~~~~~~ -cluster.cpp:452:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 452 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 511 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 626 | for ( int i = 4; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 648 | if ( col_length != tokens.size() ) - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ -cluster.cpp:651:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 651 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 784 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 786 | for (int j=0;j::size_type' {aka 'unsigned int'} [-Wsign-compare] - 919 | for (int k=0;k >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 954 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 955 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 975 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 976 | for (int j=i+1; j::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 990 | (( cl[i].size()+cl[j].size()) <= par::max_cluster_size) ) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -cluster.cpp:1038:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1038 | for(int j=0;j >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 1041 | if (cl.size()==1 || cl.size()==par::max_cluster_N) done=true; - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -cluster.cpp:1049:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1049 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1050 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1060 | for (int j1=0; j1 >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1061 | for (int j2=0; j2 >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1107 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1110 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1133 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1163 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1169 | for (int i=0; i >&, std::vector&, std::vector&)': -cluster.cpp:1203:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1203 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1204 | for (int j=0; j >&, std::vector&, std::vector&)': -cluster.cpp:1228:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1228 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1229 | for (int j=0; j&, std::vector&)': -cluster.cpp:1254:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1254 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1255 | for (int j=0; j&, std::vector&)': -cluster.cpp:1272:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1272 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1276 | for (int j=0; j >&, std::vector&, std::vector&)': -cluster.cpp:1290:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1290 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1291 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1643 | for ( int i = 4; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1661 | if ( col_length != tokens.size() ) - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ -cluster.cpp:1664:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1664 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -mds.cpp: In member function 'void Plink::generateMDS()': -mds.cpp:190:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 190 | for (int i1=0; i1::size_type' {aka 'unsigned int'} [-Wsign-compare] - 191 | for (int i2=0; i2::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 279 | if ( elist.size() != par::cluster_mds_dim ) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -mds.cpp:242:8: warning: unused variable 'flag' [-Wunused-variable] - 242 | bool flag = svd(D,eigenvalue,eigenvector); - | ^~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c output.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c informative.cpp -In file included from informative.cpp:18: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -informative.cpp: In member function 'int Plink::readInformative()': -informative.cpp:80:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 80 | for ( int i = 4; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 102 | if ( col_length != tokens.size() ) - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ -informative.cpp:105:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 105 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -output.cpp: In member function 'void Plink::displayGenomePV()': -output.cpp:84:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 84 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 86 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] - 89 | for (int k=0; k::iterator loc1 = locus.begin()+m1; - | ^~~~ -output.cpp:403:28: warning: variable 'loc2' set but not used [-Wunused-but-set-variable] - 403 | vector::iterator loc2 = locus.begin()+m2; - | ^~~~ -output.cpp: In member function 'void Plink::extractExcludeSet(bool)': -output.cpp:520:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 520 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] - 526 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] - 553 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2200 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2322 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2367 | for (int i=0; i < setname.size();i++) - | ~~^~~~~~~~~~~~~~~~ -output.cpp:2380:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2380 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2409 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] - 2412 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -In file included from assoc.cpp:29: -phase.h: In member function 'void HaploPhase::reset()': -phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 395 | for (int i=0; iprofileSNPs.size(); i++) - | ~^~~~~~~~~~~~~~~~~~~~~~~ -assoc.cpp:741:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 741 | for (int j=0; jselectedSNPs[l].size(); j++) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -assoc.cpp:744:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 744 | if ( j < pS->selectedSNPs[l].size() - 1 ) - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -assoc.cpp:785:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector > >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 785 | for (int i=0;ipv_set.size();i++) - | ~^~~~~~~~~~~~~~~~~~ -assoc.cpp:788:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 788 | for (int j=0;jpv_set[i].size();j++) - | ~^~~~~~~~~~~~~~~~~~~~~ -assoc.cpp: In member function 'std::vector Plink::fullModelAssoc(bool, Perm&)': -assoc.cpp:1536:11: warning: unused variable 'best' [-Wunused-variable] - 1536 | int best = 0 ; - | ^~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c epi.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c prephap.cpp -In file included from epi.cpp:23: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c phase.cpp -epi.cpp: In member function 'void Plink::calcEpistasis()': -epi.cpp:146:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 146 | for (int e=0;e::size_type' {aka 'unsigned int'} [-Wsign-compare] - 154 | for (int e=0;e::size_type' {aka 'unsigned int'} [-Wsign-compare] - 161 | for (int e=0;e >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -In file included from prephap.cpp:25: -phase.h: In member function 'void HaploPhase::reset()': -phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 226 | if (len != tokens.size() - offset ) - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -prephap.cpp:283:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 283 | for ( int i = allele ; i < tokens.size() ; i++ ) - | ~~^~~~~~~~~~~~~~~ -prephap.cpp:412:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 412 | while ( index < tokens.size() ) - | ~~~~~~^~~~~~~~~~~~~~~ -prephap.cpp:416:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 416 | if ( tokens[index].size() != len ) - | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ -prephap.cpp:420:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 420 | if ( index == tokens.size() - 1 ) - | ~~~~~~^~~~~~~~~~~~~~~~~~~~ -prephap.cpp:470:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 470 | for (int s=0;s >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 533 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 560 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ In file included from phase.cpp:27: genogroup.h: In member function 'bool MultiLocusGenotype::operator<(const MultiLocusGenotype&) const': genogroup.h:27:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -1427,10 +1487,6 @@ phase.cpp:472:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 472 | while (h Plink::testAssoc(int&, int&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, Perm&, bool)': -assoc.cpp:1109:61: warning: 'pvalue' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1109 | pS->profileTestSNPInformation( l, log(odds[l]) * -log10( pvalue ) ); - | ~~~~~^~~~~~~~~~ phase.cpp: In member function 'void HaploPhase::performAlternEM()': phase.cpp:678:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 678 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] 1888 | for (int z = 0; z < h1.size(); z++) | ~~^~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c sharing.cpp In file included from trio.cpp:23: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -1534,11 +1591,6 @@ trio.cpp:1245:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1245 | for ( int k=0; kpp->kids.size(); k++) | ~^~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c tdt.cpp -output.cpp: In member function 'void Plink::display_indivReport()': -output.cpp:69:36: warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized] - 69 | << setw(6) << genotype(*this,i1,l) << "\n"; - | ^ In file included from tdt.cpp:23: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -1588,31 +1640,36 @@ tdt.cpp:776:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 776 | for (int f=0; f >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c genepi.cpp sharing.cpp: In member function 'void Plink::perm_sharingIBSTest(Perm&)': sharing.cpp:102:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 102 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +In file included from sets.cpp:20: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ genepi.cpp: In function 'double C(int, double, double)': genepi.cpp:78:1: warning: no return statement in function returning non-void [-Wreturn-type] 78 | } @@ -1658,18 +1715,15 @@ genepi.cpp:1198:8: warning: unused variable 'casewise_deletion' [-Wunused-variable] 1198 | bool casewise_deletion = false; | ^~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c perm.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c mh.cpp -In file included from sets.cpp:20: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ In file included from sets.cpp:24: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 252 | for (int i=0; i Plink::testAssoc(int&, int&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, Perm&, bool)': +assoc.cpp:1109:61: warning: 'pvalue' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1109 | pS->profileTestSNPInformation( l, log(odds[l]) * -log10( pvalue ) ); + | ~~~~~^~~~~~~~~~ sets.cpp: In member function 'void Set::sizeSets()': sets.cpp:37:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 37 | for(int s=0;s::size_type' {aka 'unsigned int'} [-Wsign-compare] 218 | for (int j=0; j < snpset[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c genedrop.cpp +tdt.cpp:937:41: warning: 'zt' may be used uninitialized in this function [-Wmaybe-uninitialized] + 937 | double OR_upper = exp( log(OR) + zt * sqrt(1/t1+1/t2)) ; + | ~~~^~~~~~~~~~~~~~~~~ sets.cpp:236:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 236 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] 713 | for (int j=0; j >::size_type' {aka 'unsigned int'} [-Wsign-compare] 905 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 273 | for (int j=0;j< P.pS->snpset[l].size();j++) | ~^~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c gxe.cpp +output.cpp: In member function 'void Plink::display_indivReport()': +output.cpp:69:36: warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized] + 69 | << setw(6) << genotype(*this,i1,l) << "\n"; + | ^ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c genedrop.cpp In file included from perm.h:17, from mh.cpp:20: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -helper.cpp: In function 'std::vector vif_prune(std::vector >, double, std::vector&)': -helper.cpp:1430:12: warning: 'maxI' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1430 | cur[maxI] = false; - | ^ -In file included from perm.h:17, - from genedrop.cpp:17: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ mh.cpp: In member function 'std::vector Plink::calcMantelHaenszel_IxJxK(std::vector&, std::vector&, std::vector&)': mh.cpp:747:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 747 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 64 | for (int i=0; i Plink::calcMantelHaenszel_ORD(std::vector&, std::vector&, std::vector&)': mh.cpp:1249:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1249 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +genedrop.cpp: In member function 'void Perm::preGeneDrop()': +genedrop.cpp:64:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 64 | for (int i=0; i&, std::vector&, std::vector&, std::map&)': genedrop.cpp:340:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 340 | for (int k=0; kkids.size(); k++) | ~^~~~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c gxe.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c merge.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c hotel.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c multiple.cpp In file included from helper.h:24, from gxe.cpp:20: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c merge.cpp genepi.cpp: In function 'void CCA_logit(bool, std::vector >&, Set&, Plink&)': genepi.cpp:805:82: warning: 'cancor1_pos' may be used uninitialized in this function [-Wmaybe-uninitialized] 805 | gene1[i] += (-1 - mean[j]) * coeff_gene1[order_eigenvalues_gene1[cancor1_pos]][j]; | ^ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c hotel.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c multiple.cpp -In file included from hotel.cpp:23: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c haploCC.cpp In file included from merge.cpp:22: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -hotel.cpp: In member function 'void Plink::perm_testHotel(Perm&)': -hotel.cpp:77:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] - 77 | if (!sample[i]->missing) - | ^ -hotel.cpp:173:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 173 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] 333 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 842 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +hotel.cpp: In member function 'void Plink::perm_testHotel(Perm&)': +hotel.cpp:77:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] + 77 | if (!sample[i]->missing) + | ^ +hotel.cpp:173:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 173 | for (int s=0; s >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c haploTDT.cpp multiple.cpp: In member function 'void Plink::multcomp(std::vector&, std::string)': multiple.cpp:85:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 85 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] 131 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c webcheck.cpp -In file included from haploTDT.cpp:25: -phase.h: In member function 'void HaploPhase::reset()': -phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from poo.cpp:23: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ In file included from haploCC.cpp:25: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -1950,10 +1990,6 @@ haploCC.cpp:268:14: warning: unused variable 'p' [-Wunused-variable] 268 | double p = ( n1 * p1 + n2 * p2 ) / ( n1 + n2 ); | ^ -poo.cpp: In member function 'void Plink::perm_testTDT_POO(Perm&)': -poo.cpp:93:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 93 | for (int f=0; f::size_type' {aka 'unsigned int'} [-Wsign-compare] 340 | for (int z = 0 ; z < hap1[i].size(); z++) @@ -1967,6 +2003,30 @@ haploCC.cpp:392:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 392 | if ( ! ( haploid || X && person->sex ) ) | ~~^~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c haploTDT.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c poo.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c webcheck.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c qfam.cpp +In file included from haploTDT.cpp:24: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +In file included from poo.cpp:23: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +In file included from haploTDT.cpp:25: +phase.h: In member function 'void HaploPhase::reset()': +phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 93 | for (int f=0; f > >::size_type' {aka 'unsigned int'} [-Wsign-compare] 195 | for (int i=0;ipv_set.size();i++) | ~^~~~~~~~~~~~~~~~~~ @@ -1983,16 +2043,12 @@ poo.cpp:239:10: warning: unused variable 'zt' [-Wunused-variable] 239 | double zt; | ^~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c qfam.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c linear.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c bmerge.cpp In file included from helper.h:24, from webcheck.cpp:19: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c parse.cpp webcheck.cpp: In member function 'void Plink::webcheck(CArgs&)': webcheck.cpp:117:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 117 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 218 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c mishap.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c legacy.cpp qfam.cpp: In function 'void scoreBetween(Plink&, int)': qfam.cpp:82:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 82 | for (int k=0; k < (*f)->kid.size() ;k++) @@ -2043,17 +2102,16 @@ qfam.cpp:657:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 657 | for (int f=0; f >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c homozyg.cpp linear.cpp: In member function 'virtual void LinearModel::pruneY()': linear.cpp:50:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 50 | for (int i=0; i, int>&)': -merge.cpp:1103:3: warning: 'write' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1103 | if (write) - | ^~ -In file included from mishap.cpp:17: +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c segment.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c model.cpp +In file included from parse.cpp:20: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from parse.cpp:20: +In file included from bmerge.cpp:22: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from mishap.cpp:20: -phase.h: In member function 'void HaploPhase::reset()': -phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 209 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) - | ~~^~~~~~~~~~~~~~~~~~~~~~~ -mishap.cpp:236:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 236 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) - | ~~^~~~~~~~~~~~~~~~~~~~~~~ -mishap.cpp:349:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 349 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) - | ~~^~~~~~~~~~~~~~~~~~~~~~~ -mishap.cpp:373:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 373 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) - | ~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from bmerge.cpp:22: +In file included from mishap.cpp:17: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) @@ -2118,6 +2156,12 @@ bmerge.cpp:440:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 440 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ bmerge.cpp:549:11: warning: variable 'indn' set but not used [-Wunused-but-set-variable] 549 | int indn = isample->second; | ^~~~ @@ -2136,12 +2180,74 @@ bmerge.cpp:883:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 883 | for (int i=0; i, int>&)': +merge.cpp:1103:3: warning: 'write' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1103 | if (write) + | ^~ +legacy.cpp: In member function 'void Plink::calcRegression(int)': +legacy.cpp:368:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 368 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 377 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 381 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 384 | for (int j=0;j::size_type' {aka 'unsigned int'} [-Wsign-compare] + 390 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 395 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 415 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 424 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 460 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] + 461 | for (int k=0; k::size_type' {aka 'unsigned int'} [-Wsign-compare] + 462 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 467 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 480 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +mishap.cpp: In member function 'void Plink::performMisHapTests()': +mishap.cpp:209:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 209 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +mishap.cpp:236:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 236 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +mishap.cpp:349:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 349 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +mishap.cpp:373:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 373 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) + | ~~^~~~~~~~~~~~~~~~~~~~~~~ homozyg.cpp: In function 'void displayPoolVerbose(Plink&, Pool*, std::ofstream&)': homozyg.cpp:673:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 673 | for (int i=0; i < plist.size(); i++) @@ -2168,6 +2274,11 @@ homozyg.cpp:1178:31: warning: comparison of integer expressions of different signedness: 'std::set >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1178 | if ( thispool->segs.size() >= par::pool_size_min ) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +In file included from model.cpp:15: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ homozyg.cpp:1331:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::set >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1331 | for (int i=0; i< (*pA)->segs.size(); i++) | ~^~~~~~~~~~~~~~~~~~~~ @@ -2181,7 +2292,7 @@ 1461 | for (int i=0; i < (*pA)->group.size() ; i++) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from helper.h:24, - from legacy.cpp:22: + from segment.cpp:20: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) @@ -2189,75 +2300,29 @@ homozyg.cpp: In member function 'void Plink::findHomoWindow(Individual*, std::ofstream&)': homozyg.cpp:2155:20: warning: value computed is not used [-Wunused-value] 2155 | homozygWindows[l] == 0; -legacy.cpp: In member function 'void Plink::calcRegression(int)': -legacy.cpp:368:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 368 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 377 | for (int i=0;i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 381 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 384 | for (int j=0;j::size_type' {aka 'unsigned int'} [-Wsign-compare] - 390 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 395 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 415 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 424 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 460 | for (int j=0; j::size_type' {aka 'unsigned int'} [-Wsign-compare] - 461 | for (int k=0; k::size_type' {aka 'unsigned int'} [-Wsign-compare] - 462 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 467 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 480 | for (int i=0; ibp - locus[last]->bp ) / 1000.0 - | ^ -In file included from model.cpp:15: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -In file included from helper.h:24, - from segment.cpp:20: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ In file included from model.cpp:17: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 252 | for (int i=0; i&)': +model.cpp:132:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 132 | if ( include.size() != P->n ) + | ~~~~~~~~~~~~~~~^~~~~~~ +model.cpp: In member function 'void Model::buildDesignMatrix()': +model.cpp:354:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 354 | for (int i=0; i< par::parameter_list.size(); i++) + | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +model.cpp:367:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 367 | for ( int i = 0 ; i < X.size() ; i++) + | ~~^~~~~~~~~~ +model.cpp:374:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 374 | for ( int j = 0 ; j < par::parameter_list.size() ; j++) + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +model.cpp: In member function 'bool Model::checkVIF()': +model.cpp:613:10: warning: unused variable 'maxVIF' [-Wunused-variable] + 613 | double maxVIF = 0; + | ^~~~~~ segment.cpp: In member function 'void Plink::segmentPermutationTest(Perm&, bool, std::string, std::vector&, std::vector&, std::vector&)': segment.cpp:871:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 871 | if (!ibd) @@ -2281,28 +2346,17 @@ segment.cpp:950:7: warning: unused variable 'c' [-Wunused-variable] 950 | int c=0; | ^ -model.cpp: In member function 'void Model::setMissing(std::vector&)': -model.cpp:132:23: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 132 | if ( include.size() != P->n ) - | ~~~~~~~~~~~~~~~^~~~~~~ +linear.cpp: In function 'void gaussj(matrix_t&, matrix_t&)': +linear.cpp:100:13: warning: 'irow' may be used uninitialized in this function [-Wmaybe-uninitialized] + 100 | indxr[i]=irow; +linear.cpp:108:7: warning: 'icol' may be used uninitialized in this function [-Wmaybe-uninitialized] + 108 | if (ll != icol) { + | ^~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c logistic.cpp segment.cpp: In member function 'void Plink::summaryIBD()': segment.cpp:1529:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1529 | for (int i=0;i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 354 | for (int i=0; i< par::parameter_list.size(); i++) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -model.cpp:367:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 367 | for ( int i = 0 ; i < X.size() ; i++) - | ~~^~~~~~~~~~ -model.cpp:374:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 374 | for ( int j = 0 ; j < par::parameter_list.size() ; j++) - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -model.cpp: In member function 'bool Model::checkVIF()': -model.cpp:613:10: warning: unused variable 'maxVIF' [-Wunused-variable] - 613 | double maxVIF = 0; - | ^~~~~~ segment.cpp: In member function 'void Plink::indivSegmentSummary()': segment.cpp:1855:14: warning: variable 'p' set but not used [-Wunused-but-set-variable] 1855 | indivPair p = ic->first; @@ -2339,6 +2393,7 @@ segment.cpp:2447:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2447 | else if ( par::cnv_col = 3 ) | ~~~~~~~~~~~~~^~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c glm.cpp segment.cpp:2474:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2474 | else if ( par::cnv_col = 1 ) | ~~~~~~~~~~~~~^~~ @@ -2348,21 +2403,6 @@ segment.cpp:2478:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2478 | else if ( par::cnv_col = 3 ) | ~~~~~~~~~~~~~^~~ -In file included from helper.h:24, - from logistic.cpp:20: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -logistic.cpp: In member function 'virtual void LogisticModel::pruneY()': -logistic.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 66 | for (int i=0; i= 0.0e0 && fb <= 0.0e0 || fc < 0.0e0 && fb >= 0.0e0; | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c elf.cpp +input.cpp: In member function 'void Plink::readData()': +input.cpp:91:13: warning: 'PED' may be used uninitialized in this function [-Wmaybe-uninitialized] + 91 | if ( feof(PED) ) + | ~~~~^~~~~ +legacy.cpp: In member function 'void Plink::findIBSRuns(Individual*, Individual*, std::ofstream&)': +legacy.cpp:206:51: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] + 206 | << (double)( locus[start]->bp - locus[last]->bp ) / 1000.0 + | ^ +In file included from helper.h:24, + from logistic.cpp:20: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +logistic.cpp: In member function 'virtual void LogisticModel::pruneY()': +logistic.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 66 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c elf.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c dfam.cpp In file included from glm.cpp:25: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -2425,14 +2488,60 @@ glm.cpp:423:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 423 | for (int c=0; c >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c fisher.cpp +In file included from dfam.cpp:23: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +dfam.cpp: In member function 'std::vector Plink::testSibTDT(bool, bool, Perm&, std::vector&, std::vector&)': +dfam.cpp:76:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 76 | for (int f=0; f::size_type' {aka 'unsigned int'} [-Wsign-compare] + 86 | for ( int k=0; kkid.size(); k++) + | ~^~~~~~~~~~~~~~~~ +dfam.cpp:96:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 96 | for ( int k=0; kkid.size(); k++) + | ~^~~~~~~~~~~~~~~~ +dfam.cpp:106:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 106 | for (int c=0; cperson.size(); c++) + | ~^~~~~~~~~~~~~~~~~~~~~~~~ +dfam.cpp:157:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 157 | for (int f=0; f::size_type' {aka 'unsigned int'} [-Wsign-compare] + 271 | for (int c=0; ckid.size(); c++) + | ~^~~~~~~~~~~~~~~~~~~~~~ +dfam.cpp:378:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 378 | for (int c=0; ckid.size(); c++) + | ~^~~~~~~~~~~~~~~~~~~~~~ +dfam.cpp:218:9: warning: unused variable 'informative' [-Wunused-variable] + 218 | bool informative = false; + | ^~~~~~~~~~~ +dfam.cpp:504:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 504 | for (int c=0; cperson.size(); c++) + | ~^~~~~~~~~~~~~~~~~~~~~~~~ +dfam.cpp:151:11: warning: unused variable 'totalInformative' [-Wunused-variable] + 151 | int totalInformative = 0; + | ^~~~~~~~~~~~~~~~ +In file included from helper.h:24, + from fisher.cpp:17: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ elf.cpp: In function 'void displayScoresRegion(std::ofstream&, RCount&)': elf.cpp:493:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 493 | for ( int k = 0 ; k < i->second.size(); k++) @@ -2461,13 +2570,6 @@ elf.cpp:939:26: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 939 | if ( tokens.size() != ncol ) | ~~~~~~~~~~~~~~^~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c linput.cpp -In file included from helper.h:24, - from fisher.cpp:17: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ fisher.cpp: In function 'void fexact(int*, int*, double*, int*, double*, double*, double*, double*, double*, int*)': fisher.cpp:261:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 261 | prterr(1, "NROW must be less than or equal to LDTABL."); @@ -2541,48 +2643,7 @@ fisher.cpp:2078:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 2078 | prterr(20, "This should never occur."); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from dfam.cpp:23: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -dfam.cpp: In member function 'std::vector Plink::testSibTDT(bool, bool, Perm&, std::vector&, std::vector&)': -dfam.cpp:76:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 76 | for (int f=0; f::size_type' {aka 'unsigned int'} [-Wsign-compare] - 86 | for ( int k=0; kkid.size(); k++) - | ~^~~~~~~~~~~~~~~~ -dfam.cpp:96:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 96 | for ( int k=0; kkid.size(); k++) - | ~^~~~~~~~~~~~~~~~ -dfam.cpp:106:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 106 | for (int c=0; cperson.size(); c++) - | ~^~~~~~~~~~~~~~~~~~~~~~~~ -dfam.cpp:157:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 157 | for (int f=0; f::size_type' {aka 'unsigned int'} [-Wsign-compare] - 271 | for (int c=0; ckid.size(); c++) - | ~^~~~~~~~~~~~~~~~~~~~~~ -dfam.cpp:378:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 378 | for (int c=0; ckid.size(); c++) - | ~^~~~~~~~~~~~~~~~~~~~~~ -dfam.cpp:218:9: warning: unused variable 'informative' [-Wunused-variable] - 218 | bool informative = false; - | ^~~~~~~~~~~ -dfam.cpp:504:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 504 | for (int c=0; cperson.size(); c++) - | ~^~~~~~~~~~~~~~~~~~~~~~~~ -dfam.cpp:151:11: warning: unused variable 'totalInformative' [-Wunused-variable] - 151 | int totalInformative = 0; - | ^~~~~~~~~~~~~~~~ -glm.cpp:610:28: warning: 'df' may be used uninitialized in this function [-Wmaybe-uninitialized] - 610 | double pvalue = chiprobP(chisq,df); - | ~~~~~~~~^~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c lookup.cpp In file included from linput.cpp:25: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -2592,6 +2653,12 @@ linput.cpp:68:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 68 | for (int l=0; l< locus.size(); l++) | ~^~~~~~~~~~~~~~ +In file included from helper.h:24, + from sockets.cpp:18: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ linput.cpp:128:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 128 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 209 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ sockets.cpp: In function 'std::vector > socketConnection(Plink*, std::string, int, std::string)': sockets.cpp:78:24: warning: unused variable 'out_buf' [-Wunused-variable] 78 | char out_buf[BUF_SIZE+1]; // Output buffer for GET request @@ -2633,17 +2690,21 @@ sockets.cpp:119:7: warning: unused variable 'echoStringLen' [-Wunused-variable] 119 | int echoStringLen = 100; | ^~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c haploQTL.cpp -elf.cpp: In member function 'bool RCount::addSNP(int)': -elf.cpp:374:10: warning: 'wt' may be used uninitialized in this function [-Wmaybe-uninitialized] - 374 | double wt; - | ^~ +glm.cpp:610:28: warning: 'df' may be used uninitialized in this function [-Wmaybe-uninitialized] + 610 | double pvalue = chiprobP(chisq,df); + | ~~~~~~~~^~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c proxy.cpp +helper.cpp: In function 'std::vector vif_prune(std::vector >, double, std::vector&)': +helper.cpp:1430:12: warning: 'maxI' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1430 | cur[maxI] = false; + | ^ In file included from helper.h:24, from lookup.cpp:18: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c pdriver.cpp lookup.cpp: In member function 'void Plink::lookup()': lookup.cpp:206:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 206 | for (int i=25; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 289 | for (int i=25; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ In file included from pdriver.cpp:16: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from pdriver.cpp:18: +In file included from proxy.cpp:24: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ In file included from haploQTL.cpp:24: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from proxy.cpp:24: +In file included from pdriver.cpp:18: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 314 | for (int i=1; i::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] + 332 | if ( added.size() >= par::proxy_snp_filter ) + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +pdriver.cpp: In member function 'void Plink::proxyWrapper()': +pdriver.cpp:266:11: warning: unused variable 'similar' [-Wunused-variable] + 266 | int similar = 0; + | ^~~~~~~ In file included from haploQTL.cpp:25: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -2703,19 +2773,17 @@ haploQTL.cpp:145:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 145 | for (int z = 0 ; z < hap1[i].size(); z++) | ~~^~~~~~~~~~~~~~~~ -proxy.cpp: In member function 'void Plink::performProxyTests(int)': -proxy.cpp:314:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 314 | for (int i=1; i::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] - 332 | if ( added.size() >= par::proxy_snp_filter ) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ proxy.cpp:854:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 854 | for (int l0=0; l0< proxyHaplotypePlusSNP.size(); l0++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proxy.cpp:1332:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1332 | for (int l0=0; l0< proxyHaplotypePlusSNP.size(); l0++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from haplohelper.cpp:24: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ proxy.cpp:1401:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1401 | for (int c1 = 0; c1 < collection.size() ; c1++ ) | ~~~^~~~~~~~~~~~~~~~~~~ @@ -2725,42 +2793,11 @@ proxy.cpp:169:10: warning: unused variable 's' [-Wunused-variable] 169 | CSNP * s = SNP[l]; | ^ -In file included from haplowindow.cpp:23: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -elf.cpp: In member function 'void Plink::elfBaseline()': -elf.cpp:1154:8: warning: 'p_gcnt' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1154 | ++(*p_gcnt); - | ^~~~~~~~~~~ -In file included from haplohelper.cpp:24: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -elf.cpp:1165:5: warning: 'p_cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] - 1165 | ++(*p_cnt); - | ^~~~~~~~~~ In file included from haplohelper.cpp:25: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 27 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 34 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -2770,14 +2807,15 @@ genogroup.h:34:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 34 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 48 | for (int z = 0; z < haplo->windows[w]->hap1[r].size(); z++) - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ haplohelper.cpp: In member function 'void HaploPhase::imputeAllHaplotypes()': haplohelper.cpp:104:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 104 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ haplohelper.cpp:134:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 134 | for (int l=0; l < actual_map.size(); l++) | ~~^~~~~~~~~~~~~~~~~~~ @@ -2789,10 +2827,6 @@ haplohelper.cpp:337:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 337 | for (int h=0; h::size_type' {aka 'unsigned int'} [-Wsign-compare] 396 | for (int z = 0; z < hap1[i].size(); z++) @@ -2804,42 +2838,6 @@ haplohelper.cpp:487:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 487 | for (int z = 0; z < hap1[i].size(); z++) | ~~^~~~~~~~~~~~~~~~ -haplowindow.cpp: In member function 'void HaploWindow::prunePhase(int, double)': -haplowindow.cpp:558:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 558 | for (int z=0; z < hap1[i].size(); z++) - | ~~^~~~~~~~~~~~~~~~ -haplowindow.cpp:574:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 574 | for (int z=0; z < new_pp.size(); z++) - | ~~^~~~~~~~~~~~~~~ -haplowindow.cpp: In member function 'void HaploWindow::performEM()': -haplowindow.cpp:683:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 683 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] - 691 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] - 751 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] - 791 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] - 798 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] - 868 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] - 872 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] - 949 | for (int z = 0; z < hap1[i].size(); z++) - | ~~^~~~~~~~~~~~~~~~ -haplowindow.cpp:966:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 966 | for (int z2=0; z2::size_type' {aka 'unsigned int'} [-Wsign-compare] 655 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] 1666 | for (int z = 0; z < windows[w]->hap1[r].size(); z++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c genogroup.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c nonfounderphasing.cpp In file included from genogroup.cpp:23: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +In file included from haplowindow.cpp:27: +phase.h: In member function 'void HaploPhase::reset()': +phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 27 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 34 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 48 | for (int z = 0; z < haplo->windows[w]->hap1[r].size(); z++) + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +haplowindow.cpp: In member function 'void HaploWindow::enumerateHaplotypes(intvec_t&)': +haplowindow.cpp:183:11: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] + 183 | while (h::size_type' {aka 'unsigned int'} [-Wsign-compare] + 558 | for (int z=0; z < hap1[i].size(); z++) + | ~~^~~~~~~~~~~~~~~~ +haplowindow.cpp:574:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 574 | for (int z=0; z < new_pp.size(); z++) + | ~~^~~~~~~~~~~~~~~ +haplowindow.cpp: In member function 'void HaploWindow::performEM()': +haplowindow.cpp:683:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 683 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] + 691 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] + 751 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] + 791 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] + 798 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] + 868 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] + 872 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] + 949 | for (int z = 0; z < hap1[i].size(); z++) + | ~~^~~~~~~~~~~~~~~~ In file included from genogroup.cpp:24: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 966 | for (int z2=0; z2::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -2917,7 +2972,12 @@ 34 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -2955,12 +3015,12 @@ options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c impute.cpp In file included from clumpld.cpp:21: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 252 | for (int i=0; i clump_LD::read_assoc_file(std::string)': clumpld.cpp:92:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 92 | for (int f=0; f >::size_type' {aka 'unsigned int'} [-Wsign-compare] 611 | for (int f=1; f<=filename.size(); f++) | ~^~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c metaem.cpp clumpld.cpp:1097:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::map::size_type' {aka 'unsigned int'} [-Wsign-compare] 1097 | if( j < grouped_snps.size()-1) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c impute.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c metaem.cpp -In file included from genoerr.cpp:24: +In file included from em.cpp:24: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from genoerr.cpp:27: +In file included from em.cpp:27: genogroup.h: In member function 'bool MultiLocusGenotype::operator<(const MultiLocusGenotype&) const': genogroup.h:27:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 27 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 34 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 157 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] - 189 | for( int a = 0; a < posshap1.size(); a++ ) - | ~~^~~~~~~~~~~~~~~~~ -genoerr.cpp:190:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 190 | for( int b = 0; b < posshap2.size(); b++ ) - | ~~^~~~~~~~~~~~~~~~~ -genoerr.cpp:225:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 225 | for (int z = 0; z < new_hap1.size(); z++) - | ~~^~~~~~~~~~~~~~~~~ -genoerr.cpp:315:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 315 | for (int z = 0; z < hap1[i].size(); z++) - | ~~^~~~~~~~~~~~~~~~ -genoerr.cpp:328:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 328 | for (int z2=0; z2::size_type' {aka 'unsigned int'} [-Wsign-compare] - 347 | for (int z = 0; z < new_hap1.size(); z++) - | ~~^~~~~~~~~~~~~~~~~ -genoerr.cpp:358:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 358 | for (int z2=0; z2HTEST << setw(8) << haplo->rsq_internal(s,ref) << " "; - | ^ -In file included from em.cpp:24: +In file included from genoerr.cpp:24: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from em.cpp:27: +elf.cpp: In member function 'void Plink::elfBaseline()': +elf.cpp:1154:8: warning: 'p_gcnt' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1154 | ++(*p_gcnt); + | ^~~~~~~~~~~ +elf.cpp:1165:5: warning: 'p_cnt' may be used uninitialized in this function [-Wmaybe-uninitialized] + 1165 | ++(*p_cnt); + | ^~~~~~~~~~ +In file included from em.cpp:28: +phase.h: In member function 'void HaploPhase::reset()': +phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 27 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 34 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 89 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] 166 | for (int z=0; z >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 157 | for (int z=0; z::size_type' {aka 'unsigned int'} [-Wsign-compare] + 189 | for( int a = 0; a < posshap1.size(); a++ ) + | ~~^~~~~~~~~~~~~~~~~ +genoerr.cpp:190:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 190 | for( int b = 0; b < posshap2.size(); b++ ) + | ~~^~~~~~~~~~~~~~~~~ +genoerr.cpp:225:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 225 | for (int z = 0; z < new_hap1.size(); z++) + | ~~^~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c profile.cpp +genoerr.cpp:315:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 315 | for (int z = 0; z < hap1[i].size(); z++) + | ~~^~~~~~~~~~~~~~~~ +genoerr.cpp:328:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 328 | for (int z2=0; z2::size_type' {aka 'unsigned int'} [-Wsign-compare] + 347 | for (int z = 0; z < new_hap1.size(); z++) + | ~~^~~~~~~~~~~~~~~~~ +genoerr.cpp:358:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 358 | for (int z2=0; z2 >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from metaem.cpp:24: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ In file included from impute.cpp:27: genogroup.h: In member function 'bool MultiLocusGenotype::operator<(const MultiLocusGenotype&) const': genogroup.h:27:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -3108,15 +3167,6 @@ genogroup.h:34:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 34 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 27 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 34 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -3130,21 +3180,12 @@ impute.cpp:105:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 105 | for (int z=0; z >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 144 | for (int z=0; z< currentWindow->hap1[i].size(); z++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ impute.cpp:161:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 161 | for (int z=0; z< currentWindow->pp[i].size(); z++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -metaem.cpp: In member function 'void HaploPhase::enumeratePhasedWindows(int)': -metaem.cpp:239:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] - 239 | while (h::size_type' {aka 'unsigned int'} [-Wsign-compare] 263 | for ( int z = 0 ; z < currentWindow->hap1[i].size(); z++) @@ -3152,53 +3193,36 @@ impute.cpp:313:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 313 | for (int s=0; s < g.size(); s++) | ~~^~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c profile.cpp g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c nlist.cpp -In file included from helper.h:24, - from nlist.h:21, - from nlist.cpp:17: +In file included from metaem.cpp:24: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +In file included from metaem.cpp:27: +genogroup.h: In member function 'bool MultiLocusGenotype::operator<(const MultiLocusGenotype&) const': +genogroup.h:27:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 27 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 34 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c whap.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c simul.cpp -nlist.cpp: In member function 'std::vector NList::deparseNumberList(std::string)': -nlist.cpp:38:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 38 | for (int i=0; i NList::deparseStringList(std::string, std::map, int>*)': -nlist.cpp:83:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 83 | for (int i=0; i NList::expandNumberList(std::vector&)': -nlist.cpp:107:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 107 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 124 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 151 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 160 | for (int i=0; i > NList::tokenize(std::string)': -nlist.cpp:189:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] - 189 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] - 239 | if ( s[i]== range_char && i == s.length()-1 ) - | ~~^~~~~~~~~~~~~~~ -nlist.cpp:253:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] - 253 | else if ( i == s.length()-1 ) - | ~~^~~~~~~~~~~~~~~ profile.cpp: In member function 'void Plink::scoreIndividuals()': profile.cpp:303:12: warning: unused variable 'OLD_assoc_glm_without_main_snp' [-Wunused-variable] 303 | bool OLD_assoc_glm_without_main_snp = par::assoc_glm_without_main_snp; @@ -3238,40 +3262,57 @@ profile.cpp:667:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 667 | for (int l=0; l >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -simul.cpp: In function 'vector_t instanceSNP(SimParameters&)': -simul.cpp:172:10: warning: unused variable 'gh_11_12' [-Wunused-variable] - 172 | double gh_11_12 = h11*h12; - | ^~~~~~~~ -simul.cpp: In member function 'void Plink::simulateSNPs()': -simul.cpp:635:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 635 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] - 679 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1146 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] - 1211 | for (int s=0; s NList::deparseNumberList(std::string)': +nlist.cpp:38:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 38 | for (int i=0; i NList::deparseStringList(std::string, std::map, int>*)': +nlist.cpp:83:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 83 | for (int i=0; i NList::expandNumberList(std::vector&)': +nlist.cpp:107:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 107 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 124 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 151 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 160 | for (int i=0; i > NList::tokenize(std::string)': +nlist.cpp:189:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] + 189 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] + 239 | if ( s[i]== range_char && i == s.length()-1 ) + | ~~^~~~~~~~~~~~~~~ +nlist.cpp:253:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} [-Wsign-compare] + 253 | else if ( i == s.length()-1 ) + | ~~^~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c cnv.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c step.cpp In file included from helper.h:24, from whap.cpp:20: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +proxy.cpp:939:58: warning: 'ref' may be used uninitialized in this function [-Wmaybe-uninitialized] + 939 | haplo->HTEST << setw(8) << haplo->rsq_internal(s,ref) << " "; + | ^ In file included from whap.cpp:25: phase.h: In member function 'void HaploPhase::reset()': phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -3302,6 +3343,12 @@ whap.cpp:670:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 670 | for (int s=0; s < conditioner.size(); s++) | ~~^~~~~~~~~~~~~~~~~~~~ +In file included from helper.h:24, + from simul.cpp:16: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ whap.cpp:793:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 793 | if ( p1 != coeff1.size() || p0 != coeff0.size() ) | ~~~^~~~~~~~~~~~~~~~ @@ -3352,6 +3399,10 @@ whap.cpp:1389:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1389 | for (int l=0;l >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1425 | for (int h=0; h < m.group.size(); h++) @@ -3359,13 +3410,36 @@ whap.cpp:1434:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::set::size_type' {aka 'unsigned int'} [-Wsign-compare] 1434 | if ( cnt>0 && cnt2 < m.group[h].size() ) | ~~~~~^~~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c cnv.cpp +simul.cpp: In member function 'void Plink::simulateSNPs()': +simul.cpp:635:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 635 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] + 679 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1146 | for (int s=0; s::size_type' {aka 'unsigned int'} [-Wsign-compare] + 1211 | for (int s=0; s >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +In file included from helper.h:24, + from cnv.cpp:23: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c greport.cpp gvar.cpp: In member function 'void Plink::readGenericVariantData()': gvar.cpp:125:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 125 | for (int l=0; l::size_type' {aka 'unsigned int'} [-Wsign-compare] 403 | for (int i=0; isecond; | ^~ @@ -3403,10 +3478,8 @@ gvar.cpp:556:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 556 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) @@ -3424,6 +3497,7 @@ cnv.cpp:332:15: warning: unused variable 'p2' [-Wunused-variable] 332 | int p1,p2; | ^~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c qualscores.cpp cnv.cpp:678:36: warning: variable 'is' set but not used [-Wunused-but-set-variable] 678 | map::iterator is = idescription.find(*ir); | ^~ @@ -3475,12 +3549,9 @@ cnv.cpp:2290:10: warning: unused variable 'beta' [-Wunused-variable] 2290 | double beta = b[ b.size()-1 ]; | ^~~~ -In file included from helper.h:24, - from step.cpp:18: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c cnvqt.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c cfamily.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c setscreen.cpp In file included from greport.cpp:20: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -3502,20 +3573,19 @@ greport.cpp:169:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 169 | if ( tokens.size() <= snp_column ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ -greport.cpp:240:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 240 | for (int l=0; l< ari->second.size(); l+=2) - | ~^~~~~~~~~~~~~~~~~~~~ -greport.cpp:125:7: warning: unused variable 'cnt' [-Wunused-variable] - 125 | int cnt = 0; - | ^~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c flip.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c qualscores.cpp In file included from helper.h:24, from flip.cpp:24: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +greport.cpp:240:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 240 | for (int l=0; l< ari->second.size(); l+=2) + | ~^~~~~~~~~~~~~~~~~~~~ +greport.cpp:125:7: warning: unused variable 'cnt' [-Wunused-variable] + 125 | int cnt = 0; + | ^~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c idhelp.cpp In file included from helper.h:24, from qualscores.cpp:24: options.h: In member function 'void OptionSet::display()': @@ -3526,22 +3596,19 @@ qualscores.cpp:122:12: warning: unused variable 'nfound' [-Wunused-variable] 122 | long int nfound = 0; | ^~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c cnvqt.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c cfamily.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c setscreen.cpp -In file included from helper.h:24, - from cnvqt.cpp:22: +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c tag.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c hapglm.cpp +In file included from cfamily.cpp:18: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from cfamily.cpp:18: +In file included from helper.h:24, + from cnvqt.cpp:22: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c idhelp.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c tag.cpp cfamily.cpp: In function 'int mCount(Individual*, Individual*)': cfamily.cpp:205:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 205 | for (int i = 0 ; i < inds.size() ; i++) @@ -3580,7 +3647,6 @@ setscreen.cpp:196:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 196 | for (int i=0; i < snpset[j].size(); i++) | ~~^~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c hapglm.cpp In file included from idhelp.cpp:18: idhelp.h: In member function 'void IDGroup::display()': idhelp.h:196:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -3598,7 +3664,6 @@ idhelp.cpp:63:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 63 | for (int i=0; i >&)': idhelp.cpp:136:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 136 | for (int g=0; gvalues.size(); g++) @@ -3628,6 +3693,12 @@ idhelp.cpp:214:26: warning: unused variable 'jo' [-Wunused-variable] 214 | vector & jo = jointOrder[j]; | ^~ +In file included from helper.h:24, + from hapglm.cpp:20: +options.h: In member function 'void OptionSet::display()': +options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ idhelp.cpp: In member function 'std::set IDHelper::findAllIndividuals(std::map >&)': idhelp.cpp:346:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 346 | for ( int g = 0 ; g < idgroup.size(); g++ ) @@ -3690,6 +3761,11 @@ idhelp.cpp:808:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 808 | for ( int j = 0 ; j < files[f].fields.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from hapglm.cpp:25: +phase.h: In member function 'void HaploPhase::reset()': +phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 836 | for (int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ @@ -3729,7 +3805,6 @@ idhelp.cpp:1028:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1028 | for (int j = 0 ; j < group->values.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c blox.cpp idhelp.cpp:1031:14: warning: unused variable 'v' [-Wunused-variable] 1031 | IDValue & v = *(group->values[j]); | ^ @@ -3739,12 +3814,6 @@ idhelp.cpp:1085:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1085 | for (int j = 0 ; j < group->values.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ -In file included from helper.h:24, - from hapglm.cpp:20: -options.h: In member function 'void OptionSet::display()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ idhelp.cpp:1110:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 1110 | for ( int j = 0; j < group->values.size(); j++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~ @@ -3822,12 +3891,6 @@ idhelp.cpp:1856:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1856 | for (int s=0; s< par::idhelp_match_string.size(); s+=2) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c zed.cpp -In file included from hapglm.cpp:25: -phase.h: In member function 'void HaploPhase::reset()': -phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 1903 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] 2201 | for (int k = 0 ; k < thisLine.size() ; k++ ) | ~~^~~~~~~~~~~~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c dosage.cpp idhelp.cpp: In member function 'void IDHelper::idDump()': idhelp.cpp:2229:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2229 | for ( int g = 0 ; g < idgroup.size(); g++ ) @@ -3877,6 +3939,10 @@ idhelp.cpp:2234:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 2234 | for (int j = 0 ; j < group->values.size(); j++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c lookup2.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c blox.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c zed.cpp +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c dosage.cpp In file included from helper.h:24, from lookup2.cpp:18: options.h: In member function 'void OptionSet::display()': @@ -3896,22 +3962,29 @@ lookup2.cpp:325:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 325 | for (int t = 0 ; t < tokens.size() ; t++) | ~~^~~~~~~~~~~~~~~ -In file included from helper.h:24, - from zed.cpp:19: +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c annot.cpp +In file included from blox.cpp:20: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from dosage.cpp:20: +In file included from helper.h:24, + from zed.cpp:19: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from blox.cpp:20: +In file included from dosage.cpp:20: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c metaanal.cpp +In file included from blox.cpp:23: +phase.h: In member function 'void HaploPhase::reset()': +phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -3921,9 +3994,38 @@ dosage.cpp:110:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 110 | for ( int q = 0 ; q < qthresh.size() ; q++) | ~~^~~~~~~~~~~~~~~~ +blox.cpp: In member function 'std::map > Plink::mkBlks(int, int)': +blox.cpp:147:11: warning: unused variable 'nsnps' [-Wunused-variable] + 147 | int nsnps = toPosition - fromPosition + 1; + | ^~~~~ +blox.cpp:156:11: warning: unused variable 'numStrong' [-Wunused-variable] + 156 | int numStrong = 0; + | ^~~~~~~~~ +blox.cpp:157:11: warning: unused variable 'numRec' [-Wunused-variable] + 157 | int numRec = 0; + | ^~~~~~ +blox.cpp:158:11: warning: unused variable 'numInGroup' [-Wunused-variable] + 158 | int numInGroup = 0; + | ^~~~~~~~~~ +blox.cpp:226:11: warning: unused variable 'cnt' [-Wunused-variable] + 226 | int cnt = 0; + | ^~~ +blox.cpp:418:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] + 418 | for (int k=0; k::size_type' {aka 'unsigned int'} [-Wsign-compare] + 427 | for (int k=0; k >::size_type' {aka 'unsigned int'} [-Wsign-compare] 513 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 548 | for (int f = 0 ; f < vzin.size() ; f++ ) | ~~^~~~~~~~~~~~~ @@ -3938,11 +4040,6 @@ | ~~^~~~~~~~~~~~~~~~~~~~~ dosage.cpp:750:24: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'unsigned int'} and '__gnu_cxx::__alloc_traits, int>::value_type' {aka 'int'} [-Wsign-compare] 750 | if ( tok.size() != expected[f] ) -In file included from blox.cpp:23: -phase.h: In member function 'void HaploPhase::reset()': -phase.h:252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'unsigned int'} [-Wsign-compare] 989 | for (int q=0; q > Plink::mkBlks(int, int)': -blox.cpp:147:11: warning: unused variable 'nsnps' [-Wunused-variable] - 147 | int nsnps = toPosition - fromPosition + 1; - | ^~~~~ -blox.cpp:156:11: warning: unused variable 'numStrong' [-Wunused-variable] - 156 | int numStrong = 0; - | ^~~~~~~~~ -blox.cpp:157:11: warning: unused variable 'numRec' [-Wunused-variable] - 157 | int numRec = 0; - | ^~~~~~ -blox.cpp:158:11: warning: unused variable 'numInGroup' [-Wunused-variable] - 158 | int numInGroup = 0; - | ^~~~~~~~~~ -blox.cpp:226:11: warning: unused variable 'cnt' [-Wunused-variable] - 226 | int cnt = 0; - | ^~~ -blox.cpp:418:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] - 418 | for (int k=0; k::size_type' {aka 'unsigned int'} [-Wsign-compare] - 427 | for (int k=0; k >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -3997,9 +4067,33 @@ annot.cpp:83:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 83 | for (int j=1; j=nel)?0:cont[i]; } + | ~^~~~~ +Rconnection.h: In member function 'void Rstrings::decode()': +Rconnection.h:245:16: warning: comparison of integer expressions of different signedness: 'int' and 'Rsize_t' {aka 'unsigned int'} [-Wsign-compare] + 245 | while (i < len) { if (!c[i]) nel++; i++; } + | ~~^~~~~ +Rconnection.h:249:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] + 249 | while (i < nel) { + | ~~^~~~~ annot.cpp:149:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 149 | for (int i=0; i >::size_type' {aka 'unsigned int'} and 'int' [-Wsign-compare] 250 | if ( tokens.size() <= chr_column || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ @@ -4015,21 +4109,13 @@ annot.cpp:300:9: warning: unused variable 'include' [-Wunused-variable] 300 | bool include = false; | ^~~~~~~ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c metaanal.cpp -blox.cpp:569:41: warning: 'pB2' may be used uninitialized in this function [-Wmaybe-uninitialized] - 569 | if ( pB1>0 ) loglike1 += knownBA * log( pB1 ); - | ~~~^~~~~~~ -blox.cpp:505:10: warning: 'pB1' may be used uninitialized in this function [-Wmaybe-uninitialized] - 505 | double p1 = pA1 + pB1; - | ^~ -blox.cpp:503:10: warning: 'pA2' may be used uninitialized in this function [-Wmaybe-uninitialized] - 503 | double pA = pA1 + pA2; - | ^~ -blox.cpp:510:10: warning: 'pA1' may be used uninitialized in this function [-Wmaybe-uninitialized] - 510 | double D = pA1 - (pA*p1); - | ^ -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c r.cpp -g++ -Wall -g -fdebug-prefix-map=/build/plink-1.07+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -DWITH_R_PLUGINS -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -DUNIX -O3 -c Rconnection.cpp +Rconnection.cpp: In destructor 'virtual Rconnection::~Rconnection()': +Rconnection.cpp:567:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 567 | if (host) free(host); host=0; + | ^~ +Rconnection.cpp:567:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 567 | if (host) free(host); host=0; + | ^~~~ In file included from metaanal.cpp:21: options.h: In member function 'void OptionSet::display()': options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] @@ -4079,38 +4165,6 @@ metaanal.cpp:680:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'unsigned int'} [-Wsign-compare] 680 | for (int f=0; f=nel)?0:cont[i]; } - | ~^~~~~ -Rconnection.h: In member function 'void Rstrings::decode()': -Rconnection.h:245:16: warning: comparison of integer expressions of different signedness: 'int' and 'Rsize_t' {aka 'unsigned int'} [-Wsign-compare] - 245 | while (i < len) { if (!c[i]) nel++; i++; } - | ~~^~~~~ -Rconnection.h:249:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] - 249 | while (i < nel) { - | ~~^~~~~ -Rconnection.cpp: At global scope: -Rconnection.cpp:56:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 56 | static char *myID= "Rsrv0103QAP1"; /* this client supports up to protocol version 0103 */ - | ^~~~~~~~~~~~~~ -Rconnection.cpp: In destructor 'virtual Rconnection::~Rconnection()': -Rconnection.cpp:567:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 567 | if (host) free(host); host=0; - | ^~ -Rconnection.cpp:567:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 567 | if (host) free(host); host=0; - | ^~~~ In file included from helper.h:24, from r.cpp:19: options.h: In member function 'void OptionSet::display()': @@ -4141,6 +4195,18 @@ r.cpp:330:8: warning: unused variable 'ct' [-Wunused-variable] 330 | int ct = data->length(); | ^~ +blox.cpp:569:41: warning: 'pB2' may be used uninitialized in this function [-Wmaybe-uninitialized] + 569 | if ( pB1>0 ) loglike1 += knownBA * log( pB1 ); + | ~~~^~~~~~~ +blox.cpp:505:10: warning: 'pB1' may be used uninitialized in this function [-Wmaybe-uninitialized] + 505 | double p1 = pA1 + pB1; + | ^~ +blox.cpp:503:10: warning: 'pA2' may be used uninitialized in this function [-Wmaybe-uninitialized] + 503 | double pA = pA1 + pA2; + | ^~ +blox.cpp:510:10: warning: 'pA1' may be used uninitialized in this function [-Wmaybe-uninitialized] + 510 | double D = pA1 - (pA*p1); + | ^ r.cpp:380:9: warning: 'rCov' may be used uninitialized in this function [-Wmaybe-uninitialized] 380 | delete rCov; | ^~~~ @@ -4200,20 +4266,22 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'plink-dbgsym' in '../plink-dbgsym_1.07+dfsg-3_i386.deb'. dpkg-deb: building package 'plink' in '../plink_1.07+dfsg-3_i386.deb'. +dpkg-deb: building package 'plink-dbgsym' in '../plink-dbgsym_1.07+dfsg-3_i386.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../plink_1.07+dfsg-3_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/18000/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18000/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/9616 and its subdirectories -I: Current time: Thu Jun 10 23:53:01 -12 2021 -I: pbuilder-time-stamp: 1623412381 +I: removing directory /srv/workspace/pbuilder/18000 and its subdirectories +I: Current time: Fri Jul 15 08:17:58 +14 2022 +I: pbuilder-time-stamp: 1657822678