Diff of the two buildlogs: -- --- b1/build.log 2024-12-13 11:57:11.256628448 +0000 +++ b2/build.log 2024-12-13 12:01:02.526093617 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jan 15 06:16:54 -12 2026 -I: pbuilder-time-stamp: 1768501014 +I: Current time: Sat Dec 14 01:57:14 +14 2024 +I: pbuilder-time-stamp: 1734091034 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -35,52 +35,84 @@ dpkg-source: info: applying riscv5 I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/513219/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4017648/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 Dec 13 11:57 /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/4017648/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4017648/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='0dd2803235a74a719e8b0cb627c9a466' - 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='513219' - PS1='# ' - PS2='> ' + INVOCATION_ID=ed0b296275f94fdf8eea5b5bf765ae0d + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=4017648 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.b5vR6XtV/pbuilderrc_f0vd --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.b5vR6XtV/b1 --logfile b1/build.log hisat2_2.2.1-5.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.b5vR6XtV/pbuilderrc_vrgi --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.b5vR6XtV/b2 --logfile b2/build.log hisat2_2.2.1-5.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/513219/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4017648/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -182,7 +214,7 @@ Get: 57 http://deb.debian.org/debian unstable/main arm64 libyaml-0-2 arm64 0.2.5-1+b2 [49.3 kB] Get: 58 http://deb.debian.org/debian unstable/main arm64 pandoc-data all 3.1.11.1-3 [459 kB] Get: 59 http://deb.debian.org/debian unstable/main arm64 pandoc arm64 3.1.11.1+ds-2 [26.2 MB] -Fetched 53.7 MB in 0s (187 MB/s) +Fetched 53.7 MB in 0s (154 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package liblocale-gettext-perl. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20082 files and directories currently installed.) @@ -395,8 +427,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Jan 15 18:17:12 UTC 2026. -Universal Time is now: Thu Jan 15 18:17:12 UTC 2026. +Local time is now: Fri Dec 13 11:57:34 UTC 2024. +Universal Time is now: Fri Dec 13 11:57:34 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -447,7 +479,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/hisat2-2.2.1/ && 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 > ../hisat2_2.2.1-5_source.changes +I: user script /srv/workspace/pbuilder/4017648/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4017648/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/hisat2-2.2.1/ && 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 > ../hisat2_2.2.1-5_source.changes dpkg-buildpackage: info: source package hisat2 dpkg-buildpackage: info: source version 2.2.1-5 dpkg-buildpackage: info: source distribution unstable @@ -613,6 +649,14 @@ alt.h:180:13: note: in expansion of macro ‘assert_leq’ 180 | assert_leq(fw, 1); | ^~~~~~~~~~ +In file included from hisat2_inspect.cpp:25: +alt.h: In member function ‘bool ALT::repOk() const’: +assert_helpers.h:227:18: warning: comparison of constant ‘1’ with boolean expression is always true [-Wbool-compare] + 227 | if(!((a) <= (b))) { \ + | ~~~~^~~~~~ +alt.h:180:13: note: in expansion of macro ‘assert_leq’ + 180 | assert_leq(fw, 1); + | ^~~~~~~~~~ gfm.h: In instantiation of ‘void GFM::initFromVector(TStr&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, EList&, EList&, index_t, const RefReadInParams&, std::ofstream&, std::ofstream&, const std::string&, bool, index_t, index_t, index_t, int, EList*, EList >*, uint32_t, bool) [with TStr = SString; index_t = long unsigned int; std::string = std::__cxx11::basic_string; std::ofstream = std::basic_ofstream; uint32_t = unsigned int]’: gfm.h:1039:23: required from ‘GFM::GFM(TStr&, bool, int, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, index_t, index_t, index_t, int, EList&, EList&, index_t, const RefReadInParams&, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; int32_t = int; std::string = std::__cxx11::basic_string; uint32_t = unsigned int]’ 1039 | initFromVector( @@ -773,14 +817,6 @@ gfm.h:2167:33: warning: variable ‘template_len’ set but not used [-Wunused-but-set-variable] 2167 | index_t template_len = 0; | ^~~~~~~~~~~~ -In file included from hisat2_inspect.cpp:25: -alt.h: In member function ‘bool ALT::repOk() const’: -assert_helpers.h:227:18: warning: comparison of constant ‘1’ with boolean expression is always true [-Wbool-compare] - 227 | if(!((a) <= (b))) { \ - | ~~~~^~~~~~ -alt.h:180:13: note: in expansion of macro ‘assert_leq’ - 180 | assert_leq(fw, 1); - | ^~~~~~~~~~ gfm.h: In instantiation of ‘void GFM::initFromVector(TStr&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, EList&, EList&, index_t, const RefReadInParams&, std::ofstream&, std::ofstream&, const std::string&, bool, index_t, index_t, index_t, int, EList*, EList >*, uint32_t, bool) [with TStr = SString; index_t = unsigned int; std::string = std::__cxx11::basic_string; std::ofstream = std::basic_ofstream; uint32_t = unsigned int]’: gfm.h:1039:23: required from ‘GFM::GFM(TStr&, bool, int, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, index_t, index_t, index_t, int, EList&, EList&, index_t, const RefReadInParams&, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = unsigned int; int32_t = int; std::string = std::__cxx11::basic_string; uint32_t = unsigned int]’ 1039 | initFromVector( @@ -1009,6 +1045,13 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +hisat2.cpp: In function ‘void parseOptions(int, const char**)’: +hisat2.cpp:1823:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1823 | auto_ptr presets(new PresetsV0()); + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ hisat2.cpp: In function ‘void multiseedSearchWorker_hisat2(void*)’: hisat2.cpp:3167:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 3167 | auto_ptr patsrcFact(createPatsrcFactory(patsrc, tid)); @@ -1035,13 +1078,80 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -hisat2.cpp: In function ‘void parseOptions(int, const char**)’: -hisat2.cpp:1823:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1823 | auto_ptr presets(new PresetsV0()); +hisat2.cpp: In function ‘void multiseedSearchWorker_hisat2(void*)’: +hisat2.cpp:3167:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3167 | auto_ptr patsrcFact(createPatsrcFactory(patsrc, tid)); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +hisat2.cpp:3168:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3168 | auto_ptr ps(patsrcFact->create()); + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +hisat2.cpp:3189:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 3189 | auto_ptr bmapq(new_mapq(mapqv, scoreMin, sc)); + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +hisat2.cpp: In function ‘void driver(const char*, const std::string&, const std::string&)’: +hisat2.cpp:4035:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 4035 | auto_ptr refs( + | ^~~~~~~~ +/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here + 59 | template class auto_ptr; + | ^~~~~~~~ +hi_aligner.h: In instantiation of ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = unsigned int; local_index_t = short unsigned int]’: +hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = unsigned int; local_index_t = short unsigned int]’ + 4107 | mate_found |= alignMate( + | ^~~~~~~~~ +hisat2.cpp:3537:48: required from here + 3537 | int ret = splicedAligner.go( + | ~~~~~~~~~~~~~~~~~^ + 3538 | sc, + | ~~~ + 3539 | pepol, + | ~~~~~~ + 3540 | *multiseed_tpol, + | ~~~~~~~~~~~~~~~~ + 3541 | *gpol, + | ~~~~~~ + 3542 | gfm, + | ~~~~ + 3543 | rgfm, + | ~~~~~ + 3544 | *altdb, + | ~~~~~~~ + 3545 | *repeatdb, + | ~~~~~~~~~~ + 3546 | *raltdb, + | ~~~~~~~~ + 3547 | ref, + | ~~~~ + 3548 | rref, + | ~~~~~ + 3549 | sw, + | ~~~ + 3550 | *ssdb, + | ~~~~~~ + 3551 | wlm, + | ~~~~ + 3552 | prm, + | ~~~~ + 3553 | swmSeed, + | ~~~~~~~~ + 3554 | him, + | ~~~~ + 3555 | rnd, + | ~~~~ + 3556 | msinkwrap); + | ~~~~~~~~~~ +hi_aligner.h:5688:105: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘TRefOff’ {aka ‘long int’} [-Wsign-compare] + 5688 | if(coord.off() + pepol.maxFragLen() * 2 < toff || toff + pepol.maxFragLen() * 2 < coord.off()) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ hi_aligner.h: In instantiation of ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = long unsigned int; local_index_t = short unsigned int]’: hisat2.cpp:3537:48: required from here 3537 | int ret = splicedAligner.go( @@ -1111,6 +1221,16 @@ hi_aligner.h:4614:55: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘const THitInt’ {aka ‘const long int’} [-Wsign-compare] 4614 | if(sink.numBestUnp(rdi).first > rp.khits) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +gfm.h: In instantiation of ‘void GFM::checkOrigs(const EList >&, bool) const [with index_t = unsigned int]’: +hisat2.cpp:3815:17: required from ‘void driver(const char*, const std::string&, const std::string&) [with TStr = SString; std::string = std::__cxx11::basic_string]’ + 3815 | gfm.checkOrigs(os, false); + | ~~~~~~~~~~~~~~^~~~~~~~~~~ +hisat2.cpp:4351:26: required from here + 4351 | driver >("DNA", bt2index, outfile); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +gfm.h:6935:13: warning: variable ‘lastorig’ set but not used [-Wunused-but-set-variable] + 6935 | int lastorig = -1; + | ^~~~~~~~ hi_aligner.h: In instantiation of ‘bool HI_Aligner::pairReads(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, WalkMetrics&, PerReadMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = long unsigned int; local_index_t = short unsigned int]’: hi_aligner.h:4088:17: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ 4088 | pairReads(sc, pepol, tpol, gpol, gfm, altdb, repeatdb, ref, wlm, prm, him, rnd, sink); @@ -1213,25 +1333,6 @@ hi_aligner.h:5688:105: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘TRefOff’ {aka ‘long int’} [-Wsign-compare] 5688 | if(coord.off() + pepol.maxFragLen() * 2 < toff || toff + pepol.maxFragLen() * 2 < coord.off()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -hisat2.cpp: In function ‘void multiseedSearchWorker_hisat2(void*)’: -hisat2.cpp:3167:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3167 | auto_ptr patsrcFact(createPatsrcFactory(patsrc, tid)); - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -hisat2.cpp:3168:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3168 | auto_ptr ps(patsrcFact->create()); - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ -hisat2.cpp:3189:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 3189 | auto_ptr bmapq(new_mapq(mapqv, scoreMin, sc)); - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ gfm.h: In instantiation of ‘void GFM::checkOrigs(const EList >&, bool) const [with index_t = long unsigned int]’: hisat2.cpp:3815:17: required from ‘void driver(const char*, const std::string&, const std::string&) [with TStr = SString; std::string = std::__cxx11::basic_string]’ 3815 | gfm.checkOrigs(os, false); @@ -1364,13 +1465,6 @@ hi_aligner.h:2267:47: warning: comparison of integer expressions of different signedness: ‘TRefOff’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare] 2267 | findSSOffs(gfm, altdb, (coord.joinedOff() >= width ? (index_t)(coord.joinedOff() - width) : 0), (index_t)(coord.joinedOff() + width), ssOffs); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ -hisat2.cpp: In function ‘void driver(const char*, const std::string&, const std::string&)’: -hisat2.cpp:4035:9: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 4035 | auto_ptr refs( - | ^~~~~~~~ -/usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here - 59 | template class auto_ptr; - | ^~~~~~~~ In file included from aligner_seed2.h:109, from aligner_driver.h:78, from hi_aligner.h:41: @@ -1400,7 +1494,7 @@ | ~~~~ 1528 | prm); | ~~~~ -hi_aligner.h:5901:34: required from ‘bool HI_Aligner::getGenomeCoords_local(const GFM&, const ALTDB&, const BitPairReference&, RandomSource&, local_index_t, local_index_t, local_index_t, local_index_t, const EList >&, bool, index_t, index_t, EList&, WalkMetrics&, PerReadMetrics&, HIMetrics&, bool, bool&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:5901:34: required from ‘bool HI_Aligner::getGenomeCoords_local(const GFM&, const ALTDB&, const BitPairReference&, RandomSource&, local_index_t, local_index_t, local_index_t, local_index_t, const EList >&, bool, index_t, index_t, EList&, WalkMetrics&, PerReadMetrics&, HIMetrics&, bool, bool&) [with index_t = unsigned int; local_index_t = short unsigned int]’ 5901 | _gws_local.advanceElement( | ~~~~~~~~~~~~~~~~~~~~~~~~~^ 5902 | off, @@ -1419,10 +1513,10 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~ 5909 | prm); // per-read metrics | ~~~~ -hi_aligner.h:5664:17: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:5664:17: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = unsigned int; local_index_t = short unsigned int]’ 5664 | getGenomeCoords_local( | ^~~~~~~~~~~~~~~~~~~~~ -hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = unsigned int; local_index_t = short unsigned int]’ 4107 | mate_found |= alignMate( | ^~~~~~~~~ hisat2.cpp:3537:48: required from here @@ -1478,8 +1572,8 @@ group_walk.h:1224:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1224 | for(index_t j = 0; j + 1 < st.back().map_.size(); j++) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -hi_aligner.h: In instantiation of ‘static index_t GenomeHit::alignWithALTs_recur(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, EList >&, EList&, int&, const char*, index_t, int, index_t, bool, EList&, index_t, ELList >&, Haplotype&, ELList*, index_t, index_t*, index_t, const GraphPolicy&, index_t&, ALT_TYPE) [with index_t = long unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’: -hi_aligner.h:717:28: required from ‘static index_t GenomeHit::alignWithALTs(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, SharedTempVars&, index_t, int, index_t, bool, const GraphPolicy&, EList&, ELList >&, EList >&, Haplotype&, ELList*, index_t, index_t*) [with index_t = long unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ +hi_aligner.h: In instantiation of ‘static index_t GenomeHit::alignWithALTs_recur(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, EList >&, EList&, int&, const char*, index_t, int, index_t, bool, EList&, index_t, ELList >&, Haplotype&, ELList*, index_t, index_t*, index_t, const GraphPolicy&, index_t&, ALT_TYPE) [with index_t = unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’: +hi_aligner.h:717:28: required from ‘static index_t GenomeHit::alignWithALTs(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, SharedTempVars&, index_t, int, index_t, bool, const GraphPolicy&, EList&, ELList >&, EList >&, Haplotype&, ELList*, index_t, index_t*) [with index_t = unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ 717 | alignWithALTs_recur( | ~~~~~~~~~~~~~~~~~~~^ 718 | alts, @@ -1538,7 +1632,7 @@ | ~~~~~ 745 | numALTsTried); | ~~~~~~~~~~~~~ -hi_aligner.h:2337:47: required from ‘static bool GenomeHit::adjustWithALT(index_t, index_t, const Coord&, SharedTempVars&, EList >&, const Read&, const GFM&, const ALTDB&, const BitPairReference&, const GraphPolicy&) [with index_t = long unsigned int]’ +hi_aligner.h:2337:47: required from ‘static bool GenomeHit::adjustWithALT(index_t, index_t, const Coord&, SharedTempVars&, EList >&, const Read&, const GFM&, const ALTDB&, const BitPairReference&, const GraphPolicy&) [with index_t = unsigned int]’ 2337 | index_t alignedLen = alignWithALTs( | ~~~~~~~~~~~~~^ 2338 | alts, @@ -1581,7 +1675,7 @@ | ~~~~~~~~~~~~~~~~~~ 2357 | &candidate_edits); | ~~~~~~~~~~~~~~~~~ -hi_aligner.h:5692:54: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:5692:54: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = unsigned int; local_index_t = short unsigned int]’ 5692 | GenomeHit::adjustWithALT( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 5693 | hitoff - hitlen + 1, @@ -1604,7 +1698,7 @@ | ~~~~ 5702 | gpol); | ~~~~~ -hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = unsigned int; local_index_t = short unsigned int]’ 4107 | mate_found |= alignMate( | ^~~~~~~~~ hisat2.cpp:3537:48: required from here @@ -1654,122 +1748,72 @@ hi_aligner.h:2879:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2879 | if(alt_range.first >= alts.size()) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -hi_aligner.h:3044:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] +hi_aligner.h:3044:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3044 | for(int i = 0; i < alt.len; i++) { | ~~^~~~~~~~~ -hi_aligner.h:3085:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] +hi_aligner.h:3085:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3085 | if(rd_i == rdoff && prev_alt_type == ALT_SPLICESITE) { | ~~~~~^~~~~~~~ -hi_aligner.h:3161:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] +hi_aligner.h:3161:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 3161 | if(alignedLen == next_rdlen) return rdlen; | ~~~~~~~~~~~^~~~~~~~~~~~~ -hi_aligner.h:3197:32: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] +hi_aligner.h:3197:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 3197 | if(mm_max_rd_i + rdoff > best_rdoff) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -hi_aligner.h:3202:39: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] +hi_aligner.h:3202:39: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 3202 | } else if(mm_max_rd_i + rdoff == best_rdoff) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -hi_aligner.h:3454:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] +hi_aligner.h:3454:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3454 | if(best_rdoff < rdoff + rd_i) { | ~~~~~~~~~~~^~~~~~~~~~~~~~ -hi_aligner.h: In instantiation of ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = unsigned int; local_index_t = short unsigned int]’: -hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = unsigned int; local_index_t = short unsigned int]’ - 4107 | mate_found |= alignMate( - | ^~~~~~~~~ -hisat2.cpp:3537:48: required from here - 3537 | int ret = splicedAligner.go( - | ~~~~~~~~~~~~~~~~~^ - 3538 | sc, - | ~~~ - 3539 | pepol, - | ~~~~~~ - 3540 | *multiseed_tpol, - | ~~~~~~~~~~~~~~~~ - 3541 | *gpol, - | ~~~~~~ - 3542 | gfm, - | ~~~~ - 3543 | rgfm, - | ~~~~~ - 3544 | *altdb, - | ~~~~~~~ - 3545 | *repeatdb, - | ~~~~~~~~~~ - 3546 | *raltdb, - | ~~~~~~~~ - 3547 | ref, - | ~~~~ - 3548 | rref, - | ~~~~~ - 3549 | sw, - | ~~~ - 3550 | *ssdb, - | ~~~~~~ - 3551 | wlm, - | ~~~~ - 3552 | prm, - | ~~~~ - 3553 | swmSeed, - | ~~~~~~~~ - 3554 | him, - | ~~~~ - 3555 | rnd, - | ~~~~ - 3556 | msinkwrap); - | ~~~~~~~~~~ -hi_aligner.h:5688:105: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘TRefOff’ {aka ‘long int’} [-Wsign-compare] - 5688 | if(coord.off() + pepol.maxFragLen() * 2 < toff || toff + pepol.maxFragLen() * 2 < coord.off()) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -gfm.h: In instantiation of ‘void GFM::checkOrigs(const EList >&, bool) const [with index_t = unsigned int]’: -hisat2.cpp:3815:17: required from ‘void driver(const char*, const std::string&, const std::string&) [with TStr = SString; std::string = std::__cxx11::basic_string]’ - 3815 | gfm.checkOrigs(os, false); - | ~~~~~~~~~~~~~~^~~~~~~~~~~ -hisat2.cpp:4351:26: required from here - 4351 | driver >("DNA", bt2index, outfile); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -gfm.h:6935:13: warning: variable ‘lastorig’ set but not used [-Wunused-but-set-variable] - 6935 | int lastorig = -1; - | ^~~~~~~~ -group_walk.h: In instantiation of ‘std::pair GWState::init(const GFM&, const BitPairReference&, SARangeWithOffs&, EList, S>&, GWHit&, index_t, bool, EList, 16>*, WalkMetrics&) [with int S = 16; index_t = short unsigned int; T = EListSlice]’: -group_walk.h:494:14: required from ‘std::pair GWState::init(const GFM&, const BitPairReference&, SARangeWithOffs&, EList, S>&, GWHit&, index_t, bool, EList, 16>*, index_t, index_t, index_t, index_t, const EList >&, index_t, WalkMetrics&) [with int S = 16; index_t = short unsigned int; T = EListSlice]’ - 494 | return init(gfm, ref, sa, sts, hit, range, reportList, res, met); - | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -group_walk.h:1453:18: required from ‘void GroupWalk2S::init(const GFM&, const BitPairReference&, SARangeWithOffs&, RandomSource&, WalkMetrics&) [with index_t = short unsigned int; T = EListSlice; int S = 16]’ - 1453 | st_.back().init( - | ~~~~~~~~~~~~~~~^ - 1454 | gfmFw, // Bowtie index - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1455 | ref, // bitpair-encoded reference - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1456 | sa, // SA range with offsets - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1457 | st_, // EList - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1458 | hit_, // GWHit - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1459 | 0, // range 0 - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1460 | false, // put resolved elements into res_? - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1461 | NULL, // put resolved elements here - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1462 | top, // GBW row at top - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1463 | bot, // GBW row at bot - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1464 | node_top, // node at top - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1465 | node_bot, // node at bot - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1466 | sa.node_iedge_count, - | ~~~~~~~~~~~~~~~~~~~~ - 1467 | 0, // # steps taken - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1468 | met); // update metrics here - | ~~~~ -hi_aligner.h:5896:20: required from ‘bool HI_Aligner::getGenomeCoords_local(const GFM&, const ALTDB&, const BitPairReference&, RandomSource&, local_index_t, local_index_t, local_index_t, local_index_t, const EList >&, bool, index_t, index_t, EList&, WalkMetrics&, PerReadMetrics&, HIMetrics&, bool, bool&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ - 5896 | _gws_local.init(gfm, ref, _sas_local, rnd, met); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from aligner_seed2.h:109, + from aligner_driver.h:78, + from hi_aligner.h:41: +group_walk.h: In instantiation of ‘std::pair GWState::advance(const GFM&, const BitPairReference&, SARangeWithOffs&, GWHit&, index_t, bool, EList, 16>*, EList, S>&, GroupWalkState&, WalkMetrics&, PerReadMetrics&) [with int S = 16; index_t = short unsigned int; T = EListSlice]’: +group_walk.h:1517:14: required from ‘bool GroupWalk2S::advanceElement(index_t, const GFM&, const BitPairReference&, SARangeWithOffs&, GroupWalkState&, WalkResult&, WalkMetrics&, PerReadMetrics&) [with index_t = short unsigned int; T = EListSlice; int S = 16]’ + 1517 | st.advance( + | ~~~~~~~~~~^ + 1518 | gfmFw, + | ~~~~~~ + 1519 | ref, + | ~~~~ + 1520 | sa, + | ~~~ + 1521 | hit_, + | ~~~~~ + 1522 | (index_t)range, + | ~~~~~~~~~~~~~~~ + 1523 | false, + | ~~~~~~ + 1524 | NULL, + | ~~~~~ + 1525 | st_, + | ~~~~ + 1526 | gws, + | ~~~~ + 1527 | met, + | ~~~~ + 1528 | prm); + | ~~~~ +hi_aligner.h:5901:34: required from ‘bool HI_Aligner::getGenomeCoords_local(const GFM&, const ALTDB&, const BitPairReference&, RandomSource&, local_index_t, local_index_t, local_index_t, local_index_t, const EList >&, bool, index_t, index_t, EList&, WalkMetrics&, PerReadMetrics&, HIMetrics&, bool, bool&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ + 5901 | _gws_local.advanceElement( + | ~~~~~~~~~~~~~~~~~~~~~~~~~^ + 5902 | off, + | ~~~~ + 5903 | gfm, // forward Bowtie index for walking left + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 5904 | ref, // bitpair-encoded reference + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 5905 | _sas_local, // SA range with offsets + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 5906 | _gwstate_local, // GroupWalk state; scratch space + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 5907 | wr, // put the result here + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 5908 | met, // metrics + | ~~~~~~~~~~~~~~~~~~~~~~~~ + 5909 | prm); // per-read metrics + | ~~~~ hi_aligner.h:5664:17: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int]’ 5664 | getGenomeCoords_local( | ^~~~~~~~~~~~~~~~~~~~~ @@ -1817,32 +1861,19 @@ | ~~~~ 3556 | msinkwrap); | ~~~~~~~~~~ -group_walk.h:785:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 785 | if(i + 1 < tmp_zOffs.size() && new_top == tmp_zOffs[i+1]) { - | ~~~~~~^~~~~~~~~~~~~~~~~~ -group_walk.h:789:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 789 | if(new_top - top == tmp_gbwt_to_node.size()) { - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -group_walk.h:795:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 795 | if(i + 1 < tmp_zOffs.size()) { - | ~~~~~~^~~~~~~~~~~~~~~~~~ -group_walk.h:801:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 801 | if(new_bot - top < tmp_gbwt_to_node.size()) { - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -hi_aligner.h: In instantiation of ‘void add_haplotypes(const EList >&, const EList >&, const EList&, Haplotype&, EList >&, index_t, bool, bool) [with index_t = long unsigned int]’: -hi_aligner.h:2915:39: required from ‘static index_t GenomeHit::alignWithALTs_recur(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, EList >&, EList&, int&, const char*, index_t, int, index_t, bool, EList&, index_t, ELList >&, Haplotype&, ELList*, index_t, index_t*, index_t, const GraphPolicy&, index_t&, ALT_TYPE) [with index_t = long unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ - 2915 | add_haplotypes(alts, - | ~~~~~~~~~~~~~~^~~~~~ - 2916 | haplotypes, - | ~~~~~~~~~~~ - 2917 | haplotype_maxrights, - | ~~~~~~~~~~~~~~~~~~~~ - 2918 | cmp_ht, - | ~~~~~~~ - 2919 | ht_list, - | ~~~~~~~~ - 2920 | rdlen); - | ~~~~~~ +group_walk.h:1147:60: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 1147 | if(new_node_bot - new_node_top < gws.map.size()) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +group_walk.h:1158:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 1158 | for(index_t j = 0; j + 1 < gws.map.size(); j++) { + | ~~~~~~^~~~~~~~~~~~~~~~ +group_walk.h:1213:69: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 1213 | if(node_range.second - node_range.first < st.back().map_.size()) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +group_walk.h:1224:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 1224 | for(index_t j = 0; j + 1 < st.back().map_.size(); j++) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +hi_aligner.h: In instantiation of ‘static index_t GenomeHit::alignWithALTs_recur(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, EList >&, EList&, int&, const char*, index_t, int, index_t, bool, EList&, index_t, ELList >&, Haplotype&, ELList*, index_t, index_t*, index_t, const GraphPolicy&, index_t&, ALT_TYPE) [with index_t = long unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’: hi_aligner.h:717:28: required from ‘static index_t GenomeHit::alignWithALTs(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, SharedTempVars&, index_t, int, index_t, bool, const GraphPolicy&, EList&, ELList >&, EList >&, Haplotype&, ELList*, index_t, index_t*) [with index_t = long unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ 717 | alignWithALTs_recur( | ~~~~~~~~~~~~~~~~~~~^ @@ -2012,82 +2043,52 @@ | ~~~~ 3556 | msinkwrap); | ~~~~~~~~~~ -hi_aligner.h:2660:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 2660 | if(ht_range.first >= haplotypes.size()) - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -hi_aligner.h:2675:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] - 2675 | if(ht_list[h].first == ht_range.first) { - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -hi_aligner.h:2713:41: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] - 2713 | if(ht_list[h].first == ht_range.first) { - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -hi_aligner.h:2737:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 2737 | for(; ht_range.second < haplotypes.size(); ht_range.second++) { - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -hi_aligner.h:2744:41: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] - 2744 | if(ht_list[h].first == ht_range.second) { - | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -spliced_aligner.h: In instantiation of ‘int64_t SplicedAligner::hybridSearch_recur(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, const GenomeHit&, index_t, index_t, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, bool, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int; int64_t = long int]’: -spliced_aligner.h:331:9: required from here - 331 | int64_t SplicedAligner::hybridSearch_recur( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -spliced_aligner.h:408:18: warning: variable ‘another_spliced’ set but not used [-Wunused-but-set-variable] - 408 | bool another_spliced = false; - | ^~~~~~~~~~~~~~~ -spliced_aligner.h:782:65: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] - 782 | tempHit.score() + sc.sc(0) * hit.rdoff() >= hit.score()) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -spliced_aligner.h:1465:105: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] - 1465 | combinedHit.score() + sc.sc(0) * (rdlen - hit.rdoff() - hit.len() - hit.trim5()) >= hit.score()) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -In file included from aligner_seed2.h:109, - from aligner_driver.h:78, - from hi_aligner.h:41: -group_walk.h: In instantiation of ‘std::pair GWState::advance(const GFM&, const BitPairReference&, SARangeWithOffs&, GWHit&, index_t, bool, EList, 16>*, EList, S>&, GroupWalkState&, WalkMetrics&, PerReadMetrics&) [with int S = 16; index_t = short unsigned int; T = EListSlice]’: -group_walk.h:1517:14: required from ‘bool GroupWalk2S::advanceElement(index_t, const GFM&, const BitPairReference&, SARangeWithOffs&, GroupWalkState&, WalkResult&, WalkMetrics&, PerReadMetrics&) [with index_t = short unsigned int; T = EListSlice; int S = 16]’ - 1517 | st.advance( - | ~~~~~~~~~~^ - 1518 | gfmFw, - | ~~~~~~ - 1519 | ref, - | ~~~~ - 1520 | sa, - | ~~~ - 1521 | hit_, - | ~~~~~ - 1522 | (index_t)range, - | ~~~~~~~~~~~~~~~ - 1523 | false, - | ~~~~~~ - 1524 | NULL, - | ~~~~~ - 1525 | st_, - | ~~~~ - 1526 | gws, - | ~~~~ - 1527 | met, - | ~~~~ - 1528 | prm); - | ~~~~ -hi_aligner.h:5901:34: required from ‘bool HI_Aligner::getGenomeCoords_local(const GFM&, const ALTDB&, const BitPairReference&, RandomSource&, local_index_t, local_index_t, local_index_t, local_index_t, const EList >&, bool, index_t, index_t, EList&, WalkMetrics&, PerReadMetrics&, HIMetrics&, bool, bool&) [with index_t = unsigned int; local_index_t = short unsigned int]’ - 5901 | _gws_local.advanceElement( - | ~~~~~~~~~~~~~~~~~~~~~~~~~^ - 5902 | off, - | ~~~~ - 5903 | gfm, // forward Bowtie index for walking left - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 5904 | ref, // bitpair-encoded reference - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 5905 | _sas_local, // SA range with offsets - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 5906 | _gwstate_local, // GroupWalk state; scratch space - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 5907 | wr, // put the result here - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 5908 | met, // metrics - | ~~~~~~~~~~~~~~~~~~~~~~~~ - 5909 | prm); // per-read metrics - | ~~~~ +hi_aligner.h:2801:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 2801 | if(rfoff >= contig_len) return 0; + | ~~~~~~^~~~~~~~~~~~~ +hi_aligner.h:2879:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 2879 | if(alt_range.first >= alts.size()) { + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +group_walk.h: In instantiation of ‘std::pair GWState::init(const GFM&, const BitPairReference&, SARangeWithOffs&, EList, S>&, GWHit&, index_t, bool, EList, 16>*, WalkMetrics&) [with int S = 16; index_t = short unsigned int; T = EListSlice]’: +group_walk.h:494:14: required from ‘std::pair GWState::init(const GFM&, const BitPairReference&, SARangeWithOffs&, EList, S>&, GWHit&, index_t, bool, EList, 16>*, index_t, index_t, index_t, index_t, const EList >&, index_t, WalkMetrics&) [with int S = 16; index_t = short unsigned int; T = EListSlice]’ + 494 | return init(gfm, ref, sa, sts, hit, range, reportList, res, met); + | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +group_walk.h:1453:18: required from ‘void GroupWalk2S::init(const GFM&, const BitPairReference&, SARangeWithOffs&, RandomSource&, WalkMetrics&) [with index_t = short unsigned int; T = EListSlice; int S = 16]’ + 1453 | st_.back().init( + | ~~~~~~~~~~~~~~~^ + 1454 | gfmFw, // Bowtie index + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1455 | ref, // bitpair-encoded reference + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1456 | sa, // SA range with offsets + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1457 | st_, // EList + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1458 | hit_, // GWHit + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1459 | 0, // range 0 + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1460 | false, // put resolved elements into res_? + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1461 | NULL, // put resolved elements here + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1462 | top, // GBW row at top + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1463 | bot, // GBW row at bot + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1464 | node_top, // node at top + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1465 | node_bot, // node at bot + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1466 | sa.node_iedge_count, + | ~~~~~~~~~~~~~~~~~~~~ + 1467 | 0, // # steps taken + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1468 | met); // update metrics here + | ~~~~ +hi_aligner.h:5896:20: required from ‘bool HI_Aligner::getGenomeCoords_local(const GFM&, const ALTDB&, const BitPairReference&, RandomSource&, local_index_t, local_index_t, local_index_t, local_index_t, const EList >&, bool, index_t, index_t, EList&, WalkMetrics&, PerReadMetrics&, HIMetrics&, bool, bool&) [with index_t = unsigned int; local_index_t = short unsigned int]’ + 5896 | _gws_local.init(gfm, ref, _sas_local, rnd, met); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hi_aligner.h:5664:17: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = unsigned int; local_index_t = short unsigned int]’ 5664 | getGenomeCoords_local( | ^~~~~~~~~~~~~~~~~~~~~ @@ -2135,19 +2136,50 @@ | ~~~~ 3556 | msinkwrap); | ~~~~~~~~~~ -group_walk.h:1147:60: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 1147 | if(new_node_bot - new_node_top < gws.map.size()) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -group_walk.h:1158:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 1158 | for(index_t j = 0; j + 1 < gws.map.size(); j++) { - | ~~~~~~^~~~~~~~~~~~~~~~ -group_walk.h:1213:69: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 1213 | if(node_range.second - node_range.first < st.back().map_.size()) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -group_walk.h:1224:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 1224 | for(index_t j = 0; j + 1 < st.back().map_.size(); j++) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -hi_aligner.h: In instantiation of ‘static index_t GenomeHit::alignWithALTs_recur(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, EList >&, EList&, int&, const char*, index_t, int, index_t, bool, EList&, index_t, ELList >&, Haplotype&, ELList*, index_t, index_t*, index_t, const GraphPolicy&, index_t&, ALT_TYPE) [with index_t = unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’: +group_walk.h:785:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 785 | if(i + 1 < tmp_zOffs.size() && new_top == tmp_zOffs[i+1]) { + | ~~~~~~^~~~~~~~~~~~~~~~~~ +group_walk.h:789:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 789 | if(new_top - top == tmp_gbwt_to_node.size()) { + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +group_walk.h:795:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 795 | if(i + 1 < tmp_zOffs.size()) { + | ~~~~~~^~~~~~~~~~~~~~~~~~ +group_walk.h:801:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 801 | if(new_bot - top < tmp_gbwt_to_node.size()) { + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +hi_aligner.h:3044:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] + 3044 | for(int i = 0; i < alt.len; i++) { + | ~~^~~~~~~~~ +hi_aligner.h:3085:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] + 3085 | if(rd_i == rdoff && prev_alt_type == ALT_SPLICESITE) { + | ~~~~~^~~~~~~~ +hi_aligner.h:3161:31: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] + 3161 | if(alignedLen == next_rdlen) return rdlen; + | ~~~~~~~~~~~^~~~~~~~~~~~~ +hi_aligner.h:3197:32: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] + 3197 | if(mm_max_rd_i + rdoff > best_rdoff) { + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +hi_aligner.h:3202:39: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] + 3202 | } else if(mm_max_rd_i + rdoff == best_rdoff) { + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +hi_aligner.h:3454:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] + 3454 | if(best_rdoff < rdoff + rd_i) { + | ~~~~~~~~~~~^~~~~~~~~~~~~~ +hi_aligner.h: In instantiation of ‘void add_haplotypes(const EList >&, const EList >&, const EList&, Haplotype&, EList >&, index_t, bool, bool) [with index_t = unsigned int]’: +hi_aligner.h:2915:39: required from ‘static index_t GenomeHit::alignWithALTs_recur(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, EList >&, EList&, int&, const char*, index_t, int, index_t, bool, EList&, index_t, ELList >&, Haplotype&, ELList*, index_t, index_t*, index_t, const GraphPolicy&, index_t&, ALT_TYPE) [with index_t = unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ + 2915 | add_haplotypes(alts, + | ~~~~~~~~~~~~~~^~~~~~ + 2916 | haplotypes, + | ~~~~~~~~~~~ + 2917 | haplotype_maxrights, + | ~~~~~~~~~~~~~~~~~~~~ + 2918 | cmp_ht, + | ~~~~~~~ + 2919 | ht_list, + | ~~~~~~~~ + 2920 | rdlen); + | ~~~~~~ hi_aligner.h:717:28: required from ‘static index_t GenomeHit::alignWithALTs(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, SharedTempVars&, index_t, int, index_t, bool, const GraphPolicy&, EList&, ELList >&, EList >&, Haplotype&, ELList*, index_t, index_t*) [with index_t = unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ 717 | alignWithALTs_recur( | ~~~~~~~~~~~~~~~~~~~^ @@ -2317,68 +2349,21 @@ | ~~~~ 3556 | msinkwrap); | ~~~~~~~~~~ -hi_aligner.h:2801:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 2801 | if(rfoff >= contig_len) return 0; - | ~~~~~~^~~~~~~~~~~~~ -hi_aligner.h:2879:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 2879 | if(alt_range.first >= alts.size()) { - | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -hi_aligner.h:3044:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] - 3044 | for(int i = 0; i < alt.len; i++) { - | ~~^~~~~~~~~ -hi_aligner.h:3085:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] - 3085 | if(rd_i == rdoff && prev_alt_type == ALT_SPLICESITE) { - | ~~~~~^~~~~~~~ -hi_aligner.h:3161:31: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] - 3161 | if(alignedLen == next_rdlen) return rdlen; - | ~~~~~~~~~~~^~~~~~~~~~~~~ -hi_aligner.h:3197:32: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] - 3197 | if(mm_max_rd_i + rdoff > best_rdoff) { - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -hi_aligner.h:3202:39: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] - 3202 | } else if(mm_max_rd_i + rdoff == best_rdoff) { - | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -hi_aligner.h: In instantiation of ‘index_t HI_Aligner::globalGFMSearch(const GFM&, const Read&, const Scoring&, const ReportingParams&, bool, index_t, index_t&, index_t&, index_t&, index_t&, index_t&, EList >&, RandomSource&, bool&, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int]’: -spliced_aligner.h:1086:53: required from ‘int64_t SplicedAligner::hybridSearch_recur(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, const GenomeHit&, index_t, index_t, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, bool, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int; int64_t = long int]’ - 1086 | index_t nelt = this->globalGFMSearch( - | ~~~~~~~~~~~~~~~~~~~~~^ - 1087 | gfm, // GFM index - | ~~~~~~~~~~~~~~~~~~~~ - 1088 | rd, // read to align - | ~~~~~~~~~~~~~~~~~~~~~~~~ - 1089 | sc, // scoring scheme - | ~~~~~~~~~~~~~~~~~~~~~~~~~ - 1090 | sink.reportingParams(), - | ~~~~~~~~~~~~~~~~~~~~~~~ - 1091 | hit.fw(), - | ~~~~~~~~~ - 1092 | extoff, - | ~~~~~~~ - 1093 | extlen, - | ~~~~~~~ - 1094 | top, - | ~~~~ - 1095 | bot, - | ~~~~ - 1096 | node_top, - | ~~~~~~~~~ - 1097 | node_bot, - | ~~~~~~~~~ - 1098 | this->_node_iedge_count, - | ~~~~~~~~~~~~~~~~~~~~~~~~ - 1099 | rnd, - | ~~~~ - 1100 | uniqueStop); - | ~~~~~~~~~~~ -spliced_aligner.h:331:9: required from here - 331 | int64_t SplicedAligner::hybridSearch_recur( - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hi_aligner.h:6719:85: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘const THitInt’ {aka ‘const long int’} [-Wsign-compare] - 6719 | if(node_range.first < node_range.second && node_range.second - node_range.first <= rp.kseeds) { - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -hi_aligner.h:3454:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] - 3454 | if(best_rdoff < rdoff + rd_i) { - | ~~~~~~~~~~~^~~~~~~~~~~~~~ +hi_aligner.h:2660:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 2660 | if(ht_range.first >= haplotypes.size()) + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +hi_aligner.h:2675:37: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] + 2675 | if(ht_list[h].first == ht_range.first) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +hi_aligner.h:2713:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] + 2713 | if(ht_list[h].first == ht_range.first) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +hi_aligner.h:2737:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 2737 | for(; ht_range.second < haplotypes.size(); ht_range.second++) { + | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ +hi_aligner.h:2744:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] + 2744 | if(ht_list[h].first == ht_range.second) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ group_walk.h: In instantiation of ‘std::pair GWState::init(const GFM&, const BitPairReference&, SARangeWithOffs&, EList, S>&, GWHit&, index_t, bool, EList, 16>*, WalkMetrics&) [with int S = 16; index_t = short unsigned int; T = EListSlice]’: group_walk.h:494:14: required from ‘std::pair GWState::init(const GFM&, const BitPairReference&, SARangeWithOffs&, EList, S>&, GWHit&, index_t, bool, EList, 16>*, index_t, index_t, index_t, index_t, const EList >&, index_t, WalkMetrics&) [with int S = 16; index_t = short unsigned int; T = EListSlice]’ 494 | return init(gfm, ref, sa, sts, hit, range, reportList, res, met); @@ -2416,13 +2401,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1468 | met); // update metrics here | ~~~~ -hi_aligner.h:5896:20: required from ‘bool HI_Aligner::getGenomeCoords_local(const GFM&, const ALTDB&, const BitPairReference&, RandomSource&, local_index_t, local_index_t, local_index_t, local_index_t, const EList >&, bool, index_t, index_t, EList&, WalkMetrics&, PerReadMetrics&, HIMetrics&, bool, bool&) [with index_t = unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:5896:20: required from ‘bool HI_Aligner::getGenomeCoords_local(const GFM&, const ALTDB&, const BitPairReference&, RandomSource&, local_index_t, local_index_t, local_index_t, local_index_t, const EList >&, bool, index_t, index_t, EList&, WalkMetrics&, PerReadMetrics&, HIMetrics&, bool, bool&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ 5896 | _gws_local.init(gfm, ref, _sas_local, rnd, met); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -hi_aligner.h:5664:17: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:5664:17: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int]’ 5664 | getGenomeCoords_local( | ^~~~~~~~~~~~~~~~~~~~~ -hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ 4107 | mate_found |= alignMate( | ^~~~~~~~~ hisat2.cpp:3537:48: required from here @@ -2478,8 +2463,8 @@ group_walk.h:801:34: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 801 | if(new_bot - top < tmp_gbwt_to_node.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -hi_aligner.h: In instantiation of ‘void add_haplotypes(const EList >&, const EList >&, const EList&, Haplotype&, EList >&, index_t, bool, bool) [with index_t = unsigned int]’: -hi_aligner.h:2915:39: required from ‘static index_t GenomeHit::alignWithALTs_recur(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, EList >&, EList&, int&, const char*, index_t, int, index_t, bool, EList&, index_t, ELList >&, Haplotype&, ELList*, index_t, index_t*, index_t, const GraphPolicy&, index_t&, ALT_TYPE) [with index_t = unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ +hi_aligner.h: In instantiation of ‘void add_haplotypes(const EList >&, const EList >&, const EList&, Haplotype&, EList >&, index_t, bool, bool) [with index_t = long unsigned int]’: +hi_aligner.h:2915:39: required from ‘static index_t GenomeHit::alignWithALTs_recur(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, EList >&, EList&, int&, const char*, index_t, int, index_t, bool, EList&, index_t, ELList >&, Haplotype&, ELList*, index_t, index_t*, index_t, const GraphPolicy&, index_t&, ALT_TYPE) [with index_t = long unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ 2915 | add_haplotypes(alts, | ~~~~~~~~~~~~~~^~~~~~ 2916 | haplotypes, @@ -2492,7 +2477,7 @@ | ~~~~~~~~ 2920 | rdlen); | ~~~~~~ -hi_aligner.h:717:28: required from ‘static index_t GenomeHit::alignWithALTs(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, SharedTempVars&, index_t, int, index_t, bool, const GraphPolicy&, EList&, ELList >&, EList >&, Haplotype&, ELList*, index_t, index_t*) [with index_t = unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ +hi_aligner.h:717:28: required from ‘static index_t GenomeHit::alignWithALTs(const EList >&, const EList >&, const EList&, index_t, const BTDnaString&, index_t, index_t, index_t, const BitPairReference&, SharedTempVars&, index_t, int, index_t, bool, const GraphPolicy&, EList&, ELList >&, EList >&, Haplotype&, ELList*, index_t, index_t*) [with index_t = long unsigned int; BTDnaString = SDnaStringExpandable<1024, 2>]’ 717 | alignWithALTs_recur( | ~~~~~~~~~~~~~~~~~~~^ 718 | alts, @@ -2551,7 +2536,7 @@ | ~~~~~ 745 | numALTsTried); | ~~~~~~~~~~~~~ -hi_aligner.h:2337:47: required from ‘static bool GenomeHit::adjustWithALT(index_t, index_t, const Coord&, SharedTempVars&, EList >&, const Read&, const GFM&, const ALTDB&, const BitPairReference&, const GraphPolicy&) [with index_t = unsigned int]’ +hi_aligner.h:2337:47: required from ‘static bool GenomeHit::adjustWithALT(index_t, index_t, const Coord&, SharedTempVars&, EList >&, const Read&, const GFM&, const ALTDB&, const BitPairReference&, const GraphPolicy&) [with index_t = long unsigned int]’ 2337 | index_t alignedLen = alignWithALTs( | ~~~~~~~~~~~~~^ 2338 | alts, @@ -2594,7 +2579,7 @@ | ~~~~~~~~~~~~~~~~~~ 2357 | &candidate_edits); | ~~~~~~~~~~~~~~~~~ -hi_aligner.h:5692:54: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:5692:54: required from ‘bool HI_Aligner::alignMate(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, bool, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, index_t, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int]’ 5692 | GenomeHit::adjustWithALT( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 5693 | hitoff - hitlen + 1, @@ -2617,7 +2602,7 @@ | ~~~~ 5702 | gpol); | ~~~~~ -hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = unsigned int; local_index_t = short unsigned int]’ +hi_aligner.h:4107:39: required from ‘int HI_Aligner::go(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const GFM*, const ALTDB&, const RepeatDB&, const ALTDB&, const BitPairReference&, const BitPairReference*, SwAligner&, SpliceSiteDB&, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&) [with index_t = long unsigned int; local_index_t = short unsigned int]’ 4107 | mate_found |= alignMate( | ^~~~~~~~~ hisat2.cpp:3537:48: required from here @@ -2664,16 +2649,16 @@ hi_aligner.h:2660:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2660 | if(ht_range.first >= haplotypes.size()) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -hi_aligner.h:2675:37: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] +hi_aligner.h:2675:37: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 2675 | if(ht_list[h].first == ht_range.first) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -hi_aligner.h:2713:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] +hi_aligner.h:2713:41: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 2713 | if(ht_list[h].first == ht_range.first) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ hi_aligner.h:2737:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2737 | for(; ht_range.second < haplotypes.size(); ht_range.second++) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ -hi_aligner.h:2744:41: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] +hi_aligner.h:2744:41: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int’ [-Wsign-compare] 2744 | if(ht_list[h].first == ht_range.second) { | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ spliced_aligner.h: In instantiation of ‘int64_t SplicedAligner::hybridSearch_recur(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, const GenomeHit&, index_t, index_t, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, bool, index_t) [with index_t = unsigned int; local_index_t = short unsigned int; int64_t = long int]’: @@ -2683,6 +2668,57 @@ spliced_aligner.h:408:18: warning: variable ‘another_spliced’ set but not used [-Wunused-but-set-variable] 408 | bool another_spliced = false; | ^~~~~~~~~~~~~~~ +spliced_aligner.h: In instantiation of ‘int64_t SplicedAligner::hybridSearch_recur(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, const GenomeHit&, index_t, index_t, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, bool, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int; int64_t = long int]’: +spliced_aligner.h:331:9: required from here + 331 | int64_t SplicedAligner::hybridSearch_recur( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +spliced_aligner.h:408:18: warning: variable ‘another_spliced’ set but not used [-Wunused-but-set-variable] + 408 | bool another_spliced = false; + | ^~~~~~~~~~~~~~~ +spliced_aligner.h:782:65: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] + 782 | tempHit.score() + sc.sc(0) * hit.rdoff() >= hit.score()) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +spliced_aligner.h:1465:105: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] + 1465 | combinedHit.score() + sc.sc(0) * (rdlen - hit.rdoff() - hit.len() - hit.trim5()) >= hit.score()) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +hi_aligner.h: In instantiation of ‘index_t HI_Aligner::globalGFMSearch(const GFM&, const Read&, const Scoring&, const ReportingParams&, bool, index_t, index_t&, index_t&, index_t&, index_t&, index_t&, EList >&, RandomSource&, bool&, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int]’: +spliced_aligner.h:1086:53: required from ‘int64_t SplicedAligner::hybridSearch_recur(const Scoring&, const PairedEndPolicy&, const TranscriptomePolicy&, const GraphPolicy&, const GFM&, const ALTDB&, const RepeatDB&, const BitPairReference&, SwAligner&, SpliceSiteDB&, index_t, const GenomeHit&, index_t, index_t, WalkMetrics&, PerReadMetrics&, SwMetrics&, HIMetrics&, RandomSource&, AlnSinkWrap&, bool, index_t) [with index_t = long unsigned int; local_index_t = short unsigned int; int64_t = long int]’ + 1086 | index_t nelt = this->globalGFMSearch( + | ~~~~~~~~~~~~~~~~~~~~~^ + 1087 | gfm, // GFM index + | ~~~~~~~~~~~~~~~~~~~~ + 1088 | rd, // read to align + | ~~~~~~~~~~~~~~~~~~~~~~~~ + 1089 | sc, // scoring scheme + | ~~~~~~~~~~~~~~~~~~~~~~~~~ + 1090 | sink.reportingParams(), + | ~~~~~~~~~~~~~~~~~~~~~~~ + 1091 | hit.fw(), + | ~~~~~~~~~ + 1092 | extoff, + | ~~~~~~~ + 1093 | extlen, + | ~~~~~~~ + 1094 | top, + | ~~~~ + 1095 | bot, + | ~~~~ + 1096 | node_top, + | ~~~~~~~~~ + 1097 | node_bot, + | ~~~~~~~~~ + 1098 | this->_node_iedge_count, + | ~~~~~~~~~~~~~~~~~~~~~~~~ + 1099 | rnd, + | ~~~~ + 1100 | uniqueStop); + | ~~~~~~~~~~~ +spliced_aligner.h:331:9: required from here + 331 | int64_t SplicedAligner::hybridSearch_recur( + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +hi_aligner.h:6719:85: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘const THitInt’ {aka ‘const long int’} [-Wsign-compare] + 6719 | if(node_range.first < node_range.second && node_range.second - node_range.first <= rp.kseeds) { + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 367 | if(i + 1 >= recs.size() || recs[i+1].first) { @@ -2810,6 +2846,16 @@ alt.h:180:13: note: in expansion of macro ‘assert_leq’ 180 | assert_leq(fw, 1); | ^~~~~~~~~~ +In file included from alphabet.h:27, + from gfm.h:40, + from gfm.cpp:21: +alt.h: In member function ‘bool ALT::repOk() const’: +assert_helpers.h:227:18: warning: comparison of constant ‘1’ with boolean expression is always true [-Wbool-compare] + 227 | if(!((a) <= (b))) { \ + | ~~~~^~~~~~ +alt.h:180:13: note: in expansion of macro ‘assert_leq’ + 180 | assert_leq(fw, 1); + | ^~~~~~~~~~ gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -2825,22 +2871,6 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -In file included from alphabet.h:27, - from gfm.h:40, - from gfm.cpp:21: -alt.h: In member function ‘bool ALT::repOk() const’: -assert_helpers.h:227:18: warning: comparison of constant ‘1’ with boolean expression is always true [-Wbool-compare] - 227 | if(!((a) <= (b))) { \ - | ~~~~^~~~~~ -alt.h:180:13: note: in expansion of macro ‘assert_leq’ - 180 | assert_leq(fw, 1); - | ^~~~~~~~~~ -In file included from splice_site.h:34, - from edit.h:30, - from aligner_result.h:30, - from aligner_sw_common.h:23, - from aligner_bt.h:25, - from aligner_bt.cpp:20: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -2856,6 +2886,12 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +In file included from splice_site.h:34, + from edit.h:30, + from aligner_result.h:30, + from aligner_sw_common.h:23, + from aligner_bt.h:25, + from aligner_bt.cpp:20: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -2922,6 +2958,32 @@ In member function ‘void SString::resize(size_t) [with T = char]’, inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:687:9, inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:685:15, + inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int]’ at rfm.h:768:29: +sstring.h:602:25: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 602 | delete cs_; + | ^~~~~~~~~~ +In member function ‘void SString::resize(size_t) [with T = char]’, + inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int]’ at rfm.h:764:24: +sstring.h:610:31: note: returned from ‘void* operator new [](std::size_t)’ + 610 | cs_ = new T[sz+1]; + | ^~~~~~~~~~~ +In member function ‘void SString::resize(size_t) [with T = char]’, + inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:687:9, + inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:685:15, + inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int]’ at rfm.h:766:29: +sstring.h:602:25: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] + 602 | delete cs_; + | ^~~~~~~~~~ +In member function ‘void SString::resize(size_t) [with T = char]’, + inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int]’ at rfm.h:764:24: +sstring.h:610:31: note: returned from ‘void* operator new [](std::size_t)’ + 610 | cs_ = new T[sz+1]; + | ^~~~~~~~~~~ +In file included from sequence_io.h:30, + from hisat2_build.cpp:28: +In member function ‘void SString::resize(size_t) [with T = char]’, + inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:687:9, + inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:685:15, inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = unsigned int]’ at rfm.h:768:29: sstring.h:602:25: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 602 | delete cs_; @@ -2943,29 +3005,27 @@ sstring.h:610:31: note: returned from ‘void* operator new [](std::size_t)’ 610 | cs_ = new T[sz+1]; | ^~~~~~~~~~~ -In file included from sequence_io.h:30, - from hisat2_build.cpp:28: In member function ‘void SString::resize(size_t) [with T = char]’, inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:687:9, inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:685:15, - inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int]’ at rfm.h:768:29: + inlined from ‘HGFM::HGFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; local_index_t = short unsigned int]’ at hgfm.h:2259:41: sstring.h:602:25: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 602 | delete cs_; | ^~~~~~~~~~ In member function ‘void SString::resize(size_t) [with T = char]’, - inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int]’ at rfm.h:764:24: + inlined from ‘HGFM::HGFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; local_index_t = short unsigned int]’ at hgfm.h:2255:36: sstring.h:610:31: note: returned from ‘void* operator new [](std::size_t)’ 610 | cs_ = new T[sz+1]; | ^~~~~~~~~~~ In member function ‘void SString::resize(size_t) [with T = char]’, inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:687:9, inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:685:15, - inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int]’ at rfm.h:766:29: + inlined from ‘HGFM::HGFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; local_index_t = short unsigned int]’ at hgfm.h:2257:41: sstring.h:602:25: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 602 | delete cs_; | ^~~~~~~~~~ In member function ‘void SString::resize(size_t) [with T = char]’, - inlined from ‘RFM::RFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int]’ at rfm.h:764:24: + inlined from ‘HGFM::HGFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; local_index_t = short unsigned int]’ at hgfm.h:2255:36: sstring.h:610:31: note: returned from ‘void* operator new [](std::size_t)’ 610 | cs_ = new T[sz+1]; | ^~~~~~~~~~~ @@ -3020,30 +3080,14 @@ sstring.h:610:31: note: returned from ‘void* operator new [](std::size_t)’ 610 | cs_ = new T[sz+1]; | ^~~~~~~~~~~ -In member function ‘void SString::resize(size_t) [with T = char]’, - inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:687:9, - inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:685:15, - inlined from ‘HGFM::HGFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; local_index_t = short unsigned int]’ at hgfm.h:2259:41: -sstring.h:602:25: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 602 | delete cs_; - | ^~~~~~~~~~ -In member function ‘void SString::resize(size_t) [with T = char]’, - inlined from ‘HGFM::HGFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; local_index_t = short unsigned int]’ at hgfm.h:2255:36: -sstring.h:610:31: note: returned from ‘void* operator new [](std::size_t)’ - 610 | cs_ = new T[sz+1]; - | ^~~~~~~~~~~ -In member function ‘void SString::resize(size_t) [with T = char]’, - inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:687:9, - inlined from ‘void SString::install(const T*, size_t) [with T = char]’ at sstring.h:685:15, - inlined from ‘HGFM::HGFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; local_index_t = short unsigned int]’ at hgfm.h:2257:41: -sstring.h:602:25: warning: ‘void operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] - 602 | delete cs_; - | ^~~~~~~~~~ -In member function ‘void SString::resize(size_t) [with T = char]’, - inlined from ‘HGFM::HGFM(TStr&, bool, int, int32_t, int32_t, int32_t, int32_t, int32_t, int, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, const std::string&, bool, bool, TIndexOffU, TIndexOffU, TIndexOffU, int, EList&, EList&, index_t, const RefReadInParams&, bool, EList*, EList >*, uint32_t, int32_t, bool, bool, bool) [with TStr = SString; index_t = long unsigned int; local_index_t = short unsigned int]’ at hgfm.h:2255:36: -sstring.h:610:31: note: returned from ‘void* operator new [](std::size_t)’ - 610 | cs_ = new T[sz+1]; - | ^~~~~~~~~~~ +ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: +ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 367 | if(i + 1 >= recs.size() || recs[i+1].first) { + | ~~~~~~^~~~~~~~~~~~~~ +ref_read.cpp: In function ‘std::pair fastaRefReadFragsNames(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&, EList >&)’: +ref_read.cpp:440:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 440 | if(i + 1 >= recs.size() || recs[i+1].first) { + | ~~~~~~^~~~~~~~~~~~~~ In file included from splice_site.h:34, from edit.h:30, from aligner_result.h:30, @@ -3071,22 +3115,6 @@ 191 | NBest() { nelt_ = nbest_ = n_ = 0; } | ^ aligner_sw_nuc.h:191:17: note: remove the ‘< >’ -ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: -ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 367 | if(i + 1 >= recs.size() || recs[i+1].first) { - | ~~~~~~^~~~~~~~~~~~~~ -ref_read.cpp: In function ‘std::pair fastaRefReadFragsNames(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&, EList >&)’: -ref_read.cpp:440:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 440 | if(i + 1 >= recs.size() || recs[i+1].first) { - | ~~~~~~^~~~~~~~~~~~~~ -ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: -ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 367 | if(i + 1 >= recs.size() || recs[i+1].first) { - | ~~~~~~^~~~~~~~~~~~~~ -ref_read.cpp: In function ‘std::pair fastaRefReadFragsNames(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&, EList >&)’: -ref_read.cpp:440:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 440 | if(i + 1 >= recs.size() || recs[i+1].first) { - | ~~~~~~^~~~~~~~~~~~~~ In file included from splice_site.h:34, from edit.h:30, from edit.cpp:21: @@ -3105,9 +3133,15 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -In file included from splice_site.h:34, - from edit.h:30, - from edit.cpp:21: +ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: +ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 367 | if(i + 1 >= recs.size() || recs[i+1].first) { + | ~~~~~~^~~~~~~~~~~~~~ +ref_read.cpp: In function ‘std::pair fastaRefReadFragsNames(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&, EList >&)’: +ref_read.cpp:440:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 440 | if(i + 1 >= recs.size() || recs[i+1].first) { + | ~~~~~~^~~~~~~~~~~~~~ +In file included from gfm.cpp:21: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -3123,7 +3157,16 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -In file included from gfm.cpp:21: +reference.cpp: In member function ‘int BitPairReference::getStretch(uint32_t*, size_t, size_t, size_t) const’: +reference.cpp:522:26: warning: variable ‘origBufOff’ set but not used [-Wunused-but-set-variable] + 522 | uint64_t origBufOff = bufOff; + | ^~~~~~~~~~ +reference.cpp:516:14: warning: variable ‘binarySearched’ set but not used [-Wunused-but-set-variable] + 516 | bool binarySearched = false; + | ^~~~~~~~~~~~~~ +In file included from splice_site.h:34, + from edit.h:30, + from edit.cpp:21: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -3160,6 +3203,12 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +In file included from aligner_sw.h:76: +aligner_sw_nuc.h: At global scope: +aligner_sw_nuc.h:191:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] + 191 | NBest() { nelt_ = nbest_ = n_ = 0; } + | ^ +aligner_sw_nuc.h:191:17: note: remove the ‘< >’ In file included from gfm.cpp:21: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] @@ -3176,19 +3225,6 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -In file included from aligner_sw.h:76: -aligner_sw_nuc.h: At global scope: -aligner_sw_nuc.h:191:17: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] - 191 | NBest() { nelt_ = nbest_ = n_ = 0; } - | ^ -aligner_sw_nuc.h:191:17: note: remove the ‘< >’ -reference.cpp: In member function ‘int BitPairReference::getStretch(uint32_t*, size_t, size_t, size_t) const’: -reference.cpp:522:26: warning: variable ‘origBufOff’ set but not used [-Wunused-but-set-variable] - 522 | uint64_t origBufOff = bufOff; - | ^~~~~~~~~~ -reference.cpp:516:14: warning: variable ‘binarySearched’ set but not used [-Wunused-but-set-variable] - 516 | bool binarySearched = false; - | ^~~~~~~~~~~~~~ reference.cpp: In member function ‘int BitPairReference::getStretch(uint32_t*, size_t, size_t, size_t) const’: reference.cpp:522:26: warning: variable ‘origBufOff’ set but not used [-Wunused-but-set-variable] 522 | uint64_t origBufOff = bufOff; @@ -3196,22 +3232,6 @@ reference.cpp:516:14: warning: variable ‘binarySearched’ set but not used [-Wunused-but-set-variable] 516 | bool binarySearched = false; | ^~~~~~~~~~~~~~ -ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: -ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 367 | if(i + 1 >= recs.size() || recs[i+1].first) { - | ~~~~~~^~~~~~~~~~~~~~ -ref_read.cpp: In function ‘std::pair fastaRefReadFragsNames(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&, EList >&)’: -ref_read.cpp:440:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 440 | if(i + 1 >= recs.size() || recs[i+1].first) { - | ~~~~~~^~~~~~~~~~~~~~ -ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: -ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 367 | if(i + 1 >= recs.size() || recs[i+1].first) { - | ~~~~~~^~~~~~~~~~~~~~ -ref_read.cpp: In function ‘std::pair fastaRefReadFragsNames(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&, EList >&)’: -ref_read.cpp:440:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] - 440 | if(i + 1 >= recs.size() || recs[i+1].first) { - | ~~~~~~^~~~~~~~~~~~~~ In file included from splice_site.h:34, from edit.h:30, from aligner_result.h:30, @@ -3239,6 +3259,22 @@ 191 | NBest() { nelt_ = nbest_ = n_ = 0; } | ^ aligner_sw_nuc.h:191:17: note: remove the ‘< >’ +ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: +ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 367 | if(i + 1 >= recs.size() || recs[i+1].first) { + | ~~~~~~^~~~~~~~~~~~~~ +ref_read.cpp: In function ‘std::pair fastaRefReadFragsNames(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&, EList >&)’: +ref_read.cpp:440:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 440 | if(i + 1 >= recs.size() || recs[i+1].first) { + | ~~~~~~^~~~~~~~~~~~~~ +ref_read.cpp: In function ‘std::pair fastaRefReadSizes(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&)’: +ref_read.cpp:367:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 367 | if(i + 1 >= recs.size() || recs[i+1].first) { + | ~~~~~~^~~~~~~~~~~~~~ +ref_read.cpp: In function ‘std::pair fastaRefReadFragsNames(EList&, EList&, const RefReadInParams&, BitpairOutFileBuf*, TIndexOff&, EList >&)’: +ref_read.cpp:440:22: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] + 440 | if(i + 1 >= recs.size() || recs[i+1].first) { + | ~~~~~~^~~~~~~~~~~~~~ In file included from splice_site.h:34, from edit.h:30, from edit.cpp:21: @@ -3275,7 +3311,11 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -In file included from gfm.cpp:21: +In file included from splice_site.h:34, + from edit.h:30, + from aligner_result.h:30, + from aligner_sw_common.h:23, + from aligner_swsse.cpp:21: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -3314,11 +3354,7 @@ reference.cpp:516:14: warning: variable ‘binarySearched’ set but not used [-Wunused-but-set-variable] 516 | bool binarySearched = false; | ^~~~~~~~~~~~~~ -In file included from splice_site.h:34, - from edit.h:30, - from aligner_result.h:30, - from aligner_sw_common.h:23, - from aligner_swsse.cpp:21: +In file included from gfm.cpp:21: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -4090,7 +4126,10 @@ | ^~~~~~~~ In file included from splice_site.h:34, from edit.h:30, - from splice_site.cpp:20: + from aligner_result.h:30, + from aligner_seed2.h:102, + from aligner_driver.h:78, + from aligner_driver.cpp:20: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -4106,27 +4145,9 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -splice_site.cpp: In member function ‘void SpliceSiteDB::read(const GFM&, const EList >&)’: -splice_site.cpp:717:59: warning: ‘?:’ using integer constants in boolean context, the expression will always evaluate to ‘true’ [-Wint-in-bool-context] - 717 | exons.back().init(ref, left, right, fw == '+' ? SPL_FW : SPL_RC); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ -In file included from edit.h:29: -ds.h: In instantiation of ‘void EList::push_back_array(const T*, size_t) [with T = Exon; int S = 128; size_t = long unsigned int]’: -splice_site.cpp:722:31: required from here - 722 | _exons.push_back_array(exons.begin(), exons.size()); - | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -ds.h:663:28: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Exon’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] - 663 | std::memcpy(list_ + cur_, l, bytes); - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -splice_site.h:377:7: note: ‘class Exon’ declared here - 377 | class Exon { - | ^~~~ In file included from splice_site.h:34, from edit.h:30, - from aligner_result.h:30, - from aligner_seed2.h:102, - from aligner_driver.h:78, - from aligner_driver.cpp:20: + from splice_site.cpp:20: gfm.h: In static member function ‘static std::pair*, GFM*> GFM::fromStrings(const EList >&, bool, int, bool, int32_t, int32_t, int32_t, const std::string&, bool, index_t, index_t, index_t, int, uint32_t, bool, bool, bool)’: gfm.h:1185:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 1185 | auto_ptr ss(new stringstream()); @@ -4142,6 +4163,21 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ +splice_site.cpp: In member function ‘void SpliceSiteDB::read(const GFM&, const EList >&)’: +splice_site.cpp:717:59: warning: ‘?:’ using integer constants in boolean context, the expression will always evaluate to ‘true’ [-Wint-in-bool-context] + 717 | exons.back().init(ref, left, right, fw == '+' ? SPL_FW : SPL_RC); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from edit.h:29: +ds.h: In instantiation of ‘void EList::push_back_array(const T*, size_t) [with T = Exon; int S = 128; size_t = long unsigned int]’: +splice_site.cpp:722:31: required from here + 722 | _exons.push_back_array(exons.begin(), exons.size()); + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +ds.h:663:28: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class Exon’; use copy-assignment or copy-initialization instead [-Wclass-memaccess] + 663 | std::memcpy(list_ + cur_, l, bytes); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ +splice_site.h:377:7: note: ‘class Exon’ declared here + 377 | class Exon { + | ^~~~ In file included from splice_site.h:34, from edit.h:30, from splice_site.cpp:20: @@ -4160,7 +4196,7 @@ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template class auto_ptr; | ^~~~~~~~ -splice_site.cpp: In member function ‘void SpliceSiteDB::read(const GFM&, const EList >&)’: +splice_site.cpp: In member function ‘void SpliceSiteDB::read(const GFM&, const EList >&)’: splice_site.cpp:717:59: warning: ‘?:’ using integer constants in boolean context, the expression will always evaluate to ‘true’ [-Wint-in-bool-context] 717 | exons.back().init(ref, left, right, fw == '+' ? SPL_FW : SPL_RC); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ @@ -4244,12 +4280,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/4017648/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4017648/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/513219 and its subdirectories -I: Current time: Thu Jan 15 06:20:09 -12 2026 -I: pbuilder-time-stamp: 1768501209 +I: removing directory /srv/workspace/pbuilder/4017648 and its subdirectories +I: Current time: Sat Dec 14 02:01:01 +14 2024 +I: pbuilder-time-stamp: 1734091261