Diff of the two buildlogs: -- --- b1/build.log 2021-07-29 13:09:08.017078763 +0000 +++ b2/build.log 2021-07-29 13:12:13.722113911 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jul 29 00:55:28 -12 2021 -I: pbuilder-time-stamp: 1627563328 +I: Current time: Thu Sep 1 09:32:13 +14 2022 +I: pbuilder-time-stamp: 1661974333 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./wtdbg2_2.5-7.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.ZjcksH8K/trustedkeys.kbx': General error -gpgv: Signature made Wed Sep 2 22:17:14 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.2zlIj7E2/trustedkeys.kbx': General error +gpgv: Signature made Fri Sep 4 00:17:14 2020 +14 gpgv: using RSA key 3E99A526F5DCC0CBBF1CEEA600BAE74B343369F1 gpgv: issuer "npatra974@gmail.com" gpgv: Can't check signature: No public key @@ -33,137 +33,171 @@ dpkg-source: info: applying scripts-tweak I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/32524/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/44900/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/44900/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/44900/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='a95591cae4004b38b87c563c477e018c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='32524' - PS1='# ' - PS2='> ' + INVOCATION_ID=e51c90c54f1f416484e15747c24010fc + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=44900 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.bl1CoTWLN2/pbuilderrc_OWF3 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.bl1CoTWLN2/b1 --logfile b1/build.log wtdbg2_2.5-7.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.bl1CoTWLN2/pbuilderrc_lsIj --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.bl1CoTWLN2/b2 --logfile b2/build.log --extrapackages usrmerge wtdbg2_2.5-7.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos12-i386 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux I: ls -l /bin - total 5788 - -rwxr-xr-x 1 root root 1367848 Jun 21 14:25 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Feb 7 02:38 more - -rwsr-xr-x 1 root root 50720 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 13856 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:25 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 27 21:25 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Feb 7 02:38 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/32524/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Jun 22 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Feb 8 2021 more + -rwsr-xr-x 1 root root 50720 Feb 8 2021 mount + -rwxr-xr-x 1 root root 13856 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 1 09:32 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 31 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Feb 8 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Feb 8 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/44900/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -236,7 +270,7 @@ Get: 31 http://deb.debian.org/debian bullseye/main i386 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main i386 libsimde-dev all 0.7.2-4 [259 kB] Get: 33 http://deb.debian.org/debian bullseye/main i386 zlib1g-dev i386 1:1.2.11.dfsg-2 [194 kB] -Fetched 19.0 MB in 12s (1623 kB/s) +Fetched 19.0 MB in 1s (13.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19675 files and directories currently installed.) @@ -383,8 +417,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (3754 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21827 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/wtdbg2-2.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/wtdbg2-2.5/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package wtdbg2 dpkg-buildpackage: info: source version 2.5-7 dpkg-buildpackage: info: source distribution unstable @@ -394,10 +464,10 @@ debian/rules clean dh clean dh_auto_clean - make -j8 clean -make[1]: Entering directory '/build/wtdbg2-2.5' + make -j15 clean +make[1]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf -make[1]: Leaving directory '/build/wtdbg2-2.5' +make[1]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen dh_clean debian/rules binary dh binary @@ -405,7 +475,7 @@ dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build -make[1]: Entering directory '/build/wtdbg2-2.5' +make[1]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten sed -i 's/\/usr\/bin\/env perl/\/usr\/bin\/perl/' scripts/* sed -i 's/memeory/memory/' *.c *.h *.md sed -i 's/automaticly/automatically/' *.c @@ -419,11 +489,11 @@ make clean ; \ dh_auto_build -- SFX=-${SIMD} ; \ done -make[2]: Entering directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf -make[2]: Leaving directory '/build/wtdbg2-2.5' - make -j8 "INSTALL=install --strip-program=true" SFX=-ssse3 -make[2]: Entering directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen + make -j15 "INSTALL=install --strip-program=true" SFX=-ssse3 +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -mssse3 -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o kbm2-ssse3 kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -mssse3 -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o wtdbg2-ssse3 wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -mssse3 -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o wtdbg-cns-ssse3 wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now @@ -441,22 +511,36 @@ mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ +mem_share.h: In function ‘encap_list’: +mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] + 202 | if(MAX_U8 - inc <= size){ + | ^~ In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: mem_share.h: In function ‘malloc16’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ +mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); + | ^ +mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); + | ^ mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ mem_share.h: In function ‘encap_list’: +mem_share.h: In function ‘encap_list’: mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ -mem_share.h: In function ‘encap_list’: mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ @@ -475,20 +559,6 @@ mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -mem_share.h: In function ‘malloc16’: -mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); - | ^ -mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); - | ^ -mem_share.h: In function ‘encap_list’: -mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] - 202 | if(MAX_U8 - inc <= size){ - | ^~ In file included from pgzf.h:24, from pgzf.c:20: mem_share.h: In function ‘malloc16’: @@ -502,9 +572,25 @@ mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ +In file included from pgzf.h:24, + from pgzf.c:20: +mem_share.h: In function ‘get_linux_sys_info’: +mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 514 | fscanf(fp, "%llu", memtotal); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 517 | fscanf(fp, "%llu", &freed); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 519 | fscanf(fp, "%llu", &buffered); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 521 | fscanf(fp, "%llu", &cached); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h: In function ‘get_u32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -524,8 +610,13 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, +In file included from list.h:28, + from kbm.h:23, from kbm.c:20: +hashset.h: In function ‘get_u32hash’: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -538,10 +629,6 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -557,8 +644,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: @@ -571,18 +658,15 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h: In function ‘get_u32hash’: -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -601,27 +685,11 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -634,25 +702,11 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_u32hash’: +hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -668,8 +722,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, @@ -683,32 +737,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from pgzf.h:24, - from pgzf.c:20: -mem_share.h: In function ‘get_linux_sys_info’: -mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 514 | fscanf(fp, "%llu", memtotal); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 517 | fscanf(fp, "%llu", &freed); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 519 | fscanf(fp, "%llu", &buffered); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 521 | fscanf(fp, "%llu", &cached); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_chash’: -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -725,9 +759,29 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -746,23 +800,11 @@ hashset.h:545:1: note: in expansion of macro ‘define_hashset’ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -779,7 +821,7 @@ from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_u64hash’: +hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -795,9 +837,13 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_i32hash’: In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: @@ -810,17 +856,37 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_uuhash’: In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: +hashset.h: In function ‘get_u32hash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -834,9 +900,12 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] @@ -845,21 +914,6 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ @@ -878,14 +932,9 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -905,8 +954,10 @@ 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -920,9 +971,10 @@ 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_uihash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -935,25 +987,31 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_chash’: -In file included from kbm.h:24, from kbm.c:20: +hashset.h: In function ‘get_chash’: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -972,9 +1030,19 @@ hashset.h:553:1: note: in expansion of macro ‘define_hashset’ 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, +In file included from list.h:28, + from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: +hashset.h: In function ‘get_u64hash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_chash’: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -987,11 +1055,24 @@ hashset.h:553:1: note: in expansion of macro ‘define_hashset’ 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_chash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1011,8 +1092,10 @@ 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1025,15 +1108,26 @@ hashset.h:553:1: note: in expansion of macro ‘define_hashset’ 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, +In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_uuhash’: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_UUhash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1046,8 +1140,24 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_uuhash’: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1064,6 +1174,17 @@ hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_uuhash’: +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_i32hash’: In file included from kbm.h:24, from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] @@ -1072,26 +1193,24 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1104,12 +1223,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1120,13 +1259,9 @@ 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_cuhash’: -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1140,9 +1275,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1158,20 +1297,20 @@ hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1186,7 +1325,7 @@ from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_u32hash’: +hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1199,34 +1338,14 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_uihash’: + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1239,12 +1358,17 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1254,40 +1378,34 @@ hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_cihash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_UUhash’: In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: +hashset.h: In function ‘get_uuhash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1301,27 +1419,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1334,16 +1434,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_clhash’: +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1356,26 +1449,21 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] @@ -1384,14 +1472,27 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h: In function ‘get_UUhash’: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1408,8 +1509,10 @@ 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1420,13 +1523,13 @@ 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_cchash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_cuhash’: In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h: In function ‘get_cuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1440,8 +1543,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1458,20 +1561,40 @@ hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_uihash’: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1486,7 +1609,19 @@ from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_i32hash’: +hashset.h: In function ‘get_cuhash’: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1499,17 +1634,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_cuhash’: +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -1521,12 +1648,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1539,25 +1667,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, +In file included from list.h:28, + from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1575,8 +1691,7 @@ 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1591,7 +1706,7 @@ from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_chash’: +hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1604,52 +1719,26 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_cihash’: -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1663,7 +1752,7 @@ from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_clhash’: +hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1676,8 +1765,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, @@ -1688,15 +1777,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_uuhash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1709,27 +1796,45 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: hashset.h: In function ‘get_clhash’: -In file included from dna.h:29, - from poacns.h:24, +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: +hashset.h: In function ‘get_clhash’: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1758,11 +1863,25 @@ hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_cchash’: +hashset.h: In function ‘get_cuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1775,8 +1894,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, @@ -1787,15 +1906,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_uihash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1808,22 +1925,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, @@ -1845,9 +1948,14 @@ hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_cchash’: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1857,12 +1965,6 @@ hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -1875,43 +1977,20 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_cuhash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, @@ -1924,14 +2003,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1948,11 +2026,9 @@ hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1962,11 +2038,10 @@ hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -1983,11 +2058,9 @@ hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -1997,11 +2070,10 @@ hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -2018,11 +2090,9 @@ hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -2033,9 +2103,10 @@ 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -kbm.h: In function ‘get_kbmhash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +dbgcns.h: In function ‘get_dbgcnskmerhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -2048,24 +2119,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ - 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +dbgcns.h:51:1: note: in expansion of macro ‘define_hashset’ + 51 | define_hashset(dbgcnskmerhash, uint32_t, kmer_hashcode, kmer_hashequals); + | ^~~~~~~~~~~~~~ +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ - 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +dbgcns.h:51:1: note: in expansion of macro ‘define_hashset’ + 51 | define_hashset(dbgcnskmerhash, uint32_t, kmer_hashcode, kmer_hashequals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -kbm.h: In function ‘get_kbmphash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +dbgcns.h: In function ‘get_fbgkmerh’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -2081,11 +2160,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -kbm.h:146:1: note: in expansion of macro ‘define_hashset’ - 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); +dbgcns.h:74:1: note: in expansion of macro ‘define_hashset’ + 74 | define_hashset(fbgkmerh, fbg_kmer_t, fbgkmer_hashcode, fbgkmer_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -2095,14 +2175,13 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -kbm.h:146:1: note: in expansion of macro ‘define_hashset’ - 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); +dbgcns.h:74:1: note: in expansion of macro ‘define_hashset’ + 74 | define_hashset(fbgkmerh, fbg_kmer_t, fbgkmer_hashcode, fbgkmer_equals); | ^~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -dbgcns.h: In function ‘get_dbgcnskmerhash’: + from kbm.h:23, + from kbm.c:20: +kbm.h: In function ‘get_kbmhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -2115,32 +2194,25 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -dbgcns.h:51:1: note: in expansion of macro ‘define_hashset’ - 51 | define_hashset(dbgcnskmerhash, uint32_t, kmer_hashcode, kmer_hashequals); - | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ + 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); + | ^~~~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -dbgcns.h:51:1: note: in expansion of macro ‘define_hashset’ - 51 | define_hashset(dbgcnskmerhash, uint32_t, kmer_hashcode, kmer_hashequals); - | ^~~~~~~~~~~~~~ +kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ + 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); + | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -dbgcns.h: In function ‘get_fbgkmerh’: +dbgcns.h: In function ‘get_dbgcnsdphash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -2156,8 +2228,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -dbgcns.h:74:1: note: in expansion of macro ‘define_hashset’ - 74 | define_hashset(fbgkmerh, fbg_kmer_t, fbgkmer_hashcode, fbgkmer_equals); +dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ + 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, @@ -2171,8 +2243,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -dbgcns.h:74:1: note: in expansion of macro ‘define_hashset’ - 74 | define_hashset(fbgkmerh, fbg_kmer_t, fbgkmer_hashcode, fbgkmer_equals); +dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ + 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, @@ -2207,10 +2279,9 @@ 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -dbgcns.h: In function ‘get_dbgcnsdphash’: + from kbm.h:23, + from kbm.c:20: +kbm.h: In function ‘get_kbmphash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -2226,12 +2297,11 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ - 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); +kbm.h:146:1: note: in expansion of macro ‘define_hashset’ + 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -2241,8 +2311,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ - 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); +kbm.h:146:1: note: in expansion of macro ‘define_hashset’ + 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, @@ -2282,6 +2352,23 @@ kbm.h:146:1: note: in expansion of macro ‘define_hashset’ 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ +In file included from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +poacns.h: In function ‘prepare_rd_align_pog’: +poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ In file included from list.h:28, from dna.h:27, from kswx.h:24, @@ -2320,23 +2407,13 @@ general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); | ^~~~~~~~~~~~~~ -In file included from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ +wtpoa-cns.c: In function ‘main’: +wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] + 110 | case 'p': print_lay = 1; + | ~~~~~~~~~~^~~ +wtpoa-cns.c:111:4: note: here + 111 | case 'd': push_cplist(dbfs, optarg); break; + | ^~~~ In file included from tripoa.h:23, from wtpoa.h:23, from kbmpoa.h:24, @@ -2355,56 +2432,6 @@ poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); | ^ -In file included from tripoa.h:23, - from wtpoa.h:23, - from kbmpoa.h:24, - from wtdbg.h:24, - from wtdbg.c:20: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -wtpoa-cns.c: In function ‘main’: -wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] - 110 | case 'p': print_lay = 1; - | ~~~~~~~~~~^~~ -wtpoa-cns.c:111:4: note: here - 111 | case 'd': push_cplist(dbfs, optarg); break; - | ^~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -mem_share.h: In function ‘get_linux_sys_info’: -mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 514 | fscanf(fp, "%llu", memtotal); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 517 | fscanf(fp, "%llu", &freed); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 519 | fscanf(fp, "%llu", &buffered); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 521 | fscanf(fp, "%llu", &cached); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘get_linux_proc_info’: -mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, @@ -2430,26 +2457,6 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from wtdbg-cns.c:23: -filereader.h: In function ‘file_src_thread_func’: -filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 157 | if(_file == NULL){ - | ^ -filereader.h:162:5: note: here - 162 | case FILEREADER_ATTR_PROC: - | ^~~~ -filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | if(_file == NULL){ - | ^ -filereader.h:168:5: note: here - 168 | case FILEREADER_ATTR_USER: - | ^~~~ -filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 169 | if(_file == NULL){ - | ^ -filereader.h:174:5: note: here - 174 | default: - | ^~~~~~~ In file included from wtpoa.h:25, from wtpoa-cns.c:20: filereader.h: In function ‘file_src_thread_func’: @@ -2471,9 +2478,29 @@ filereader.h:174:5: note: here 174 | default: | ^~~~~~~ +In file included from tripoa.h:23, + from wtpoa.h:23, + from kbmpoa.h:24, + from wtdbg.h:24, + from wtdbg.c:20: +poacns.h: In function ‘prepare_rd_align_pog’: +poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: mem_share.h: In function ‘get_linux_sys_info’: mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 514 | fscanf(fp, "%llu", memtotal); @@ -2494,61 +2521,7 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘mem_load_obj_file’: -mem_share.h:1301:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1301 | fread(size, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1302:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1302 | fread(mem_type, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1303:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1303 | fread(cnt, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1304:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1304 | fread(aux_data, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘mem_load_obj’: -mem_share.h:919:5: warning: this statement may fall through [-Wimplicit-fallthrough=] - 919 | for(m=0;mrows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ In file included from list.h:28, from dna.h:27, from kswx.h:24, @@ -5035,41 +5122,13 @@ general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); | ^~~~~~~~~~~~~~ -In file included from tripoa.h:23, - from wtpoa.h:23, - from kbmpoa.h:24, - from kbm.c:21: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -In file included from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ +wtpoa-cns.c: In function ‘main’: +wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] + 110 | case 'p': print_lay = 1; + | ~~~~~~~~~~^~~ +wtpoa-cns.c:111:4: note: here + 111 | case 'd': push_cplist(dbfs, optarg); break; + | ^~~~ In file included from tripoa.h:23, from wtpoa.h:23, from kbmpoa.h:24, @@ -5082,17 +5141,11 @@ poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); | ^ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: mem_share.h: In function ‘get_linux_sys_info’: mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 514 | fscanf(fp, "%llu", memtotal); @@ -5113,7 +5166,15 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from wtdbg-cns.c:23: +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +In file included from wtpoa.h:25, + from wtpoa-cns.c:20: filereader.h: In function ‘file_src_thread_func’: filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 157 | if(_file == NULL){ @@ -5133,87 +5194,28 @@ filereader.h:174:5: note: here 174 | default: | ^~~~~~~ -wtpoa-cns.c: In function ‘main’: -wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] - 110 | case 'p': print_lay = 1; - | ~~~~~~~~~~^~~ -wtpoa-cns.c:111:4: note: here - 111 | case 'd': push_cplist(dbfs, optarg); break; - | ^~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -mem_share.h: In function ‘get_linux_sys_info’: -mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 514 | fscanf(fp, "%llu", memtotal); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 517 | fscanf(fp, "%llu", &freed); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 519 | fscanf(fp, "%llu", &buffered); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 521 | fscanf(fp, "%llu", &cached); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘get_linux_proc_info’: -mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘mem_load_obj_file’: -mem_share.h:1301:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1301 | fread(size, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1302:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1302 | fread(mem_type, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1303:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1303 | fread(cnt, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1304:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1304 | fread(aux_data, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘mem_load_obj’: -mem_share.h:919:5: warning: this statement may fall through [-Wimplicit-fallthrough=] - 919 | for(m=0;mrows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: mem_share.h: In function ‘get_linux_sys_info’: mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 514 | fscanf(fp, "%llu", memtotal); @@ -5234,36 +5236,7 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘mem_size_obj’: -mem_share.h:793:16: warning: this statement may fall through [-Wimplicit-fallthrough=] - 793 | case 3: size += mem_size_round(sizeof(void*) * cnt); - | ^~ -mem_share.h:794:3: note: here - 794 | case 2: - | ^~~~ -In file included from wtpoa.h:25, - from wtpoa-cns.c:20: -filereader.h: In function ‘file_src_thread_func’: -filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 157 | if(_file == NULL){ - | ^ -filereader.h:162:5: note: here - 162 | case FILEREADER_ATTR_PROC: - | ^~~~ -filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | if(_file == NULL){ - | ^ -filereader.h:168:5: note: here - 168 | case FILEREADER_ATTR_USER: - | ^~~~ -filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 169 | if(_file == NULL){ - | ^ -filereader.h:174:5: note: here - 174 | default: - | ^~~~~~~ -In file included from kbm.h:26, - from kbm.c:20: +In file included from wtdbg-cns.c:23: filereader.h: In function ‘file_src_thread_func’: filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 157 | if(_file == NULL){ @@ -5397,6 +5370,103 @@ wtdbg.h:178:1: note: in expansion of macro ‘define_hashset’ 178 | define_hashset(lnkhash, lnk_t, lnk_hashcode, lnk_hashequals); | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +mem_share.h: In function ‘get_linux_sys_info’: +mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 514 | fscanf(fp, "%llu", memtotal); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 517 | fscanf(fp, "%llu", &freed); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 519 | fscanf(fp, "%llu", &buffered); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 521 | fscanf(fp, "%llu", &cached); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h: In function ‘get_linux_proc_info’: +mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h: In function ‘mem_load_obj_file’: +mem_share.h:1301:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 1301 | fread(size, sizeof(size_t), 1, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:1302:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 1302 | fread(mem_type, sizeof(size_t), 1, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:1303:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 1303 | fread(cnt, sizeof(size_t), 1, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:1304:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 1304 | fread(aux_data, sizeof(size_t), 1, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h: In function ‘mem_load_obj’: +mem_share.h:919:5: warning: this statement may fall through [-Wimplicit-fallthrough=] + 919 | for(m=0;mrows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ In file included from list.h:28, from dna.h:27, from kswx.h:24, @@ -7750,9 +7837,18 @@ general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); | ^~~~~~~~~~~~~~ +wtpoa-cns.c: In function ‘main’: +wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] + 110 | case 'p': print_lay = 1; + | ~~~~~~~~~~^~~ +wtpoa-cns.c:111:4: note: here + 111 | case 'd': push_cplist(dbfs, optarg); break; + | ^~~~ In file included from tripoa.h:23, from wtpoa.h:23, - from wtpoa-cns.c:20: + from kbmpoa.h:24, + from wtdbg.h:24, + from wtdbg.c:20: poacns.h: In function ‘prepare_rd_align_pog’: poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); @@ -7767,36 +7863,63 @@ poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); | ^ -In file included from tripoa.h:23, +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, from wtpoa.h:23, - from kbmpoa.h:24, - from wtdbg.h:24, - from wtdbg.c:20: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ -poacns.h: In function ‘set_rd_query_prof’: + from wtpoa-cns.c:20: +mem_share.h: In function ‘get_linux_sys_info’: +mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 514 | fscanf(fp, "%llu", memtotal); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 517 | fscanf(fp, "%llu", &freed); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 519 | fscanf(fp, "%llu", &buffered); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 521 | fscanf(fp, "%llu", &cached); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h: In function ‘get_linux_proc_info’: +mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from wtpoa.h:25, + from wtpoa-cns.c:20: +filereader.h: In function ‘file_src_thread_func’: +filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 157 | if(_file == NULL){ + | ^ +filereader.h:162:5: note: here + 162 | case FILEREADER_ATTR_PROC: + | ^~~~ +filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 163 | if(_file == NULL){ + | ^ +filereader.h:168:5: note: here + 168 | case FILEREADER_ATTR_USER: + | ^~~~ +filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 169 | if(_file == NULL){ + | ^ +filereader.h:174:5: note: here + 174 | default: + | ^~~~~~~ In file included from tripoa.h:23, from wtpoa.h:23, from kbmpoa.h:24, from kbm.c:21: poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); | ^ poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ poacns.h: In function ‘set_rd_query_prof’: poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); @@ -7804,18 +7927,10 @@ poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); | ^ -wtpoa-cns.c: In function ‘main’: -wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] - 110 | case 'p': print_lay = 1; - | ~~~~~~~~~~^~~ -wtpoa-cns.c:111:4: note: here - 111 | case 'd': push_cplist(dbfs, optarg); break; - | ^~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: mem_share.h: In function ‘get_linux_sys_info’: mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 514 | fscanf(fp, "%llu", memtotal); @@ -7836,6 +7951,26 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from wtdbg-cns.c:23: +filereader.h: In function ‘file_src_thread_func’: +filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 157 | if(_file == NULL){ + | ^ +filereader.h:162:5: note: here + 162 | case FILEREADER_ATTR_PROC: + | ^~~~ +filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 163 | if(_file == NULL){ + | ^ +filereader.h:168:5: note: here + 168 | case FILEREADER_ATTR_USER: + | ^~~~ +filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 169 | if(_file == NULL){ + | ^ +filereader.h:174:5: note: here + 174 | default: + | ^~~~~~~ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, @@ -7874,51 +8009,6 @@ wtdbg.h:76:1: note: in expansion of macro ‘define_hashset’ 76 | define_hashset(ptrrefhash, ptr_ref_t, ptrref_hashcode, ptrref_hashequals); | ^~~~~~~~~~~~~~ -In file included from wtpoa.h:25, - from wtpoa-cns.c:20: -filereader.h: In function ‘file_src_thread_func’: -filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 157 | if(_file == NULL){ - | ^ -filereader.h:162:5: note: here - 162 | case FILEREADER_ATTR_PROC: - | ^~~~ -filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | if(_file == NULL){ - | ^ -filereader.h:168:5: note: here - 168 | case FILEREADER_ATTR_USER: - | ^~~~ -filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 169 | if(_file == NULL){ - | ^ -filereader.h:174:5: note: here - 174 | default: - | ^~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -mem_share.h: In function ‘get_linux_sys_info’: -mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 514 | fscanf(fp, "%llu", memtotal); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 517 | fscanf(fp, "%llu", &freed); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 519 | fscanf(fp, "%llu", &buffered); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 521 | fscanf(fp, "%llu", &cached); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘get_linux_proc_info’: -mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, @@ -7957,26 +8047,44 @@ wtdbg.h:113:1: note: in expansion of macro ‘define_hashset’ 113 | define_hashset(edgehash, uint64_t, edge_hashcode, edge_hashequals); | ^~~~~~~~~~~~~~ -In file included from wtdbg-cns.c:23: -filereader.h: In function ‘file_src_thread_func’: -filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 157 | if(_file == NULL){ - | ^ -filereader.h:162:5: note: here - 162 | case FILEREADER_ATTR_PROC: - | ^~~~ -filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | if(_file == NULL){ - | ^ -filereader.h:168:5: note: here - 168 | case FILEREADER_ATTR_USER: - | ^~~~ -filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 169 | if(_file == NULL){ - | ^ -filereader.h:174:5: note: here - 174 | default: - | ^~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +wtdbg.h: In function ‘get_lnkhash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +wtdbg.h:178:1: note: in expansion of macro ‘define_hashset’ + 178 | define_hashset(lnkhash, lnk_t, lnk_hashcode, lnk_hashequals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +wtdbg.h:178:1: note: in expansion of macro ‘define_hashset’ + 178 | define_hashset(lnkhash, lnk_t, lnk_hashcode, lnk_hashequals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from kbm.c:20: @@ -8046,44 +8154,6 @@ mem_share.h:1225:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1225 | fread(aux_data, sizeof(size_t), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -wtdbg.h: In function ‘get_lnkhash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -wtdbg.h:178:1: note: in expansion of macro ‘define_hashset’ - 178 | define_hashset(lnkhash, lnk_t, lnk_hashcode, lnk_hashequals); - | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -wtdbg.h:178:1: note: in expansion of macro ‘define_hashset’ - 178 | define_hashset(lnkhash, lnk_t, lnk_hashcode, lnk_hashequals); - | ^~~~~~~~~~~~~~ mem_share.h: In function ‘mem_size_obj’: mem_share.h:793:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 793 | case 3: size += mem_size_round(sizeof(void*) * cnt); @@ -8563,12 +8633,12 @@ /usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ -make[2]: Leaving directory '/build/wtdbg2-2.5' -make[2]: Entering directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf -make[2]: Leaving directory '/build/wtdbg2-2.5' - make -j8 "INSTALL=install --strip-program=true" SFX=-sse -make[2]: Entering directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen + make -j15 "INSTALL=install --strip-program=true" SFX=-sse +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -msse -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o kbm2-sse kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -msse -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o wtdbg2-sse wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -msse -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o wtdbg-cns-sse wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now @@ -8586,10 +8656,6 @@ mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ -mem_share.h: In function ‘encap_list’: -mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] - 202 | if(MAX_U8 - inc <= size){ - | ^~ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, @@ -8602,11 +8668,17 @@ 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ mem_share.h: In function ‘encap_list’: +mem_share.h: In function ‘encap_list’: mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ -In file included from pgzf.h:24, - from pgzf.c:20: +mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] + 202 | if(MAX_U8 - inc <= size){ + | ^~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); @@ -8619,9 +8691,8 @@ 202 | if(MAX_U8 - inc <= size){ | ^~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: + from kbm.h:23, + from kbm.c:20: mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); @@ -8633,9 +8704,8 @@ mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: +In file included from pgzf.h:24, + from pgzf.c:20: mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); @@ -8647,12 +8717,6 @@ mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_u32hash’: In file included from pgzf.h:24, from pgzf.c:20: mem_share.h: In function ‘get_linux_sys_info’: @@ -8662,6 +8726,17 @@ mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 517 | fscanf(fp, "%llu", &freed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 519 | fscanf(fp, "%llu", &buffered); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 521 | fscanf(fp, "%llu", &cached); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_u32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -8680,35 +8755,11 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 519 | fscanf(fp, "%llu", &buffered); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 521 | fscanf(fp, "%llu", &cached); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_u64hash’: +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_u32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -8724,14 +8775,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -8741,35 +8790,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_u32hash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -8787,7 +8813,7 @@ from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_i32hash’: +hashset.h: In function ‘get_u32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -8803,8 +8829,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, @@ -8820,8 +8846,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, @@ -8846,6 +8872,29 @@ hashset.h:545:1: note: in expansion of macro ‘define_hashset’ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_u64hash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: @@ -8861,12 +8910,27 @@ hashset.h:545:1: note: in expansion of macro ‘define_hashset’ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_chash’: +hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -8882,8 +8946,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, @@ -8899,8 +8963,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, @@ -8925,61 +8989,11 @@ hashset.h:549:1: note: in expansion of macro ‘define_hashset’ 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_uuhash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_chash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -8995,8 +9009,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, @@ -9010,81 +9024,52 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_uihash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_uuhash’: + from kbm.c:20: +hashset.h: In function ‘get_u32hash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_u32hash’: + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9103,9 +9088,8 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -9118,27 +9102,6 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_UUhash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -9150,14 +9113,17 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_uihash’: +hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9170,9 +9136,17 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_chash’: In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: @@ -9182,35 +9156,11 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_u32hash’: -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_u64hash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -9227,22 +9177,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, @@ -9256,15 +9192,19 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_cuhash’: +hashset.h: In function ‘get_chash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9277,9 +9217,12 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -9291,18 +9234,12 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_UUhash’: -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_u64hash’: +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9315,18 +9252,17 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ @@ -9337,36 +9273,42 @@ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_i32hash’: -In file included from kbm.h:24, + from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ +hashset.h: In function ‘get_uuhash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9379,12 +9321,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: @@ -9394,18 +9333,15 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_cihash’: +hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9418,9 +9354,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_i32hash’: In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -9432,18 +9372,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_cuhash’: -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9456,9 +9387,31 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9471,12 +9424,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: @@ -9486,28 +9436,14 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_chash’: -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ +hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9520,18 +9456,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_clhash’: +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: @@ -9541,12 +9468,15 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9559,9 +9489,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_chash’: In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -9573,18 +9507,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_cihash’: -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9597,9 +9522,31 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9612,12 +9559,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: @@ -9627,34 +9571,24 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, +In file included from list.h:28, + from kbm.h:23, from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ +hashset.h: In function ‘get_uuhash’: In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_uuhash’: +hashset.h: In function ‘get_UUhash’: In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_cchash’: +hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9667,8 +9601,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -9694,9 +9628,35 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -9708,14 +9668,14 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_clhash’: +hashset.h: In function ‘get_cuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9728,17 +9688,29 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_uuhash’: In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: +hashset.h: In function ‘get_cuhash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -9752,38 +9724,87 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_cuhash’: In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_cchash’: +hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9796,8 +9817,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, @@ -9808,14 +9829,20 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_UUhash’: +hashset.h: In function ‘get_cihash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9828,8 +9855,20 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -9843,36 +9882,27 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_uihash’: +hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9885,8 +9915,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: @@ -9896,14 +9926,14 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_cuhash’: + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9916,25 +9946,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_clhash’: In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_UUhash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9947,25 +9984,23 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -9978,8 +10013,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, @@ -9990,8 +10025,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, @@ -10024,10 +10059,10 @@ 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_clhash’: + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -10040,25 +10075,27 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_cihash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -10071,19 +10108,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, @@ -10106,6 +10132,20 @@ 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] @@ -10120,7 +10160,7 @@ In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_clhash’: +hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -10133,8 +10173,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: @@ -10144,13 +10184,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_cchash’: +hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -10163,8 +10203,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: @@ -10174,14 +10214,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -kbm.h: In function ‘get_kbmhash’: + from kbm.c:20: +hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -10194,20 +10233,19 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ - 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ - 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, @@ -10289,7 +10327,39 @@ from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -kbm.h: In function ‘get_kbmphash’: +kbm.h: In function ‘get_kbmhash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ + 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); + | ^~~~~~~~~~~~~~~~ +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ + 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +dbgcns.h: In function ‘get_dbgcnsdphash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -10305,12 +10375,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -kbm.h:146:1: note: in expansion of macro ‘define_hashset’ - 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); +dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ + 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -10320,19 +10390,9 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -kbm.h:146:1: note: in expansion of macro ‘define_hashset’ - 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); +dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ + 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); | ^~~~~~~~~~~~~~ -In file included from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ In file included from list.h:28, from kbm.h:23, from kbm.c:20: @@ -10363,18 +10423,11 @@ kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -dbgcns.h: In function ‘get_dbgcnsdphash’: + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +kbm.h: In function ‘get_kbmphash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -10390,12 +10443,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ - 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); +kbm.h:146:1: note: in expansion of macro ‘define_hashset’ + 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -10405,8 +10458,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ - 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); +kbm.h:146:1: note: in expansion of macro ‘define_hashset’ + 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, @@ -10482,64 +10535,9 @@ general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); | ^~~~~~~~~~~~~~ -wtpoa-cns.c: In function ‘main’: -wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] - 110 | case 'p': print_lay = 1; - | ~~~~~~~~~~^~~ -wtpoa-cns.c:111:4: note: here - 111 | case 'd': push_cplist(dbfs, optarg); break; - | ^~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -mem_share.h: In function ‘get_linux_sys_info’: -mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 514 | fscanf(fp, "%llu", memtotal); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 517 | fscanf(fp, "%llu", &freed); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 519 | fscanf(fp, "%llu", &buffered); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 521 | fscanf(fp, "%llu", &cached); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘get_linux_proc_info’: -mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from wtpoa.h:25, - from wtpoa-cns.c:20: -filereader.h: In function ‘file_src_thread_func’: -filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 157 | if(_file == NULL){ - | ^ -filereader.h:162:5: note: here - 162 | case FILEREADER_ATTR_PROC: - | ^~~~ -filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | if(_file == NULL){ - | ^ -filereader.h:168:5: note: here - 168 | case FILEREADER_ATTR_USER: - | ^~~~ -filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 169 | if(_file == NULL){ - | ^ -filereader.h:174:5: note: here - 174 | default: - | ^~~~~~~ In file included from tripoa.h:23, from wtpoa.h:23, - from kbmpoa.h:24, - from wtdbg.h:24, - from wtdbg.c:20: + from wtpoa-cns.c:20: poacns.h: In function ‘prepare_rd_align_pog’: poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); @@ -10554,10 +10552,18 @@ poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); | ^ +wtpoa-cns.c: In function ‘main’: +wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] + 110 | case 'p': print_lay = 1; + | ~~~~~~~~~~^~~ +wtpoa-cns.c:111:4: note: here + 111 | case 'd': push_cplist(dbfs, optarg); break; + | ^~~~ In file included from tripoa.h:23, from wtpoa.h:23, from kbmpoa.h:24, - from kbm.c:21: + from wtdbg.h:24, + from wtdbg.c:20: poacns.h: In function ‘prepare_rd_align_pog’: poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); @@ -10572,6 +10578,31 @@ poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); | ^ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +mem_share.h: In function ‘get_linux_sys_info’: +mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 514 | fscanf(fp, "%llu", memtotal); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 517 | fscanf(fp, "%llu", &freed); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 519 | fscanf(fp, "%llu", &buffered); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 521 | fscanf(fp, "%llu", &cached); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h: In function ‘get_linux_proc_info’: +mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, from kswx.h:24, @@ -10596,6 +10627,27 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from wtpoa.h:25, + from wtpoa-cns.c:20: +filereader.h: In function ‘file_src_thread_func’: +filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 157 | if(_file == NULL){ + | ^ +filereader.h:162:5: note: here + 162 | case FILEREADER_ATTR_PROC: + | ^~~~ +filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 163 | if(_file == NULL){ + | ^ +filereader.h:168:5: note: here + 168 | case FILEREADER_ATTR_USER: + | ^~~~ +filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 169 | if(_file == NULL){ + | ^ +filereader.h:174:5: note: here + 174 | default: + | ^~~~~~~ In file included from wtdbg-cns.c:23: filereader.h: In function ‘file_src_thread_func’: filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -10616,6 +10668,24 @@ filereader.h:174:5: note: here 174 | default: | ^~~~~~~ +In file included from tripoa.h:23, + from wtpoa.h:23, + from kbmpoa.h:24, + from kbm.c:21: +poacns.h: In function ‘prepare_rd_align_pog’: +poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, @@ -11305,12 +11375,12 @@ /usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ -make[2]: Leaving directory '/build/wtdbg2-2.5' -make[2]: Entering directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf -make[2]: Leaving directory '/build/wtdbg2-2.5' - make -j8 "INSTALL=install --strip-program=true" SFX=-mmx -make[2]: Entering directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen + make -j15 "INSTALL=install --strip-program=true" SFX=-mmx +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -mmmx -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o kbm2-mmx kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -mmmx -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o wtdbg2-mmx wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -mmmx -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o wtdbg-cns-mmx wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now @@ -11318,8 +11388,7 @@ gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -mmmx -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o pgzf-mmx pgzf.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); @@ -11327,10 +11396,12 @@ mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ -mem_share.h: In function ‘encap_list’: -mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] - 202 | if(MAX_U8 - inc <= size){ - | ^~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +mem_share.h: In function ‘malloc16’: In file included from list.h:28, from dna.h:27, from kswx.h:24, @@ -11339,39 +11410,38 @@ mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ +mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); + | ^ +mem_share.h: In function ‘encap_list’: +mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); + | ^ mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ -mem_share.h: In function ‘encap_list’: mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ +mem_share.h: In function ‘encap_list’: mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ +mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] + 202 | if(MAX_U8 - inc <= size){ + | ^~ mem_share.h: In function ‘encap_list’: mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -mem_share.h: In function ‘malloc16’: -mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); - | ^ -mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); - | ^ mem_share.h: In function ‘encap_list’: mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ @@ -11404,10 +11474,11 @@ mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 521 | fscanf(fp, "%llu", &cached); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h: In function ‘get_u32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -11427,9 +11498,16 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, +In file included from list.h:28, + from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: +hashset.h: In function ‘get_u32hash’: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11465,6 +11543,39 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: @@ -11480,10 +11591,11 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -11503,25 +11615,10 @@ hashset.h:545:1: note: in expansion of macro ‘define_hashset’ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, +In file included from list.h:28, + from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -11542,8 +11639,30 @@ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: +hashset.h: In function ‘get_u64hash’: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11556,10 +11675,6 @@ hashset.h:545:1: note: in expansion of macro ‘define_hashset’ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_u32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -11575,11 +11690,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11589,13 +11705,14 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -11615,9 +11732,21 @@ hashset.h:549:1: note: in expansion of macro ‘define_hashset’ 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, +In file included from list.h:28, + from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: +hashset.h: In function ‘get_i32hash’: +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_i32hash’: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11630,11 +11759,6 @@ hashset.h:549:1: note: in expansion of macro ‘define_hashset’ 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -11653,25 +11777,6 @@ hashset.h:549:1: note: in expansion of macro ‘define_hashset’ 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -11687,11 +11792,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11701,37 +11807,30 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, +In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_chash’: -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_chash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -11750,9 +11849,21 @@ hashset.h:553:1: note: in expansion of macro ‘define_hashset’ 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_chash’: +In file included from list.h:28, + from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: +hashset.h: In function ‘get_chash’: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11765,12 +11876,15 @@ hashset.h:553:1: note: in expansion of macro ‘define_hashset’ 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ @@ -11780,10 +11894,6 @@ hashset.h:553:1: note: in expansion of macro ‘define_hashset’ 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -11799,11 +11909,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11813,38 +11924,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_u32hash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11854,13 +11939,14 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -11878,8 +11964,10 @@ 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -11895,9 +11983,10 @@ from wtdbg.c:20: hashset.h: In function ‘get_uuhash’: In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_chash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -11925,12 +12014,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: @@ -11943,66 +12029,34 @@ hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_u64hash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ +hashset.h: In function ‘get_uihash’: In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: hashset.h: In function ‘get_uihash’: +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12018,22 +12072,6 @@ hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12046,24 +12084,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_uihash’: -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -12080,12 +12102,6 @@ hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_i32hash’: In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: @@ -12098,24 +12114,6 @@ hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -12127,31 +12125,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_UUhash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, @@ -12162,13 +12137,25 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_uihash’: + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_UUhash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_UUhash’: +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12181,26 +12168,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12213,12 +12183,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -12230,17 +12197,21 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_UUhash’: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12256,14 +12227,9 @@ hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, +In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_cuhash’: -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -12273,6 +12239,17 @@ hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_cuhash’: +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_cuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12289,8 +12266,10 @@ 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -12300,10 +12279,6 @@ hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12316,26 +12291,26 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_cuhash’: In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12348,28 +12323,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_cihash’: In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_cuhash’: +hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12382,24 +12361,28 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: hashset.h: In function ‘get_cihash’: -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_cuhash’: -In file included from bit2vec.h:27, - from poacns.h:23, +In file included from dna.h:29, + from poacns.h:24, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_uihash’: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12412,8 +12395,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -12427,44 +12410,37 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_UUhash’: In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_cihash’: +hashset.h: In function ‘get_u32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12477,9 +12453,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12492,35 +12491,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, +In file included from list.h:28, + from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: +hashset.h: In function ‘get_clhash’: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -12537,11 +12533,6 @@ hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12554,41 +12545,37 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_cuhash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12601,34 +12588,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: +hashset.h: In function ‘get_cchash’: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_cihash’: -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_cihash’: +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12641,9 +12626,14 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12656,19 +12646,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, @@ -12681,8 +12660,28 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_cchash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, @@ -12693,24 +12692,25 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_clhash’: -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_cchash’: In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_cchash’: +hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12723,9 +12723,30 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12738,41 +12759,60 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_uuhash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_cchash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12785,23 +12825,24 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12814,9 +12855,24 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_cuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -12829,8 +12885,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: @@ -12840,12 +12896,30 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_cihash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -12857,8 +12931,7 @@ | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -12876,8 +12949,7 @@ 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -12889,8 +12961,7 @@ | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -12908,8 +12979,7 @@ 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -12997,7 +13067,8 @@ | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: kbm.h: In function ‘get_kbmhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -13015,7 +13086,8 @@ 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -13065,7 +13137,8 @@ | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: kbm.h: In function ‘get_kbmphash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -13086,7 +13159,8 @@ 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -13101,8 +13175,7 @@ | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: kbm.h: In function ‘get_kbmhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -13120,8 +13193,7 @@ 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -13131,28 +13203,11 @@ kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ -In file included from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -kbm.h: In function ‘get_kbmphash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +general_graph.h: In function ‘get_geedgehash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -13168,12 +13223,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -kbm.h:146:1: note: in expansion of macro ‘define_hashset’ - 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); +general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ + 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -13183,14 +13238,30 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -kbm.h:146:1: note: in expansion of macro ‘define_hashset’ - 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); +general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ + 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); | ^~~~~~~~~~~~~~ +In file included from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +poacns.h: In function ‘prepare_rd_align_pog’: +poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -general_graph.h: In function ‘get_geedgehash’: + from kbm.h:23, + from kbm.c:20: +kbm.h: In function ‘get_kbmphash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -13206,12 +13277,11 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ - 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); +kbm.h:146:1: note: in expansion of macro ‘define_hashset’ + 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -13221,8 +13291,8 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ - 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); +kbm.h:146:1: note: in expansion of macro ‘define_hashset’ + 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ wtpoa-cns.c: In function ‘main’: wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -13231,6 +13301,18 @@ wtpoa-cns.c:111:4: note: here 111 | case 'd': push_cplist(dbfs, optarg); break; | ^~~~ +In file included from tripoa.h:23, + from wtpoa.h:23, + from kbmpoa.h:24, + from wtdbg.h:24, + from wtdbg.c:20: +poacns.h: In function ‘prepare_rd_align_pog’: +poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, @@ -13249,6 +13331,7 @@ mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 521 | fscanf(fp, "%llu", &cached); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +poacns.h: In function ‘set_rd_query_prof’: mem_share.h: In function ‘get_linux_proc_info’: mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); @@ -13256,58 +13339,6 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from wtpoa.h:25, - from wtpoa-cns.c:20: -filereader.h: In function ‘file_src_thread_func’: -filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 157 | if(_file == NULL){ - | ^ -filereader.h:162:5: note: here - 162 | case FILEREADER_ATTR_PROC: - | ^~~~ -filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | if(_file == NULL){ - | ^ -filereader.h:168:5: note: here - 168 | case FILEREADER_ATTR_USER: - | ^~~~ -filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 169 | if(_file == NULL){ - | ^ -filereader.h:174:5: note: here - 174 | default: - | ^~~~~~~ -In file included from tripoa.h:23, - from wtpoa.h:23, - from kbmpoa.h:24, - from kbm.c:21: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -In file included from tripoa.h:23, - from wtpoa.h:23, - from kbmpoa.h:24, - from wtdbg.h:24, - from wtdbg.c:20: -poacns.h: In function ‘prepare_rd_align_pog’: -poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); - | ^ -poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); - | ^ -poacns.h: In function ‘set_rd_query_prof’: poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); | ^ @@ -13331,10 +13362,31 @@ mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 521 | fscanf(fp, "%llu", &cached); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from wtpoa.h:25, + from wtpoa-cns.c:20: +filereader.h: In function ‘file_src_thread_func’: mem_share.h: In function ‘get_linux_proc_info’: +filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 157 | if(_file == NULL){ + | ^ +filereader.h:162:5: note: here + 162 | case FILEREADER_ATTR_PROC: + | ^~~~ +filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 163 | if(_file == NULL){ + | ^ mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +filereader.h:168:5: note: here + 168 | case FILEREADER_ATTR_USER: + | ^~~~ +filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] + 169 | if(_file == NULL){ + | ^ +filereader.h:174:5: note: here + 174 | default: + | ^~~~~~~ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13358,6 +13410,24 @@ filereader.h:174:5: note: here 174 | default: | ^~~~~~~ +In file included from tripoa.h:23, + from wtpoa.h:23, + from kbmpoa.h:24, + from kbm.c:21: +poacns.h: In function ‘prepare_rd_align_pog’: +poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); + | ^ +poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); + | ^ +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, @@ -13398,42 +13468,6 @@ | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: -mem_share.h: In function ‘get_linux_sys_info’: -mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 514 | fscanf(fp, "%llu", memtotal); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 517 | fscanf(fp, "%llu", &freed); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 519 | fscanf(fp, "%llu", &buffered); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 521 | fscanf(fp, "%llu", &cached); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘get_linux_proc_info’: -mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘mem_load_obj_file’: -mem_share.h:1301:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1301 | fread(size, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1302:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1302 | fread(mem_type, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1303:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1303 | fread(cnt, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1304:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1304 | fread(aux_data, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: wtdbg.h: In function ‘get_edgehash’: @@ -13470,6 +13504,80 @@ wtdbg.h:113:1: note: in expansion of macro ‘define_hashset’ 113 | define_hashset(edgehash, uint64_t, edge_hashcode, edge_hashequals); | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +wtdbg.h: In function ‘get_lnkhash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +wtdbg.h:178:1: note: in expansion of macro ‘define_hashset’ + 178 | define_hashset(lnkhash, lnk_t, lnk_hashcode, lnk_hashequals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +wtdbg.h:178:1: note: in expansion of macro ‘define_hashset’ + 178 | define_hashset(lnkhash, lnk_t, lnk_hashcode, lnk_hashequals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +mem_share.h: In function ‘get_linux_sys_info’: +mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 514 | fscanf(fp, "%llu", memtotal); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 517 | fscanf(fp, "%llu", &freed); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 519 | fscanf(fp, "%llu", &buffered); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 521 | fscanf(fp, "%llu", &cached); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h: In function ‘get_linux_proc_info’: +mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h: In function ‘mem_load_obj_file’: +mem_share.h:1301:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 1301 | fread(size, sizeof(size_t), 1, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:1302:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 1302 | fread(mem_type, sizeof(size_t), 1, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:1303:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 1303 | fread(cnt, sizeof(size_t), 1, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem_share.h:1304:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] + 1304 | fread(aux_data, sizeof(size_t), 1, file); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem_share.h: In function ‘mem_load_obj’: mem_share.h:919:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 919 | for(m=0;marray = calloc(set->size, set->e_size); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13732,21 +13803,22 @@ hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:23, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘init_ctgcns.constprop’: -/usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here - 542 | extern void *calloc (size_t __nmemb, size_t __size) - | ^~~~~~ -In file included from dna.h:29, - from poacns.h:24, +In file included from bit2vec.h:26, + from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: +hashset.h: In function ‘init_seqbank’: +/usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here + 542 | extern void *calloc (size_t __nmemb, size_t __size) + | ^~~~~~ +In file included from kbm.h:24, + from kbm.c:20: In function ‘init2_cuhash’, inlined from ‘init_cuhash’ at hashset.h:579:1, - inlined from ‘init_seqbank’ at dna.h:1160:15: + inlined from ‘init_seqbank’ at dna.h:1160:15, + inlined from ‘init_tripog’ at tripoa.h:52:13, + inlined from ‘init_ctgcns.constprop’ at wtpoa.h:273:12: hashset.h:95:21: warning: product ‘1169606899 * 8’ of arguments 1 and 2 exceeds ‘SIZE_MAX’ [-Walloc-size-larger-than=] 95 | set->array = calloc(set->size, set->e_size); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13756,12 +13828,10 @@ hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:26, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘init_seqbank’: +In file included from list.h:23, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘init_ctgcns.constprop’: /usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ @@ -14020,10 +14090,10 @@ /usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ -make[2]: Leaving directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen dh_auto_build -- SFX=-plain - make -j8 "INSTALL=install --strip-program=true" SFX=-plain -make[2]: Entering directory '/build/wtdbg2-2.5' + make -j15 "INSTALL=install --strip-program=true" SFX=-plain +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o kbm2-plain kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o wtdbg2-plain wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o wtdbg-cns-plain wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now @@ -14031,7 +14101,8 @@ gcc -Wl,-z,relro -Wl,-z,now -g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2 -o pgzf-plain pgzf.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now In file included from list.h:28, from kbm.h:23, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); @@ -14039,10 +14110,6 @@ mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ -mem_share.h: In function ‘encap_list’: -mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] - 202 | if(MAX_U8 - inc <= size){ - | ^~ In file included from list.h:28, from dna.h:27, from kswx.h:24, @@ -14054,13 +14121,16 @@ mem_share.h:186:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +mem_share.h: In function ‘malloc16’: mem_share.h: In function ‘encap_list’: mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ -In file included from pgzf.h:24, - from pgzf.c:20: -mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); | ^ @@ -14073,8 +14143,7 @@ | ^~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); @@ -14086,11 +14155,12 @@ mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] 202 | if(MAX_U8 - inc <= size){ | ^~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +mem_share.h: In function ‘encap_list’: +mem_share.h:202:18: warning: comparison of promoted bitwise complement of an unsigned value with unsigned [-Wsign-compare] + 202 | if(MAX_U8 - inc <= size){ + | ^~ +In file included from pgzf.h:24, + from pgzf.c:20: mem_share.h: In function ‘malloc16’: mem_share.h:186:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 186 | q = (u1i*)(((u8i)(p + 16)) & (~0xFLLU)); @@ -14157,7 +14227,8 @@ | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h: In function ‘get_u32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -14177,8 +14248,15 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_u32hash’: In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -14191,6 +14269,28 @@ hashset.h:544:1: note: in expansion of macro ‘define_hashset’ 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_u32hash’: In file included from list.h:28, from dna.h:27, from kswx.h:24, @@ -14211,6 +14311,41 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ hashset.h:545:1: note: in expansion of macro ‘define_hashset’ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ @@ -14229,9 +14364,24 @@ hashset.h:545:1: note: in expansion of macro ‘define_hashset’ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:544:1: note: in expansion of macro ‘define_hashset’ + 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h: In function ‘get_u64hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -14251,8 +14401,15 @@ hashset.h:545:1: note: in expansion of macro ‘define_hashset’ 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_u64hash’: In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -14285,9 +14442,31 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ hashset.h:549:1: note: in expansion of macro ‘define_hashset’ 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_u64hash’: In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: @@ -14303,10 +14482,6 @@ hashset.h:549:1: note: in expansion of macro ‘define_hashset’ 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14322,8 +14497,25 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); + | ^~~~~~~~~~~~~~ +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: @@ -14336,14 +14528,14 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); +hashset.h:545:1: note: in expansion of macro ‘define_hashset’ + 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); | ^~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_chash’: + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_i32hash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14359,12 +14551,17 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, +In file included from list.h:28, + from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: +hashset.h: In function ‘get_chash’: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -14374,13 +14571,37 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_i32hash’: In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_chash’: +hashset.h: In function ‘get_i32hash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14399,8 +14620,11 @@ hashset.h:553:1: note: in expansion of macro ‘define_hashset’ 553 | define_hashset(chash, char*, chash_code, chash_equals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -14410,14 +14634,9 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14430,9 +14649,12 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: @@ -14442,13 +14664,31 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:549:1: note: in expansion of macro ‘define_hashset’ + 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_uuhash’: + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14461,25 +14701,53 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_uuhash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_chash’: In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14492,9 +14760,16 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_chash’: In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: @@ -14504,13 +14779,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14523,9 +14794,29 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] @@ -14534,14 +14825,17 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +hashset.h:553:1: note: in expansion of macro ‘define_hashset’ + 553 | define_hashset(chash, char*, chash_code, chash_equals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_UUhash’: + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14554,30 +14848,51 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_cuhash’: +hashset.h: In function ‘get_uihash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_uuhash’: +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_UUhash’: +hashset.h: In function ‘get_uuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14590,8 +14905,20 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -14605,20 +14932,22 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from kbm.c:20: @@ -14628,18 +14957,24 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ + 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_cihash’: + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_uihash’: In file included from list.h:28, from kbm.h:23, from kbm.c:20: -hashset.h: In function ‘get_cuhash’: +hashset.h: In function ‘get_uihash’: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_uihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14652,8 +14987,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -14667,37 +15002,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from kbm.c:20: + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14710,25 +15040,28 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_cihash’: In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ + 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_UUhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14741,25 +15074,35 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_UUhash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_UUhash’: +In file included from list.h:28, from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h: In function ‘get_cchash’: +hashset.h: In function ‘get_cuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14772,24 +15115,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_clhash’: -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU @@ -14803,24 +15130,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14833,43 +15145,27 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from kbm.c:20: +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: +hashset.h: In function ‘get_UUhash’: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_u32hash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: @@ -14879,56 +15175,20 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_u64hash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_u32hash’: +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14941,12 +15201,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -14958,17 +15215,23 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:544:1: note: in expansion of macro ‘define_hashset’ - 544 | define_hashset(u32hash, uint32_t, u32hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ + 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_cihash’: In file included from list.h:28, from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h: In function ‘get_i32hash’: +hashset.h: In function ‘get_cuhash’: +In file included from list.h:28, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘get_cuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -14981,33 +15244,24 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] + 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU + | ^~~~~~~~~~~~~~~~~~~~~ +mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ + 67 | #define MAX_U8 MAX_VALUE_U8 + | ^~~~~~~~~~~~ +hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ + 121 | hi = MAX_U8; \ + | ^~~~~~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_u64hash’: +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15020,52 +15274,38 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from bit2vec.h:27, + from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: +hashset.h: In function ‘get_cuhash’: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:545:1: note: in expansion of macro ‘define_hashset’ - 545 | define_hashset(u64hash, uint64_t, u64hash_code, uxxhash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_chash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from kbm.h:24, + from kbm.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, from wtdbg.c:20: @@ -15075,18 +15315,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_i32hash’: +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15099,12 +15330,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, from tripoa.h:23, @@ -15116,17 +15344,18 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:549:1: note: in expansion of macro ‘define_hashset’ - 549 | define_hashset(i32hash, int, i32hash_code, i32hash_equals); - | ^~~~~~~~~~~~~~ +hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ + 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +hashset.h: In function ‘get_clhash’: In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_uuhash’: + from kbm.c:20: +hashset.h: In function ‘get_cihash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15139,27 +15368,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_chash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15172,34 +15383,25 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h: In function ‘get_cihash’: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -hashset.h:553:1: note: in expansion of macro ‘define_hashset’ - 553 | define_hashset(chash, char*, chash_code, chash_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_uihash’: +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15212,27 +15414,39 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_uuhash’: +hashset.h: In function ‘get_cihash’: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: +hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] + 124 | if(hi == MAX_U8){ \ + | ^~ +hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ + 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ + | ^~~~~~~~~~~~~~~~~ +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15245,8 +15459,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, @@ -15259,19 +15473,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:561:1: note: in expansion of macro ‘define_hashtable’ - 561 | define_hashtable(uuhash, uuhash_t, uuhash_code, uuhash_equals, u4i, u32hashcode, uuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ + 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_UUhash’: -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -dbgcns.h: In function ‘get_dbgcnskmerhash’: + from kbm.c:20: +hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15284,60 +15492,19 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -dbgcns.h:51:1: note: in expansion of macro ‘define_hashset’ - 51 | define_hashset(dbgcnskmerhash, uint32_t, kmer_hashcode, kmer_hashequals); - | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, +In file included from list.h:28, + from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, +hashset.h: In function ‘get_clhash’: +In file included from list.h:28, + from dna.h:27, from kswx.h:24, from wtdbg-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -dbgcns.h:51:1: note: in expansion of macro ‘define_hashset’ - 51 | define_hashset(dbgcnskmerhash, uint32_t, kmer_hashcode, kmer_hashequals); - | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_uihash’: +hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15350,28 +15517,20 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:567:1: note: in expansion of macro ‘define_hashtable’ - 567 | define_hashtable(uihash, uihash_t, uihashcode, uihashequals, u4i, u32hashcode, uihashkeyequals, b4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -dbgcns.h: In function ‘get_fbgkmerh’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15384,12 +15543,9 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -dbgcns.h:74:1: note: in expansion of macro ‘define_hashset’ - 74 | define_hashset(fbgkmerh, fbg_kmer_t, fbgkmer_hashcode, fbgkmer_equals); - | ^~~~~~~~~~~~~~ +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); + | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from kswx.h:24, from wtdbg-cns.c:20: @@ -15399,31 +15555,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ - 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) - | ^~~~~~~~~~~~~~~~ -dbgcns.h:74:1: note: in expansion of macro ‘define_hashset’ - 74 | define_hashset(fbgkmerh, fbg_kmer_t, fbgkmer_hashcode, fbgkmer_equals); - | ^~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_cuhash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from kbm.h:24, from wtdbg.h:23, @@ -15434,15 +15567,15 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from bit2vec.h:27, from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: -hashset.h: In function ‘get_UUhash’: +hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15455,8 +15588,8 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from dna.h:29, from poacns.h:24, @@ -15469,14 +15602,13 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:573:1: note: in expansion of macro ‘define_hashtable’ - 573 | define_hashtable(UUhash, UUhash_t, UUhashcode, UUhashequals, u8i, u64hashcode, UUhashkeyequals, u8i, KV_HASH_GET_VAL); +hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ + 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_cihash’: + from kbm.c:20: +hashset.h: In function ‘get_cchash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15489,27 +15621,25 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, +In file included from list.h:28, + from kbm.h:23, from wtdbg.h:23, from wtdbg.c:20: +hashset.h: In function ‘get_cchash’: +In file included from kbm.h:24, + from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_cuhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15522,28 +15652,27 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, +In file included from bit2vec.h:27, + from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: +hashset.h: In function ‘get_cchash’: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ - 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15556,27 +15685,28 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from poacns.h:24, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ + 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_cihash’: +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +dbgcns.h: In function ‘get_dbgcnskmerhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15589,28 +15719,32 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +dbgcns.h:51:1: note: in expansion of macro ‘define_hashset’ + 51 | define_hashset(dbgcnskmerhash, uint32_t, kmer_hashcode, kmer_hashequals); + | ^~~~~~~~~~~~~~ In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:587:1: note: in expansion of macro ‘define_hashtable’ - 587 | define_hashtable(cihash, cihash_t, cihash_code, cihash_equals, char*, __string_hashcode, cihash_key_equals, b4i, KV_HASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +dbgcns.h:51:1: note: in expansion of macro ‘define_hashset’ + 51 | define_hashset(dbgcnskmerhash, uint32_t, kmer_hashcode, kmer_hashequals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h: In function ‘get_cchash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +dbgcns.h: In function ‘get_fbgkmerh’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15623,21 +15757,27 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +dbgcns.h:74:1: note: in expansion of macro ‘define_hashset’ + 74 | define_hashset(fbgkmerh, fbg_kmer_t, fbgkmer_hashcode, fbgkmer_equals); + | ^~~~~~~~~~~~~~ +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ +hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ + 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) + | ^~~~~~~~~~~~~~~~ +dbgcns.h:74:1: note: in expansion of macro ‘define_hashset’ + 74 | define_hashset(fbgkmerh, fbg_kmer_t, fbgkmer_hashcode, fbgkmer_equals); + | ^~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from kbm.c:20: @@ -15657,6 +15797,11 @@ kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ +In file included from list.h:28, + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +kbm.h: In function ‘get_kbmhash’: In file included from kbm.h:24, from kbm.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] @@ -15668,12 +15813,6 @@ kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_clhash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15686,22 +15825,20 @@ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ + 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ | ^~~~~~~~~~~~~~~~~ -hashset.h:593:1: note: in expansion of macro ‘define_hashtable’ - 593 | define_hashtable(clhash, clhash_t, clhash_code, clhash_equals, char*, __string_hashcode, clhash_key_equals, u8i, KV_HASH_GET_VAL); +kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ + 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from dna.h:27, @@ -15741,41 +15878,6 @@ dbgcns.h:132:1: note: in expansion of macro ‘define_hashset’ 132 | define_hashset(dbgcnsdphash, uint32_t, dp_hashcode, dp_hashequals); | ^~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘get_cchash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ -In file included from dna.h:29, - from poacns.h:24, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -hashset.h:600:1: note: in expansion of macro ‘define_hashtable’ - 600 | define_hashtable(cchash, cchash_t, cchash_code, cchash_equals, char*, __string_hashcode, cchash_key_equals, char*, KV_CCHASH_GET_VAL); - | ^~~~~~~~~~~~~~~~ In file included from list.h:28, from kbm.h:23, from kbm.c:20: @@ -15813,10 +15915,10 @@ 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -general_graph.h: In function ‘get_geedgehash’: + from kbm.h:23, + from wtdbg.h:23, + from wtdbg.c:20: +kbm.h: In function ‘get_kbmphash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15832,12 +15934,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ - 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); +kbm.h:146:1: note: in expansion of macro ‘define_hashset’ + 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ -In file included from dna.h:29, - from kswx.h:24, - from wtdbg-cns.c:20: +In file included from kbm.h:24, + from wtdbg.h:23, + from wtdbg.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -15847,46 +15949,14 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ - 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); +kbm.h:146:1: note: in expansion of macro ‘define_hashset’ + 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); | ^~~~~~~~~~~~~~ In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -kbm.h: In function ‘get_kbmhash’: -mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] - 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU - | ^~~~~~~~~~~~~~~~~~~~~ -mem_share.h:67:16: note: in expansion of macro ‘MAX_VALUE_U8’ - 67 | #define MAX_U8 MAX_VALUE_U8 - | ^~~~~~~~~~~~ -hashset.h:121:8: note: in expansion of macro ‘MAX_U8’ - 121 | hi = MAX_U8; \ - | ^~~~~~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ - 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); - | ^~~~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: -hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] - 124 | if(hi == MAX_U8){ \ - | ^~ -hashset.h:412:2: note: in expansion of macro ‘get_hashset_macro’ - 412 | get_hashset_macro(hash_type, hash_ele_type, hash_key_type, hash_key_code, hash_key_equal, hash_val_type, hash_ele2val); \ - | ^~~~~~~~~~~~~~~~~ -kbm.h:99:1: note: in expansion of macro ‘define_hashtable’ - 99 | define_hashtable(kbmhash, kbm_kmer_t, KBM_KMERCODE, KBM_KMEREQUALS, u8i, ITSELF, KBM_KEYEQUALS, kbm_kmer_t*, ITSELF); - | ^~~~~~~~~~~~~~~~ -In file included from list.h:28, - from kbm.h:23, - from wtdbg.h:23, - from wtdbg.c:20: -kbm.h: In function ‘get_kbmphash’: + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: +general_graph.h: In function ‘get_geedgehash’: mem_share.h:66:22: warning: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow] 66 | #define MAX_VALUE_U8 0xFFFFFFFFFFFFFFFFLLU | ^~~~~~~~~~~~~~~~~~~~~ @@ -15902,12 +15972,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -kbm.h:146:1: note: in expansion of macro ‘define_hashset’ - 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); +general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ + 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); | ^~~~~~~~~~~~~~ -In file included from kbm.h:24, - from wtdbg.h:23, - from wtdbg.c:20: +In file included from dna.h:29, + from kswx.h:24, + from wtdbg-cns.c:20: hashset.h:124:11: warning: comparison is always false due to limited range of data type [-Wtype-limits] 124 | if(hi == MAX_U8){ \ | ^~ @@ -15917,13 +15987,12 @@ hashset.h:426:86: note: in expansion of macro ‘define_hashtable’ 426 | #define define_hashset(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro) define_hashtable(hash_type, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type, hash_code_macro, hash_equal_macro, hash_ele_type*, ITSELF) | ^~~~~~~~~~~~~~~~ -kbm.h:146:1: note: in expansion of macro ‘define_hashset’ - 146 | define_hashset(kbmphash, kbm_path_t, kbmpath_hashcode, kbmpath_hashequals); +general_graph.h:63:1: note: in expansion of macro ‘define_hashset’ + 63 | define_hashset(geedgehash, u8i, ge_edge_hashcode, ge_edge_hashequals); | ^~~~~~~~~~~~~~ In file included from tripoa.h:23, from wtpoa.h:23, - from kbmpoa.h:24, - from kbm.c:21: + from wtpoa-cns.c:20: poacns.h: In function ‘prepare_rd_align_pog’: poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); @@ -15938,9 +16007,17 @@ poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); | ^ +wtpoa-cns.c: In function ‘main’: +wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] + 110 | case 'p': print_lay = 1; + | ~~~~~~~~~~^~~ +wtpoa-cns.c:111:4: note: here + 111 | case 'd': push_cplist(dbfs, optarg); break; + | ^~~~ In file included from tripoa.h:23, from wtpoa.h:23, - from wtpoa-cns.c:20: + from kbmpoa.h:24, + from kbm.c:21: poacns.h: In function ‘prepare_rd_align_pog’: poacns.h:626:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 626 | head_sr_b2v(g->rows, (16 - (((u8i)g->rows->buffer) & 0xF)) >> 1); @@ -15948,57 +16025,6 @@ poacns.h:629:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 629 | head_sr_b2v(g->btds, (16 - (((u8i)g->btds->buffer) & 0xF)) >> 1); | ^ -In file included from list.h:28, - from dna.h:27, - from kswx.h:24, - from wtdbg-cns.c:20: -mem_share.h: In function ‘get_linux_sys_info’: -mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 514 | fscanf(fp, "%llu", memtotal); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 517 | fscanf(fp, "%llu", &freed); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:519:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 519 | fscanf(fp, "%llu", &buffered); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:521:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 521 | fscanf(fp, "%llu", &cached); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘get_linux_proc_info’: -mem_share.h:560:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 560 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -poacns.h: In function ‘set_rd_query_prof’: -poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); - | ^ -In file included from wtdbg-cns.c:23: -filereader.h: In function ‘file_src_thread_func’: -filereader.h:157:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 157 | if(_file == NULL){ - | ^ -filereader.h:162:5: note: here - 162 | case FILEREADER_ATTR_PROC: - | ^~~~ -filereader.h:163:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 163 | if(_file == NULL){ - | ^ -filereader.h:168:5: note: here - 168 | case FILEREADER_ATTR_USER: - | ^~~~ -filereader.h:169:8: warning: this statement may fall through [-Wimplicit-fallthrough=] - 169 | if(_file == NULL){ - | ^ -filereader.h:174:5: note: here - 174 | default: - | ^~~~~~~ In file included from tripoa.h:23, from wtpoa.h:23, from kbmpoa.h:24, @@ -16018,16 +16044,18 @@ poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); | ^ -wtpoa-cns.c: In function ‘main’: -wtpoa-cns.c:110:24: warning: this statement may fall through [-Wimplicit-fallthrough=] - 110 | case 'p': print_lay = 1; - | ~~~~~~~~~~^~~ -wtpoa-cns.c:111:4: note: here - 111 | case 'd': push_cplist(dbfs, optarg); break; - | ^~~~ -In file included from list.h:28, - from kbm.h:23, - from kbm.c:20: +poacns.h: In function ‘set_rd_query_prof’: +poacns.h:959:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 959 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +poacns.h:982:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 982 | head_sr_b2v(g->qprof, (16 - (((u8i)g->qprof->buffer) & 0xF)) >> 1); + | ^ +In file included from bit2vec.h:27, + from poacns.h:23, + from tripoa.h:23, + from wtpoa.h:23, + from wtpoa-cns.c:20: mem_share.h: In function ‘get_linux_sys_info’: mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 514 | fscanf(fp, "%llu", memtotal); @@ -16048,28 +16076,14 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from bit2vec.h:27, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: +In file included from list.h:28, + from dna.h:27, + from kswx.h:24, + from wtdbg-cns.c:20: mem_share.h: In function ‘get_linux_sys_info’: -mem_share.h: In function ‘mem_load_obj_file’: mem_share.h:514:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 514 | fscanf(fp, "%llu", memtotal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1301:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1301 | fread(size, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1302:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1302 | fread(mem_type, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1303:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1303 | fread(cnt, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h:1304:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] - 1304 | fread(aux_data, sizeof(size_t), 1, file); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem_share.h:517:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 517 | fscanf(fp, "%llu", &freed); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16086,39 +16100,6 @@ mem_share.h:568:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 568 | fscanf(fp, "%lu%lu", &tmp, &tmp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mem_share.h: In function ‘mem_load_obj’: -mem_share.h:919:5: warning: this statement may fall through [-Wimplicit-fallthrough=] - 919 | for(m=0;marray = calloc(set->size, set->e_size); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16445,21 +16516,22 @@ hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from list.h:23, - from kbm.h:23, - from kbm.c:20: -hashset.h: In function ‘init_ctgcns.constprop’: -/usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here - 542 | extern void *calloc (size_t __nmemb, size_t __size) - | ^~~~~~ -In file included from dna.h:29, - from poacns.h:24, +In file included from bit2vec.h:26, + from poacns.h:23, from tripoa.h:23, from wtpoa.h:23, from wtpoa-cns.c:20: +hashset.h: In function ‘init_seqbank’: +/usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here + 542 | extern void *calloc (size_t __nmemb, size_t __size) + | ^~~~~~ +In file included from kbm.h:24, + from kbm.c:20: In function ‘init2_cuhash’, inlined from ‘init_cuhash’ at hashset.h:579:1, - inlined from ‘init_seqbank’ at dna.h:1160:15: + inlined from ‘init_seqbank’ at dna.h:1160:15, + inlined from ‘init_tripog’ at tripoa.h:52:13, + inlined from ‘init_ctgcns.constprop’ at wtpoa.h:273:12: hashset.h:95:21: warning: product ‘1169606899 * 8’ of arguments 1 and 2 exceeds ‘SIZE_MAX’ [-Walloc-size-larger-than=] 95 | set->array = calloc(set->size, set->e_size); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -16469,12 +16541,10 @@ hashset.h:579:1: note: in expansion of macro ‘define_hashtable’ 579 | define_hashtable(cuhash, cuhash_t, cuhash_code, cuhash_equals, char*, __string_hashcode, cuhash_key_equals, u4i, KV_HASH_GET_VAL); | ^~~~~~~~~~~~~~~~ -In file included from bit2vec.h:26, - from poacns.h:23, - from tripoa.h:23, - from wtpoa.h:23, - from wtpoa-cns.c:20: -hashset.h: In function ‘init_seqbank’: +In file included from list.h:23, + from kbm.h:23, + from kbm.c:20: +hashset.h: In function ‘init_ctgcns.constprop’: /usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ @@ -16733,61 +16803,61 @@ /usr/include/stdlib.h:542:14: note: in a call to allocation function ‘calloc’ declared here 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ -make[2]: Leaving directory '/build/wtdbg2-2.5' -make[1]: Leaving directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen +make[1]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen dh_auto_test create-stamp debian/debhelper-build-stamp dh_prep debian/rules override_dh_auto_install -make[1]: Entering directory '/build/wtdbg2-2.5' +make[1]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten dh_install -p wtdbg2 debian/bin/simd-dispatch /usr/lib/wtdbg2/ for SIMD in sse2 sse mmx ; do \ export CFLAGS="-g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -m${SIMD}" ; \ dh_auto_build -- SFX=-${SIMD} BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install ; \ done - make -j8 "INSTALL=install --strip-program=true" SFX=-sse2 BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install -make[2]: Entering directory '/build/wtdbg2-2.5' + make -j15 "INSTALL=install --strip-program=true" SFX=-sse2 BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten mkdir -p /build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 && cp -fvu kbm2-sse2 wtdbg2-sse2 wtdbg-cns-sse2 wtpoa-cns-sse2 pgzf-sse2 /build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 'kbm2-sse2' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/kbm2-sse2' 'wtdbg2-sse2' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtdbg2-sse2' 'wtdbg-cns-sse2' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtdbg-cns-sse2' 'wtpoa-cns-sse2' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtpoa-cns-sse2' 'pgzf-sse2' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/pgzf-sse2' -make[2]: Leaving directory '/build/wtdbg2-2.5' - make -j8 "INSTALL=install --strip-program=true" SFX=-sse BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install -make[2]: Entering directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen + make -j15 "INSTALL=install --strip-program=true" SFX=-sse BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten mkdir -p /build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 && cp -fvu kbm2-sse wtdbg2-sse wtdbg-cns-sse wtpoa-cns-sse pgzf-sse /build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 'kbm2-sse' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/kbm2-sse' 'wtdbg2-sse' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtdbg2-sse' 'wtdbg-cns-sse' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtdbg-cns-sse' 'wtpoa-cns-sse' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtpoa-cns-sse' 'pgzf-sse' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/pgzf-sse' -make[2]: Leaving directory '/build/wtdbg2-2.5' - make -j8 "INSTALL=install --strip-program=true" SFX=-mmx BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install -make[2]: Entering directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen + make -j15 "INSTALL=install --strip-program=true" SFX=-mmx BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten mkdir -p /build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 && cp -fvu kbm2-mmx wtdbg2-mmx wtdbg-cns-mmx wtpoa-cns-mmx pgzf-mmx /build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 'kbm2-mmx' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/kbm2-mmx' 'wtdbg2-mmx' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtdbg2-mmx' 'wtdbg-cns-mmx' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtdbg-cns-mmx' 'wtpoa-cns-mmx' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtpoa-cns-mmx' 'pgzf-mmx' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/pgzf-mmx' -make[2]: Leaving directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen export CLFAGS="-g -O2 -fdebug-prefix-map=/build/wtdbg2-2.5=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd" ; dh_auto_build -- SFX=-plain BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 \ install - make -j8 "INSTALL=install --strip-program=true" SFX=-plain BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install -make[2]: Entering directory '/build/wtdbg2-2.5' + make -j15 "INSTALL=install --strip-program=true" SFX=-plain BIN=/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 install +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird betreten mkdir -p /build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 && cp -fvu kbm2-plain wtdbg2-plain wtdbg-cns-plain wtpoa-cns-plain pgzf-plain /build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2 'kbm2-plain' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/kbm2-plain' 'wtdbg2-plain' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtdbg2-plain' 'wtdbg-cns-plain' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtdbg-cns-plain' 'wtpoa-cns-plain' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/wtpoa-cns-plain' 'pgzf-plain' -> '/build/wtdbg2-2.5/debian/wtdbg2/usr/lib/wtdbg2/pgzf-plain' -make[2]: Leaving directory '/build/wtdbg2-2.5' +make[2]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen mkdir -p /build/wtdbg2-2.5/debian/wtdbg2/usr/bin cd /build/wtdbg2-2.5/debian/wtdbg2/usr/bin \ && for prog in kbm2 pgzf wtdbg-cns wtdbg2 wtpoa-cns ; do \ ln -s ../lib/wtdbg2/simd-dispatch ${prog} ; done -make[1]: Leaving directory '/build/wtdbg2-2.5' +make[1]: Verzeichnis „/build/wtdbg2-2.5“ wird verlassen dh_install dh_installdocs dh_installchangelogs @@ -16806,21 +16876,23 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'wtdbg2-dbgsym' in '../wtdbg2-dbgsym_2.5-7_i386.deb'. -dpkg-deb: building package 'wtdbg2' in '../wtdbg2_2.5-7_i386.deb'. -dpkg-deb: building package 'wtdbg2-examples' in '../wtdbg2-examples_2.5-7_all.deb'. +dpkg-deb: Paket »wtdbg2« wird in »../wtdbg2_2.5-7_i386.deb« gebaut. +dpkg-deb: Paket »wtdbg2-dbgsym« wird in »../wtdbg2-dbgsym_2.5-7_i386.deb« gebaut. +dpkg-deb: Paket »wtdbg2-examples« wird in »../wtdbg2-examples_2.5-7_all.deb« gebaut. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../wtdbg2_2.5-7_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/44900/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/44900/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/32524 and its subdirectories -I: Current time: Thu Jul 29 01:09:07 -12 2021 -I: pbuilder-time-stamp: 1627564147 +I: removing directory /srv/workspace/pbuilder/44900 and its subdirectories +I: Current time: Thu Sep 1 09:35:13 +14 2022 +I: pbuilder-time-stamp: 1661974513