Diff of the two buildlogs: -- --- b1/build.log 2023-08-04 16:19:49.980953018 +0000 +++ b2/build.log 2023-08-04 16:33:51.144244130 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Aug 4 04:01:42 -12 2023 -I: pbuilder-time-stamp: 1691164902 +I: Current time: Fri Sep 6 12:42:53 +14 2024 +I: pbuilder-time-stamp: 1725576173 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.ChuZP6fo/trustedkeys.kbx': General error -gpgv: Signature made Sat Jan 4 20:03:31 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.f5nU1PAk/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,135 +32,166 @@ dpkg-source: info: applying Fix_spelling_error.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2134238/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3478974/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 6 12:43 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3478974/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3478974/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='735f416bab444757b1bcead08192c5f0' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2134238' - PS1='# ' - PS2='> ' + INVOCATION_ID=13d0196e1a9446acac1c4accc2f68db8 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3478974 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.iRX0uJwd/pbuilderrc_DXbk --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iRX0uJwd/b1 --logfile b1/build.log plink_1.07+dfsg-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - 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/r-b-build.iRX0uJwd/pbuilderrc_x5XC --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iRX0uJwd/b2 --logfile b2/build.log plink_1.07+dfsg-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jan 20 2022 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jan 20 2022 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jan 20 2022 more - -rwsr-xr-x 1 root root 55528 Jan 20 2022 mount - -rwxr-xr-x 1 root root 18664 Jan 20 2022 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 6 21:24 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jan 20 2022 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jan 20 2022 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jan 20 2022 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/2134238/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jan 21 2022 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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jan 21 2022 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jan 21 2022 more + -rwsr-xr-x 1 root root 55528 Jan 21 2022 mount + -rwxr-xr-x 1 root root 18664 Jan 21 2022 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Sep 6 12:43 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jan 21 2022 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jan 21 2022 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jan 21 2022 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3478974/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -230,7 +261,7 @@ Get: 30 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2+deb11u2 [191 kB] -Fetched 18.5 MB in 1s (25.4 MB/s) +Fetched 18.5 MB in 1s (25.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 ... 19707 files and directories currently installed.) @@ -379,7 +410,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../plink_1.07+dfsg-3_source.changes +I: user script /srv/workspace/pbuilder/3478974/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/3478974/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../plink_1.07+dfsg-3_source.changes dpkg-buildpackage: info: source package plink dpkg-buildpackage: info: source version 1.07+dfsg-3 dpkg-buildpackage: info: source distribution unstable @@ -391,7 +426,7 @@ debian/rules override_dh_auto_clean make[1]: Entering directory '/build/plink-1.07+dfsg' dh_auto_clean - make -j15 clean + make -j16 clean make[2]: Entering directory '/build/plink-1.07+dfsg' rm -f *.o *~ make[2]: Leaving directory '/build/plink-1.07+dfsg' @@ -406,7 +441,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 -j15 "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 -j16 "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 @@ -424,74 +459,172 @@ 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 -In file included from plink.cpp:28: +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 +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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from tinput.cpp:24: +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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from options.cpp:16: +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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from output.cpp:23: +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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] + 579 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 595 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 611 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 631 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 695 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 787 | for (int i=0; i >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] + 821 | for (int i0=0; i0::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 897 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 927 | for ( int i=2; i >::size_type' {aka 'long 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 'long unsigned int'} and 'int' [-Wsign-compare] + 965 | if (tokens.size() < 2+par::mult_pheno) + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +input.cpp:1037:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1037 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1043 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1064 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1208 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1232 | for (int i=0; i >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 1256 | if (tokens.size() < 2+par::mult_covar) + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +input.cpp:1261:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1261 | for (int i0=0; i0::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1335 | for (int i=0; i >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 1374 | else if (tokens.size() != par::clist_number + 2 ) + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +input.cpp:1519:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1519 | for (int c=0; c::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1538 | for (int c=0; c::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1572 | for (int i=0; i >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 1599 | else if (tokens.size() != par::plist_number + 2 ) + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +input.cpp:1602:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1602 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1745 | for (int c=0; c::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1764 | for (int c=0; c::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1792 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 161 | for (int i=0; i&, std::vector&, int&)': +input.cpp:2116:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2116 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 218 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2172 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 246 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2200 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 256 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2210 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 261 | if ( (!par::plink) && (!par::run_chr==0) && nl_actual < locus.size() ) +input.cpp:2215:57: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2215 | if ( (!par::plink) && (!par::run_chr==0) && nl_actual < locus.size() ) | ~~~~~~~~~~^~~~~~~~~~~~~~ -tinput.cpp:271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 271 | for(int l=0; l < locus.size(); l++) +input.cpp:2225:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2225 | for(int l=0; l < locus.size(); l++) | ~~^~~~~~~~~~~~~~ -tinput.cpp:309:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 309 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 603 | if ( gn != 2 * sample.size() ) - | ~~~^~~~~~~~~~~~~~~~~~~~ -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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 196 | for (int k=0; k::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2389 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2397 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2419 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2453 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2471 | 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 'long unsigned int'} [-Wsign-compare] 295 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 304 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 84 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 357 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 372 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 86 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 89 | for (int k=0; k >::size_type' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -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; - | ^~~~ -In file included from mds.cpp:21: + 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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from filters.cpp:24: +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 +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 'long 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: +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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 520 | for (int s=0; s::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 526 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 553 | for (int l=0; l&, std::vector&, std::vector >&)': -stats.cpp:458:18: warning: unused variable 'k' [-Wunused-variable] - 458 | int m,l,iter,i,k; - | ^ -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) - | ~~~~~~~~~~~~~~~~~~~~ -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; - | ^~~ -binput.cpp: In member function 'void Plink::readBinData()': -binput.cpp:126:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 126 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 157 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 176 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 186 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 261 | while (s::size_type' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 1531 | for (int i = 0; i < v.size(); i++) - | ~~^~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 516 | if ( i == include.size() ) - | ~~^~~~~~~~~~~~~~~~~ -binput.cpp:339:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 339 | while (s::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 351 | while (c<7 && s::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 398 | for(int l=0; l < locus.size(); l++) - | ~~^~~~~~~~~~~~~~ -input.cpp:521:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 579 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -input.cpp:595:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 595 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 611 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 631 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 95 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 123 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 132 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 155 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 190 | for (int i1=0; i1::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 191 | for (int i2=0; i2::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 163 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 198 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2106 | for (int i=0;i >&)': helper.cpp:58:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 58 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ helper.cpp: In function 'std::string displayLine(std::vector >&)': helper.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 66 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 695 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 76 | for (int i=0; i< m.size(); i++) @@ -722,93 +689,66 @@ helper.cpp:100:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 100 | for (int i=0; i< m.size(); i++) | ~^~~~~~~~~~ -output.cpp: In member function 'void Plink::keep2SetsForGenome()': -output.cpp:788:7: warning: unused variable 'n_removed' [-Wunused-variable] - 788 | int n_removed = deleteIndividuals(del); - | ^~~~~~~~~ -filters.cpp:273:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 273 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2359 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2362 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2366 | for (int l=0; l >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 591 | for (int i=0; i >::size_type' {aka 'long 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; + | ^~~~~~~ +genome.cpp:81:14: warning: unused variable 'tothet' [-Wunused-variable] + 81 | double tothet = 0; + | ^~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 161 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 218 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 611 | for (int i=0; i::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 279 | if ( elist.size() != par::cluster_mds_dim ) - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -In file included from informative.cpp:18: +tinput.cpp:246:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 246 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 256 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 261 | if ( (!par::plink) && (!par::run_chr==0) && nl_actual < locus.size() ) + | ~~~~~~~~~~^~~~~~~~~~~~~~ +tinput.cpp:271:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 271 | for(int l=0; l < locus.size(); l++) + | ~~^~~~~~~~~~~~~~ +tinput.cpp:309:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 309 | for (int i=0; i::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] + 603 | if ( gn != 2 * sample.size() ) + | ~~~^~~~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 787 | for (int i=0; i::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 762 | for ( int i = 0 ; i < sample.size() ; i++ ) - | ~~^~~~~~~~~~~~~~~ -input.cpp:817:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 821 | for (int i0=0; i0::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 897 | for (int i=0; ifreq * ( 1 - locus[l]->freq ); + | ^~ helper.cpp: In member function 'void CArgs::fromPriorLog(std::string)': helper.cpp:193:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 193 | for (int t=0; t >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 927 | for ( int i=2; i > CArgs::value(std::string, int)': helper.cpp:267:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 267 | if ( (i+j) < a.size() ) | ~~~~~~^~~~~~~~~~ -input.cpp:961:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 961 | else if ( ccount != tokens.size() ) - | ~~~~~~~^~~~~~~~~~~~~~~~ -genome.cpp: In member function 'void Plink::calcStratifiedAlleleFreqs()': -genome.cpp:99:8: warning: unused variable 'geno_nm' [-Wunused-variable] - 99 | int geno_nm = 0; - | ^~~~~~~ -input.cpp:965:25: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 965 | if (tokens.size() < 2+par::mult_pheno) - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ helper.cpp:277:16: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 277 | if (r.size() != c) error("Not enough arguments given for option: "+s+" "); | ~~~~~~~~~^~~~ -genome.cpp:81:14: warning: unused variable 'tothet' [-Wunused-variable] - 81 | double tothet = 0; - | ^~~~~~ helper.cpp: In function 'std::vector > parse2str(std::string)': helper.cpp:306:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 306 | for (int i=0 ; i < s.length() ; i++) @@ -823,60 +763,6 @@ helper.cpp:323:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 323 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1037 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1043 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1064 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1208 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1232 | for (int i=0; i >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 1256 | if (tokens.size() < 2+par::mult_covar) - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -input.cpp:1261:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1261 | for (int i0=0; i0::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1078 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1091 | for (int l=0; lfreq * ( 1 - locus[l]->freq ); - | ^~ -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 'long unsigned int'} [-Wsign-compare] - 1335 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 461 | for (int i=1; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1143 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1165 | for ( int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 272 | for (int z=1; z<=qt.size(); z++) - | ~^~~~~~~~~~~ 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; @@ -887,9 +773,63 @@ genome.cpp:848:10: warning: unused variable 'e21' [-Wunused-variable] 848 | double e21 = E21*S; | ^~~ -input.cpp:1374:30: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 1374 | else if (tokens.size() != par::clist_number + 2 ) - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 84 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 86 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 89 | for (int k=0; k >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 461 | for (int i=1; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1227 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 80 | for ( int i = 4; i::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; + | ^~~~ +In file included from mds.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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +genome.cpp:1189:7: warning: unused variable 'win_end' [-Wunused-variable] + 1189 | int win_end = win_start + par::prune_ld_win; + | ^~~~~~~ +informative.cpp:102:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 102 | if ( col_length != tokens.size() ) + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 520 | for (int s=0; s::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 526 | for (int l=0; l >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 105 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 553 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] 595 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 611 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 659 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 664 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 95 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 123 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 132 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 155 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 163 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 198 | 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 'long unsigned int'} [-Wsign-compare] - 80 | for ( int i = 4; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 729 | for (int h=0; h >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 105 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 775 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 795 | for (int s = 0 ; s < snps.size() ; s++) | ~~^~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 1227 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 452 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 511 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] 952 | if ( c < 0 || c >= par::chr_code.size() ) | ~~^~~~~~~~~~~~~~~~~~~~~~~ -cluster.cpp:492:8: warning: unused variable 'size' [-Wunused-variable] - 492 | int size = peeps.size(); - | ^~~~ helper.cpp: In function 'int getMarkerChromosome(Plink&, std::string)': helper.cpp:959:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 959 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 973 | for (int l=0;l >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 626 | for ( int i = 4; i getChromosomeMarkerRange(Plink&, int)': helper.cpp:989:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 989 | for (int i=0;i >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 651 | 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 'long unsigned int'} [-Wsign-compare] 1040 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 784 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 786 | for (int j=0;j >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 273 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 591 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ helper.cpp: In function 'void checkFileExists(std::vector >)': helper.cpp:1172:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1172 | for (int k=0; k >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2200 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 611 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 190 | for (int i1=0; i1::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 191 | for (int i2=0; i2 >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ helper.cpp: In member function 'void Plink::prettyPrintLengths()': helper.cpp:1264:35: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1264 | if (sample[i]->fid.length() > par::pp_maxfid) @@ -1017,57 +965,217 @@ helper.cpp:1391:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1391 | for (int j=0; j::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] + 762 | for ( int i = 0 ; i < sample.size() ; i++ ) + | ~~^~~~~~~~~~~~~~~ +mds.cpp:279:21: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long 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); + | ^~~~ +filters.cpp:1078:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1078 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1091 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1143 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1165 | for ( int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +filters.cpp:1257:7: warning: unused variable 'tmp' [-Wunused-variable] + 1257 | int tmp = deleteSNPs(del); + | ^~~ +binput.cpp: In member function 'void Plink::readBinData()': +binput.cpp:126:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 126 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 157 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 176 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 186 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 261 | while (s::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 339 | while (s::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 351 | while (c<7 && s::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 398 | for(int l=0; l < locus.size(); l++) + | ~~^~~~~~~~~~~~~~ +filters.cpp: In member function 'void Plink::thinSNPs()': +filters.cpp:1277:7: warning: unused variable 'x' [-Wunused-variable] + 1277 | int x = 0; + | ^ +output.cpp: In member function 'void Plink::outputSetFile()': +output.cpp:2200:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2200 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 272 | for (int z=1; z<=qt.size(); z++) + | ~^~~~~~~~~~~ output.cpp:2322:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2322 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 919 | for (int k=0;k >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2367 | for (int i=0; i < setname.size();i++) | ~~^~~~~~~~~~~~~~~~ -input.cpp:1519:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1519 | for (int c=0; c >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2380 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2409 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2412 | for (int l=0; l&)': +helper.cpp:2204:12: warning: unused variable 'i' [-Wunused-variable] + 2204 | int i = 0; + | ^ +helper.cpp: In member function 'void Plink::filterOnCovariate()': +helper.cpp:2455:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2455 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2462 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2491 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2510 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2530 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2549 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2568 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2587 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2606 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 452 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 511 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 626 | for ( int i = 4; i >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] + 651 | 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; + | ^ +helper.cpp: In member function 'void Plink::attribFilterSNP()': +helper.cpp:2638:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2638 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 784 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 786 | for (int j=0;j > msqrt(std::vector >&)': +stats.cpp:906:16: warning: unused variable 'eps' [-Wunused-variable] + 906 | const double eps = 1e-12; + | ^~~ +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 'long unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 919 | for (int k=0;k >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 954 | for (int i=0; i::size_type' {aka 'long 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 'long 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] + 1531 | for (int i = 0; i < v.size(); i++) + | ~~^~~~~~~~~~ cluster.cpp:955:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 955 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1538 | for (int c=0; c >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 975 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2409 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1572 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 976 | for (int j=i+1; j::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 990 | (( cl[i].size()+cl[j].size()) <= par::max_cluster_size) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -output.cpp:2412:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2412 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1038 | for(int j=0;j >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 1599 | else if (tokens.size() != par::plist_number + 2 ) - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cluster.cpp:1041:33: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1041 | if (cl.size()==1 || cl.size()==par::max_cluster_N) done=true; | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ @@ -1080,9 +1188,6 @@ cluster.cpp:1060:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1060 | for (int j1=0; j1 >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1602 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1061 | for (int j2=0; j2::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1169 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1745 | for (int c=0; c::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1764 | for (int c=0; c::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1792 | 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 'long unsigned int'} [-Wsign-compare] 1203 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1291 | for (int j=0; j >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2671 | for (int j=1; j >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1643 | for ( int i = 4; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2722 | for (int i=0; i >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] 1664 | for (int i=0;i&, std::vector&, int&)': -input.cpp:2116:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2116 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2172 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2200 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2210 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2215 | if ( (!par::plink) && (!par::run_chr==0) && nl_actual < locus.size() ) - | ~~~~~~~~~~^~~~~~~~~~~~~~ -input.cpp:2225:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2225 | for(int l=0; l < locus.size(); l++) - | ~~^~~~~~~~~~~~~~ -input.cpp: In member function 'void Plink::readFamFile(std::string)': -input.cpp:2389:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2389 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 196 | for (int k=0; k::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2397 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2419 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2453 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2471 | for (int i=0; i&)': -helper.cpp:2204:12: warning: unused variable 'i' [-Wunused-variable] - 2204 | int i = 0; - | ^ -helper.cpp: In member function 'void Plink::filterOnCovariate()': -helper.cpp:2455:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2455 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2462 | for (int j=0; j::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2491 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2510 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2530 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2549 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2568 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2587 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2606 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2638 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2671 | for (int j=1; j >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2722 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2756 | for (int j=1; j >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 146 | for (int e=0;e::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 154 | for (int e=0;e::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 161 | for (int e=0;e::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2106 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2359 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2362 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2366 | for (int l=0; l >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -1335,9 +1323,6 @@ assoc.cpp:395:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] 741 | for (int j=0; jselectedSNPs[l].size(); j++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1350,25 +1335,70 @@ assoc.cpp:788:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 788 | for (int j=0;jpv_set[i].size();j++) | ~^~~~~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ 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 ; | ^~~~ +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 'long unsigned int'} [-Wsign-compare] + 146 | for (int e=0;e::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 154 | for (int e=0;e::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 161 | for (int e=0;e >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +helper.cpp: In member function 'std::string CArgs::value(std::string)': +helper.cpp:218:35: warning: control reaches end of non-void function [-Wreturn-type] + 218 | error("Missing an argument for "+s); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +helper.cpp: In member function 'int CArgs::value_int(std::string)': +helper.cpp:231:35: warning: control reaches end of non-void function [-Wreturn-type] + 231 | error("Missing an argument for "+s); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +helper.cpp: In member function 'long unsigned int CArgs::value_lui(std::string)': +helper.cpp:243:35: warning: control reaches end of non-void function [-Wreturn-type] + 243 | error("Missing an argument for "+s); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +helper.cpp: In member function 'double CArgs::value_double(std::string)': +helper.cpp:255:35: warning: control reaches end of non-void function [-Wreturn-type] + 255 | error("Missing an argument for "+s); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +helper.cpp: In function 'int getInt(std::string, std::string)': +helper.cpp:378:48: warning: control reaches end of non-void function [-Wreturn-type] + 378 | error("Not valid integer argument for : "+a+" [ "+s+" ]"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +helper.cpp: In function 'long unsigned int getLongUnsignedInt(std::string, std::string)': +helper.cpp:391:48: warning: control reaches end of non-void function [-Wreturn-type] + 391 | error("Not valid integer argument for : "+a+" [ "+s+" ]"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ +helper.cpp: In function 'double getDouble(std::string, std::string)': +helper.cpp:404:48: warning: control reaches end of non-void function [-Wreturn-type] + 404 | error("Not valid numeric argument for : "+a+" [ "+s+" ]"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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 'long unsigned int'} [-Wsign-compare] 252 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ prephap.cpp: In member function 'void HaploPhase::readTagFile()': prephap.cpp:226:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (len != tokens.size() - offset ) @@ -1396,6 +1426,11 @@ 560 | for (int i=0; i >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] @@ -1448,13 +1483,7 @@ phase.cpp:1888:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1888 | for (int z = 0; z < h1.size(); z++) | ~~^~~~~~~~~~~ -output.cpp: In member function 'void Plink::display_pairList()': -output.cpp:144:65: warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized] - 144 | << setw(par::pp_maxfid+par::pp_maxiid) << genotype(*this,i1,l) << " " - | ^ -output.cpp:145:65: warning: 'i2' may be used uninitialized in this function [-Wmaybe-uninitialized] - 145 | << setw(par::pp_maxfid+par::pp_maxiid) << genotype(*this,i2,l) << " " - | ^ +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 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 'long unsigned int'} [-Wsign-compare] @@ -1464,7 +1493,13 @@ trio.cpp:91:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 91 | for (int c=0; ckid.size(); c++) | ~^~~~~~~~~~~~~~ -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_pairList()': +output.cpp:144:65: warning: 'i1' may be used uninitialized in this function [-Wmaybe-uninitialized] + 144 | << setw(par::pp_maxfid+par::pp_maxiid) << genotype(*this,i1,l) << " " + | ^ +output.cpp:145:65: warning: 'i2' may be used uninitialized in this function [-Wmaybe-uninitialized] + 145 | << setw(par::pp_maxfid+par::pp_maxiid) << genotype(*this,i2,l) << " " + | ^ trio.cpp: In member function 'void Plink::parseTrios()': trio.cpp:258:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 258 | for (int k=0; kkid.size(); k++) @@ -1529,12 +1564,6 @@ trio.cpp:1245:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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 sharing.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 genepi.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 'long unsigned int'} [-Wsign-compare] @@ -1584,25 +1613,28 @@ tdt.cpp:776:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 776 | for (int f=0; f >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 102 | for (int l=0; l 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 ) ); | ~~~~~^~~~~~~~~~ +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 sets.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 genepi.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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +In file included from perm.h:17, + from sharing.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 'long 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 | } @@ -1628,6 +1660,10 @@ genepi.cpp:507:10: warning: unused variable 'ne' [-Wunused-variable] 507 | int ne = n1 < n2 ? n1 : n2; | ^~ +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 'long unsigned int'} [-Wsign-compare] + 102 | for (int l=0; l >&, Set&, Plink&)': genepi.cpp:1025:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1025 | for (int l=0; l >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +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)) ; + | ~~~^~~~~~~~~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] @@ -1764,6 +1798,8 @@ sets.cpp:1042:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1042 | for (int i=0; isnpset[l].size();j++) | ~^~~~~~~~~~~~~~~~~~~~~~~~ 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] + 340 | for (int k=0; kkids.size(); k++) + | ~^~~~~~~~~~~~~~~~~~~~ +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 'long 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 genedrop.cpp 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 'long unsigned int'} [-Wsign-compare] 747 | 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 'long unsigned int'} [-Wsign-compare] 1249 | for (int i=0; i >::size_type' {aka 'long 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 'long 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 'long 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 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 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 'long 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 hotel.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]; - | ^ 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 'long 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 multiple.cpp merge.cpp: In member function 'void Plink::mergeData()': merge.cpp:333:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 333 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 842 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -1883,13 +1913,17 @@ hotel.cpp:173:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 173 | for (int s=0; s >&, 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]; + | ^ In file included from helper.h:24, from multiple.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 'long 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 +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 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 'long unsigned int'} [-Wsign-compare] 85 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] 131 | for (int i=0; i >::size_type' {aka 'long 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 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 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 'long unsigned int'} [-Wsign-compare] 252 | for (int i=0; i&, int, bool)': haploCC.cpp:48:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 48 | for (int z = 0 ; z < hap1[i].size(); z++) @@ -1937,12 +1974,29 @@ 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 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 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 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 'long 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 'long unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] 93 | for (int f=0; f >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 198 | for (int j=0;jpv_set[i].size();j++) | ~^~~~~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 117 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 130 | if ( i < tokens.size()-1 ) + | ~~^~~~~~~~~~~~~~~~~ poo.cpp: In member function 'std::vector Plink::testTDT_POO(bool, bool, Perm&, std::vector&, std::vector&)': poo.cpp:293:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 293 | for (int f=0; f >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 146 | if ( i < tokens.size()-1 ) + | ~~^~~~~~~~~~~~~~~~~ +webcheck.cpp:180:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 180 | if ( i < tokens.size() - 1) + | ~~^~~~~~~~~~~~~~~~~~~ +webcheck.cpp:218:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 218 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 328 | for (int c=0; c >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i >::size_type' {aka 'long 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 -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] 82 | for (int k=0; k < (*f)->kid.size() ;k++) @@ -2020,57 +2069,21 @@ qfam.cpp:639:10: warning: unused variable 'tc' [-Wunused-variable] 639 | int tc = 0; | ^~ -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 'long unsigned int'} [-Wsign-compare] - 117 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 130 | if ( i < tokens.size()-1 ) - | ~~^~~~~~~~~~~~~~~~~ -webcheck.cpp:146:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 146 | if ( i < tokens.size()-1 ) - | ~~^~~~~~~~~~~~~~~~~ -webcheck.cpp:180:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 180 | if ( i < tokens.size() - 1) - | ~~^~~~~~~~~~~~~~~~~~~ -webcheck.cpp:218:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 218 | for (int i=0; i >::size_type' {aka 'long 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 merge.cpp: In member function 'bool Plink::reconcileMerge(int, int, std::string, std::string, bool, bool, std::ofstream&, std::map, int>&)': merge.cpp:1103:3: warning: 'write' may be used uninitialized in this function [-Wmaybe-uninitialized] 1103 | if (write) | ^~ -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 'long unsigned int'} [-Wsign-compare] - 50 | for (int i=0; i >::size_type' {aka 'long 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 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 mishap.cpp bmerge.cpp: In member function 'void Plink::mergeBinaryData()': bmerge.cpp:90:16: warning: variable 'inc' set but not used [-Wunused-but-set-variable] 90 | long int inc; | ^~~ -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ bmerge.cpp:357:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 357 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 417 | for (int l=0;l >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ bmerge.cpp:440:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 440 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 883 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 50 | for (int i=0; i >::size_type' {aka 'long 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 model.cpp +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 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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] @@ -2123,6 +2170,12 @@ mishap.cpp:236:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 236 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ +In file included from helper.h:24, + from homozyg.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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ mishap.cpp:349:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 349 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ @@ -2130,7 +2183,7 @@ 373 | for (int z = 0 ; z < haplo->hap1[i].size(); z++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from helper.h:24, - from homozyg.cpp:23: + from legacy.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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) @@ -2173,19 +2226,40 @@ homozyg.cpp:1461:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1461 | for (int i=0; i < (*pA)->group.size() ; i++) | ~~^~~~~~~~~~~~~~~~~~~~~ -In file included from helper.h:24, - from legacy.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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ 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; +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) + | ^~ +segment.cpp:875:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 875 | SIBS << setw(10) << original[l] << " " + | ^~~~ +segment.cpp: In member function 'void Plink::testGenomeIBDByCovariate(Perm&)': +segment.cpp:954:15: warning: unused variable 'p1' [-Wunused-variable] + 954 | Individual * p1 = sample[i1]; + | ^~ +segment.cpp:955:15: warning: unused variable 'p2' [-Wunused-variable] + 955 | Individual * p2 = sample[i2]; + | ^~ +segment.cpp:1027:19: warning: unused variable 'p1' [-Wunused-variable] + 1027 | Individual * p1 = sample[i1]; + | ^~ +segment.cpp:1028:19: warning: unused variable 'p2' [-Wunused-variable] + 1028 | Individual * p2 = sample[i2]; + | ^~ +segment.cpp:950:7: warning: unused variable 'c' [-Wunused-variable] + 950 | int c=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 'long unsigned int'} [-Wsign-compare] 368 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1529 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 377 | for (int i=0;i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 480 | for (int i=0; i >::size_type' {aka 'long 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 glm.cpp -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) - | ^~ -segment.cpp:875:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 875 | SIBS << setw(10) << original[l] << " " - | ^~~~ -segment.cpp: In member function 'void Plink::testGenomeIBDByCovariate(Perm&)': -segment.cpp:954:15: warning: unused variable 'p1' [-Wunused-variable] - 954 | Individual * p1 = sample[i1]; - | ^~ -segment.cpp:955:15: warning: unused variable 'p2' [-Wunused-variable] - 955 | Individual * p2 = sample[i2]; - | ^~ -segment.cpp:1027:19: warning: unused variable 'p1' [-Wunused-variable] - 1027 | Individual * p1 = sample[i1]; - | ^~ -segment.cpp:1028:19: warning: unused variable 'p2' [-Wunused-variable] - 1028 | Individual * p2 = sample[i2]; - | ^~ -segment.cpp:950:7: warning: unused variable 'c' [-Wunused-variable] - 950 | int c=0; - | ^ -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) { - | ^~ -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 'long unsigned int'} [-Wsign-compare] - 1529 | for (int i=0;i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ 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; @@ -2312,44 +2342,12 @@ 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 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 'long 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 'long 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 'long 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 'long 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 'long 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; - | ^~~~~~ -In file included from helper.h:24, - from logistic.cpp:20: +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 dcdflib.cpp +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 'long 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 'long unsigned int'} [-Wsign-compare] - 66 | for (int i=0; i *xn)) goto S160; @@ -2386,20 +2384,54 @@ dcdflib.cpp:6996:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 6996 | qrzero = fc >= 0.0e0 && fb <= 0.0e0 || fc < 0.0e0 && fb >= 0.0e0; | ~~~~~~~~~~~~^~~~~~~~~~~~~~ -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) ) - | ~~~~^~~~~ +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 +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 'long 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 'long 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 'long 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 'long 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 'long 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; + | ^~~~~~ +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 'long 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 'long unsigned int'} [-Wsign-compare] + 66 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -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 - | ^ +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) ) + | ~~~~^~~~~ 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 'long unsigned int'} [-Wsign-compare] @@ -2418,16 +2450,12 @@ glm.cpp:423:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 423 | for (int c=0; c >::size_type' {aka 'long 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 linput.cpp 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 'long unsigned int'} [-Wsign-compare] 493 | for ( int k = 0 ; k < i->second.size(); k++) @@ -2456,11 +2484,12 @@ elf.cpp:939:26: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long 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 sockets.cpp -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 +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 +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 + | ^ +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 'long unsigned int'} [-Wsign-compare] @@ -2472,6 +2501,9 @@ options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ +glm.cpp:610:28: warning: 'df' may be used uninitialized in this function [-Wmaybe-uninitialized] + 610 | double pvalue = chiprobP(chisq,df); + | ~~~~~~~~^~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] 76 | for (int f=0; f >::size_type' {aka 'long 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 proxy.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 pdriver.cpp linput.cpp: In member function 'void Plink::readDataLongFormat()': linput.cpp:68:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 68 | for (int l=0; l< locus.size(); l++) @@ -2608,6 +2644,12 @@ linput.cpp:209:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 209 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 206 | for (int i=25; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 289 | for (int i=25; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i >::size_type' {aka 'long 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 haploQTL.cpp +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 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 'long unsigned int'} [-Wsign-compare] 252 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 314 | for (int i=1; i::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 332 | if ( added.size() >= par::proxy_snp_filter ) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -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 'long 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 haplowindow.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 genogroup.cpp proxy.cpp:854:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] 1332 | for (int l0=0; l0< proxyHaplotypePlusSNP.size(); l0++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] 1401 | for (int c1 = 0; c1 < collection.size() ; c1++ ) | ~~~^~~~~~~~~~~~~~~~~~~ @@ -2695,12 +2743,12 @@ proxy.cpp:169:10: warning: unused variable 's' [-Wunused-variable] 169 | CSNP * s = SNP[l]; | ^ -pdriver.cpp: In member function 'void Plink::proxyWrapper()': -pdriver.cpp:266:11: warning: unused variable 'similar' [-Wunused-variable] - 266 | int similar = 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 nonfounderphasing.cpp -In file included from haploQTL.cpp:24: +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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) @@ -2717,36 +2765,12 @@ haploQTL.cpp:145:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 145 | for (int z = 0 ; z < hap1[i].size(); z++) | ~~^~~~~~~~~~~~~~~~ -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; - | ^~ -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] 252 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 252 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 34 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 48 | for (int z = 0; z < haplo->windows[w]->hap1[r].size(); z++) - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from genogroup.cpp:28: +In file included from haplowindow.cpp:28: 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 'long unsigned int'} [-Wsign-compare] 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 104 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 48 | for (int z = 0; z < haplo->windows[w]->hap1[r].size(); z++) + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ haplohelper.cpp:134:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 134 | for (int l=0; l < actual_map.size(); l++) | ~~^~~~~~~~~~~~~~~~~~~ @@ -2801,6 +2812,22 @@ haplohelper.cpp:337:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 337 | for (int h=0; h::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 396 | for (int z = 0; z < hap1[i].size(); z++) + | ~~^~~~~~~~~~~~~~~~ +haplohelper.cpp:413:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 413 | for (int z2=0; z2::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 487 | for (int z = 0; z < hap1[i].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 nonfounderphasing.cpp 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 'long unsigned int'} [-Wsign-compare] 558 | for (int z=0; z < hap1[i].size(); z++) @@ -2808,10 +2835,6 @@ haplowindow.cpp:574:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 574 | for (int z=0; z < new_pp.size(); z++) | ~~^~~~~~~~~~~~~~~ -haplohelper.cpp: In member function 'void HaploPhase::reportPhase()': -haplohelper.cpp:396:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 396 | for (int z = 0; z < hap1[i].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 'long unsigned int'} [-Wsign-compare] 683 | for (int z=0; z::size_type' {aka 'long unsigned int'} [-Wsign-compare] 691 | for (int z=0; z::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 413 | for (int z2=0; z2::size_type' {aka 'long unsigned int'} [-Wsign-compare] 751 | for (int z=0; z::size_type' {aka 'long unsigned int'} [-Wsign-compare] 949 | for (int z = 0; z < hap1[i].size(); z++) | ~~^~~~~~~~~~~~~~~~ -haplohelper.cpp: In member function 'void HaploPhase::reportPhaseWideFormat()': -haplohelper.cpp:487:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 487 | 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 'long unsigned int'} [-Wsign-compare] 966 | for (int z2=0; z2::size_type' {aka 'long unsigned int'} [-Wsign-compare] 655 | for (int z=0; z::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1666 | for (int z = 0; z < windows[w]->hap1[r].size(); z++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -2918,7 +2955,13 @@ genogroup.h:34:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -2935,7 +2978,6 @@ nonfounderphasing.cpp:715:14: warning: unused variable 'posterior' [-Wunused-variable] 715 | double posterior = ip->second; | ^~~~~~~~~ -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 em.cpp In file included from helper.h:24, from clumpld.h:21, from clumpld.cpp:20: @@ -2944,26 +2986,16 @@ 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 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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -In file included from genoerr.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 'long unsigned int'} [-Wsign-compare] - 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 252 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ clumpld.cpp: In member function 'std::vector 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 'long unsigned int'} [-Wsign-compare] 92 | for (int f=0; f::size_type' {aka 'long unsigned int'} [-Wsign-compare] 204 | if ( f < annot_field.size() - 1 ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from genoerr.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 'long unsigned int'} [-Wsign-compare] + 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +clumpld.cpp: In member function 'void clump_LD::clump()': +clumpld.cpp:368:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 368 | for (int i = 0; i < sp.size(); i++) + | ~~^~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 252 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 480 | if( l1 < P->locus.size()-1 ) + | ~~~^~~~~~~~~~~~~~~~~~~ genoerr.cpp: In member function 'void HaploPhase::queryThisGenotype(int, int, int, vector_t&)': genoerr.cpp:157:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 157 | for (int z=0; z::size_type' {aka 'long unsigned int'} [-Wsign-compare] 225 | for (int z = 0; z < new_hap1.size(); z++) | ~~^~~~~~~~~~~~~~~~~ +clumpld.cpp:520:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 520 | for (int f=1; f<=filename.size(); f++) + | ~^~~~~~~~~~~~~~~~~ genoerr.cpp:315:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 315 | for (int z = 0; z < hap1[i].size(); z++) | ~~^~~~~~~~~~~~~~~~ @@ -3016,38 +3081,9 @@ genoerr.cpp:358:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 358 | for (int z2=0; z2::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 368 | for (int i = 0; i < sp.size(); i++) - | ~~^~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -clumpld.cpp:480:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 480 | if( l1 < P->locus.size()-1 ) - | ~~~^~~~~~~~~~~~~~~~~~~ -clumpld.cpp:520:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 520 | for (int f=1; f<=filename.size(); f++) - | ~^~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 611 | for (int f=1; f<=filename.size(); f++) | ~^~~~~~~~~~~~~~~~~ -clumpld.cpp:1097:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::map::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1097 | if( j < grouped_snps.size()-1) - | ~~^~~~~~~~~~~~~~~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] @@ -3075,42 +3111,17 @@ em.cpp:166:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 166 | for (int z=0; z >::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 34 | for (int i=0; i::size_type' {aka 'long 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 metaem.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 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 impute.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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from metaem.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 'long unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -3120,6 +3131,7 @@ genogroup.h:34:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] @@ -3133,13 +3145,6 @@ impute.cpp:105:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 105 | for (int z=0; z >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ impute.cpp:144:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 144 | for (int z=0; z< currentWindow->hap1[i].size(); z++) | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3153,43 +3158,35 @@ impute.cpp:313:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 313 | for (int s=0; s < g.size(); s++) | ~~^~~~~~~~~~ -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 'long 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 'long 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 'long unsigned int'} [-Wsign-compare] - 107 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 124 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 151 | for (int i=0; i::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 189 | for (int i=0; i::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] - 253 | else if ( i == s.length()-1 ) - | ~~^~~~~~~~~~~~~~~ -In file included from profile.cpp:23: +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 'long 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 'long unsigned int'} [-Wsign-compare] + 27 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 34 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i >::size_type' {aka 'long 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 gvar.cpp profile.cpp: In member function 'void Plink::scoreIndividuals()': profile.cpp:303:12: warning: unused variable 'OLD_assoc_glm_without_main_snp' [-Wunused-variable] @@ -3216,6 +3213,17 @@ profile.cpp:421:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 421 | if ( qcnt == qlabel.size() ) | ~~~~~^~~~~~~~~~~~~~~~ +In file included from helper.h:24, + from nlist.h:21, + from nlist.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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 38 | for (int i=0; i&, std::map&, vector_t&, matrix_t&, std::vector&, std::vector&)': profile.cpp:480:9: warning: unused variable 'a1' [-Wunused-variable] 480 | bool a1 = i2->second; @@ -3226,11 +3234,39 @@ profile.cpp:629:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 629 | for (int j=0; j 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 'long 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 'long unsigned int'} [-Wsign-compare] + 107 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 124 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 151 | for (int i=0; i::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] + 189 | for (int i=0; i::size_type' {aka 'long 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 'long unsigned int'} [-Wsign-compare] + 253 | else if ( i == s.length()-1 ) + | ~~^~~~~~~~~~~~~~~ profile.cpp: In function 'void scoreRanges(int, std::vector&, std::map >&, std::map&, std::ofstream&)': profile.cpp:667:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 667 | for (int l=0; l >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 252 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 334 | for (int g = 0; g < nullModel.group.size(); g++) @@ -3261,6 +3298,12 @@ whap.cpp:511:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 511 | for ( int g2=0; g2 >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ whap.cpp:619:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 619 | if ( g < nullModel.group.size() - 1 ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3273,6 +3316,9 @@ whap.cpp:793:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 793 | if ( p1 != coeff1.size() || p0 != coeff0.size() ) | ~~~^~~~~~~~~~~~~~~~ +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) << " "; + | ^ whap.cpp: In member function 'void Chap::build(ChapModel&)': whap.cpp:962:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 962 | for (int h=0; h::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1389 | for (int l=0;l >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1425 | for (int h=0; h < m.group.size(); h++) @@ -3325,15 +3370,6 @@ whap.cpp:1434:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::set::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1434 | if ( cnt>0 && cnt2 < m.group[h].size() ) | ~~~~~^~~~~~~~~~~~~~~~~~~ -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 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 'long 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; @@ -3371,9 +3407,22 @@ gvar.cpp:125:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 125 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] 192 | for (int l=0; l::size_type' {aka 'long unsigned int'} [-Wsign-compare] 247 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 556 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ cnv.cpp:678:36: warning: variable 'is' set but not used [-Wunused-but-set-variable] 678 | map::iterator is = idescription.find(*ir); | ^~ @@ -3450,6 +3480,12 @@ cnv.cpp:412:7: warning: unused variable 'nseg' [-Wunused-variable] 412 | int nseg=0; | ^~~~ +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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ cnv.cpp: In function 'double weighted_count_intersects(std::set&, int, int, int)': cnv.cpp:1749:7: warning: unused variable 'cnt' [-Wunused-variable] 1749 | int cnt = 0; @@ -3474,17 +3510,13 @@ cnv.cpp:2290:10: warning: unused variable 'beta' [-Wunused-variable] 2290 | double beta = b[ b.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 greport.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 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 -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 'long 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 qualscores.cpp greport.cpp: In member function 'void Plink::displayGeneReport()': greport.cpp:78:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 78 | for (int i=0; i >::size_type' {aka 'long 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 qualscores.cpp: In member function 'void Plink::filterQualGenotypes()': qualscores.cpp:122:12: warning: unused variable 'nfound' [-Wunused-variable] 122 | long int nfound = 0; @@ -3529,24 +3565,6 @@ options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from setscreen.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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -setscreen.cpp: In member function 'void Plink::setAssocSummary()': -setscreen.cpp:80:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 80 | for (int i=0; i >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 110 | if ( tokens.size() != cols ) - | ~~~~~~~~~~~~~~^~~~~~~ -setscreen.cpp:188:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 188 | for ( int j = 0; j < pS->snpset.size(); j++ ) - | ~~^~~~~~~~~~~~~~~~~~~ -setscreen.cpp:196:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 196 | for (int i=0; i < snpset[j].size(); i++) - | ~~^~~~~~~~~~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] @@ -3572,27 +3590,34 @@ cfamily.cpp:288:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 288 | for (int i = 0 ; i < inds.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 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 -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 -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 +In file included from setscreen.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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ 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 'long unsigned int'} [-Wsign-compare] 196 | for (int k=0; k >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 80 | for (int i=0; i >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 110 | if ( tokens.size() != cols ) + | ~~~~~~~~~~~~~~^~~~~~~ In file included from idhelp.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 'long unsigned int'} [-Wsign-compare] 73 | for ( int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -In file included from helper.h:24, - from tag.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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ +setscreen.cpp:188:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 188 | for ( int j = 0; j < pS->snpset.size(); j++ ) + | ~~^~~~~~~~~~~~~~~~~~~ +setscreen.cpp:196:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 196 | for (int i=0; i < snpset[j].size(); i++) + | ~~^~~~~~~~~~~~~~~~~~ idhelp.cpp: In member function 'std::map > IDHelper::parseQuery(std::string)': idhelp.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | for ( int i = 0 ; i < ids.size() ; i++) @@ -3600,18 +3625,6 @@ idhelp.cpp:63:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 63 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ idhelp.cpp: In member function 'bool IDHelper::matchIndividual(IDGroup*, std::map >&)': idhelp.cpp:136:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 136 | for (int g=0; gvalues.size(); g++) @@ -3629,19 +3642,6 @@ idhelp.cpp:221:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 221 | for (int j = 0 ; j < group->values.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ -lookup2.cpp: In member function 'void Plink::lookup2()': -lookup2.cpp:163:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 163 | for (int i = 0 ; i < ids.size(); i++) - | ~~^~~~~~~~~~~~ -lookup2.cpp:203:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 203 | for (int i = 0 ; i < ids.size(); i++) - | ~~^~~~~~~~~~~~ -lookup2.cpp:280:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 280 | for (int i = 0 ; i < ids.size(); i++) - | ~~^~~~~~~~~~~~ -lookup2.cpp:325:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 325 | for (int t = 0 ; t < tokens.size() ; t++) - | ~~^~~~~~~~~~~~~~~ idhelp.cpp:296:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 296 | for ( int i = 0 ; i < mask.size() ; i++) | ~~^~~~~~~~~~~~~ @@ -3652,7 +3652,6 @@ idhelp.cpp:346:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 346 | for ( int g = 0 ; g < idgroup.size(); g++ ) | ~~^~~~~~~~~~~~~~~~ -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 idhelp.cpp: In member function 'void IDHelper::idHelp()': idhelp.cpp:502:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 502 | if ( ++p == tokens.size() ) @@ -3669,11 +3668,6 @@ idhelp.cpp:553:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 553 | for (int i = 0 ; i < ids.size() ; i++) | ~~^~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'long unsigned int'} [-Wsign-compare] 808 | for ( int j = 0 ; j < files[f].fields.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 dosage.cpp idhelp.cpp:836:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 836 | for (int k = 0 ; k < i->second.size(); k++) | ~~^~~~~~~~~~~~~~~~~~ -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 'long 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 annot.cpp idhelp.cpp:888:23: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 888 | if ( tokens.size() != file->uniqFieldCount ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ @@ -3877,11 +3864,6 @@ idhelp.cpp:2070:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2070 | for (int v=0; vvalues.size(); v++) | ~^~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 252 | for (int i=0; i::size_type' {aka 'long 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 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 +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 +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 'long 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 dosage.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 'long unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +In file included from helper.h:24, + from lookup2.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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +lookup2.cpp: In member function 'void Plink::lookup2()': +lookup2.cpp:163:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 163 | for (int i = 0 ; i < ids.size(); i++) + | ~~^~~~~~~~~~~~ +lookup2.cpp:203:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 203 | for (int i = 0 ; i < ids.size(); i++) + | ~~^~~~~~~~~~~~ +lookup2.cpp:280:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 280 | for (int i = 0 ; i < ids.size(); i++) + | ~~^~~~~~~~~~~~ +lookup2.cpp:325:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 325 | for (int t = 0 ; t < tokens.size() ; t++) + | ~~^~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ +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 'long unsigned int'} [-Wsign-compare] + 252 | for (int i=0; i > Plink::mkBlks(int, int)': blox.cpp:147:11: warning: unused variable 'nsnps' [-Wunused-variable] 147 | int nsnps = toPosition - fromPosition + 1; @@ -3917,6 +3957,11 @@ blox.cpp:226:11: warning: unused variable 'cnt' [-Wunused-variable] 226 | int cnt = 0; | ^~~ +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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ blox.cpp:418:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 418 | for (int k=0; k >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ -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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ In file included from dosage.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 'long unsigned int'} [-Wsign-compare] @@ -3951,11 +3984,6 @@ dosage.cpp:110:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 110 | for ( int q = 0 ; q < qthresh.size() ; q++) | ~~^~~~~~~~~~~~~~~~ -In file included from annot.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 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ dosage.cpp:513:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 513 | for (int i=0; i=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; + | ^~~~ +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 zfstream.cpp +In file included from annot.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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ annot.cpp: In member function 'void Plink::annotateFile()': annot.cpp:83:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 83 | for (int j=1; j >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 275 | if ( tokens.size() <= snp_column ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ -annot.cpp:300:9: warning: unused variable 'include' [-Wunused-variable] - 300 | bool include = false; - | ^~~~~~~ blox.cpp:569:41: warning: 'pB2' may be used uninitialized in this function [-Wmaybe-uninitialized] 569 | if ( pB1>0 ) loglike1 += knownBA * log( pB1 ); | ~~~^~~~~~~ @@ -4022,7 +4088,9 @@ 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 +annot.cpp:300:9: warning: unused variable 'include' [-Wunused-variable] + 300 | bool include = false; + | ^~~~~~~ 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 'long unsigned int'} [-Wsign-compare] @@ -4048,6 +4116,12 @@ metaanal.cpp:203:18: warning: statement has no effect [-Wunused-value] 203 | par::run_chr == -1; | ~~~~~~~~~~~~~^~~~~ +In file included from helper.h:24, + from r.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 'long unsigned int'} [-Wsign-compare] + 73 | for ( int k = 0 ; k < i->second.size(); k++) + | ~~^~~~~~~~~~~~~~~~~~ metaanal.cpp:213:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 213 | for (int i=0; i >::size_type' {aka 'long 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()': -options.h:73:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 73 | for ( int k = 0 ; k < i->second.size(); k++) - | ~~^~~~~~~~~~~~~~~~~~ In file included from r.cpp:29: Rconnection.h: In constructor 'Rsymbol::Rsymbol(Rmessage*)': Rconnection.h:203:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -4199,12 +4234,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3478974/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3478974/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/2134238 and its subdirectories -I: Current time: Fri Aug 4 04:19:49 -12 2023 -I: pbuilder-time-stamp: 1691165989 +I: removing directory /srv/workspace/pbuilder/3478974 and its subdirectories +I: Current time: Fri Sep 6 12:56:50 +14 2024 +I: pbuilder-time-stamp: 1725577010