Diff of the two buildlogs: -- --- b1/build.log 2024-05-02 23:15:05.229917110 +0000 +++ b2/build.log 2024-05-02 23:19:04.143771041 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 2 11:11:20 -12 2024 -I: pbuilder-time-stamp: 1714691480 +I: Current time: Thu Jun 5 19:38:08 +14 2025 +I: pbuilder-time-stamp: 1749101888 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,51 +35,83 @@ dpkg-source: info: applying riscv5 I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2742253/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1002504/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 5 05:38 /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/1002504/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1002504/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='amd64' - 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='231c8e818e664efc97e768d6dde7bb13' - 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='2742253' - PS1='# ' - PS2='> ' + INVOCATION_ID=717689cef84242a3b6e513fb0737ee4c + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1002504 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.or2il3FN/pbuilderrc_48LH --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.or2il3FN/b1 --logfile b1/build.log hisat2_2.2.1-4.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' + 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.or2il3FN/pbuilderrc_GMMQ --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.or2il3FN/b2 --logfile b2/build.log hisat2_2.2.1-4.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' I: uname -a - Linux infom01-amd64 6.1.0-20-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 23 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2742253/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 24 13:34 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1002504/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -211,7 +243,7 @@ Get: 50 http://deb.debian.org/debian trixie/main amd64 libyaml-0-2 amd64 0.2.5-1+b1 [52.6 kB] Get: 51 http://deb.debian.org/debian trixie/main amd64 pandoc-data all 3.1.3-1 [445 kB] Get: 52 http://deb.debian.org/debian trixie/main amd64 pandoc amd64 3.1.3+ds-3 [24.3 MB] -Fetched 53.4 MB in 1s (56.5 MB/s) +Fetched 53.4 MB in 3s (19.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libdb5.3:amd64: dependency problems, but removing anyway as you requested: libperl5.38:amd64 depends on libdb5.3. @@ -413,8 +445,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 2 23:12:27 UTC 2024. -Universal Time is now: Thu May 2 23:12:27 UTC 2024. +Local time is now: Thu Jun 5 05:39:38 UTC 2025. +Universal Time is now: Thu Jun 5 05:39:38 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -460,7 +492,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-4_source.changes +I: user script /srv/workspace/pbuilder/1002504/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1002504/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-4_source.changes dpkg-buildpackage: info: source package hisat2 dpkg-buildpackage: info: source version 2.2.1-4 dpkg-buildpackage: info: source distribution unstable @@ -552,8 +588,7 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from hgfm.h:24, - from hisat2.cpp:33: +In file included from hisat2_build.cpp:35: 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()); @@ -569,8 +604,7 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from hgfm.h:24, - from hisat2.cpp:33: +In file included from hisat2_repeat.cpp:36: 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()); @@ -586,7 +620,8 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from hisat2_build.cpp:35: +In file included from hgfm.h:24, + from hisat2.cpp:33: 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()); @@ -602,7 +637,8 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from hisat2_repeat.cpp:36: +In file included from hgfm.h:24, + from hisat2.cpp:33: 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()); @@ -674,13 +710,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | 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)); @@ -700,6 +729,51 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from hgfm.h:24, + from hisat2_inspect.cpp:27: +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()); + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from gfm.h:28: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +gfm.h:1189:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1189 | auto_ptr fb(new FileBuf(ss.get())); + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +In file included from spliced_aligner.h:23, + from hisat2.cpp:46: +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]’ +hisat2.cpp:3537:48: required from here +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]’ +hisat2.cpp:4351:26: required from here +gfm.h:6935:13: warning: variable ‘lastorig’ set but not used [-Wunused-but-set-variable] + 6935 | int lastorig = -1; + | ^~~~~~~~ +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++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | 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)); @@ -726,30 +800,57 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -In file included from hgfm.h:24, - from hisat2_inspect.cpp:27: -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()); - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from gfm.h:28: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -gfm.h:1189:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1189 | auto_ptr fb(new FileBuf(ss.get())); - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ +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]’ +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]’ +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: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]’ +hisat2.cpp:3537:48: required from here +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>]’: +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: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: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: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]’ +hisat2.cpp:3537:48: required from here +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:3454:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] + 3454 | if(best_rdoff < rdoff + rd_i) { + | ~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from spliced_aligner.h:23, from hisat2.cpp:46: 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]’: @@ -781,14 +882,47 @@ 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) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -In file included from spliced_aligner.h:23, - from hisat2.cpp:46: -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]’: +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]’ +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]’ +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: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: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]’ hisat2.cpp:3537:48: required from here -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()) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +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 = 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: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: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: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: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]’ +hisat2.cpp:3537:48: required from here +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) { + | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ 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]’ hisat2.cpp:3537:48: required from here @@ -807,12 +941,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()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -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]’ -hisat2.cpp:4351:26: required from here -gfm.h:6935:13: warning: variable ‘lastorig’ set but not used [-Wunused-but-set-variable] - 6935 | int lastorig = -1; - | ^~~~~~~~ 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]’ hisat2.cpp:4351:26: required from here @@ -833,57 +961,17 @@ 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); | ~~~~~~~~~~~~~~~~~~^~~~~~~~ -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]’ -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]’ -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: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]’ -hisat2.cpp:3537:48: required from here -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>]’: -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: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: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: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]’ -hisat2.cpp:3537:48: required from here -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:3454:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] - 3454 | if(best_rdoff < rdoff + rd_i) { - | ~~~~~~~~~~~^~~~~~~~~~~~~~ +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]’: +spliced_aligner.h:331:9: required from here +spliced_aligner.h:408:18: warning: variable ‘another_spliced’ set but not used [-Wunused-but-set-variable] + 408 | bool another_spliced = false; + | ^~~~~~~~~~~~~~~ +hi_aligner.h: In instantiation of ‘bool GenomeHit::combineWith(const GenomeHit&, const Read&, const GFM&, const BitPairReference&, const ALTDB&, const RepeatDB&, SpliceSiteDB&, SwAligner&, SwMetrics&, const Scoring&, TAlScore, RandomSource&, index_t, index_t, index_t, index_t, index_t, index_t, const SpliceSite*, bool) [with index_t = unsigned int; TAlScore = long int]’: +spliced_aligner.h:494:60: 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 = unsigned int; local_index_t = short unsigned int; int64_t = long int]’ +spliced_aligner.h:331:9: required from here +hi_aligner.h:1926:32: warning: comparison of integer expressions of different signedness: ‘const uint64_t’ {aka ‘const long unsigned int’} and ‘char’ [-Wsign-compare] + 1926 | if(alt.seq == rdc) { + | ~~~~~~~~^~~~~~ In file included from aligner_seed2.h:109, from aligner_driver.h:78, from hi_aligner.h:41: @@ -938,47 +1026,6 @@ 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]’ 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]’ -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: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: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]’ -hisat2.cpp:3537:48: required from here -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 = 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: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: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: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: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]’ -hisat2.cpp:3537:48: required from here -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]’ -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]’ 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]’ 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: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]’ @@ -1017,17 +1064,6 @@ 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]’: -spliced_aligner.h:331:9: required from here -spliced_aligner.h:408:18: warning: variable ‘another_spliced’ set but not used [-Wunused-but-set-variable] - 408 | bool another_spliced = false; - | ^~~~~~~~~~~~~~~ -hi_aligner.h: In instantiation of ‘bool GenomeHit::combineWith(const GenomeHit&, const Read&, const GFM&, const BitPairReference&, const ALTDB&, const RepeatDB&, SpliceSiteDB&, SwAligner&, SwMetrics&, const Scoring&, TAlScore, RandomSource&, index_t, index_t, index_t, index_t, index_t, index_t, const SpliceSite*, bool) [with index_t = unsigned int; TAlScore = long int]’: -spliced_aligner.h:494:60: 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 = unsigned int; local_index_t = short unsigned int; int64_t = long int]’ -spliced_aligner.h:331:9: required from here -hi_aligner.h:1926:32: warning: comparison of integer expressions of different signedness: ‘const uint64_t’ {aka ‘const long unsigned int’} and ‘char’ [-Wsign-compare] - 1926 | if(alt.seq == rdc) { - | ~~~~~~~~^~~~~~ 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 spliced_aligner.h:408:18: warning: variable ‘another_spliced’ set but not used [-Wunused-but-set-variable] @@ -1093,13 +1129,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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; - | ^~~~~~~~~~~~~~ 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) { @@ -1108,6 +1137,13 @@ 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) { | ~~~~~~^~~~~~~~~~~~~~ +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; + | ^~~~~~~~~~~~~~ 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) { @@ -1142,12 +1178,17 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +In file included from edit.h:26, + from edit.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: + from edit.h:30: 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()); @@ -1163,17 +1204,12 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -In file included from edit.h:26, - from edit.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 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()); @@ -1239,6 +1275,32 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +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: +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 splice_site.h:34, from edit.h:30, from aligner_result.h:30, @@ -1284,53 +1346,30 @@ 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]; | ^~~~~~~~~~~ -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_sw.h:75, - from aligner_sw.cpp:25: -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()); - | ^~~~~~~~ -In file included from /usr/include/c++/13/memory:78, - from gfm.h:28: -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ -gfm.h:1189:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] - 1189 | auto_ptr fb(new FileBuf(ss.get())); - | ^~~~~~~~ -/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here - 65 | template class auto_ptr; - | ^~~~~~~~ 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, @@ -1355,36 +1394,12 @@ 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]; - | ^~~~~~~~~~~ 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_sw.h:75, - from aligner_swsse_ee_i16.cpp:56: + from aligner_sw.cpp:25: 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()); @@ -1421,7 +1436,7 @@ from aligner_result.h:30, from aligner_sw_common.h:23, from aligner_sw.h:75, - from aligner_swsse_ee_u8.cpp:56: + from aligner_swsse_ee_i16.cpp:56: 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()); @@ -1489,12 +1504,27 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +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; + | ^~~~~~~~~~~~~~ +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, from aligner_sw_common.h:23, from aligner_sw.h:75, - from aligner_swsse_loc_i16.cpp:56: + from aligner_swsse_ee_u8.cpp:56: 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()); @@ -1510,21 +1540,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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; - | ^~~~~~~~~~~~~~ -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] @@ -1541,13 +1556,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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; - | ^~~~~~~~~~~~~~ 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) { @@ -1556,6 +1564,13 @@ 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) { | ~~~~~~^~~~~~~~~~~~~~ +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: @@ -1576,10 +1591,7 @@ | ^~~~~~~~ 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_sw.h:75, - from aligner_swsse_loc_u8.cpp:56: + 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()); @@ -1597,7 +1609,10 @@ | ^~~~~~~~ In file included from splice_site.h:34, from edit.h:30, - from edit.cpp:21: + from aligner_result.h:30, + from aligner_sw_common.h:23, + from aligner_sw.h:75, + from aligner_swsse_loc_i16.cpp:56: 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()); @@ -1652,6 +1667,34 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +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 aligner_result.h:30, + from aligner_sw_common.h:23, + from aligner_sw.h:75, + from aligner_swsse_loc_u8.cpp:56: +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()); + | ^~~~~~~~ +In file included from /usr/include/c++/13/memory:78, + from gfm.h:28: +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ +gfm.h:1189:17: warning: ‘template class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] + 1189 | auto_ptr fb(new FileBuf(ss.get())); + | ^~~~~~~~ +/usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here + 65 | template class auto_ptr; + | ^~~~~~~~ In file included from splice_site.h:34, from edit.h:30, from aligner_result.h:30, @@ -1672,13 +1715,6 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ -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 aligner_result.h:30, @@ -1816,17 +1852,6 @@ repeat_builder.cpp:286:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] 286 | char nt = "ACGT"[ref[start + i]]; | ~~~~~~^ -In file included from /usr/include/c++/13/iostream:41, - from repeat_builder.cpp:21: -In member function ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits]’, - inlined from ‘void RepeatBuilder::writeAllele(TIndexOffU, TIndexOffU, Range, const std::string&, TIndexOffU, const EList&, std::ostream&) [with TStr = SString]’ at repeat_builder.cpp:3678:31: -/usr/include/c++/13/ostream:173:25: warning: ‘pos_in_chr’ may be used uninitialized [-Wmaybe-uninitialized] - 173 | { return _M_insert(__n); } - | ~~~~~~~~~^~~~~ -repeat_builder.cpp: In member function ‘void RepeatBuilder::writeAllele(TIndexOffU, TIndexOffU, Range, const std::string&, TIndexOffU, const EList&, std::ostream&) [with TStr = SString]’: -repeat_builder.cpp:3664:20: note: ‘pos_in_chr’ was declared here - 3664 | TIndexOffU pos_in_chr; - | ^~~~~~~~~~ In file included from splice_site.h:34, from edit.h:30, from aligner_seed.h:30, @@ -1846,10 +1871,22 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | template class auto_ptr; | ^~~~~~~~ +In file included from /usr/include/c++/13/iostream:41, + from repeat_builder.cpp:21: +In member function ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits]’, + inlined from ‘void RepeatBuilder::writeAllele(TIndexOffU, TIndexOffU, Range, const std::string&, TIndexOffU, const EList&, std::ostream&) [with TStr = SString]’ at repeat_builder.cpp:3678:31: +/usr/include/c++/13/ostream:173:25: warning: ‘pos_in_chr’ may be used uninitialized [-Wmaybe-uninitialized] + 173 | { return _M_insert(__n); } + | ~~~~~~~~~^~~~~ +repeat_builder.cpp: In member function ‘void RepeatBuilder::writeAllele(TIndexOffU, TIndexOffU, Range, const std::string&, TIndexOffU, const EList&, std::ostream&) [with TStr = SString]’: +repeat_builder.cpp:3664:20: note: ‘pos_in_chr’ was declared here + 3664 | TIndexOffU pos_in_chr; + | ^~~~~~~~~~ In file included from splice_site.h:34, from edit.h:30, - from aligner_seed.h:30, - from aligner_seed.cpp:21: + from aligner_result.h:30, + from aligner_seed2.h:102, + from aligner_seed2.cpp:22: 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()); @@ -1867,9 +1904,8 @@ | ^~~~~~~~ In file included from splice_site.h:34, from edit.h:30, - from aligner_result.h:30, - from aligner_seed2.h:102, - from aligner_seed2.cpp:22: + from aligner_seed.h:30, + from aligner_seed.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()); @@ -1888,8 +1924,9 @@ In file included from splice_site.h:34, from edit.h:30, from aligner_result.h:30, - from aligner_seed2.h:102, - from aligner_seed2.cpp:22: + from aligner_sw_common.h:23, + from aligner_sw.h:75, + from aligner_sw.cpp:25: 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()); @@ -1908,9 +1945,8 @@ 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_sw.h:75, - from aligner_sw.cpp:25: + from aligner_seed2.h:102, + from aligner_seed2.cpp:22: 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()); @@ -2133,7 +2169,8 @@ from edit.h:30, from aligner_result.h:30, from aligner_sw_common.h:23, - from aligner_swsse.cpp:21: + from aligner_sw.h:75, + from aligner_swsse_loc_i16.cpp:56: 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()); @@ -2153,8 +2190,7 @@ from edit.h:30, from aligner_result.h:30, from aligner_sw_common.h:23, - from aligner_sw.h:75, - from aligner_swsse_loc_i16.cpp:56: + 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()); @@ -2340,7 +2376,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()); @@ -2356,25 +2395,9 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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 -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()); @@ -2390,6 +2413,19 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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 +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: @@ -2408,7 +2444,7 @@ /usr/include/c++/13/bits/unique_ptr.h:65:28: note: declared here 65 | 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); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ @@ -2486,12 +2522,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/1002504/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1002504/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/2742253 and its subdirectories -I: Current time: Thu May 2 11:15:03 -12 2024 -I: pbuilder-time-stamp: 1714691703 +I: removing directory /srv/workspace/pbuilder/1002504 and its subdirectories +I: Current time: Thu Jun 5 19:42:02 +14 2025 +I: pbuilder-time-stamp: 1749102122