DC-Build-Header: wtdbg2 2.5-8 / 2021-10-26 21:43:13 +0000 DC-Task: type:rebuild-binarch-only source:wtdbg2 version:2.5-8 chroot:unstable esttime:314 logfile:/tmp/wtdbg2_2.5-8_unstable_clang13.log modes:clang13:binarch-only DC-Sbuild-call: su user42 -c 'sbuild -n --arch-any --apt-update -d unstable -v --no-run-lintian --chroot-setup-commands=/tmp/clang13 wtdbg2_2.5-8' sbuild (Debian sbuild) 0.78.1 (09 February 2019) on ip-172-31-8-136.eu-central-1.compute.internal +==============================================================================+ | wtdbg2 2.5-8 (amd64) Tue, 26 Oct 2021 21:43:13 +0000 | +==============================================================================+ Package: wtdbg2 Version: 2.5-8 Source Version: 2.5-8 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: binary I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-amd64-sbuild-cdb985a6-1eae-4239-90d8-874752e1960d' with '<>' +------------------------------------------------------------------------------+ | Chroot Setup Commands | +------------------------------------------------------------------------------+ /tmp/clang13 ------------ + echo 'Entering customization script...' Entering customization script... + CLANG_VERSION=13 + echo 'Install of clang-13' Install of clang-13 + apt-get update Get:1 http://127.0.0.1:12990/debian sid InRelease [165 kB] Get:2 http://127.0.0.1:12990/debian sid/main Sources.diff/Index [63.6 kB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 Packages.diff/Index [63.6 kB] Get:4 http://127.0.0.1:12990/debian sid/main Sources T-2021-10-26-2004.40-F-2021-10-26-0202.15.pdiff [47.3 kB] Get:4 http://127.0.0.1:12990/debian sid/main Sources T-2021-10-26-2004.40-F-2021-10-26-0202.15.pdiff [47.3 kB] Get:5 http://127.0.0.1:12990/debian sid/main amd64 Packages T-2021-10-26-2004.40-F-2021-10-26-0202.15.pdiff [55.9 kB] Get:5 http://127.0.0.1:12990/debian sid/main amd64 Packages T-2021-10-26-2004.40-F-2021-10-26-0202.15.pdiff [55.9 kB] Get:6 http://127.0.0.1:12990/debian sid/main Translation-en [6586 kB] Fetched 6981 kB in 3s (2761 kB/s) Reading package lists... + apt-get install --yes --no-install-recommends --force-yes clang-13 libomp-13-dev libobjc-9-dev Reading package lists... Building dependency tree... The following additional packages will be installed: lib32gcc-s1 lib32stdc++6 libasan5 libbsd0 libc6-i386 libclang-common-13-dev libclang-cpp13 libclang1-13 libedit2 libgc1 libgcc-9-dev libicu67 libllvm13 libmd0 libobjc-11-dev libobjc4 libomp5-13 libxml2 libz3-4 Suggested packages: clang-13-doc libomp-13-doc Recommended packages: llvm-13-dev python3 The following NEW packages will be installed: clang-13 lib32gcc-s1 lib32stdc++6 libasan5 libbsd0 libc6-i386 libclang-common-13-dev libclang-cpp13 libclang1-13 libedit2 libgc1 libgcc-9-dev libicu67 libllvm13 libmd0 libobjc-11-dev libobjc-9-dev libobjc4 libomp-13-dev libomp5-13 libxml2 libz3-4 0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded. Need to get 68.5 MB of archives. After this operation, 379 MB of additional disk space will be used. Get:1 http://127.0.0.1:12990/debian sid/main amd64 libmd0 amd64 1.0.4-1 [29.6 kB] Get:2 http://127.0.0.1:12990/debian sid/main amd64 libbsd0 amd64 0.11.3-1 [108 kB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 libedit2 amd64 3.1-20210910-1 [97.5 kB] Get:4 http://127.0.0.1:12990/debian sid/main amd64 libicu67 amd64 67.1-7 [8622 kB] Get:5 http://127.0.0.1:12990/debian sid/main amd64 libxml2 amd64 2.9.12+dfsg-5 [696 kB] Get:6 http://127.0.0.1:12990/debian sid/main amd64 libz3-4 amd64 4.8.12-1+b1 [6997 kB] Get:7 http://127.0.0.1:12990/debian sid/main amd64 libllvm13 amd64 1:13.0.0-8 [19.7 MB] Get:8 http://127.0.0.1:12990/debian sid/main amd64 libclang-cpp13 amd64 1:13.0.0-8 [10.5 MB] Get:9 http://127.0.0.1:12990/debian sid/main amd64 libgc1 amd64 1:8.0.4-3 [239 kB] Get:10 http://127.0.0.1:12990/debian sid/main amd64 libobjc4 amd64 11.2.0-10 [43.2 kB] Get:11 http://127.0.0.1:12990/debian sid/main amd64 libobjc-11-dev amd64 11.2.0-10 [170 kB] Get:12 http://127.0.0.1:12990/debian sid/main amd64 libc6-i386 amd64 2.32-4 [2624 kB] Get:13 http://127.0.0.1:12990/debian sid/main amd64 lib32gcc-s1 amd64 11.2.0-10 [49.9 kB] Get:14 http://127.0.0.1:12990/debian sid/main amd64 lib32stdc++6 amd64 11.2.0-10 [601 kB] Get:15 http://127.0.0.1:12990/debian sid/main amd64 libclang-common-13-dev amd64 1:13.0.0-8 [5730 kB] Get:16 http://127.0.0.1:12990/debian sid/main amd64 libclang1-13 amd64 1:13.0.0-8 [6093 kB] Get:17 http://127.0.0.1:12990/debian sid/main amd64 clang-13 amd64 1:13.0.0-8 [119 kB] Get:18 http://127.0.0.1:12990/debian sid/main amd64 libasan5 amd64 9.4.0-3 [2734 kB] Get:19 http://127.0.0.1:12990/debian sid/main amd64 libgcc-9-dev amd64 9.4.0-3 [2343 kB] Get:20 http://127.0.0.1:12990/debian sid/main amd64 libobjc-9-dev amd64 9.4.0-3 [219 kB] Get:21 http://127.0.0.1:12990/debian sid/main amd64 libomp5-13 amd64 1:13.0.0-8 [377 kB] Get:22 http://127.0.0.1:12990/debian sid/main amd64 libomp-13-dev amd64 1:13.0.0-8 [482 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 68.5 MB in 0s (156 MB/s) Selecting previously unselected package libmd0:amd64. (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 ... 12431 files and directories currently installed.) Preparing to unpack .../00-libmd0_1.0.4-1_amd64.deb ... Unpacking libmd0:amd64 (1.0.4-1) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../01-libbsd0_0.11.3-1_amd64.deb ... Unpacking libbsd0:amd64 (0.11.3-1) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../02-libedit2_3.1-20210910-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20210910-1) ... Selecting previously unselected package libicu67:amd64. Preparing to unpack .../03-libicu67_67.1-7_amd64.deb ... Unpacking libicu67:amd64 (67.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../04-libxml2_2.9.12+dfsg-5_amd64.deb ... Unpacking libxml2:amd64 (2.9.12+dfsg-5) ... Selecting previously unselected package libz3-4:amd64. Preparing to unpack .../05-libz3-4_4.8.12-1+b1_amd64.deb ... Unpacking libz3-4:amd64 (4.8.12-1+b1) ... Selecting previously unselected package libllvm13:amd64. Preparing to unpack .../06-libllvm13_1%3a13.0.0-8_amd64.deb ... Unpacking libllvm13:amd64 (1:13.0.0-8) ... Selecting previously unselected package libclang-cpp13. Preparing to unpack .../07-libclang-cpp13_1%3a13.0.0-8_amd64.deb ... Unpacking libclang-cpp13 (1:13.0.0-8) ... Selecting previously unselected package libgc1:amd64. Preparing to unpack .../08-libgc1_1%3a8.0.4-3_amd64.deb ... Unpacking libgc1:amd64 (1:8.0.4-3) ... Selecting previously unselected package libobjc4:amd64. Preparing to unpack .../09-libobjc4_11.2.0-10_amd64.deb ... Unpacking libobjc4:amd64 (11.2.0-10) ... Selecting previously unselected package libobjc-11-dev:amd64. Preparing to unpack .../10-libobjc-11-dev_11.2.0-10_amd64.deb ... Unpacking libobjc-11-dev:amd64 (11.2.0-10) ... Selecting previously unselected package libc6-i386. Preparing to unpack .../11-libc6-i386_2.32-4_amd64.deb ... Unpacking libc6-i386 (2.32-4) ... Selecting previously unselected package lib32gcc-s1. Preparing to unpack .../12-lib32gcc-s1_11.2.0-10_amd64.deb ... Unpacking lib32gcc-s1 (11.2.0-10) ... Selecting previously unselected package lib32stdc++6. Preparing to unpack .../13-lib32stdc++6_11.2.0-10_amd64.deb ... Unpacking lib32stdc++6 (11.2.0-10) ... Selecting previously unselected package libclang-common-13-dev. Preparing to unpack .../14-libclang-common-13-dev_1%3a13.0.0-8_amd64.deb ... Unpacking libclang-common-13-dev (1:13.0.0-8) ... Selecting previously unselected package libclang1-13. Preparing to unpack .../15-libclang1-13_1%3a13.0.0-8_amd64.deb ... Unpacking libclang1-13 (1:13.0.0-8) ... Selecting previously unselected package clang-13. Preparing to unpack .../16-clang-13_1%3a13.0.0-8_amd64.deb ... Unpacking clang-13 (1:13.0.0-8) ... Selecting previously unselected package libasan5:amd64. Preparing to unpack .../17-libasan5_9.4.0-3_amd64.deb ... Unpacking libasan5:amd64 (9.4.0-3) ... Selecting previously unselected package libgcc-9-dev:amd64. Preparing to unpack .../18-libgcc-9-dev_9.4.0-3_amd64.deb ... Unpacking libgcc-9-dev:amd64 (9.4.0-3) ... Selecting previously unselected package libobjc-9-dev:amd64. Preparing to unpack .../19-libobjc-9-dev_9.4.0-3_amd64.deb ... Unpacking libobjc-9-dev:amd64 (9.4.0-3) ... Selecting previously unselected package libomp5-13:amd64. Preparing to unpack .../20-libomp5-13_1%3a13.0.0-8_amd64.deb ... Unpacking libomp5-13:amd64 (1:13.0.0-8) ... Selecting previously unselected package libomp-13-dev. Preparing to unpack .../21-libomp-13-dev_1%3a13.0.0-8_amd64.deb ... Unpacking libomp-13-dev (1:13.0.0-8) ... Setting up libicu67:amd64 (67.1-7) ... Setting up libasan5:amd64 (9.4.0-3) ... Setting up libz3-4:amd64 (4.8.12-1+b1) ... Setting up libgc1:amd64 (1:8.0.4-3) ... Setting up libmd0:amd64 (1.0.4-1) ... Setting up libc6-i386 (2.32-4) ... Setting up libomp5-13:amd64 (1:13.0.0-8) ... Setting up libbsd0:amd64 (0.11.3-1) ... Setting up libxml2:amd64 (2.9.12+dfsg-5) ... Setting up libedit2:amd64 (3.1-20210910-1) ... Setting up libobjc4:amd64 (11.2.0-10) ... Setting up libgcc-9-dev:amd64 (9.4.0-3) ... Setting up lib32gcc-s1 (11.2.0-10) ... Setting up lib32stdc++6 (11.2.0-10) ... Setting up libllvm13:amd64 (1:13.0.0-8) ... Setting up libobjc-9-dev:amd64 (9.4.0-3) ... Setting up libclang-common-13-dev (1:13.0.0-8) ... Setting up libomp-13-dev (1:13.0.0-8) ... Setting up libobjc-11-dev:amd64 (11.2.0-10) ... Setting up libclang1-13 (1:13.0.0-8) ... Setting up libclang-cpp13 (1:13.0.0-8) ... Setting up clang-13 (1:13.0.0-8) ... Processing triggers for libc-bin (2.32-4) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo 'Replace gcc, g++ & cpp by clang' Replace gcc, g++ & cpp by clang + VERSIONS='4.6 4.7 4.8 4.9 5 6 7 8 9 10 11' + cd /usr/bin + for VERSION in $VERSIONS + rm -f g++-4.6 gcc-4.6 cpp-4.6 gcc + ln -s clang++-13 g++-4.6 + ln -s clang-13 gcc-4.6 + ln -s clang-13 cpp-4.6 + ln -s clang-13 gcc + echo 'gcc-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.7 gcc-4.7 cpp-4.7 gcc + ln -s clang++-13 g++-4.7 + ln -s clang-13 gcc-4.7 + ln -s clang-13 cpp-4.7 + ln -s clang-13 gcc + echo 'gcc-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.8 gcc-4.8 cpp-4.8 gcc + ln -s clang++-13 g++-4.8 + ln -s clang-13 gcc-4.8 + ln -s clang-13 cpp-4.8 + ln -s clang-13 gcc + echo 'gcc-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-4.9 gcc-4.9 cpp-4.9 gcc + ln -s clang++-13 g++-4.9 + ln -s clang-13 gcc-4.9 + ln -s clang-13 cpp-4.9 + ln -s clang-13 gcc + echo 'gcc-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-4.9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-4.9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-5 gcc-5 cpp-5 gcc + ln -s clang++-13 g++-5 + ln -s clang-13 gcc-5 + ln -s clang-13 cpp-5 + ln -s clang-13 gcc + echo 'gcc-5 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-5 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-5 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-5 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-6 gcc-6 cpp-6 gcc + ln -s clang++-13 g++-6 + ln -s clang-13 gcc-6 + ln -s clang-13 cpp-6 + ln -s clang-13 gcc + echo 'gcc-6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-6 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-6 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-7 gcc-7 cpp-7 gcc + ln -s clang++-13 g++-7 + ln -s clang-13 gcc-7 + ln -s clang-13 cpp-7 + ln -s clang-13 gcc + echo 'gcc-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-7 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-7 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-8 gcc-8 cpp-8 gcc + ln -s clang++-13 g++-8 + ln -s clang-13 gcc-8 + ln -s clang-13 cpp-8 + ln -s clang-13 gcc + echo 'gcc-8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-8 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-8 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-9 gcc-9 cpp-9 gcc + ln -s clang++-13 g++-9 + ln -s clang-13 gcc-9 + ln -s clang-13 cpp-9 + ln -s clang-13 gcc + echo 'gcc-9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-9 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-9 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-10 gcc-10 cpp-10 gcc + ln -s clang++-13 g++-10 + ln -s clang-13 gcc-10 + ln -s clang-13 cpp-10 + ln -s clang-13 gcc + echo 'gcc-10 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: gcc-10 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + echo 'g++-10 hold' + dpkg --set-selections dpkg: warning: package not in status nor available database at line 1: g++-10 dpkg: warning: found unknown packages; this might mean the available database is outdated, and needs to be updated through a frontend method; please see the FAQ + for VERSION in $VERSIONS + rm -f g++-11 gcc-11 cpp-11 gcc + ln -s clang++-13 g++-11 + ln -s clang-13 gcc-11 + ln -s clang-13 cpp-11 + ln -s clang-13 gcc + echo 'gcc-11 hold' + dpkg --set-selections + echo 'g++-11 hold' + dpkg --set-selections + cd - /build/wtdbg2-5J2hGU + echo 'Check if gcc, g++ & cpp are actually clang' Check if gcc, g++ & cpp are actually clang + gcc --version + grep clang + cpp --version + grep clang + g++ --version + grep clang + cd /usr/bin/ + rm -f clang++ clang + ln -s clang-13 clang++ + ln -s clang-13 clang + clang++ --version Debian clang version 13.0.0-8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin + clang --version Debian clang version 13.0.0-8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin + cd - /build/wtdbg2-5J2hGU + apt install --yes --no-install-recommends --force-yes qt5-qmake WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: qt5-qmake-bin qtchooser The following NEW packages will be installed: qt5-qmake qt5-qmake-bin qtchooser 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 1322 kB of archives. After this operation, 4914 kB of additional disk space will be used. Get:1 http://127.0.0.1:12990/debian sid/main amd64 qt5-qmake-bin amd64 5.15.2+dfsg-12 [1046 kB] Get:2 http://127.0.0.1:12990/debian sid/main amd64 qtchooser amd64 66-2 [26.3 kB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 qt5-qmake amd64 5.15.2+dfsg-12 [249 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 1322 kB in 0s (20.1 MB/s) Selecting previously unselected package qt5-qmake-bin. (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 ... 13528 files and directories currently installed.) Preparing to unpack .../qt5-qmake-bin_5.15.2+dfsg-12_amd64.deb ... Unpacking qt5-qmake-bin (5.15.2+dfsg-12) ... Selecting previously unselected package qtchooser. Preparing to unpack .../qtchooser_66-2_amd64.deb ... Unpacking qtchooser (66-2) ... Selecting previously unselected package qt5-qmake:amd64. Preparing to unpack .../qt5-qmake_5.15.2+dfsg-12_amd64.deb ... Unpacking qt5-qmake:amd64 (5.15.2+dfsg-12) ... Setting up qt5-qmake-bin (5.15.2+dfsg-12) ... Setting up qtchooser (66-2) ... Setting up qt5-qmake:amd64 (5.15.2+dfsg-12) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + cp /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang/qmake.conf /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang/qplatformdefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/ + ls -al /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/ total 16 drwxr-xr-x 2 root root 4096 Oct 26 21:43 . drwxr-xr-x 76 root root 4096 Oct 26 21:43 .. -rw-r--r-- 1 root root 276 Oct 26 21:43 qmake.conf -rw-r--r-- 1 root root 3218 Oct 26 21:43 qplatformdefs.h + cat /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf # # qmake configuration for linux-clang # MAKEFILE_GENERATOR = UNIX CONFIG += incremental QMAKE_INCREMENTAL_STYLE = sublib include(../common/linux.conf) include(../common/gcc-base-unix.conf) include(../common/clang.conf) QMAKE_LFLAGS += -ccc-gcc-name g++ load(qt_config) + export QMAKESPEC=/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang/ + QMAKESPEC=/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang/ + sed -i -e 's|compare_problem(2,|compare_problem(0,|g' /usr/bin/dpkg-gensymbols + sed -i -e 's|compare_problem(1,|compare_problem(0,|g' /usr/bin/dpkg-gensymbols + grep 'compare_problem(' /usr/bin/dpkg-gensymbols compare_problem(4, g_('new libraries appeared in the symbols file: %s'), "@libs"); compare_problem(3, g_('some libraries disappeared in the symbols file: %s'), "@libs"); compare_problem(0, g_('some new symbols appeared in the symbols file: %s'), compare_problem(0, g_('some symbols or patterns disappeared in the symbols file: %s'), I: Finished running '/tmp/clang13'. Finished processing commands. -------------------------------------------------------------------------------- I: NOTICE: Log filtering will replace 'build/wtdbg2-5J2hGU/resolver-rQ9dch' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://127.0.0.1:12990/debian sid InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Check APT --------- Checking available source versions... Download source files with APT ------------------------------ Reading package lists... NOTICE: 'wtdbg2' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/med-team/wtdbg2.git Please use: git clone https://salsa.debian.org/med-team/wtdbg2.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 121 MB of source archives. Get:1 http://127.0.0.1:12990/debian sid/main wtdbg2 2.5-8 (dsc) [2075 B] Get:2 http://127.0.0.1:12990/debian sid/main wtdbg2 2.5-8 (tar) [237 kB] Get:3 http://127.0.0.1:12990/debian sid/main wtdbg2 2.5-8 (diff) [121 MB] Fetched 121 MB in 1s (142 MB/s) Download complete and in download only mode I: NOTICE: Log filtering will replace 'build/wtdbg2-5J2hGU/wtdbg2-2.5' with '<>' I: NOTICE: Log filtering will replace 'build/wtdbg2-5J2hGU' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 13), zlib1g-dev, libsimde-dev, build-essential, fakeroot Filtered Build-Depends: debhelper-compat (= 13), zlib1g-dev, libsimde-dev, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [386 B] Get:5 copy:/<>/apt_archive ./ Packages [465 B] Fetched 1808 B in 0s (180 kB/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils debhelper dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libsimde-dev libsub-override-perl libtool libuchardet0 m4 man-db po-debconf sensible-utils zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc libasprintf-dev libgettextpo-dev groff libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc apparmor less www-browser libmail-box-perl Recommended packages: curl | wget | lynx libarchive-cpio-perl libltdl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils debhelper dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base groff-base intltool-debian libarchive-zip-perl libdebhelper-perl libelf1 libfile-stripnondeterminism-perl libmagic-mgc libmagic1 libpipeline1 libsigsegv2 libsimde-dev libsub-override-perl libtool libuchardet0 m4 man-db po-debconf sbuild-build-depends-main-dummy sensible-utils zlib1g-dev 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. Need to get 9430 kB of archives. After this operation, 36.7 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [896 B] Get:2 http://127.0.0.1:12990/debian sid/main amd64 bsdextrautils amd64 2.37.2-4 [143 kB] Get:3 http://127.0.0.1:12990/debian sid/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get:4 http://127.0.0.1:12990/debian sid/main amd64 groff-base amd64 1.22.4-7 [935 kB] Get:5 http://127.0.0.1:12990/debian sid/main amd64 libpipeline1 amd64 1.5.3-1 [34.3 kB] Get:6 http://127.0.0.1:12990/debian sid/main amd64 man-db amd64 2.9.4-2 [1354 kB] Get:7 http://127.0.0.1:12990/debian sid/main amd64 sensible-utils all 0.0.17 [21.5 kB] Get:8 http://127.0.0.1:12990/debian sid/main amd64 libmagic-mgc amd64 1:5.39-3 [273 kB] Get:9 http://127.0.0.1:12990/debian sid/main amd64 libmagic1 amd64 1:5.39-3 [126 kB] Get:10 http://127.0.0.1:12990/debian sid/main amd64 file amd64 1:5.39-3 [69.1 kB] Get:11 http://127.0.0.1:12990/debian sid/main amd64 gettext-base amd64 0.21-4 [175 kB] Get:12 http://127.0.0.1:12990/debian sid/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB] Get:13 http://127.0.0.1:12990/debian sid/main amd64 m4 amd64 1.4.18-5 [204 kB] Get:14 http://127.0.0.1:12990/debian sid/main amd64 autoconf all 2.71-2 [343 kB] Get:15 http://127.0.0.1:12990/debian sid/main amd64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get:16 http://127.0.0.1:12990/debian sid/main amd64 automake all 1:1.16.5-1 [823 kB] Get:17 http://127.0.0.1:12990/debian sid/main amd64 autopoint all 0.21-4 [510 kB] Get:18 http://127.0.0.1:12990/debian sid/main amd64 libdebhelper-perl all 13.5.2 [192 kB] Get:19 http://127.0.0.1:12990/debian sid/main amd64 libtool all 2.4.6-15 [513 kB] Get:20 http://127.0.0.1:12990/debian sid/main amd64 dh-autoreconf all 20 [17.1 kB] Get:21 http://127.0.0.1:12990/debian sid/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get:22 http://127.0.0.1:12990/debian sid/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get:23 http://127.0.0.1:12990/debian sid/main amd64 libfile-stripnondeterminism-perl all 1.12.0-2 [26.3 kB] Get:24 http://127.0.0.1:12990/debian sid/main amd64 dh-strip-nondeterminism all 1.12.0-2 [15.5 kB] Get:25 http://127.0.0.1:12990/debian sid/main amd64 libelf1 amd64 0.185-2 [172 kB] Get:26 http://127.0.0.1:12990/debian sid/main amd64 dwz amd64 0.14-1 [98.3 kB] Get:27 http://127.0.0.1:12990/debian sid/main amd64 gettext amd64 0.21-4 [1311 kB] Get:28 http://127.0.0.1:12990/debian sid/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get:29 http://127.0.0.1:12990/debian sid/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get:30 http://127.0.0.1:12990/debian sid/main amd64 debhelper all 13.5.2 [1056 kB] Get:31 http://127.0.0.1:12990/debian sid/main amd64 libsimde-dev all 0.7.2-5 [259 kB] Get:32 http://127.0.0.1:12990/debian sid/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2 [190 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 9430 kB in 0s (129 MB/s) Selecting previously unselected package bsdextrautils. (Reading database ... 14273 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.37.2-4_amd64.deb ... Unpacking bsdextrautils (2.37.2-4) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../01-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-7_amd64.deb ... Unpacking groff-base (1.22.4-7) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../03-libpipeline1_1.5.3-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_amd64.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.17_all.deb ... Unpacking sensible-utils (0.0.17) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_amd64.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../07-libmagic1_1%3a5.39-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_amd64.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_amd64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../10-libsigsegv2_2.13-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_amd64.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.71-2_all.deb ... Unpacking autoconf (2.71-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.5-1_all.deb ... Unpacking automake (1:1.16.5-1) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.5.2_all.deb ... Unpacking libdebhelper-perl (13.5.2) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-2_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-2) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../23-libelf1_0.185-2_amd64.deb ... Unpacking libelf1:amd64 (0.185-2) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.14-1_amd64.deb ... Unpacking dwz (0.14-1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.21-4_amd64.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.5.2_all.deb ... Unpacking debhelper (13.5.2) ... Selecting previously unselected package libsimde-dev. Preparing to unpack .../29-libsimde-dev_0.7.2-5_all.deb ... Unpacking libsimde-dev (0.7.2-5) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../30-zlib1g-dev_1%3a1.2.11.dfsg-2_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../31-sbuild-build-depends-main-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpipeline1:amd64 (1.5.3-1) ... Setting up libsimde-dev (0.7.2-5) ... Setting up bsdextrautils (2.37.2-4) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.5.2) ... Setting up libmagic1:amd64 (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libsigsegv2:amd64 (2.13-1) ... Setting up autopoint (0.21-4) ... Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2) ... Setting up sensible-utils (0.0.17) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libelf1:amd64 (0.185-2) ... Setting up libfile-stripnondeterminism-perl (1.12.0-2) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up autoconf (2.71-2) ... Setting up dh-strip-nondeterminism (1.12.0-2) ... Setting up dwz (0.14-1) ... Setting up groff-base (1.22.4-7) ... Setting up automake (1:1.16.5-1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up debhelper (13.5.2) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.32-4) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.19.0-6-cloud-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) amd64 (x86_64) Toolchain package versions: binutils_2.37-7 dpkg-dev_1.20.9 g++-11_11.2.0-10 gcc-11_11.2.0-10 libc6-dev_2.32-4 libstdc++-11-dev_11.2.0-10 libstdc++6_11.2.0-10 linux-libc-dev_5.14.12-1 Package versions: adduser_3.118 apt_2.3.11 autoconf_2.71-2 automake_1:1.16.5-1 autopoint_0.21-4 autotools-dev_20180224.1+nmu1 base-files_12 base-passwd_3.5.52 bash_5.1-3+b2 binutils_2.37-7 binutils-common_2.37-7 binutils-x86-64-linux-gnu_2.37-7 bsdextrautils_2.37.2-4 bsdutils_1:2.37.2-4 build-essential_12.9 bzip2_1.0.8-4 clang-13_1:13.0.0-8 coreutils_8.32-4+b1 cpp_4:11.2.0-2 cpp-11_11.2.0-10 dash_0.5.11+git20210120+802ebd4-2 debconf_1.5.78 debhelper_13.5.2 debian-archive-keyring_2021.1.1 debianutils_5.5-1 dh-autoreconf_20 dh-strip-nondeterminism_1.12.0-2 diffutils_1:3.7-5 dpkg_1.20.9 dpkg-dev_1.20.9 dwz_0.14-1 e2fsprogs_1.46.4-1 fakeroot_1.26-1 file_1:5.39-3 findutils_4.8.0-1 g++_4:11.2.0-2 g++-11_11.2.0-10 gcc_4:11.2.0-2 gcc-10-base_10.3.0-11 gcc-11_11.2.0-10 gcc-11-base_11.2.0-10 gcc-9-base_9.4.0-3 gettext_0.21-4 gettext-base_0.21-4 gpgv_2.2.27-2 grep_3.7-1 groff-base_1.22.4-7 gzip_1.10-4 hostname_3.23 init-system-helpers_1.60 intltool-debian_0.35.0+20060710.5 lib32gcc-s1_11.2.0-10 lib32stdc++6_11.2.0-10 libacl1_2.3.1-1 libapt-pkg6.0_2.3.11 libarchive-zip-perl_1.68-1 libasan5_9.4.0-3 libasan6_11.2.0-10 libatomic1_11.2.0-10 libattr1_1:2.5.1-1 libaudit-common_1:3.0.6-1 libaudit1_1:3.0.6-1 libbinutils_2.37-7 libblkid1_2.37.2-4 libbsd0_0.11.3-1 libbz2-1.0_1.0.8-4 libc-bin_2.32-4 libc-dev-bin_2.32-4 libc6_2.32-4 libc6-dev_2.32-4 libc6-i386_2.32-4 libcap-ng0_0.7.9-2.2+b1 libcap2_1:2.44-1 libcc1-0_11.2.0-10 libclang-common-13-dev_1:13.0.0-8 libclang-cpp13_1:13.0.0-8 libclang1-13_1:13.0.0-8 libcom-err2_1.46.4-1 libcrypt-dev_1:4.4.25-2 libcrypt1_1:4.4.25-2 libctf-nobfd0_2.37-7 libctf0_2.37-7 libdb5.3_5.3.28+dfsg1-0.8 libdebconfclient0_0.260 libdebhelper-perl_13.5.2 libdpkg-perl_1.20.9 libedit2_3.1-20210910-1 libelf1_0.185-2 libext2fs2_1.46.4-1 libfakeroot_1.26-1 libffi8_3.4.2-3 libfile-stripnondeterminism-perl_1.12.0-2 libgc1_1:8.0.4-3 libgcc-11-dev_11.2.0-10 libgcc-9-dev_9.4.0-3 libgcc-s1_11.2.0-10 libgcrypt20_1.9.4-3+b1 libgdbm-compat4_1.22-1 libgdbm6_1.22-1 libgmp10_2:6.2.1+dfsg-2 libgnutls30_3.7.2-2 libgomp1_11.2.0-10 libgpg-error0_1.42-3 libgssapi-krb5-2_1.18.3-7 libhogweed6_3.7.3-1 libicu67_67.1-7 libidn2-0_2.3.2-2 libisl23_0.24-2 libitm1_11.2.0-10 libk5crypto3_1.18.3-7 libkeyutils1_1.6.1-2 libkrb5-3_1.18.3-7 libkrb5support0_1.18.3-7 libllvm13_1:13.0.0-8 liblsan0_11.2.0-10 liblz4-1_1.9.3-2 liblzma5_5.2.5-2 libmagic-mgc_1:5.39-3 libmagic1_1:5.39-3 libmd0_1.0.4-1 libmount1_2.37.2-4 libmpc3_1.2.1-1 libmpfr6_4.1.0-3 libnettle8_3.7.3-1 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libobjc-11-dev_11.2.0-10 libobjc-9-dev_9.4.0-3 libobjc4_11.2.0-10 libomp-13-dev_1:13.0.0-8 libomp5-13_1:13.0.0-8 libp11-kit0_0.24.0-5 libpam-modules_1.4.0-10 libpam-modules-bin_1.4.0-10 libpam-runtime_1.4.0-10 libpam0g_1.4.0-10 libpcre2-8-0_10.36-2 libpcre3_2:8.39-13 libperl5.32_5.32.1-6 libpipeline1_1.5.3-1 libquadmath0_11.2.0-10 libseccomp2_2.5.2-2 libselinux1_3.1-3 libsemanage-common_3.1-1 libsemanage1_3.1-1+b2 libsepol1_3.1-1 libsigsegv2_2.13-1 libsimde-dev_0.7.2-5 libsmartcols1_2.37.2-4 libss2_1.46.4-1 libssl1.1_1.1.1l-1 libstdc++-11-dev_11.2.0-10 libstdc++6_11.2.0-10 libsub-override-perl_0.09-2 libsystemd0_249.5-1 libtasn1-6_4.17.0-2 libtinfo6_6.2+20210905-1 libtirpc-common_1.3.2-2 libtirpc-dev_1.3.2-2 libtirpc3_1.3.2-2 libtool_2.4.6-15 libtsan0_11.2.0-10 libubsan1_11.2.0-10 libuchardet0_0.0.7-1 libudev1_249.5-1 libunistring2_0.9.10-6 libuuid1_2.37.2-4 libxml2_2.9.12+dfsg-5 libxxhash0_0.8.0-2 libz3-4_4.8.12-1+b1 libzstd1_1.4.8+dfsg-3 linux-libc-dev_5.14.12-1 login_1:4.8.1-1 logsave_1.46.4-1 lsb-base_11.1.0 m4_1.4.18-5 make_4.3-4.1 man-db_2.9.4-2 mawk_1.3.4.20200120-2 mount_2.37.2-4 ncurses-base_6.2+20210905-1 ncurses-bin_6.2+20210905-1 passwd_1:4.8.1-1 patch_2.7.6-7 perl_5.32.1-6 perl-base_5.32.1-6 perl-modules-5.32_5.32.1-6 po-debconf_1.0.21+nmu1 qt5-qmake_5.15.2+dfsg-12 qt5-qmake-bin_5.15.2+dfsg-12 qtchooser_66-2 rpcsvc-proto_1.4.2-4 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1 sensible-utils_0.0.17 sysvinit-utils_3.00-1 tar_1.34+dfsg-1 tzdata_2021e-1 util-linux_2.37.2-4 xz-utils_5.2.5-2 zlib1g_1:1.2.11.dfsg-2 zlib1g-dev_1:1.2.11.dfsg-2 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: wtdbg2 Binary: wtdbg2, wtdbg2-examples Architecture: any all Version: 2.5-8 Maintainer: Debian Med Packaging Team Uploaders: Andreas Tille Homepage: https://github.com/ruanjue/wtdbg2 Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/med-team/wtdbg2 Vcs-Git: https://salsa.debian.org/med-team/wtdbg2.git Testsuite: autopkgtest Testsuite-Triggers: bwa, minimap2, samtools Build-Depends: debhelper-compat (= 13), zlib1g-dev, libsimde-dev Package-List: wtdbg2 deb science optional arch=any wtdbg2-examples deb science optional arch=all Checksums-Sha1: 36e07424e7a08b2571ea8580e50e736c90458335 236627 wtdbg2_2.5.orig.tar.gz 09b89714085e841ee7dfd3e42b79e97eeafa7716 121142844 wtdbg2_2.5-8.debian.tar.xz Checksums-Sha256: a2ffc8503d29f491a9a38ef63230d5b3c96db78377b5d25c91df511d0df06413 236627 wtdbg2_2.5.orig.tar.gz 490bf3790b2f5f4fc7bc2ce04cd6c781c3f5278cf3fd21e312a491ac96d2918c 121142844 wtdbg2_2.5-8.debian.tar.xz Files: 0368caed7480192c42b1a4ffa1ddbb7c 236627 wtdbg2_2.5.orig.tar.gz 86f9a5716b0b5b0ab7faed1ead45a273 121142844 wtdbg2_2.5-8.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmEvnd4RHHRpbGxlQGRl Ymlhbi5vcmcACgkQV4oElNHGRtF8FA/+MQSs/vXOg3hlIqQoq7zmZa62N2L7qi+X GO9euv9QvGujra3jSXM6QzuCasWiM2gK1SqzuO26/uEuBs1zCMqfBIZDHglt53PD wdpGjcIrX60+x+86/jViiegOQz5fsWZ1P5Rf+8KCxzc93/kCVLw+iAUsjoi1aI88 lKxPZSGyDkzdT52kfBLSIkvymdORFya6Jz+g/ZT/gqMCT4mtnmT6yzVkqgxz6QUC UNn773WlqAnTr0VNNqzqMHc1lBfD0IxmW0IWdejLqUw5vnabtDQCfHHVm/LcdZjk DfxuceP5xDVHm8XOtAfCz09z2IXcBKx8LzrtBtDFWm1mJQEQ5GZ7tKTFFIMBe/5Z EOR1DBeZIzvPQHwUHXnPb/eKco/lDmNvyA+veCEFn/CM0k7CkxLVc8yOKzDD4UcU qLcomdrevrzqZzdq442Z3lfHbKESX4RtR1H1kefvtDg1wZop0fBvsQNrH5Xqx5lJ CTG79wPAjF30ofQVzR+xIsR2LBaERZPxIGJQ7AWWP192abLddlztD2uAKsPFvY1Y hyt2rd5y1O6fh/jFVvCn8VnpK2bmiUPPcRwjNVQth1T8cHCDVLuc2W31F6fNn1H9 4Gq5CsjlPQ5u52sYYwHlU8x4XItVmkCOxCe1V7B6MlF14HNWqB6J8EVZ3ecRm1lu yDXqal4ZNvo= =KaHr -----END PGP SIGNATURE----- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.SuxLTIVy/trustedkeys.kbx': General error gpgv: Signature made Wed Sep 1 15:35:58 2021 UTC gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 gpgv: issuer "tille@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./wtdbg2_2.5-8.dsc dpkg-source: info: extracting wtdbg2 in /<> dpkg-source: info: unpacking wtdbg2_2.5.orig.tar.gz dpkg-source: info: unpacking wtdbg2_2.5-8.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying fix_install.patch dpkg-source: info: applying hardening.patch dpkg-source: info: applying simde dpkg-source: info: applying scripts-tweak Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=user42 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=unstable SCHROOT_CHROOT_NAME=sid-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1001 SCHROOT_GROUP=user42 SCHROOT_SESSION_ID=sid-amd64-sbuild-cdb985a6-1eae-4239-90d8-874752e1960d SCHROOT_UID=1001 SCHROOT_USER=user42 SHELL=/bin/sh USER=user42 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -b -rfakeroot dpkg-buildpackage: info: source package wtdbg2 dpkg-buildpackage: info: source version 2.5-8 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Tille dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean make -j4 clean make[1]: Entering directory '/<>' rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf make[1]: Leaving directory '/<>' dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/<>' 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 sed -i 's/ouput/output/' *.c sed -i 's/vaule/value/' *.c sed -i 's/annonymous/anonymous/' *.h mkdir -p /<>/debian/wtdbg2/usr mkdir -p /<>/debian/wtdbg2/usr/lib/wtdbg2 for SIMD in avx2 avx sse4.1 ssse3 sse3 sse2 ; do \ export CFLAGS="-g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -m${SIMD}" ; \ make clean ; \ dh_auto_build -- SFX=-${SIMD} ; \ done make[2]: Entering directory '/<>' rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf make[2]: Leaving directory '/<>' make -j4 "INSTALL=install --strip-program=true" SFX=-avx2 make[2]: Entering directory '/<>' gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -mavx2 -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-avx2 kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -mavx2 -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-avx2 wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -mavx2 -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-avx2 wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -mavx2 -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 wtpoa-cns-avx2 wtpoa-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: clangwarning: : -O4 is equivalent to -O3 [-Wdeprecated] warning: -O4 is equivalent to -O3 [-Wdeprecated] clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from In file included from ./poacns.h:23: In file included from ./bit2vec.h:27: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ wtdbg-cns.c:20: ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ In file included from ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./kswx.h:24./mem_share.h: In file included from ./dna.h:27: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); In file included from kbm.c:20: In file included from ./kbm.h:23: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ :517:5: ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] warning: fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed);./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:23: In file included from ./list.h:28: fscanf(fp, "%llu", &buffered); ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~./mem_share.h ./mem_share.h:517:5./mem_share.h: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered);./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ 5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ :521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :1194:2: fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1191: fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2: ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] warning: fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h fread(aux_data, sizeof(size_t), 1, file);:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1257:2./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1225 fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h :1256:2./mem_share.h: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1225:2:./mem_share.h:1257:2:./mem_share.h :warning: 1301ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]: 2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]./mem_share.h fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); :1223: ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2:./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1257:./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 2 fread(mem_type, sizeof(size_t), 1, file);: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2:./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ kbm.c:21: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31:In file included from kbm.c:21: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: function definition is not allowed here psort_array(regs->buffer, regs->size, rd_reg_t, ncpu, num_cmpgtxx((a.node << 30) | a.rid, (b.node << 30) | b.rid, a.beg, b.beg, b.end, a.end)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :185:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: function definition is not allowed here psort_array(nds->buffer, nds->size, rnk_ref_t, ncpu, num_cmpgtx(num_diff(a.cnt, gcov), num_diff(b.cnt, gcov), a.rank, b.rank)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :293:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: function definition is not allowed here psort_array(offs->buffer, offs->size, edge_off_t, ncpu, num_cmpgtx(a.idx, b.idx, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :152:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: function definition is not allowed here psort_array(g->erefs->buffer + 1, g->erefs->size - 1, edge_ref_t, ncpu, num_cmpgtx( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :260:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: function definition is not allowed here psort_array(g->frgs->buffer, g->frgs->size, frg_t, ncpu, num_cmpgt(b.length, a.length)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :120:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: function definition is not allowed here psort_array(lnks->buffer, lnks->size, lnk_t, ncpu, num_cmpgtx(a.key, b.key, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :331:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: function definition is not allowed here psort_array(g->lrefs->buffer + 1, g->lrefs->size - 1, edge_ref_t, ncpu, num_cmpgt( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :103:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ 29 warnings and 14 errors generated. make[2]: *** [Makefile:31: wtdbg2-avx2] Error 1 make[2]: *** Waiting for unfinished jobs.... 24 warnings generated. 28 warnings generated. 29 warnings generated. make[2]: Leaving directory '/<>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" SFX=-avx2 returned exit code 2 make[2]: Entering directory '/<>' rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf make[2]: Leaving directory '/<>' make -j4 "INSTALL=install --strip-program=true" SFX=-avx make[2]: Entering directory '/<>' gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -mavx -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-avx kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -mavx -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-avx wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -mavx -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-avx wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -mavx -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 wtpoa-cns-avx wtpoa-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: clang: warning: -O4 is equivalent to -O3 [-Wdeprecated]warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] In file included from wtdbg-cns.c:20: In file included from wtdbg.c:20: In file included from ./kswx.h:24: In file included from ./dna.h:27: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ In file included from kbm.c:20: In file included from ./kbm.h:23: ./mem_share.hIn file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :517 fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ :5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~~ ~~~~~~~~~~~~~~~~~~ fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered);: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]./mem_share.h In file included from ./wtdbg.h:23: In file included from ./kbm.h: fscanf(fp, "%llu", &cached);23 : ^~~~~~ ~~~~~~~~~~~~~~~~~~~In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ :521:./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ./mem_share.h5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ :560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: ./mem_share.h:568./mem_share.h:560:2: warning: In file included from ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: In file included from ./bit2vec.h:27: ./mem_share.h:514 fscanf(fp, "%lu%lu", &tmp, &tmp2);: 5 ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:./mem_share.h./mem_share.h2::517: 5warning: :ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ :568:2./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ :568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ :2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:./mem_share.h2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1193:2:./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] warning: fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h: fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1192:2:./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file);warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2:./mem_share.h warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1224:2:./mem_share.h warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1223:./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 2 fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2: ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] warning: fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h :1257:2./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(mem_type, sizeof(size_t), 1, file); warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h :1258:./mem_share.h2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1301./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(cnt, sizeof(size_t), 1, file);2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1304:2./mem_share.h: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file);./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] ./dna.h:488:122:static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] In file included from wtdbg-cns.c:20 idx = idx; ~~~ ^ ~~~ : In file included from ./kswx.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: function definition is not allowed here psort_array(regs->buffer, regs->size, rd_reg_t, ncpu, num_cmpgtxx((a.node << 30) | a.rid, (b.node << 30) | b.rid, a.beg, b.beg, b.end, a.end)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :185:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: function definition is not allowed here psort_array(nds->buffer, nds->size, rnk_ref_t, ncpu, num_cmpgtx(num_diff(a.cnt, gcov), num_diff(b.cnt, gcov), a.rank, b.rank)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :293:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: function definition is not allowed here psort_array(offs->buffer, offs->size, edge_off_t, ncpu, num_cmpgtx(a.idx, b.idx, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :152:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: function definition is not allowed here psort_array(g->erefs->buffer + 1, g->erefs->size - 1, edge_ref_t, ncpu, num_cmpgtx( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :260:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: function definition is not allowed here psort_array(g->frgs->buffer, g->frgs->size, frg_t, ncpu, num_cmpgt(b.length, a.length)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :120:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: function definition is not allowed here psort_array(lnks->buffer, lnks->size, lnk_t, ncpu, num_cmpgtx(a.key, b.key, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :331:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: function definition is not allowed here psort_array(g->lrefs->buffer + 1, g->lrefs->size - 1, edge_ref_t, ncpu, num_cmpgt( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :103:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ 29 warnings and 14 errors generated. make[2]: *** [Makefile:31: wtdbg2-avx] Error 1 make[2]: *** Waiting for unfinished jobs.... 24 warnings generated. 28 warnings generated. 29 warnings generated. make[2]: Leaving directory '/<>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" SFX=-avx returned exit code 2 make[2]: Entering directory '/<>' rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf make[2]: Leaving directory '/<>' make -j4 "INSTALL=install --strip-program=true" SFX=-sse4.1 make[2]: Entering directory '/<>' gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse4.1 -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-sse4.1 kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse4.1 -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-sse4.1 wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse4.1 -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-sse4.1 wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse4.1 -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 wtpoa-cns-sse4.1 wtpoa-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: clang: warning: warning: -O4 is equivalent to -O3 [-Wdeprecated]-O4 is equivalent to -O3 [-Wdeprecated] clang: warning: clang-O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: In file included from ./bit2vec.h:27: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ In file included from kbm.c:20./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:23: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ :519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5: ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] warning: fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached);./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~ : In file included from ./kbm.h:23: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ./mem_share.h./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ 560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568: ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2);./mem_share.h ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ :517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ./mem_share.h: ^~~~~~ ~~~~~~~~~~~~~~~~~~568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: In file included from ./dna.h:27: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1191 fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :2./mem_share.h: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file);:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file);:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file);1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:./mem_share.h2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h: fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1222:2./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(aux_data, sizeof(size_t), 1, file); warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: ./mem_share.hwarning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1255:./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 2 fread(mem_type, sizeof(size_t), 1, file);: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:./mem_share.h2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(mem_type, sizeof(size_t), 1, file);1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2./mem_share.h: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: function definition is not allowed here psort_array(regs->buffer, regs->size, rd_reg_t, ncpu, num_cmpgtxx((a.node << 30) | a.rid, (b.node << 30) | b.rid, a.beg, b.beg, b.end, a.end)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :162:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: function definition is not allowed here psort_array(nds->buffer, nds->size, rnk_ref_t, ncpu, num_cmpgtx(num_diff(a.cnt, gcov), num_diff(b.cnt, gcov), a.rank, b.rank)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :270:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: function definition is not allowed here psort_array(offs->buffer, offs->size, edge_off_t, ncpu, num_cmpgtx(a.idx, b.idx, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :137:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: function definition is not allowed here psort_array(g->erefs->buffer + 1, g->erefs->size - 1, edge_ref_t, ncpu, num_cmpgtx( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :245:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: function definition is not allowed here psort_array(g->frgs->buffer, g->frgs->size, frg_t, ncpu, num_cmpgt(b.length, a.length)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :104:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: function definition is not allowed here psort_array(lnks->buffer, lnks->size, lnk_t, ncpu, num_cmpgtx(a.key, b.key, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :315:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: function definition is not allowed here psort_array(g->lrefs->buffer + 1, g->lrefs->size - 1, edge_ref_t, ncpu, num_cmpgt( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :78:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ 29 warnings and 14 errors generated. make[2]: *** [Makefile:31: wtdbg2-sse4.1] Error 1 make[2]: *** Waiting for unfinished jobs.... 28 warnings generated. 24 warnings generated. 29 warnings generated. make[2]: Leaving directory '/<>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" SFX=-sse4.1 returned exit code 2 make[2]: Entering directory '/<>' rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf make[2]: Leaving directory '/<>' make -j4 "INSTALL=install --strip-program=true" SFX=-ssse3 make[2]: Entering directory '/<>' gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -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 gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -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 wtpoa-cns-ssse3 wtpoa-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clangclang: : warning: warning: -O4 is equivalent to -O3 [-Wdeprecated]-O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from In file included from ./tripoa.h:23: In file included from ./poacns.h:23: In file included from ./bit2vec.h:27: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal);In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:23: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: In file included from ./dna.h fscanf(fp, "%llu", memtotal);: 27 ^~~~~~ ~~~~~~~~~~~~~~~~~~~~: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:517./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ 5: ./mem_share.hwarning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ 519:5./mem_share.h: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered);./mem_share.h : ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~521 :5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ :519:5./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ./mem_share.h:./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2);560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ kbm.c./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h: fscanf(fp, "%lu%lu", &tmp, &tmp2);568 : ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~2 : warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :20: In file included from ./kbm.h fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ :23: In file included from ./list.h:28: ./mem_share.h:568:2./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1191: fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2: ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] warning: fread(cnt, sizeof(size_t), 1, file);ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2./mem_share.h: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1194:2:./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file);warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1223./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :2 fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 1257 fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :2:./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file);warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file);2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ 1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ 23: In file included from ./tripoa.h:23: In file included from ./poacns.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: function definition is not allowed here psort_array(regs->buffer, regs->size, rd_reg_t, ncpu, num_cmpgtxx((a.node << 30) | a.rid, (b.node << 30) | b.rid, a.beg, b.beg, b.end, a.end)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :162:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: function definition is not allowed here psort_array(nds->buffer, nds->size, rnk_ref_t, ncpu, num_cmpgtx(num_diff(a.cnt, gcov), num_diff(b.cnt, gcov), a.rank, b.rank)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :270:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: function definition is not allowed here psort_array(offs->buffer, offs->size, edge_off_t, ncpu, num_cmpgtx(a.idx, b.idx, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :137:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: function definition is not allowed here psort_array(g->erefs->buffer + 1, g->erefs->size - 1, edge_ref_t, ncpu, num_cmpgtx( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :245:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: function definition is not allowed here psort_array(g->frgs->buffer, g->frgs->size, frg_t, ncpu, num_cmpgt(b.length, a.length)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :104:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: function definition is not allowed here psort_array(lnks->buffer, lnks->size, lnk_t, ncpu, num_cmpgtx(a.key, b.key, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :315:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: function definition is not allowed here psort_array(g->lrefs->buffer + 1, g->lrefs->size - 1, edge_ref_t, ncpu, num_cmpgt( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :78:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ 29 warnings and 14 errors generated. make[2]: *** [Makefile:31: wtdbg2-ssse3] Error 1 make[2]: *** Waiting for unfinished jobs.... 28 warnings generated. 24 warnings generated. 29 warnings generated. make[2]: Leaving directory '/<>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" SFX=-ssse3 returned exit code 2 make[2]: Entering directory '/<>' rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf make[2]: Leaving directory '/<>' make -j4 "INSTALL=install --strip-program=true" SFX=-sse3 make[2]: Entering directory '/<>' gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse3 -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-sse3 kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse3 -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-sse3 wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse3 -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-sse3 wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse3 -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 wtpoa-cns-sse3 wtpoa-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clangclang: : warning: warning: -O4 is equivalent to -O3 [-Wdeprecated]-O4 is equivalent to -O3 [-Wdeprecated] clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] In file included from wtpoa-cns.c:20: In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:23: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5In file included from : warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: In file included from ./bit2vec.h:27: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ In file included from ./mem_share.h:517In file included from wtdbg-cns.c::520:: In file included from warning: ./kswx.hignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]: 24: :In file included from ./dna.hwarning: :ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]27 : In file included from ./list.h:28: ./mem_share.h fscanf(fp, "%llu", &freed);: 514 ^~~~~~ ~~~~~~~~~~~~~~~~~~: 5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ :517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ :560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ :560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568:kbm.c:20: In file included from ./kbm.h:23: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~./mem_share.h :568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h fscanf(fp, "%lu%lu", &tmp, &tmp2);:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:519./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2);:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:568:2: fscanf(fp, "%lu%lu", &tmp, &tmp2); warning: ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ :521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:./mem_share.h:11911193::22:: warning: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file);ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224 ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :2 fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : warning: ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225./mem_share.h:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:./mem_share.h1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file);:1191:2: ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192./mem_share.h:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h::1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1194:2./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(mem_type, sizeof(size_t), 1, file); warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1255:2: fread(aux_data, sizeof(size_t), 1, file); warning: ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:./mem_share.h1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(aux_data, sizeof(size_t), 1, file);1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file);./mem_share.h./mem_share.h::13011301::22:: warning: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h::13021302::22:: warning: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(mem_type, sizeof(size_t), 1, file); fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h::13031303::22:: warning: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :1257:2: fread(size, sizeof(size_t), 1, file); warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtpoa-cns.c./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file);:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23 : In file included from ./poacns.h:23: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: function definition is not allowed here psort_array(regs->buffer, regs->size, rd_reg_t, ncpu, num_cmpgtxx((a.node << 30) | a.rid, (b.node << 30) | b.rid, a.beg, b.beg, b.end, a.end)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :190:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: function definition is not allowed here psort_array(nds->buffer, nds->size, rnk_ref_t, ncpu, num_cmpgtx(num_diff(a.cnt, gcov), num_diff(b.cnt, gcov), a.rank, b.rank)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :298:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: function definition is not allowed here psort_array(offs->buffer, offs->size, edge_off_t, ncpu, num_cmpgtx(a.idx, b.idx, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :155:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: function definition is not allowed here psort_array(g->erefs->buffer + 1, g->erefs->size - 1, edge_ref_t, ncpu, num_cmpgtx( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :263:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: function definition is not allowed here psort_array(g->frgs->buffer, g->frgs->size, frg_t, ncpu, num_cmpgt(b.length, a.length)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :124:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: function definition is not allowed here psort_array(lnks->buffer, lnks->size, lnk_t, ncpu, num_cmpgtx(a.key, b.key, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :335:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: function definition is not allowed here psort_array(g->lrefs->buffer + 1, g->lrefs->size - 1, edge_ref_t, ncpu, num_cmpgt( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :110:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ 29 warnings and 14 errors generated. make[2]: *** [Makefile:31: wtdbg2-sse3] Error 1 make[2]: *** Waiting for unfinished jobs.... 28 warnings generated. 24 warnings generated. 29 warnings generated. make[2]: Leaving directory '/<>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" SFX=-sse3 returned exit code 2 make[2]: Entering directory '/<>' rm -f *.o *.gcda *.gcno *.gcov gmon.out kbm2 wtdbg2 wtdbg-cns wtpoa-cns pgzf make[2]: Leaving directory '/<>' make -j4 "INSTALL=install --strip-program=true" SFX=-sse2 make[2]: Entering directory '/<>' gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse2 -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-sse2 kbm.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse2 -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-sse2 wtdbg.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse2 -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-sse2 wtdbg-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now gcc -Wl,-z,relro -Wl,-z,now -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DSIMDE_ENABLE_OPENMP -fopenmp-simd -msse2 -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 wtpoa-cns-sse2 wtpoa-cns.c ksw.c -lm -lrt -lpthread -lz -Wl,-z,relro -Wl,-z,now clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clangclang: warning: -O4 is equivalent to -O3 [-Wdeprecated] : warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] clang: warning: -O4 is equivalent to -O3 [-Wdeprecated] In file included from wtpoa-cns.c:20: In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:23: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.hIn file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: In file included from ./bit2vec.h:27: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ :517:5: ./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); In file included from ^~~~~~ ~~~~~~~~~~~~~~~~~~In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: In file included from ./dna.h:27: In file included from ./list.h:28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ ./mem_share.h:519:5: warning: ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ :568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ kbm.c:20: ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./kbm.h:23: In file included from ./list.h./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); :28: ./mem_share.h:514:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", memtotal); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:517:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &freed); ^~~~~~ ~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:519:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%llu", &buffered); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h: fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ 521:5: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:568:2: fscanf(fp, "%llu", &cached); ^~~~~~ ~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:560:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:568:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fscanf(fp, "%lu%lu", &tmp, &tmp2); ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h fread(mem_type, sizeof(size_t), 1, file);:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] :1194:2: fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:./mem_share.h1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2./mem_share.h:1193:2: warning: :ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]1224 :2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : ./mem_share.h:1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] warning: fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1191:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2./mem_share.h:1192:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] : fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]./mem_share.h:1193:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :1194:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1222:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ./mem_share.h:1225:2: warning: fread(size, sizeof(size_t), 1, file); ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h fread(aux_data, sizeof(size_t), 1, file);:1223:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257./mem_share.h:2::1222 :warning: 2ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: ./mem_share.hwarning: :ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]1223 :2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1224:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1225:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1255:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1256:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1257:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1258:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1301:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(size, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1302:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(mem_type, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1303:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(cnt, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mem_share.h:1304:2: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] fread(aux_data, sizeof(size_t), 1, file); ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:23: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:25: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:24: ./dna.h:488:122: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] static inline size_t basebank_obj_desc_cnt(void *obj, int idx){ return ((((BaseBank*)obj)->size + 31) / 32 + 1) * 8; idx = idx; } ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:26: In file included from ./filereader.h:30: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg-cns.c:20: In file included from ./kswx.hIn file included from :kbm.c25:: 20./chararray.h: :In file included from 65./kbm.h::626:: In file included from warning: ./filereader.h:explicitly assigning value of variable of type 'int' to itself [-Wself-assign]30 : ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: In file included from ./poacns.h:25: ./chararray.h:65:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:23: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:28: ./bitsvec.h:92:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from kbm.c:20: In file included from ./kbm.h:29: ./bit2vec.h:46:6: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] idx = idx; ~~~ ^ ~~~ In file included from wtpoa-cns.c:20: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtpoa-cns.c:20: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: In file included from ./wtpoa.h:23: In file included from ./tripoa.h:23: ./poacns.h:1743:11: warning: implicit conversion from 'int' to 'float' changes value from -1073741823 to -1073741824 [-Wimplicit-const-int-float-conversion] DP_MIN = - (MAX_B4 >> 1); ~ ^~~~~~~~~~~~~~~ In file included from wtdbg.c:20: In file included from ./wtdbg.h:24: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from kbm.c:21: In file included from ./kbmpoa.h:24: ./wtpoa.h:77:31: warning: too many arguments in call to 'init_basebank' ctg->seq = init_basebank(2048); ~~~~~~~~~~~~~ ^ ./wtpoa.h:78:31: warning: too many arguments in call to 'init_basebank' ctg->cns = init_basebank(2048); ~~~~~~~~~~~~~ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: function definition is not allowed here psort_array(regs->buffer, regs->size, rd_reg_t, ncpu, num_cmpgtxx((a.node << 30) | a.rid, (b.node << 30) | b.rid, a.beg, b.beg, b.end, a.end)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1755:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :190:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: function definition is not allowed here psort_array(nds->buffer, nds->size, rnk_ref_t, ncpu, num_cmpgtx(num_diff(a.cnt, gcov), num_diff(b.cnt, gcov), a.rank, b.rank)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:1800:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :298:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: function definition is not allowed here psort_array(offs->buffer, offs->size, edge_off_t, ncpu, num_cmpgtx(a.idx, b.idx, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2074:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :155:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: function definition is not allowed here psort_array(g->erefs->buffer + 1, g->erefs->size - 1, edge_ref_t, ncpu, num_cmpgtx( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:20: ./wtdbg.h:2112:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :263:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: function definition is not allowed here psort_array(g->frgs->buffer, g->frgs->size, frg_t, ncpu, num_cmpgt(b.length, a.length)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3571:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :124:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: function definition is not allowed here psort_array(lnks->buffer, lnks->size, lnk_t, ncpu, num_cmpgtx(a.key, b.key, a.off, b.off)); ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3803:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :335:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: function definition is not allowed here psort_array(g->lrefs->buffer + 1, g->lrefs->size - 1, edge_ref_t, ncpu, num_cmpgt( ^ ./sort.h:212:2: note: expanded from macro 'psort_array' thread_beg_func_inline(psrt); \ ^ ./thread.h:101:84: note: expanded from macro 'thread_beg_func_inline' #define thread_beg_func_inline(tname) inline void* thread_##tname##_func(void *obj){\ ^ In file included from wtdbg.c:21: ./wtdbg-graph.h:3867:2: error: use of undeclared identifier 'thread_psrt_func'; did you mean 'thread_pgz_func'? ./sort.h:235:2: note: expanded from macro 'psort_array' thread_end_init(psrt); \ ^ ./thread.h:183:53: note: expanded from macro 'thread_end_init' if(pthread_create(tname##_pids + tname##_i, NULL, thread_##tname##_func, (void*)tname) != 0){\ ^ :110:1: note: expanded from here thread_psrt_func ^ ./pgzf.h:316:1: note: 'thread_pgz_func' declared here thread_beg_func(pgz); ^ ./thread.h:100:32: note: expanded from macro 'thread_beg_func' #define thread_beg_func(tname) thread_begin_func(tname) ^ ./thread.h:99:41: note: expanded from macro 'thread_begin_func' #define thread_begin_func(tname) static thread_begin_func_core(tname) ^ ./thread.h:91:52: note: expanded from macro 'thread_begin_func_core' #define thread_begin_func_core(tname) inline void* thread_##tname##_func(void *obj){\ ^ :127:1: note: expanded from here thread_pgz_func ^ 29 warnings and 14 errors generated. make[2]: *** [Makefile:31: wtdbg2-sse2] Error 1 make[2]: *** Waiting for unfinished jobs.... 28 warnings generated. 24 warnings generated. 29 warnings generated. make[2]: Leaving directory '/<>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" SFX=-sse2 returned exit code 2 make[1]: *** [debian/rules:30: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<>' make: *** [debian/rules:19: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2021-10-26T21:44:35Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: binary Build-Space: 131304 Build-Time: 55 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 3 Job: wtdbg2_2.5-8 Machine Architecture: amd64 Package: wtdbg2 Package-Time: 82 Source-Version: 2.5-8 Space: 131304 Status: attempted Version: 2.5-8 -------------------------------------------------------------------------------- Finished at 2021-10-26T21:44:35Z Build needed 00:01:22, 131304k disk space E: Build failure (dpkg-buildpackage died) DC-Status: Failed 82.576040055s DC-Time-Estimation: 82.576040055 versus expected 314 (r/m: 2.802555799368187 ; m: 82.576040055)